function cartAdd(itemName, itemNumber, itemColor, itemPrice, shippingBase, shippingPer) { if (itemColor !='unselected') {window.open('https://www.paypal.com/cgi-bin/webscr?cmd=_cart&add=1&business=hp1@sdscooters.com&item_name='+itemName+'['+itemColor+']'+'&item_number='+itemNumber+'&amount='+itemPrice+'&shipping='+shippingBase+'&shipping2='+shippingPer+'&return=http%3A//www.SDScooters.com/thankyou.html&cancel_return=http%3A//www.SDScooters.com/cancel.html'); } else alert('You must make a Color/Model selection before adding this item to your order.'); }

function cartView() { window.open('https://www.paypal.com/cart/display=1&business=hp1@sdscooters.com','cartwin','width=900,height=700,scrollbars,location=0,resizable,status'); }

function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=450,height=750,left=100,top=100');"); }

function InfoPop(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=450,height=750,left=100,top=100');"); }

function blockError(){return true;} window.onerror = blockError;

