Prevent indexing of pages with multiple months of the content, any
[www.energie.vellum.cz.git] / objednavka.js
index e72fdca..d5627dc 100644 (file)
@@ -1,8 +1,10 @@
 // $Id$
-// <-see index.php:/if (!($s=trim($s)))/
+// <-see common.php:/if (!($s=trim($s)))/
 var want_price=new Array();
+want_price['phys_2002']=480;
 want_price['phys_2001']=360;
 want_price['phys_2000']=150;
+want_price[  'cd_2001']=280;
 want_price[  'cd_2000']=280;
 want_price[  'cd_1999']=280;
 want_price[  'cd_1998']=280;
@@ -47,5 +49,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;
 }