	if (document.images) {
	  maintab1on = new Image();
	  maintab1on.src = "images/maintab1-on.gif";

	  maintab1off = new Image();
	  maintab1off.src = "images/maintab1-off.gif";

	  maintab2on = new Image();
	  maintab2on.src = "images/maintab2-on.gif";

	  maintab2off = new Image();
	  maintab2off.src = "images/maintab2-off.gif";

	  maintab3on = new Image();
	  maintab3on.src = "images/maintab3-on.gif";

	  maintab3off = new Image();
	  maintab3off.src = "images/maintab3-off.gif";

	  maintab4on = new Image();
	  maintab4on.src = "images/maintab4-on.gif";

	  maintab4off = new Image();
	  maintab4off.src = "images/maintab4-off.gif";

	  maintab4aon = new Image();
	  maintab4aon.src = "images/maintab4a-on.gif";

	  maintab4aoff = new Image();
	  maintab4aoff.src = "images/maintab4a-off.gif";

	  maintab5on = new Image();
	  maintab5on.src = "images/maintab5-on.gif";

	  maintab5off = new Image();
	  maintab5off.src = "images/maintab5-off.gif";

	  maintab6on = new Image();
	  maintab6on.src = "images/maintab6-on.gif";

	  maintab6off = new Image();
	  maintab6off.src = "images/maintab6-off.gif";
		
	  maintab7on = new Image();
	  maintab7on.src = "images/maintab7-on.gif";

	  maintab7off = new Image();
	  maintab7off.src = "images/maintab7-off.gif";
	}//end if


function turnOn(imageName) {
  if (document.images) {
    document[imageName].src = eval(imageName + "on.src");
	//alert ( document[imageName].src );
  }//end if
}//end function

function turnOff(imageName) {
  if (document.images) {
    document[imageName].src = eval(imageName + "off.src");
	//alert ( document[imageName].src );
  }//end if
}//end function

function checkContents(	) {
	if (document.cart_quantity.cart_quantity.value < 10) {
		//alert('The minimum order for stock items is 10 units.');
		//document.cart_quantity.cart_quantity.value = 10;
		//return false;
	}//end if
}//end checkContents


//popup script
function popUp(URL,widt,hite) {
	day = new Date();
	id = day.getTime();
	eval(window.open(URL, "image","toolbars=0, scrollbars=no, location=0, statusbars=0, menubars=0, resizable=1, width="+widt+", height="+hite+", left = 100, top = 120"));
}//end popup */

function popUpScroll(URL,widt,hite) {
	day = new Date();
	id = day.getTime();
	eval(window.open(URL, "image","toolbars=0, scrollbars=yes, location=0, statusbars=0, menubars=0, resizable=1, width="+widt+", height="+hite+", left = 100, top = 120"));
}//end popup */


function session_win() {
  window.open("info_shopping_cart.php","info_shopping_cart","height=460,width=430,toolbar=no,statusbar=no,scrollbars=yes").focus();
}

function checkEmail(Form) {
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(Form.email.value)){
return (true)
}
alert("Invalid E-mail Address! Please re-enter so we may contact and help you! Remember, you can always call toll free!!!")
return (false)
}
