var	nl1="", nl2="", nl3="", nl4="", nl5="", nl6="", nl7="", nl8="", pnd="", tab1="", tab2="", tab3="", tab4="", tab5="", tab6="", tab7="",tab8="";
var M_i1type="", M_i1style="", M_i1dptr="", M_i1totqty="", M_i1price="", M_i1totprice="", M_i1colr="",  
 	M_i2type="", M_i2style="", M_i2dptr="", M_i2totqty="", M_i2price="", M_i2totprice="", M_i2colr="",
 	M_i3type="", M_i3style="", M_i3dptr="", M_i3totqty="", M_i3price="", M_i3totprice="", M_i3colr="",
 	M_i4type="", M_i4style="", M_i4dptr="", M_i4totqty="", M_i4price="", M_i4totprice="", M_i4colr="",
 	M_i5type="", M_i5style="", M_i5dptr="", M_i5totqty="", M_i5price="", M_i5totprice="", M_i5colr="",
 	M_i6type="", M_i6style="", M_i6dptr="", M_i6totqty="", M_i6price="", M_i6totprice="", M_i6colr="",
	M_ctype="", M_cstyle="", M_cnull="", M_ctotqty="", M_cprice="", M_ctotprice="", M_ccolr="";

var	price699=6.99, price799=7.99, price899=8.99, price999=9.99, price1099=10.99, price1199=11.99,
	price1299=12.99, price1399=13.99, price1499=14.99, price1599=15.99, price1899=18.99, price150 = 1.50, price1699=16.99, price1799=17.99,price16=16.00


var specialoffer = "ON"
var M_totdiscntpnd = 0
var M_totdiscnteuro = 0
var M_totdiscntusd = 0
var M_totdiscntcad = 0
var M_totdiscntaud = 0
var M_totdiscntdkk = 0
var M_totdiscntnok = 0
var M_subtotcostpnd = 0
var M_subtotcosteuro = 0
var M_subtotcostusd = 0
var M_subtotcostcad = 0
var M_subtotcostaud = 0
var M_subtotcostdkk = 0
var M_subtotcostnok = 0
var M_totcostpnd =0
var M_totcosteuro = 0
var M_totcostusd = 0
var M_totcostcad = 0
var M_totcostaud = 0
var M_totcostdkk = 0
var M_totcostnok = 0
var M_itemcnt = 0
var pricearray = new Array()
for (var cnt=0; cnt < 10; cnt++) {pricearray[i]=0, i++}
var typeArray = new Array();
var dptrArray = new Array();

var i=0;
var totprice = 0
var desc ="";

now = new Date

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
function Initialise(Ofm)
	{
	select =1
	i=0
	totprice = 0
	M_subtotcostpnd = 0
	M_itemcnt = 0
	for (var j=0; j < 7; j++) {typeArray[j]=j;}
	for (var k=0; k < 7; k++) {dptrArray[k]=k;}
	}
