document.write("<form onSubmit=\"SetProductID(this)\" action=\"http://www.rainycity.net/rainy/view_cart.asp\" method=\"POST\"><a name=\"RZR102-ORIG\"></a><input type=\"hidden\" name=\"ProductID\" value=\"RZR102-ORIG\">\r\n<input type=\"hidden\" name=\"ProductType\" value=\"Medium Weight\">\r\n<input type=\"hidden\" name=\"ProductDesc\" value=\"Razor Scooter MS-130A - Original - Red Wheels\">\r\n<input type=\"hidden\" name=\"Price\" value=\"55.99\">\r\n<input type=\"hidden\" name=\"BaseQuantity\" value=\"8\">\r\n<table border=\"0\" width=\"95%\">\r\n<tr><th colspan='2' align='left'><font face=\"Arial\" size=\"2\">Razor Scooter MS-130A - Original - Red Wheels</font></th></tr>\r\n");
document.write("<tr><th width='25%'>&nbsp;</th><td width='75%'><IMG border=\"0\" src=\"http://www.rainycity.net/rainy/razor-scooter-original-ms130a-red.jpg\"></td></tr>\r\n<tr><td colspan='2'><small><font face=\"Arial\" size=\"2\">&lt;b&gt;This is the ORIGINAL Razor Scooter Model MS-130A - Collectible&lt;/b&gt;&lt;p&gt;It can carry more weight than the new 2004 models and it has a longer steering column.  It this the original Razor Scooter A model design.  This is the basic scooter with no frills, but tons of fun!&lt;p&gt;It  folds up easily &lt;img src='http://www.toysinthemail.com/images/razor-scooter-ms130-a-green-folded.jpg' alt='more toy images'&gt;.&lt;br&gt;&lt;br&gt;The razor scooter is the preferred sidewalk vehicle for young and adult riders too! (ages 5+).  This state-of-the-art scooter adjusts to accommodate different heights by moving the locking steering arm over a range of 23 3/4 iches to 36 inches.&lt;h4&gt;More Information About Razor Scooter MS-130A - Original - Red Wheels&lt;/h4&gt;Basic Razor Scooter&lt;br&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;Just like Skateboarding always wear safety helmets and pads. We are not liable for injury resulting from the use of this product.&lt;/li&gt;&lt;li&gt;Single action folding / unfolding&lt;/li&gt;&lt;li&gt;Rear Brake / Wheel Guard&lt;/li&gt;&lt;li&gt;Foldable Handlebars&lt;/li&gt;&lt;li&gt;Weight limit 220 pounds&lt;/li&gt;&lt;/ul&gt;</font></small></td></tr>\r\n");
document.write("<tr><th width='25%'align='right'><small><font face=\"Arial\" size=\"2\">Unit Price&nbsp;</font></th><td width='75%'><font face=\"Arial\" size=\"2\">$55.99</font></small></td></tr>\r\n<tr><th width='25%'align='right'><small><font face=\"Arial\" size=\"2\">List Price&nbsp;</font></th><td width='75%'><font face=\"Arial\" size=\"2\"><strike>$59.99</strike>&nbsp;&nbsp;<b>7%&nbsp;Off!</b></font></small></td></tr>\r\n<tr><th align='right'><small><font face=\"Arial\" size=\"2\">Quantity&nbsp;</font></small></th><td><input type=\"text\" size=\"2\" maxlength=\"5\" name=\"Quantity\" value=\"1\"></td></tr>\r\n");
document.write('<tr><td>&nbsp;</td><td><input type="image" border="0" src="http://www.rainycity.net/rainy/additem.gif"></td></tr>\r\n</table>\r\n</form>\r\n');

function SetProductID(frm)
{
var wndAddToCart = null;

	var sOptions = "top=10,left=" + (window.screen.width - 250) + ",width=220,height=120,scrollbars=no,resizable=no,menubar=no";

var sProd, obProd, i;
	if (frm.Rnd != null)
	{
		frm.Rnd.value = Math.round(Math.random()*100000);
	}
	if (frm.ProductID != null)
	{
		if (frm.ProductID[0] != null)
		{
			sProd = frm.ProductID[0].value;		
			obProd = frm.ProductID[0];
		}
		else
		{
			sProd = frm.ProductID.value;		
			obProd = frm.ProductID;
		}
	}
	i = sProd.indexOf(", ");
	if (i >= 0 ) sProd = sProd.substring(0,i);
	for (i = 0; i < frm.elements.length; i++)
	{
		if (frm.elements[i].name != "Quantity" && 
			(frm.elements[i].type.indexOf('select') >= 0 ||
			frm.elements[i].type.indexOf('radio') >= 0))
		sProd += ", " + frm.elements[i].selectedIndex;
	}
	obProd.value = sProd;


	wndAddToCart = window.open("","AddToCart",sOptions);
	if (wndAddToCart) 
	{
		wndAddToCart.focus();
		frm.target = "AddToCart";
		i = frm.action.lastIndexOf('/');
		frm.action = frm.action.substring(0, i+1) + 'view_cart2.asp';
	}
	else frm.target = "_self";

}
