function ORDER(shippingandhandling) {

form =  this.document.form1

if (shippingandhandling == "StandardNetherlands") {
shipping = form.StandardNetherlands.value;
shippingdescription = "Standard mail delivery within the Netherlands";}
if (shippingandhandling == "PriorityNetherlands") {
shipping = form.PriorityNetherlands.value;
shippingdescription = "Priority mail delivery within the Netherlands";}
if (shippingandhandling == "StandardEurope") {
shipping = form.StandardEurope.value;
shippingdescription = "Standard mail delivery within Europe";}
if (shippingandhandling == "PriorityEurope") {
shipping = form.PriorityEurope.value;
shippingdescription = "Priority mail delivery within Europe";}
if (shippingandhandling == "StandardWorld") {
shipping = form.StandardWorld.value;
shippingdescription = "Standard mail delivery outside Europe";}
if (shippingandhandling == "PriorityWorld") {
shipping = form.PriorityWorld.value;
shippingdescription = "Priority mail delivery outside Europe";}


header = "<html><head><link rel=STYLESHEET href=stylesheets/ccer.css><title></title><meta name=description><meta name=keywords content=Egypt, egypt, cd-rom, art, egypte, Egypte, pyramid, piramide, farao, pharao, gods, god, egyptain treasures, egyptian, egyptisch, mastaba, Re, Horus, Osiris, desert, burial, religion></head><body><table align=center id=headermenutable width=705 cellpadding=0 cellspacing=0 border=0><tr><td bgcolor=black><img src=images/2201.jpg border=0></td></tr><tr><td align=center><a id=headermenu href=news.html>news</a> | <a id=headermenu href=et.html>egyptian treasures</a> | <a id=headermenu href=shop.html>shop</a> | <a id=headermenu href=resources.html>egyptological resources</a> | <a id=headermenu href=exhibition.html>virtual exhibition</a> | <a id=headermenu href=support.html>support</a> | <a id=headermenu href=about.html>about</a></td></tr></table><table align=center id=maintable border=0 width=700 background=images/back.jpg><tr><td><table width=700 background=images/empty.gif cellpadding=10><tr><td rowspan=2 valign=top width=190 id=left_menu><table id=menutable border=0><tr><td></td><td></td></tr></table></td><td valign=top>"

footer = "</td></tr><tr><td><table cellpadding=8 cellspacing=0 border=0><tr><td align=center id=footermenutable width=600><a id=footermenu href=news.html>news</a> | <a id=footermenu href=et.html>egyptian treasures</a> | <a id=footermenu href=shop.html>shop</a> | <a id=footermenu href=resources.html>egyptological resources</a> | <a id=footermenu href=exhibition.html>virtual exhibition</a> | <a id=footermenu href=support.html> support</a> | <a id=footermenu href=about.html>about</a></td></tr><tr><td id=addressinformation>Centre for Computer-aided Egyptological Research (CCER), Bikkeldam 11, 6631 BL Horssen, The Netherlands, Tel: +31-487-541783, Fax: +31-487-541916, E-mail: ccer@ccer.nl </td></tr></table></td></tr></table></td></tr></table></body></html>"

shipping = shipping*1
cons_amount = form.consumer.value*form.price.value
total_amount = cons_amount + shipping
bibit_amount = total_amount + "00"
        
//        storyWin = window.open("","StoryWin","toolbar=no,width=500,height=500,directories=no,status=no,scrollbars=yes,resize=no,menubar=no");
//              with (storyWin.document) { 

//var win1 = window.open('', 'Example1');


		code = header
				
		code = code + "<hr size=1 noshade><p><b>ORDER CHECK "  + form.vol.value +  "</b>.You are requested to copy and paste the order information of this page to a MSWord document and to send it by email to ccer@ccer.nl or by fax to +31-487-541916. Please make sure all data on this page are correct. If not, hit back. Payment in Euro must be done in advance by bank transfer to F. van Lanschot Bankers, P.O.B. 1021, 5200 HC 's-Hertogenbosch. Accountnr: 225954974, IBAN NL24FVLB0225954974, BIC/SWIFT FVLBNL22. In  the name of Digital Culture Reseach and Management (DCRM). After receipt of the payment the order will be shipped promptly. Cheques and Credit Cards are not accepted.</p><hr size=1 noshade>"
		code = code + "<p><font face=arial size=2>You are about to order <b>" + form.vol.value + "</b>. <p>"
			

 		code = code + "Last name = " + form.lastname.value + "<br>"
		code = code + "First name = " + form.firstname.value + "<br>"
		code = code + "Address = " + form.adress.value + "<br>"
		code = code + "City = " + form.city.value + "<br>"
		code = code + "Postal Code = " + form.postcode.value + "<br>"
		code = code + "Country = " + form.country.value + "<br>"
		code = code + "Phone = " + form.phone.value + "<br>"
		code = code + "Email = " + form.email.value + "<br>"
		code = code + "Number = " + form.consumer.value + "<br>"
		code = code + "Total = " + total_amount + " EURO<p>"
		code = code + "Your order: " + form.vol.value + "<p>"
		code = code + "<table><tr>"
		code = code + "<td><p>EURO</td><td align=right><p> " + cons_amount + "</td><td> <p>(" + form.consumer.value + " items incl. 19% taxes)</td></tr><tr>"
		code = code + "<td><p>EURO </td><td align=right><p> " + shipping + "</td><td><p> (" + shippingdescription + ")</td></tr>"
		code = code + "<tr><td></td><td align=right>-------</td><td></td></tr>"
		code = code + "<td><p>EURO</td><td align=right><p> " + total_amount + "</td><td><p> TOTAL </td></tr><tr>"
		code = code + "</table>"
				
				
		code = code + "<form method=post name=form2 action=BibitOrder.asp><input type=hidden name=bibit_language value=\"EN\"><input type=hidden name=\"bibit_currency\" value=EUR><input type=hidden name=\"_emptybasket\" value=\"yes\"><input type=hidden name=\"_betaling\" value=\"BIBIT\"><input type=hidden name=\"bibit_test\" value=\"prod\"><input type=hidden name=_templateemail1 value=/treasures/NEWorderconf.txt><input type=hidden name=_templateemail2 value=/treasures/NEWorderadm.txt><input type=hidden name=\"shipping\" value=\"" + shipping + "\"><input type=hidden name=\"shippingdescription\" value=\"" + shippingdescription + "\"><input type=hidden name=\"bibit_amount\" value=" + bibit_amount + "> <input type=hidden name=\"bibit_description\" value=\"" + form.vol.value + " " + total_amount + " EURO\">"


		code = code + "<input type=hidden name=lastname value=\"" + form.lastname.value + "\"><input type=hidden name=firstname value=\"" + form.firstname.value + "\"><input type=hidden name=adress value=\"" + form.adress.value + "\"><input type=hidden name=city value=" + form.city.value + "><input type=hidden name=postcode value=\"" + form.postcode.value + "\"><input type=hidden name=country value=\"" + form.country.value + "\"><input type=hidden name=phone value=\"" + form.phone.value + "\"><input type=hidden name=email value=\"" + form.email.value + "\"><input type=hidden name=consumer value=\"" + form.consumer.value + "\"><input type=hidden name=total_amount value=\"" + total_amount + "\"><input type=hidden name=cons_amount value=\"" + cons_amount + "\"><input type=hidden name=vol value=\"" + form.vol.value + "\"><input type=hidden name=price value=\"" + form.price.value + "\"><p><center><input type=button onclick=history.back() value=\"  back  \"></center></p></form>" 
				
		
		code = code + footer
                code = code + "<BR>" // needs a <BR> to display last line, bug in JS
                document.write (code);

		//}

 
        }


function about() {
msgWindow = window.open("about.html",
                        "About",
                        "toolbar=no,width=280,height=420,directories=no,status=no,scrollbars=yes,resize=no,menubar=no");
}


