// offloadUrl = '';
offloadUrl = 'http://customerservice.webkinz.com/';

function pW(page)
 {
//  alert(screen.width + "  " + screen.height);
  if(screen.width == 800 && screen.height == 600)
  {
   if(navigator.userAgent.toLowerCase().indexOf('aol')>0 && navigator.userAgent.toLowerCase().indexOf('netscape')<0)
   {
//    alert("AOL");
    pWin = window.open("http://register47.webkinz.com/loader4.php?go="+page+"&aol=1&fs=0", "webkinz", "height=402,width=536,toolbar=0,titlebar=1,location=0,status=0,directories=0,menubar=0,scrollbars=0,resizable=0,fullscreen=0");
   }
   else
   {
//    alert("FS");
    pWin = window.open("http://register47.webkinz.com/loader4.php?go="+page+"&aol=0&fs=1", "webkinz", "height=600,width=800,toolbar=0,titlebar=1,location=0,status=0,directories=0,menubar=0,scrollbars=0,resizable=0,fullscreen=1");
   }
  }
  else
  {
//   alert("NOT FS");
   pWin = window.open("http://register47.webkinz.com/loader4.php?go="+page+"&aol=0&fs=0", "webkinz", "left="+(screen.width-800)/2+",top="+(screen.height-600)/2+",height=600,width=800,toolbar=0,titlebar=1,location=0,status=0,directories=0,menubar=0,scrollbars=0,resizable=0");
  }
 }

 function pT()
 {
  if(screen.width == 800 && screen.height == 600)
  {
   if(navigator.userAgent.toLowerCase().indexOf('aol')<1)
   {
    document.getElementById('results').innerHTML = "Your browser is set to 800 by 600 resoltuion, website will open in fullscreen mode<br>";
   }
  }
 }

function pWTour()
 {
   pWin = window.open("SWF/TOUR/siteTour.html", "webkinztour", "left="+(screen.width-750)/2+",top="+(screen.height-500)/2+",height=500,width=750,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=0,resizable=0");
 }

 function pT()
 {
  if(screen.width == 800 && screen.height == 600)
  {
   if(navigator.userAgent.toLowerCase().indexOf('aol')<1)
   {
    document.getElementById('results').innerHTML = "Your browser is set to 800 by 600 resoltuion, website will open in fullscreen mode<br>";
   }
  }
 }

function renewalinfo()
 {
   pWin = window.open("renewal_information.html", "ri","left="+(screen.width-817)/2+",top="+(screen.height-800)/2+",height=800,width=817,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }

function policy()
 {
   pWin = window.open("privacy.html", "privacy", "left="+(screen.width-550)/2+",top="+(screen.height-600)/2+",height=600,width=550,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }

 function terms()
 {
   pWin = window.open("terms.html", "terms", "left="+(screen.width-750)/2+",top="+(screen.height-600)/2+",height=600,width=750,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }
 function ownership()
 {
   pWin = window.open("terms.html", "terms", "left="+(screen.width-750)/2+",top="+(screen.height-600)/2+",height=600,width=750,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }
function contactUs()
 {
   pWin = window.open("contact.html", "contactus", "left="+(screen.width-817)/2+",top="+(screen.height-800)/2+",height=800,width=817,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }

 function webkinz_day()
 {
   pWin = window.open("webkinz_day.html", "webkinz_day","left="+(screen.width-817)/2+",top="+(screen.height-800)/2+",height=600,width=700,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }

function dicekinz_faq()
 {
   pWin = window.open("dicekinz_faq.html", "dicekinz_faq","left="+(screen.width-817)/2+",top="+(screen.height-800)/2+",height=800,width=817,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }
 function magicWInfo()
 {
   pWin = window.open("webkinzW.html", "WebkinzW","left="+(screen.width-817)/2+",top="+(screen.height-800)/2+",height=800,width=817,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }
function faq()
 {
   pWin = window.open("faq/index.html", "faq","left="+(screen.width-817)/2+",top="+(screen.height-620)/2+",height=620,width=817,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }
function launch1024()
 {
   pWin = window.open("launch1024.html", "launch1024","left="+(screen.width-817)/2+",top="+(screen.height-800)/2+",height=800,width=725,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }
 function contactUsRetail()
 {
   pWin = window.open("http://www.ganz.com/contact/rep_contact.html", "contactusretail","left="+(screen.width-817)/2+",top="+(screen.height-800)/2+",height=600,width=670,toolbar=0,titlebar=0,location=50,status=0,directories=0,menubar=0,scrollbars=1,resizable=1");
 }

 function storelocator()
 {
  pWin = window.open(offloadUrl+"storelocator/html/index.html", "storelocator","left="+(screen.width-817)/2+",top="+(screen.height-800)/2+",height=593,width=670,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=0");
 }

 function catalog()
 {
  pWin = window.open(offloadUrl+"collectionscatalog/index.html", "collectionscatalog","left="+(screen.width-817)/2+",top="+(screen.height-800)/2+",height=593,width=670,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=0");
 }

function issue()
 {
   pWin = window.open("regissue.html", "issues", "left="+(screen.width-550)/2+",top="+(screen.height-600)/2+",height=600,width=550,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,status=0,directories=0,menubar=0,scrollbars=1,resizable=0");
 }
 
function internationalDistributors() {
  pWin = window.open("idl/", "International Distributors","left="+(screen.width-640)/2+",top="+(screen.height-484)/2+",height=484,width=640,toolbar=0,titlebar=0,location=0,status=0,directories=0,menubar=0,scrollbars=0,resizable=0");
}


