//Play Video (from: header) --------------------
function PlayVideo(ThePage){
ThePage= 
window.open(ThePage ,'popup','width=475,height=430');
}

//shipping (from:header) -----------------
function Shipping(ThePage){
ThePage= 
window.open(ThePage ,'popup','width=510,height=545,scrollbars=yes');
}
 
 
//sign up for email	(from:footer)	
function SignupforEmail(){
ThePage= '../SignUpEmail.asp'
window.open(ThePage ,'popup','width=430,height=430');
}

//eamil to Corporate  (from:footer)
function SendEmailToCorporate(){
ThePage= 'SendEmailToCorporate.asp'
window.open(ThePage ,'popup','width=500,height=500');
}

//send Email(from:product)	
function SendEmail(Product_Id,mastercategory_id){
ThePage= 'SendEmail.Asp?Product_Id=' + Product_Id +'&MasterCategory_id=' + mastercategory_id
//window.open(ThePage ,'popup','width=430,height=400');
window.open(ThePage ,'popup','width=640,height=600,scrollbars=yes');
}



//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;
}

// popup window  (from :header) ------
var popupWin;

function openPopUpWindow(URL,name,attrib) {
    popupWin = window.open(URL,name,attrib);
    popupWin.focus();
}


//---fram blow out  (from :header) ------
if (self != top) top.location.href = window.location.href;


//---fram blow out  (from :header - ASPinc.) ------
var noPopFlag = false;
var SurveyPage = "/EmailComments.asp";

var allcookies = document.cookie;
var stopFlag = allcookies.indexOf("exitpop=");

function launchSurvey()
{
  var ext = "";
  ext = window.open(SurveyPage,"ext","toolbar=no,menubar=no,status=no,directories=no,location=no,scrollbars=no,resizable=no,width=525,height=500");
  //self.focus(); 
}

//---fram blow out  (from :home) ------
//onunload = launchSurvey;