
//sign up email	(from:product page)	
//function SendEmail(Product_Id,Product_Website){
//ThePage= 'SendEmail.Asp?Product_Id=' + Product_Id + '&website_Id=' + Product_Website
function SendEmail(Product_Id){
ThePage= 'SendEmail.Asp?Product_Id=' + Product_Id 
window.open(ThePage ,'popup','width=640,height=600,scrollbars=yes');
}

// popup window  (from :header) ------
var popupWin;
function openPopUpWindow(URL,name,attrib) {
  popupWin = window.open(URL,name,attrib);
  popupWin.focus();
}
  
// ParentsSurvey  (from :object page) ------
function ParentsSurvey(){
  ThePage= 'ParentsSurvey.Asp'
  window.open(ThePage ,'popup','width=325,height=225');
}

//image over out (from:header) ---------
self.name = "main";
IMAGE01 = "/images/site/on.gif"
IMAGE02 = "/images/site/off.gif"
function checkVersion(){
  if (navigator.appVersion.charAt(0)>=3)
  {
    return true;
  }
  else
  {
    return false;
  }
}

function imgover(imgname){
imgname.src = IMAGE01
}

function imgout(imgname){
imgname.src = IMAGE02
}

function Switch(location, image) {
document[location].src=image;
}
