Fixed some "E&P" spacing.
[www.energie.vellum.cz.git] / objednavka.js
index e72fdca..b7c930a 100644 (file)
@@ -1,8 +1,13 @@
 // $Id$
-// <-see index.php:/if (!($s=trim($s)))/
+// <-see common.php:/if (!($s=trim($s)))/
 var want_price=new Array();
-want_price['phys_2001']=360;
-want_price['phys_2000']=150;
+want_price['phys_2005']=480;
+want_price['phys_2004']=480;
+want_price['phys_2003']=480;
+want_price[  'cd_2004']=480;
+want_price[  'cd_2003']=480;
+want_price[  'cd_2002']=280;
+want_price[  'cd_2001']=280;
 want_price[  'cd_2000']=280;
 want_price[  'cd_1999']=280;
 want_price[  'cd_1998']=280;
@@ -47,5 +52,5 @@ var element=form.elements[elementi];
                price+=element.value * want_price[element.name.substr(5)];
                }
 
-       field.form.elements['price'].value=price;
+       form.elements['price'].value=price;
 }