//begin new window js\\-->
function PopUp(jsTarget, jsWidth, jsHeight)
{
	if (jsWidth == null)
	{
		jsWidth = 325;
	}
	if (jsHeight == null)
	{
		jsHeight = 350;
	}
	myPopUp = window.open(jsTarget,"","width=" + jsWidth + ",height=" + jsHeight + ",toolbar=no,location=no,directories=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no");
myPopUp.focus();
}
//begin PopUp Help js\\-->
function PopUpHelp(jsTarget, jsWidth, jsHeight)
{
	if (jsWidth == null)
	{
		jsWidth = 445;
	}
	if (jsHeight == null)
	{
		jsHeight = 480;
	}
        myPopUp = window.open(jsTarget,"","width=" + jsWidth + ",height=" + jsHeight + ',toolbar=no,location=no,directories=no,menubar=yes,scrollbars=yes,resizable=no,copyhistory=no');
        myPopUp.focus();
}
//begin clear field js\\-->
var cleared = 0;
function clearField(field){
   if (cleared != 1){   
      field.value = "";
      cleared=1;}
    else
           cleared = 0;
} 
//begin gotosite js\\-->
        function gotosite(site) {
        if (site != "") {
        parent.location=site
            }
        }
//begin confirmdelete js\\-->
function confirmSubmit(message)
	{
		if (message != null)
			str = message;
		else
			str = "Are you sure you wish to continue?";
				
		var agree=confirm(str);
				
		if (agree)
			return true ;
		else
			return false ;
	}
//begin no double submit js\\-->
var submitted = false;
function submitCheck()
{
	if (submitted)
		{
		alert("Please wait, proceesing is already in progress....");
		return false;
	}
	else {
		submitted = true;
		return true;
	}
}
//begin disable enter key js\\-->
function disableEnterKey()
{
     if (window.event.keyCode == 13)
     {
	 window.event.keyCode = 0;
	 alert("Please click the Add to Cart button.");
     }
}
//begin protect email from spam js\\-->
function emailink(name, domain, display) {
displayed=(typeof(display)=="undefined") ? name+"@"+domain : display
document.write('<a href=mailto:' + name + '@' + domain + '>' + displayed + '</a>');
}

//begin nav rollovers\\-->

nav_one_off = new Image(70,19);
nav_one_off.src = "/Images/Common/Nav_home_off.gif";
nav_two_off = new Image(95,19);
nav_two_off.src = "/Images/Common/Nav_AboutUs_off.gif";
nav_three_off = new Image(109,19);
nav_three_off.src = "/Images/Common/Nav_products_off.gif";
nav_four_off = new Image(83,19);
nav_four_off.src = "/Images/Common/Nav_contact_off.gif";

nav_one2_on = new Image(70,19);
nav_one2_on.src = "/Images/Common/Nav_home_over.gif";
nav_two2_on = new Image(95,19);
nav_two2_on.src = "/Images/Common/Nav_AboutUs_over.gif";
nav_three2_on = new Image(109,19);
nav_three2_on.src = "/Images/Common/Nav_products_over.gif";
nav_four2_on = new Image(83,19);
nav_four2_on.src = "/Images/Common/Nav_contact_over.gif";