	function updateprice() {
		document.form.action = '<%=shopurl%>Item_Description.asp';
		document.form.submit()
	}
	
	function addtowishlist() {
		document.form.action = '<%=shopurl %>WishListCart.asp';
		document.form.submit()
	}
	
	function showimage(thefile) {
		if (!window.popWindow) {
			popWindow = window.open("ImageView.asp?file=" + thefile,"View","width=500,height=450,toolbar=0,status=0,location=0,menubar=0,scrollbars=yes,resizable=0");
		} else {
			if (!popWindow.closed) {
				popWindow.focus();
				popWindow.location = 'ImageView.asp?file=' + thefile
			} else {
				popWindow = window.open("ImageView.asp?file=" + thefile,"View","width=500,height=450,toolbar=0,status=0,location=0,menubar=0,scrollbars=yes,resizable=0");
			}
		}
	}
	
	function optlinkpopup(thewidth,theheight,theurl) {
		if (!window.poplinkWindow) {
			poplinkWindow = window.open(theurl,"PopOpt","width=" + thewidth + ",height=" + theheight + ",toolbar=0,status=0,location=0,menubar=0,scrollbars=yes,resizable=0");
		} else {
			if (!poplinkWindow.closed) {
				//poplinkWindow.focus();
				poplinkWindow.close();
				poplinkWindow = window.open(theurl,"PopOpt","width=" + thewidth + ",height=" + theheight + ",toolbar=0,status=0,location=0,menubar=0,scrollbars=yes,resizable=0");
			} else {
				poplinkWindow = window.open(theurl,"PopOpt","width=" + thewidth + ",height=" + theheight + ",toolbar=0,status=0,location=0,menubar=0,scrollbars=yes,resizable=0");
			}
		}
	}