function rnd(){
  rnd.today=new Date();
  rnd.seed=rnd.today.getTime();
  rnd.seed = (rnd.seed*9301+49297) % 233280;
  return   Math.ceil((rnd.seed/(233280.0))*176);
}

function PlaySound(){
window.status = " ";
document.write('<EMBED SRC="sounds/' + rnd() + '.wav" HIDDEN="TRUE" AUTOSTART="TRUE" LOOP="FALSE" VOLUME = 100%');
}

function closeinstr() {
  if (win && win.open && !win.closed) win.close();
}
			  
function orderinstr() 
{
var win = window.open("BicycleCam-OrderInstructions.htm", "win", "width=350, height=400"); 
  with (win.document) {
	win.moveTo(10,50); 
    open("text/html", "replace");
    write("<HTML><HEAD><TITLE>Order Form Help</TITLE>");
    write("<script>function closeMe(){ var timedelay = 120000; temp = null; temp = setTimeout('self.close()',timedelay); }</script>");
    write("</HEAD><body onload='closeMe()' bgcolor='#33FFFF'>");
    write("<table width='300'><tr><td align='left' width='68'><img alt='John Bickmore' height='63' width='68' src='sidebar/john_face.gif'></td><td align='center' width='232'><font size='+1' face='verdana'><b>Secure Order Entry<br>Provided by <a href='http://www.PayPal.com' target='_blank'>PayPal.com</a></b></font></td></tr></table>");
    
    
    
    
    write("<table width='100%'><tr><td width='25'></td><td width='300' height='2' bgcolor='#000000'></td><td width='25'></td></tr><tr><td colspan='3' height='7'></td></tr></table>");
       
    write("<table width='100%'><tr><td width='25'></td><td align='left'><font face='verdana' size='-2'>&nbsp;<b>PayPal's secure shopping cart will open in a<br>separate window:</b></font></td><td width='25'></td></tr>");
    
    write("<tr><td width='25'></td><td align='left'><font face='verdana' size='-2'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#45;&nbsp;Quantity and the <b>Checkout button</b></font></td><td width='25'></td></tr>");
    write("<tr><td width='25'></td><td align='left'><font face='verdana' size='-2'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#45;&nbsp;<b>and then credit card information</b></font></td><td width='25'></td></tr></table>");
    
    write("<table width='100%'><tr><td width='35' height='7'></td><td align='left'><font face='verdana' size='-2'>&nbsp;&nbsp;PayPal only sends me your:</font></td></tr></table>");
    write("<table width='100%'><tr><td width='70'></td><td align='left' width='280'><font face='verdana' size='-2'>Shipping and email addresses</font></td><td></td></tr></table>");
    
    write("<table width='100%'><tr><td width='25'></td><td width='300' height='2' bgcolor='#000000'></td><td width='25'></td></tr><tr><td height='10' colspan='3'></td></table>");
    
    
    write("<table width='300'>");
    write("<tr><td align='center'><font size='-1'>My company is: ");
    write("<a href='http://www.feed-zone.com' target='_blank'>www.Feed-Zone.com</a></font></td></tr></table>");	

    write("<table width='300'>");
    write("<tr><td align='center'><font size='-1'>Cost in USA: $29.90 ($24.95 + $4.95 shipping)</font></td></tr></table>");

    write("<table width='300'>");
    write("<tr><td align='center'></td></tr></table>");

    write("<table width='300'>");
    write("<tr><td align='center'><IMG src='pics/logo_cards_150x26.gif' height='26' width='170' border='0' alt='Visa, MasterCard, Discover, and American Express'></td></tr></table>");

    write("<table width='300'>");
    write("<tr><td align='center'><font size='-1'>Outside USA: $__.__  ($24.95 USC + <a href='http://ircalc.usps.gov/weight.asp?Contents=0' target='_blank'>Shipping</a>)</font>&nbsp;<font size='-2'><br>(Use 8 ounce, 24 inch envelope)</font></td></tr></table>");
    write("<table width='100%'><tr><td height='1'></td></tr><tr><td align='center'><font size='-2' face='arial'>All movies are DVD North American format</font></td></tr><tr><td height='1'></td></tr></table>");
    write("<table width='100%'><tr><td align='center' height='7'><a href='javascript:window.close()'><img src='pics/pclose.gif' border='0' width='100' height='17'></a></td></tr></table>");
    write("</font></BODY></HTML>");	
    close();
  }
}
