// JavaScript Document
//Arrow Head title- By Dynamic Drive
//Based on status bar script by Jason Rex (wonil4@hotmail.com, http://www.syred.net)
//Visit http://www.dynamicdrive.com for full source code

//change title text to your own
    var titletext="Welcome to The Blessed with Pomeranians Kennel"
    var thetext=""
    var started=false
    var step=0
    var times=1

    function welcometext()
    {
      times--
      if (times==0)
      {
        if (started==false)
        {
          started = true;
          document.title = titletext;
          setTimeout("anim()",1);
        }
        thetext = titletext;
      }
    }

    function showstatustext(txt)
    {
      thetext = txt;
      setTimeout("welcometext()",4000)
      times++
    }

    function anim()
    {
      step++
      if (step==45) {step=40}
      if (step==1) {document.title='Welcome to '}
      if (step==2) {document.title='elcome to T'}
      if (step==3) {document.title='lcome to Th'}
      if (step==4) {document.title='come to The '}
      if (step==5) {document.title='ome to The B'}
      if (step==6) {document.title='me to The Bl'}
	  if (step==7) {document.title='e to The Ble'}
	  if (step==8) {document.title='to The Bles'}
	  if (step==9) {document.title='o The Bless'}
	  if (step==10) {document.title='The Blesse'}
	  if (step==11) {document.title='he Blessed '}
	  if (step==12) {document.title='e Blessed w'}
	  if (step==13) {document.title='Blessed wi'}
	  if (step==14) {document.title='lessed wit'}
	  if (step==15) {document.title='essed with '}
	  if (step==16) {document.title='ssed with P'}
	  if (step==17) {document.title='sed with Po'}
	  if (step==18) {document.title='ed with Pom'}	  
	  if (step==19) {document.title='d with Pome'}
	  if (step==20) {document.title='with Pomer'}
	  if (step==21) {document.title='ith Pomera'}
	  if (step==22) {document.title='th Pomeran'}
	  if (step==23) {document.title='h Pomerani'}
	  if (step==24) {document.title='Pomerania'}
	  if (step==25) {document.title='omeranian'}
	  if (step==26) {document.title='meranians '}
	  if (step==27) {document.title='eranians K'}
	  if (step==28) {document.title='ranians Ke'}
	  if (step==29) {document.title='anians Ken'}
	  if (step==30) {document.title='nians Kenn'}
	  if (step==31) {document.title='ians Kenne'}
	  if (step==32) {document.title='ans Kennel'}
	  if (step==33) {document.title='Welcome'}
	  if (step==34) {document.title='Welcome to '}
	  if (step==35) {document.title='Welcome to The '}
	  if (step==36) {document.title='Welcome to The Blessed '}
	  if (step==37) {document.title='Welcome to The Blessed with '}
	  if (step==38) {document.title='Welcome to The Blessed with Pomeranians '}
	  if (step==39) {document.title='Welcome to The Blessed with Pomeranians Kennel'}
	  if (step==40) {document.title='>==='+thetext+'===<'}
      if (step==41) {document.title='=>=='+thetext+'==<='}
      if (step==42) {document.title='>=>='+thetext+'=<=<'}
      if (step==43) {document.title='=>=>'+thetext+'<=<='}
      if (step==44) {document.title='==>='+thetext+'=<=='}
      if (step==45) {document.title='===>'+thetext+'<==='}
      setTimeout("anim()",200);
    }

if (document.title)
window.onload=onload=welcometext