/* This javascript creates an up and down scrolling banner to 
be displayed on a screen.  To change the message that is displayed, 
change the value of 'wholemessage' below.  */

//scroller width
var swidth=150

//scroller height
var sheight=50


//scroller's speed;
var sspeed=2

var wholemessage=''

//text: change to your own or remove comment lines '//' from another 
//message and comment out the other one using '//'.

//wholemessage='<b><font face=Arial size=+0 color=#CC3366> Puppies are now //available!<br><br>Click here to see their photos!<br><br></b></font>'

wholemessage='<b><font face=Arial size=+0 color=#CC3366> Currently taking deposits.<br><br>Click here to see puppies from our past litters.<br><br></b></font>'

//end messages.

function start(){
if (document.all) return
if (document.getElementById){
document.getElementById("slider").style.visibility="show"
ns6marquee(document.getElementById('slider'))
}
else if(document.layers){
document.slider1.visibility="show"
ns4marquee(document.slider1.document.slider2)
}
}
function ns4marquee(whichlayer){
ns4layer=eval(whichlayer)
ns4layer.document.write(wholemessage)
ns4layer.document.close()
sizeup=ns4layer.document.height
ns4layer.top-=sizeup
ns4slide()
}
function ns4slide(){
if (ns4layer.top>=sizeup*(-1)){
ns4layer.top-=sspeed
setTimeout("ns4slide()",100)
}
else{
ns4layer.top=sheight
ns4slide()
}
}
function ns6marquee(whichdiv){
ns6div=eval(whichdiv)
ns6div.innerHTML=wholemessage
ns6div.style.top=sheight
sizeup=sheight
ns6slide()
}
function ns6slide(){
if (parseInt(ns6div.style.top)>=sizeup*(-1)){
ns6div.style.top=parseInt(ns6div.style.top)-sspeed
setTimeout("ns6slide()",100)
}
else{
ns6div.style.top=sheight
ns6slide()
}
}

//  End -->

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}




