//---- function to open new window (for help details) --------
function openWin(page) {
	var popup = window.open(page, "newTrackWin", "resizable=yes, scrollbars=yes, top=20, left=20, width=440, height=510");
	popup.focus();
}

//-- JavaScript code written by Alan Simpson - www.coolnerds.com
//-- Do the calculation based on three passed values.
function calc(val,factor,putin) { 
   //--If null passed, convert to zero.
   if (val == "") {
      val = "0"
   }
   //--Evaluate expression and display in appropriate table cell.
   evalstr = "document.ConverTable."+putin+ ".value = "
   evalstr = evalstr + val + "*" + factor
   eval(evalstr)
}
// unhide script --></script>



			function showupdate(photoIndex)
			{
			document['bigPhoto'].src = "/Chrome/Nail/"
			document['bigPhoto'].src += testurl[photoIndex];
			document['bigPhoto'].alt = testalt[photoIndex];
			document['bigPhoto'].title = testalt[photoIndex];
			document['bigPhoto'].width = testwidth[photoIndex];
			document['bigPhoto'].height = testheight[photoIndex];
			//document.biglink.href += 'foo'.biglink[photoIndex];
			return;
			}
			function supersize(NewImg, item, indexURL, photoDisplayType)
			{
			document.supersizeimg.src = NewImg;
			document.supersizelink.item.value = item;
			supersizeItem = item;
			document.supersizelink.indexURL.value = indexURL - 1;
			document.supersizelink.photoDisplayType.value = photoDisplayType;
			return;
			}
			function SendSuperSize()
			{
			//if (supersizeItem == "")
			//{
			//return;
			//}
			document.supersizelink.action += '#bigpic';
			document.supersizelink.submit();
			}

