﻿
// For shoppingcart.js
Visual.right="right";
Visual.left="left";

Visual.strPostiveNumbers='Only positive numbers are valid';
Visual.outOfStock='Sorry,Out of stock';
Visual.unexpectedError="Sorry, unexpected error, try to refresh the page";
Visual.strAddToCart="  Add to Cart  ";
Visual.strMore="  More  ";
Visual.strNoProd="No product Found";
Visual.strCatHome="Home";
Visual.strSign=">";

Visual.strProdMes=new Array("Product added to the Shopping Cart. Proceed to check out?");
Visual.trans = new Array(0);
Visual.trans['shoppingcart']=new Array(0);
Visual.trans['shoppingcart']['strHeader']=new Array("Remove","Product(s)","Qnt","Price("+Project.msign+")");
Visual.trans['shoppingcart'][0]="No Products in Cart";
Visual.trans['shoppingcart'][1]="Total:";
Visual.trans['shoppingcart'][2]="Shipping method&nbsp;";
Visual.trans['shoppingcart'][3]="SubTotal:";

Visual.mustBeNumber="Some of values must be numbers";
Visual.catSign=' &laquo;';

Visual.trans['payment'] = new Array(0);
Visual.trans['payment']['types'] = new Array("Credit card","Cash on delivary",
	"By Phone","Check","Money order","E-currency","PAYPAL","Bank wire", "Free", "Quote", "Google","Escrow");


var errmes=new Array('Please verify all fields','Please check the details...',
					 'Wrong password','Error try again','Saved',
					 'Cant find this email','Sent','Removed',
					 'This e-mail already exist','Please check the payment details');

var fdescr=new Array(0);
fdescr['email']="Email address";
fdescr['name']="First Name";
fdescr['family']="Last Name";
fdescr['addr']="Address";
fdescr['city']="City";
fdescr['stateID']="State";
fdescr['zip']="Zip";
fdescr['countryID']="Country";
fdescr['phone']="Phone";
fdescr['passwd']="Password";

//for checkout.js
var strEFileds = "Some values are missing:";

Visual.TaxesStr="All taxes";
Visual.ShippStr="Shipping";
Visual.strQuote="Quote";
Visual.strCheckout="Checkout";
Visual.strContinueShopping="Continue Shopping";
Visual.strRemoveSelected="Remove Selected";
Visual.strBInfo="Billing Info:";
Visual.strSInfo="Shipping Info:";
Visual.strSameAsB=" same as billing";
Visual.strPayMethod="Payment method:";
Visual.strContCheckout="Continue Checkout";
Visual.strSendOrder="Send Order";
Visual.strClientComments="Comments";
Visual.strCoupon="Coupon";


Visual.strAllItems="All";
Visual.strClubMem="Registration";
Visual.strContact="Contact";
Visual.strAboutUs="About us";
Visual.strTerms="Terms";
Visual.strFAQ="F.A.Q";
Visual.strNews="News";


Visual.showLanguages = function(){
 Visual.showLanguagesM( genOptionValue(2,4) );
}

Visual.showHeaderLinks = function(){
 var arr = new Array(0);
 for (var i=0;i<5;i++)  arr[i]=new Array(0); 
 arr[0]['id']=0;
 arr[1]['id']=1;
 arr[2]['id']=2;
 arr[2]['link']='contacts.html';
 arr[2]['str']=Visual.strContact;
 arr[3]['id']=2;
 arr[3]['link']='company.html';
 arr[3]['str']=Visual.strAboutUs;
 arr[4]['id']=2;
 arr[4]['link']='terms.html';
 arr[4]['str']=Visual.strTerms;
 Visual.showHeaderLinksM(arr);
}