// JavaScript Documentnormal_image11  = new Image();normal_image11.src = "_images/costume_womans_but_off.gif";mouseover_image11 = new Image();mouseover_image11.src = "_images/costume_womans_but_on.gif";normal_image12 = new Image();normal_image12.src = "_images/costume_mens_but_off.gif";mouseover_image12 = new Image();mouseover_image12.src = "_images/costume_mens_but_on.gif";normal_image13 = new Image();normal_image13.src = "_images/costume_kids_but_off.gif";mouseover_image13 = new Image();mouseover_image13.src = "_images/costume_kids_but_on.gif";normal_image21  = new Image();normal_image21.src = "_images/charaters_mascot_but_off.gif";mouseover_image21 = new Image();mouseover_image21.src = "_images/charaters_mascot_but_on.gif";normal_image22 = new Image();normal_image22.src = "_images/charaters_holiday_but_off.gif";mouseover_image22 = new Image();mouseover_image22.src = "_images/charaters_holiday_but_on.gif";normal_image23 = new Image();normal_image23.src = "_images/charaters_clown_but_off.gif";mouseover_image23 = new Image();mouseover_image23.src = "_images/charaters_clown_but_on.gif";normal_image31  = new Image();normal_image31.src = "_images/store_shop_but_off.gif";mouseover_image31 = new Image();mouseover_image31.src = "_images/store_shop_but_on.gif";normal_image32 = new Image();normal_image32.src = "_images/store_ship_but_off.gif";mouseover_image32 = new Image();mouseover_image32.src = "_images/store_ship_but_on.gif";normal_image33 = new Image();normal_image33.src = "_images/store_return_but_off.gif";mouseover_image33 = new Image();mouseover_image33.src = "_images/store_return_but_on.gif";normal_image1 = new Image();normal_image1.src = "_images/costume_but_off.gif";mouseover_image1 = new Image();mouseover_image1.src = "_images/costume_but_on.gif";normal_image2 = new Image();normal_image2.src = "_images/charaters_but_off.gif";mouseover_image2 = new Image();mouseover_image2.src = "_images/charaters_but_on.gif";normal_image3 = new Image();normal_image3.src = "_images/store_but_off.gif";mouseover_image3 = new Image();mouseover_image3.src = "_images/store_but_on.gif";<!-- repeat the lines above for any subsequent images. -->function swap(){if (document.images){for (var x=0; x<swap.arguments.length; x+=2){document[swap.arguments[x]].src = eval(swap.arguments[x+1] + ".src");}}}function openScript(url, width, height) {        var Win = window.open(url,"openScript",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=yes,menubar=yes,status=no');}<!-- swap image -->function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_findObj(n, d) { //v3.0  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function validator(theForm) {if (theForm.user_email.value == ""){alert("You must enter an e-mail address!");theForm.user_email.focus();return (false);}var okEmail = theForm.user_email.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi);if (okEmail){ok = true;} else {alert('Please enter a valid e-mail address.');theForm.user_email.focus();theForm.user_email.select();ok = false;return false;} if (theForm.user_subject.value == ""){alert("Please enter a subject for your e-mail!");theForm.user_subject.focus();return (false);}if (theForm.question.value == ""){alert("Please enter a question!");theForm.question.focus();return (false);}return true;} // new functions for shopping cartfunction selectCat(){	this.document.Formgift.submit();}function changeItemCat(){	this.document.storeForm.submit();}function addItems(Id) {	var qtyname = "qty" + Id;	var sizename = "itemSize" + Id;	var colorname = "itemColor" + Id;	var qty;	var color;	var size;	if (isNaN(document.storeForm[qtyname].value)){		alert("Plase enter a number");		return;	}	else {		qty = document.storeForm[qtyname].value*1;	}	if (document.storeForm[sizename])	{		size=document.storeForm[sizename].value;	}	else 		size = "";	if (document.storeForm[colorname]){		color=document.storeForm[colorname].value;	}	else 		color = "";			//alert((document.storeForm[sizename]) ? "size exists" : "size does not exist");	document.storeForm.doAction.value="add";	document.storeForm.itemId.value=Id;	document.storeForm.Qty.value=qty;	document.storeForm.itemSize.value=size	document.storeForm.itemColor.value=color	this.document.storeForm.submit();}function updateItems(Id, size, color) {	var qtyname = "qtyUpdate" + Id + size + color;		var qty;	if (isNaN(document.storeForm[qtyname].value)){		alert("Plase enter a number");		return;	}	else {		qty = document.storeForm[qtyname].value*1;	}		//alert(qty);	document.storeForm.doAction.value="update";	document.storeForm.itemId.value=Id;	document.storeForm.QtyUpdate.value=qty;	document.storeForm.itemSize.value=size	document.storeForm.itemColor.value=color	this.document.storeForm.submit();}function popUpdetail(imgsrc){		var filename="productdetail.asp?imgsrc=" + imgsrc;	//alert(filename);	newWindow = window.open(filename,'windowname','toolbar=no,location=no,directories=no,resizable=no,status=no,menubar=no,scrollbars=no,width=520,height=520,left=100,top=20');	newWindow.focus();}function OpenFaxForm(){	window.open("faxform.asp","faxform","toolbar=no,location=no,directories=no,resizable=yes,status=no,menubar=no,scrollbars=yes,width=620,height=500,left=100,top=20");}function removeItems(Id, size, color) {	var qtyname = "qtyUpdate" + Id + size + color;		var qty;	if (isNaN(document.storeForm[qtyname].value)){		alert("Plase enter a number");		return;	}	else {		qty = document.storeForm[qtyname].value*1;	}		//alert(qty);	document.storeForm.doAction.value="del";	document.storeForm.itemId.value=Id;	document.storeForm.QtyUpdate.value=qty;	document.storeForm.itemSize.value=size	document.storeForm.itemColor.value=color	this.document.storeForm.submit();}function EmptyCart(){	document.storeForm.doAction.value="empty";	this.document.storeForm.submit();}function EmailOrder(){	if (document.storeForm.clientname.value == ""		|| document.storeForm.phone.value == "" 		|| document.storeForm.email.value == "" 		|| document.storeForm.address.value == "" ){			alert("All fields are required.");				}	else if (! document.storeForm.email.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\..{2,2}))$)\b/gi)){		document.storeForm.email.focus();		alert("Please enter a valid e-mail address.");	}	else {		document.storeForm.doAction.value="emailorder";		this.document.storeForm.submit();	}}// end new functions for shopping cart