if (document.images) {
  image1off = new Image();
  image1off.src = "images/nav/about_off.gif";
  image2off = new Image();
  image2off.src = "images/nav/custom_design_off.gif";
  image3off = new Image();
  image3off.src = "images/nav/invitations_off.gif";
  image4off = new Image();
  image4off.src = "images/nav/wedding_off.gif";
  image5off = new Image();
  image5off.src = "images/nav/baby_off.gif";
  image6off = new Image();
  image6off.src = "images/nav/stationery_off.gif";
  image7off = new Image();
  image7off.src = "images/nav/whats_new_off.gif";
  image8off = new Image();
  image8off.src = "images/nav/tips_off.gif";
  image9off = new Image();
  image9off.src = "images/nav/contact_off.gif";

  image1on = new Image();
  image1on.src = "images/nav/about_on.gif";
  image2on = new Image();
  image2on.src = "images/nav/custom_design_on.gif";
  image3on = new Image();
  image3on.src = "images/nav/invitations_on.gif";
  image4on = new Image();
  image4on.src = "images/nav/wedding_on.gif";
  image5on = new Image();
  image5on.src = "images/nav/baby_on.gif";
  image6on = new Image();
  image6on.src = "images/nav/stationery_on.gif";
  image7on = new Image();
  image7on.src = "images/nav/whats_new_on.gif";
  image8on = new Image();
  image8on.src = "images/nav/tips_on.gif";
  image9on = new Image();
  image9on.src = "images/nav/contact_on.gif";
  
}
function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
    }
  }
}

function ShowLargeImage(sImage, sImageName) {
	var w = window.open("","LargeImage","width=540,height=530,toolbar=no,location=no,directories=no,status=no,menubar=no");
	w.document.write("<html>");
	w.document.write("<head>");
	w.document.write("<title>M. Hopple & Co. - Passionate About Paper</title>");
	w.document.write("<script language=javascript src='..\/include\/stylesheet1.js'><\/script>");
	w.document.write("</head>");			
	w.document.write("<body marginheight='0' marginwidth='0'>");
	w.document.write("<table width='540' cellpadding='0' cellspacing='0' border='0'>");
	w.document.write("<tr>");
	w.document.write("	<td width='540' height='5' valign='top'><img src='../images/spacer.gif' width='540' height='5' border='0' alt=''></td>");
	w.document.write("</tr>");
	w.document.write("<tr>");
	w.document.write("	<td width='540' valign='top'>");
	w.document.write("		<table width='540' cellpadding='0' cellspacing='0' border='0'>");
	w.document.write("			<tr>");
	w.document.write("				<td align='left' width='5' height='1'><img src='../images/spacer.gif' width='5' height='1' border='0' alt=''></td>");
	w.document.write("				<td align='left' valign='top' width='530' height='400' bgcolor='#cccccc'>");
	w.document.write("					<img src='../" + sImage + "' width='530' height='485' border='0' alt='" + sImageName + "'>");
	w.document.write("				</td>");				
	w.document.write("				<td align='left' valign='top' width='5' height='1'><img src='../images/spacer.gif' width='5' height='1' border='0' alt=''></td>");
	w.document.write("			</tr>");
	w.document.write("		</table>");
	w.document.write("	</td>");
	w.document.write("</tr>");
	w.document.write("<tr>");
	w.document.write("	<td align='center' valign='top' width='540'><br><a href='javascript:window.close();'>Close Window</a></td>");
	w.document.write("</tr>");
	w.document.write("</table>");
	w.document.write("</body>");
	w.document.write("</html>");	
	w.focus();					
}

function ShowDetail(ProductID) {
	var w = window.open("details.aspx?ProductID=" + ProductID,"Pricing","width=349,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes");
	w.focus();
}