var items = new Array("CHIS", "CHIS10MG", "CHIS10MX", "CHIS10WG", "CHIS12WX", "CHIS18G", "CHIS18X", "CHIS8NG", "CHIS8NX", "CHISG", "GEO16TS", "GEO18WS", "GEO20SF", "GEO24WS", "GEO32LUMP", "GEO8SS", "HLDRSL", "MAG5X", "PRY30", "SAFEV", "TAPEADD", "TAPEPG", "TAPEPGG", "TAPEPGO", "TAPEPGP", "TAPEPGY", "TRO20WH", "TRO28SF", "TYV35X25", "TYV46X25", "TYV57X25", "TYV69X24", "TYV810X25", "TYVASS", "TYVBAG"); var names = new Array("Splitting chisel", "19×250mm splitting chisel + guard", "19×250mm splitting chisel", "25×250mm splitting chisel + guard", "25×250mm splitting chisel", "25×450mm splitting chisel + guard", "25×450mm splitting chisel", "12×200mm splitting chisel + guard", "12×200mm splitting chisel", "Splitting chisel with hand guard", "16oz tubular shaft hammer", "18oz wooden shaft hammer", "20oz solid forged hammer", "24oz wooden shaft hammer", "Lump hammer", "Small chipping hammer", "Hammer holder", "10× Magnifying hand lens", "Pry bar", "High-visibility jackets", "Tape on item", "Fluorescent tape", "Green tape (roll)", "Orange tape (roll)", "Pink tape (roll)", "Yellow tape (roll)", "Budget archaeologist’s trowel", "Solid forged archaeologist#x2019;s trowel", "3×5in TYVEK™ specimen bag (×24)", "4×6in TYVEK™ specimen bag (×24)", "5×7in TYVEK™ specimen bag (×24)", "6x9in TYVEK specimen bag (x24)", "8×10in TYVEK™ specimen bag (×24)", "Tyvek specimen bag selection", "Tyvek specimen bags"); var prices = new Array("5.99", "5.99", "4.49", "7.99", "6.49", "11.49", "9.99", "4.49", "2.99", "0.00", "14.99", "15.99", "23.95", "16.99", "6.99", "9.99", "4.49", "2.99", "7.29", "4.99", "1.79", "3.29", "3.29", "3.29", "3.35", "3.29", "6.49", "14.69", "4.59", "5.49", "6.79", "8.79", "11.49", "9.49", "5.49"); var discountable = new Array("0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00", "0.00"); var blurb = new Array("The ultimate splitting tool", "The ultimate splitting tool", "The ultimate splitting tool", "The ultimate splitting tool", "The ultimate splitting tool", "The ultimate splitting tool", "The ultimate splitting tool", "The ultimate splitting tool", "The ultimate splitting tool", "For a safer split", "with a lightweight tubular shaft", "with an elegant wooden shaft", "One piece, robust construction", "with an elegant wooden shaft", "for a firm blow", "sprung shaft, lightly built", "keeping your hammer to hand", "for a closer look", "perfect for splitting shales", "vital safety equipment", "Applied by our master craftsmen", "A splash of colour", "For that fluorescent glow", "For that fluorescent glow", "For that fluorescent glow", "For that fluorescent glow", "Soil-be-gone", "Clear away that overlay", "Keeping your specimens safe", "Keeping your specimens safe", "Keeping your specimens safe", "Keeping your specimens safe", "Keeping your specimens safe", "For specimens of all shapes and sizes", "safe storage for specimens. Pack of 24."); var qt = new Array("", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""); var sessQt = new Array("", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""); // this variable takes note of what the server thinks is in the basket. var shippingcharge = 1 * 4.99; var discountAmount = 0;//1 * 2.50; var root = "/"; var MultiSave = 2.50*-1; //Saving //Define indexOf for IE if(!Array.indexOf){ var emptyMessage = 'Your basket is currently empty.'; Array.prototype.indexOf = function(obj){ for(var i=0; i 0) { ListOfContents+= "" + quant + " × " + names[i] + "" + "£" + num2cash(quant*prices[i]) +"[X]"; } if (quant != sessQt[i]) { //Add item to belt ajax("additemtobelt&id=" + id + "&quantity=" + quant); sessQt[i] = quant; } //Product boxes if (document.getElementById("currentBox_" + items[i])) document.getElementById("currentBox_" + items[i]).innerHTML=(quant>0)?quant:"0"; } //Postage and packing var PnP = "" + ((orderValue<15)?" + £2.99 P&P
Free postage for orders over £15":"Free P&P") + "


"; if (discounts > 0 && false) {// discounts are disabled. PnP += "
Including £" + num2cash(discounts * discountAmount) + " discount"; setSaving(discounts * discountAmount); } else discounts = 0; //Display contents to user if (orderValue == 0) { document.getElementById("BasketContents").innerHTML = emptyMessage; if (document.getElementById("payExpl")) document.getElementById("payExpl").style.display = 'none'; } else { if (document.getElementById("payExpl")) document.getElementById("payExpl").style.display = 'block'; document.getElementById("BasketContents").innerHTML = ListOfContents + "Total: £" + num2cash(orderValue - (discounts * discountAmount)) + "" + PnP + "" + "

Proceed to Payment

"; } } function setSaving(saving) { ajax("setsaving&saving="+saving); }