
function popUp() {

props=window.open('breedguide.htm', 'poppage', 'toolbars=0, scrollbars=1, location=1, statusbars=1, menubars=1, resizable=1, width=500, height=250, left = 326, top = 307');

}


function popUpBreed() {
props=window.open('breedguide.htm', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=0, width=600, height=600, left = 165, top = 100');
}
function popUpCoupons() {
props=window.open('coupons.htm', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=620, height=620, left = 150, top = 100');
}
function popUpHappyCustomer() {
props=window.open('happy_customers/index2.php', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=0, width=700, height=450, left = 150, top = 100');
}
var pic, alt;
pic = new Array;
pic[0] = "randompuppies/yorkie2.JPG";
pic[1] = "randompuppies/kittenweb.jpg";
pic[2] = "randompuppies/164.jpg";
pic[3] = "randompuppies/000_0959.JPG";
pic[4] = "randompuppies/181.jpg";
pic[5] = "randompuppies/227.jpg";
pic[6] = "randompuppies/beagle03.jpg";
pic[7] = "randompuppies/bichon22.JPG";
pic[8] = "randompuppies/bichon22.JPG";
pic[9] = "randompuppies/Dalmation.jpg";
pic[10] = "randompuppies/chow7.jpg";
pic[11] = "randompuppies/engsmall.jpg";
pic[12] = "randompuppies/Yorkies0004.JPG";
pic[13] = "randompuppies/flagyorkie.jpg";
pic[14] = "randompuppies/golden.jpg";
pic[15] = "randompuppies/jack12.jpg";
pic[16] = "randompuppies/malteseD40238FDOB11404.jpg";
pic[17] = "randompuppies/P1010028.JPG";
pic[18] = "randompuppies/pap12.JPG";
pic[19] = "randompuppies/pom12.JPG";
pic[20] = "randompuppies/pug.jpg";
pic[21] = "randompuppies/pugs2.jpg";
pic[22] = "randompuppies/roti.jpg";
pic[23] = "randompuppies/ShihTZuD40088__M_DOB11_22_03.jpg";
pic[24] = "randompuppies/yorkie2112M.jpg";
pic[25] = "randompuppies/YorkieD40078_M_DOB11_9_03b.jpg";
pic[26] = "randompuppies/YorkieD40106_F_DOB11_7_03a.jpg";
pic[27] = "randompuppies/yorkieD40368Mfeb25new.jpg";
pic[28] = "randompuppies/339.jpg";
pic[29] = "randompuppies/431.jpg";
pic[30] = "randompuppies/469.jpg";
pic[31] = "randompuppies/470.jpg";
pic[32] = "randompuppies/505.jpg";
pic[33] = "randompuppies/506.jpg";
pic[34] = "randompuppies/514.gif";
pic[35] = "randompuppies/533.jpg";
pic[36] = "randompuppies/534.jpg";
pic[37] = "randompuppies/539.jpg";
pic[38] = "randompuppies/544.jpg";
pic[39] = "randompuppies/545.jpg";
pic[40] = "randompuppies/546.jpg";
pic[41] = "randompuppies/550.jpg";
pic[42] = "randompuppies/551.jpg";
pic[43] = "randompuppies/515.jpg";
pic[44] = "randompuppies/425.jpg";
pic[45] = "randompuppies/524.jpg";
pic[46] = "randompuppies/001.jpg";
pic[47] = "randompuppies/002.gif";
pic[48] = "randompuppies/003.jpg";
pic[49] = "randompuppies/004.jpg";
pic[50] = "randompuppies/005.jpg";
pic[51] = "randompuppies/006.jpg";
alt = new Array;
var picname = "A Huge Selection of Puppies & Kittens"
alt[1] = picname;
alt[2] = picname;
alt[3] = picname;
alt[4] = picname;
alt[5] = picname;
alt[6] = picname;
alt[7] = picname;
alt[8] = picname;
alt[9] = picname;
alt[10] = picname;
alt[11] = picname;
alt[12] = picname;
alt[13] = picname;
alt[14] = picname;
alt[15] = picname;
alt[16] = picname;
alt[17] = picname;
alt[18] = picname;
alt[19] = picname;
alt[20] = picname;
alt[21] = picname;
alt[22] = picname;
alt[23] = picname;
alt[24] = picname;
alt[25] = picname;
alt[26] = picname;
alt[27] = picname;
alt[28] = picname;
alt[29] = picname;
alt[30] = picname;
alt[31] = picname;
alt[32] = picname;
alt[33] = picname;
alt[34] = picname;
alt[35] = picname;
var now = new Date();
var seed = now.getTime() % 0xffffffff;
function rand(n) {
seed = (0x015a4e35 * seed) % 0x7fffffff;
return ( seed >> 16 ) % n;
}
var num = rand(51);
var num2 = rand(51);
var num3 = rand(51);
var num4 = rand(51);
var num5 = rand(51);
var num6 = rand(51);
var random = rand(15)+1;
var video = 'puppy_video' + random + '.swf';

function popUp360() {
props=window.open('New_album_1_/Walk.htm', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=1, width=400, height=320, left = 150, top = 100');
}
function popUpSurvey() {
props=window.open('surevy1.htm', 'poppage', 'toolbars=0, scrollbars=1, location=0, statusbars=0, menubars=0, resizable=1, width=680, height=400, left = 120, top = 100');
}
function popUppupSurvey() {
props=window.open('puppysurvey.html', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=340, height=220, left = 120, top = 100');
}
function popUppupad() {
props=window.open('advertise.htm', 'poppage', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=600, height=300, left = 120, top = 100');
}
function popUpRentaPet() {
props=window.open('rentapet.htm', 'RentPet', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=640, height=480, left = 120, top = 100');
}
function popUpKittenFAQ() {
props=window.open('kittenfaq.htm', 'kittenFAQ', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=640, height=480, left = 120, top = 100');
}
function popUpPuppyFAQ() {
props=window.open('puppyfaq.htm', 'puppyFAQ', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=640, height=480, left = 120, top = 100');
}
function popUpOUrGuarantee() {
props=window.open('ourgurantee.htm', 'guarantee', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=640, height=480, left = 120, top = 100');
}
function popUpSpecialOffer() {
props=window.open('specialorder.htm', 'specialoffer', 'toolbars=0, scrollbars=0, location=0, statusbars=0, menubars=0, resizable=0, width=640, height=480, left = 120, top = 100');
}
function valForm(f) {
orderName=f.elements['orderName'].value;
childsName=f.elements['childsName'].value;
street=f.elements['street'].value;
city=f.elements['city'].value;
state=f.elements['state'].value;
phone1=f.elements['phone1'].value;
phone2=f.elements['phone2'].value;
email=f.elements['email'].value;
var fail=0;
var s="";
if(orderName==""){
    fail=1;
    s+="Name : cannot be blank.\r\n";
    }
if(childsName==""){
    fail=1;
    s+="Party For : (Name of child) cannot be blank.\r\n";
    }
if(street==""){
    fail=1;
    s+="Party Street Address : cannot be blank.\r\n";
    }
if(city==""){
    fail=1;
    s+="Party City : cannot be blank.\r\n";
    }
if(city==""){
    fail=1;
    s+="Party State : cannot be blank.\r\n";
    }
if(phone1==""||phone2==""){
    fail=1;
    s+="We require both Phone 1 and Phone 2.\r\n";
    }
if(email==""){
    fail=1;
    s+="Email address : cannot be blank.\r\n";
    }
if(fail){
    alert(s);
    }else{
    f.submit();
    }
}

function valInfoForm(f) {
orderName=f.elements['name'].value;
phone=f.elements['phone'].value;
email=f.elements['email'].value;
var fail=0;
var s="";
if(orderName==""){
    fail=1;
    s+="Name : cannot be blank.\r\n";
    }
if(phone==""){
    fail=1;
    s+="Phone : cannot be blank.\r\n";
    }
if(email==""){
    fail=1;
    s+="Email address : cannot be blank.\r\n";
    }
if(fail){
    alert(s);
    }else{
    f.submit();
    }
}

function valNewItemForm(f) {
category = f.elements['cid'].value;
if(category = 99999){
    alert("You must select a category for this item");
    }else{
    f.submit();
    }
}