//->
//-> phpCart Shopping Cart System Version 1.0 (C) Copyright 2000 WEBMASTERS.COM. All rights reserved.
//-> For licensing information, please contact WEBMASTERS.COM at 1-877-565-5555 or visit our website.
//-> This program code and other components of this software application are registered with the U.S. Copyright Office and can not be duplicated, modified, or used without the express written permission of WEBMASTERS.COM.
//-> Removal of this copyright notice constitutes a violation of your license agreement.
//->

function Add(id,item,price,ship) {
   if ((document.forms[0]) && (document.forms[0][id+"m"])) item=item+" ("+document.forms[0][id+"m"].options[document.forms[0][id+"m"].selectedIndex].text+")";
   if ((document.forms[0]) && (document.forms[0][id+"m1"])) item=item+" ("+document.forms[0][id+"m1"].options[document.forms[0][id+"m1"].selectedIndex].text+")";
   if ((document.forms[0]) && (document.forms[0][id+"c"])) item=item+" ("+document.forms[0][id+"c"].value+")";
   if ((document.forms[1]) && (document.forms[1][id+"m"])) item=item+" ("+document.forms[1][id+"m"].options[document.forms[1][id+"m"].selectedIndex].text+")";
   if ((document.forms[1]) && (document.forms[1][id+"m1"])) item=item+" ("+document.forms[1][id+"m1"].options[document.forms[1][id+"m1"].selectedIndex].text+")";
   if ((document.forms[1]) && (document.forms[1][id+"c"])) item=item+" ("+document.forms[1][id+"c"].value+")";
   var loc=new String(location);
   var ll=loc.length;
   var li=loc.lastIndexOf("/");
   var loc=loc.substring(li+1,ll);
   parent.phpCart.Add(id,item,price,ship,loc); }

//© This code is a copyright of WEBMASTERS.COM. All rights reserved. Unauthorized use is strictly prohibited.
