

function DecToStr(p)
{
	value = Math.round(p.GBP * 100.0) / 100.0;
	var s = new String();
	s     = "" + value;

	if(s.charAt(s.length-2)=='.') s += "0";
	if(s.charAt(s.length-3)!='.') s += ".00";
	if("."!="") s=s.substring(0, s.length-3)+"."+s.substring(s.length-2, s.length);

	return "&pound;" + s;
}

function GetLang()
{	return "en";
}

function GetCurr()
{	return "gbp";
}

function GetString(id)
{
	msg 				      		= Array();
	msg["Qty"]   			  		= "Qty";
    msg["Code"]  			  		= "Code";
    msg["Title"] 			  		= "Title";
	msg["Price"] 			  		= "Price";
    msg["Total"] 			  		= "Total";
    msg["VAT"]						= "VAT";
    msg["VAT Rebate"]				= "Rebate";
    msg["Tax Free"]					= "Sales Tax Free";
    msg["Delete from basket"] 		= "Delete from basket";
    msg["Postage to"] 		  		= "Postage to";
    msg["Sub Total"]		  		= "Sub Total";
    msg["Please select country"] 	= "Please select country";
    msg["Order these items now!"] 	= "Order these items now!";
    msg["select country"]			= "select country";
    //--------------------------------------------------------------------------
    msg["You have no items in your shopping basket"] = "You have no items in your shopping basket";
    msg["Please go to"]				= "Please go to";
    msg["Books"]                    = "Books";
    msg["or"]                       = "or";
    msg["Music"]                    = "Music";
    msg["to add some"]              = "to add some";
    msg["Amend address details"]    = "Amend address details";
    msg["Continue with order"]      = "Continue with order";
    msg["You can change the items"] = "You can change the items in your shopping basket by clicking on the";
    msg["icon to delete them"]		= "icon to delete them, or going to";
    msg["Print the order"]			= "Print the order";
    msg["Enter credit card payment"]= "Enter credit card payment";
    msg["Payment Options"]			= "Payment Options";
    msg["By Cheque"]				= "By Cheque";
    msg["By Cheque - Method"] 		= "You can use this method to print out your order with a space to add payment details, you can then mail or faxed this to us, with your credit card details and signature, or a cheque.";
	msg["By Credit card"]			= "By Credit card";
    msg["By Credit card - Method"]	= "You can use this method to enter your credit card details, this will then be sent via an encryted form. Note that any details which you enter will not leave your computer in an unencryted form as all processing is done on your computer.";
	msg["Not available"]			= "Not available owing to your security settings";
    msg["Return to select payment method"] = "Return to select payment method";
    msg["Send Order"]				= "Send Order";
    msg["Credit Card Information"]  = "Credit Card Information";
    msg["Card Number"]				= "Card Number";
    msg["Name as on card"]			= "Name as on card";
    msg["Type of Card"]				= "Type of Card";
    msg["select card type"]			= "select card type";
    msg["Expiry Date (MM/YY)"]		= "Expiry Date (MM/YY)";
    msg["Valid From Date (MM/YY)"]  = "Valid From Date (MM/YY)";
    msg["Issue Number"]				= "Issue Number";
    msg["Required fields"]			= "Required fields hi-lighted";
    msg["Cancel and return to main page"] = "Cancel and return to main page";
    msg["Return to main page"]		= "Return to main page";
    msg["Personal Information"]		= "Personal Information";
    msg["Name"]						= "Name (First/Surname)";
    msg["Company"]					= "Company Name";
    msg["Invoice Address"] 			= "Invoice Address";
    msg["Delivery Address"]         = "Delivery Address";
    msg["Street"]					= "Street";
    msg["City"]						= "City";
    msg["County"]					= "County/State";
    msg["Postcode"]					= "Postcode/Zip";
	msg["Country"]					= "Country";
    msg["Phone"]					= "Phone";
    msg["Fax"]						= "Fax";
    msg["EMail"]					= "EMail";
    msg["Deliver to the same address"] = "Deliver to the same address";
    msg["Deliver to a different address"] = "Deliver to a different address";
    msg["Delivery Information"]		= "Delivery Information";
       
	return msg[id];
}


