<!--
//Us to Canada Exchange rate
var ExchangeRate = 1.5;	//Global Exchange Rate from US to Canada, must synchronize with main.js


var cart=new Object;  //the whole cart
function Item(name, CAprice, USprice, quantity)  //cart item constructor
{
this.name = name;
this.CAprice = CAprice * ExchangeRate;
this.USprice = USprice;
this.quantity = quantity;
}

var ship=new Object;  //the whole shipping&handling charge
function shipping(Canada, US)  //cart item constructor
{
this.Canada = Canada;
this.US = US;
}

var Counter = new Object;  //number counter
Counter.maxnumber = 0;

var memoryx=new Object; // the temporary memory for going back to the result sets.
function memory(m1,m2,m3,m4,m5,m6,m7,m8,m9,m10,m11,m12,m13,m14,m15,m16,m17,m18,m19,m20,m21,m22,m23,m24,m25,m26,m27,m28,m29,m30,m31,m32,m33,m34,m35)
{
this.m1 = m1;
this.m2 = m2;
this.m3 = m3;
this.m4 = m4;
this.m5 = m5;
this.m6 = m6;
this.m7 = m7;
this.m8 = m8;
this.m9 = m9;
this.m10 = m10;
this.m11 = m11;
this.m12 = m12;
this.m13 = m13;
this.m14 = m14;
this.m15 = m15;
this.m16 = m16;
this.m17 = m17;
this.m18 = m18;
this.m19 = m19;
this.m20 = m20;
this.m21 = m21;
this.m22 = m22;
this.m23 = m23;
this.m24 = m24;
this.m25 = m25;
this.m26 = m26;
this.m27 = m27;
this.m28 = m28;
this.m29 = m29;
this.m30 = m30;
this.m31 = m31;
this.m32 = m32;
this.m33 = m33;
this.m34 = m34;
this.m35 = m35;
}

var accountcredit = new Object; // the temporary memory for account credits left over
function credit(credit,username,password,type, button)
{
this.credit = credit;
this.username = username;
this.password = password;
this.type = type;
this.button = button;
}

//initiate variables to null
accountcredit = new credit('','','','','')

//accountcredit.username = '';
//accountcredit.password = '';
//accountcredit.credit = '';
//accountcredit.type = '';
//accountcredit.button = '';
// -->
