 function clickto(form) {
        var pindex=form.products.selectedIndex
        if (form.products.options[pindex].value != "0") {
         location=form.products.options[pindex].value;}
}

function popImage(imgSrc, imgTitle) {
	var scr_width = 620;
	var scr_height = screen.height - 100;
	var win_title = "Enlarged Image";
	var win_bg = "#FFFFFF";
	var img_dir = "";
	var fontColor = "#000000";

	var newWin = null;
	newWin = window.open("","","width=" + scr_width + ",height=" + scr_height + ",scrollbars=yes,resizable=yes");
	if (newWin != null) {
		newWin.focus();
		var htmlCode = "	<HTML>\n";
		htmlCode +=    "	 <HEAD>\n";
		htmlCode +=    "	  <TITLE>" + win_title + "</TITLE>\n";
		htmlCode +=    "   </HEAD>\n";
		htmlCode +=    "	 <BODY bgcolor=\"" + win_bg + "\">\n";
		htmlCode +=    "	  <DIV align=\"center\">\n";
		(document.layers) ? htmlCode += "<LAYER id=\"imgLoad\" visibility=\"visible\" z-index=\"1\">\n" : htmlCode += "<DIV id=\"imgLoad\" visibility=\"visible\" z-index=\"1\">\n";
		htmlCode +=	   "	    <FONT color=\"" + fontColor + "\" face=\"Verdana,Arial,Helvetica\" size=\"-1\"><B>Please wait, loading...</B></FONT>\n";
		(document.layers) ? htmlCode += "</LAYER>\n" : htmlCode += "</DIV>\n";
		htmlCode +=    "	   <BR>\n";
		htmlCode +=    "	   <IMG src=\"" + img_dir + imgSrc + "\" border=\"1\" alt=\"" + imgTitle + "\" onLoad=\"javascript:(document.layers) ? document.layers['imgLoad'].visibility='hidden' : document.all['imgLoad'].style.visibility='hidden';\">\n";
		htmlCode +=    "	   <BR><FONT color=\"" + fontColor + "\" face=\"Verdana,Arial,Helvetica\" size=\"-1\"><B>" + imgTitle + "</B></FONT><BR>\n";
		htmlCode +=    "	   <FORM name=\"fClose\"><INPUT type=\"button\" name=\"btnClose\" value=\"Close Window\" onClick=\"javascript:window.close();\"></FORM>\n";
		htmlCode +=    "	   </FORM>\n";
		htmlCode +=    "	  </DIV>\n";
		htmlCode +=    "	 </BODY>\n";
		htmlCode +=    "	</HTML>";
		newWin.document.write(htmlCode);
		newWin.document.close();
	}
}

function Zoom(theImage,theTitle,x,y) {
    var x1 = x + 24
    var y1 = y + 80
	var newWindow = null
        newWindow = window.open("","","width="+x1+",height="+y1+",scrollbars=no,resizable=yes")  
	if (newWindow !=null) {
		newWindow.focus()
		var newimage = "<HTML><HEAD><TITLE>" +theTitle+ "</TITLE></HEAD>"
		newimage += "<BODY TOPMARGIN=0 LEFTMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 BGCOLOR='#FFFFFF'><FORM><DIV align=\"center\"><IMG SRC=" +theImage+ " WIDTH=" +x+ " HEIGHT=" +y+ " BORDER=1 VSPACE=10><BR>"
		newimage += "<FONT FACE='verdana' SIZE=2 COLOR='#3992B5'><B>" +theTitle+ "</B></FONT><BR>"
		newimage += "<IMG SRC='space.gif' WIDTH=1 HEIGHT=10><BR>"
		newimage += "<INPUT TYPE='button' VALUE='Close This Window' onClick='javascript:window.close()'></FORM></DIV>"
		newimage += "</BODY></HTML>"
		newWindow.document.write(newimage)
		newWindow.document.close()

	}

}

