function newWindow(text,depth,tall) {
leftPos=0
if(screen){
leftPos=200
}
formWindow=window.open(text,'formWin',depth+','+tall+',left='+leftPos+',top=150,scrollbars=yes')
}
///////////////////////////////

function leatherAlert(){
/*alert('\n \n          Due to the large backlog of orders, we are\n          running over 2 weeks behind on manufacturing\n          leather, collars, harness, muzzles & leashes.\n          Please allow enough time for us to make and ship your order.          \n \n ')*/
/*alert('\n \n          Due to the large backlog of orders,\n          we will be UNABLE to make & ship             \n          any more leather collars, leashes & \n          harnesses in time for Christmas          \n\n')*/
}
///////////////////////////////////
function petClothesAlert(){
/*alert('\n \n          Due to the large backlog of orders, we are\n          running over 2 weeks behind on manufacturing\n          pet clothing, dog belly bands and dog panties.\n          Please allow enough time for us to make and ship your order.          \n \n ')*/
/*alert('\n \n          Due to the large backlog of orders,\n          we will be UNABLE to make & ship             \n          any more pet clothing in time for Christmas          \n\n')*/
}
/////////////////////////////////
function checkForm(mYform,mYcolor,message){
Aform=document[mYform];
colorChoice=Aform[mYcolor].selectedIndex
if (Aform[mYcolor].options[colorChoice].value==""){
alert ("You forgot to choose a "+message+" !")
Aform[mYcolor].focus();
return false
}
return true;
}
//////////////////////////////////////////////////
function count3(mYform,color1,color2,color3,quant){
Aform=document[mYform]
field1=0
if (Aform[color1].options[Aform[color1].selectedIndex].value!=""){
field1=1
}
field2=0
if (Aform[color2].options[Aform[color2].selectedIndex].value!=""){
field2=1
}
field3=0
if (Aform[color3].options[Aform[color3].selectedIndex].value!=""){
field3=1
}
Aform[quant].value=(field1*1)+(field2*1)+(field3*1)
}
//////////////////////////////////////////
function count5(mYform,color1,color2,color3,color4,color5,quant){
Aform=document[mYform]
field1=0
if (Aform[color1].options[Aform[color1].selectedIndex].value!=""){
field1=1
}
field2=0
if (Aform[color2].options[Aform[color2].selectedIndex].value!=""){
field2=1
}
field3=0
if (Aform[color3].options[Aform[color3].selectedIndex].value!=""){
field3=1
}
field4=0
if (Aform[color4].options[Aform[color4].selectedIndex].value!=""){
field4=1
}
field5=0
if (Aform[color5].options[Aform[color5].selectedIndex].value!=""){
field5=1
}
Aform[quant].value=(field1*1)+(field2*1)+(field3*1)+(field4*1)+(field5*1)
}
 //////////////////////////////////
function popUp(spanName){
var thisSpan = document.getElementById(spanName).style;
thisSpan.visibility="visible";
}

function popDown(spanName){
var thisSpan = document.getElementById(spanName).style;
thisSpan.visibility ="hidden"
}
/////////////////////////////////////
leftHead=new Image
HeartBar=new Image
leftHead.src="left-head.gif"
HeartBar.src="HeartBar.gif"

function SwapEggs(picture){
if (document.images){
document.prizeEgg.src=eval(picture+".src")
}
}
//////////////////////////////////////
colors = new Array("silver","red");
colorNumber=0;

function blink(){
colorNumber++

if (colorNumber > 1){
colorNumber=0;
}
var thisStyle=document.getElementById("flash").style
thisStyle.color=colors[colorNumber];
var thisFlash=document.getElementById("flash2").style
thisFlash.color=colors[colorNumber];
setTimeout("blink()",750);
}
////////////////////////////////////////////////