







var HOMEPAGE="/index.html";
var defDatePattern='yyyy-MM-dd';
var extDateFormat='Y-m-d';
var __ctxPath = "";
var __mediaPath = "http://img.m2cmart.com/media/";
var __defaultImage = "/images/default/defaultNoExist.jpg";
var __defaultImage_mn = "/images/default/defaultNoExist_mn.jpg";
var __defaultImage_md = "/images/default/defaultNoExist_md.jpg";
var __defaultImage_brand = "/images/default/defaultNoExist_brand.jpg";
var __defaultCurrencySymbol = "$";
var __defDatePattern='yyyy-MM-dd';

var __vaMsg = {
	notPass:"Invalid input, Please check it again.",
	required:"This field is required.",
	number:"must be number.",
	integer:"must non negative integar.",
	short:"Please enter a integar no greater than 32767.",
	double:"must be Integar or Decimal.",
	long:"must be of type Long.",
	maxValue:"Value must be less than:",
	minValue:"Value must be greater than:",
	maxlength:"Length must be less than:",
	minlength:"Length must be greater than:",
	price:"Invalid Amount!",
	money:"Invalid Amount! Please enter in the format of XX.XX",
	code:"Invalid Code. Only combination of letters, digits, _ and - is accepted.",
	phone:"Invalid phone number. Please enter phone number with 6-8 digits.",
	mobile:"Invalid mobile no.! 9 to 11 digits required!",
	email:"Invalid Email Address.",
	positiveInteger:"must be positive integar which is greater than 1.",
	double4:"Invalid format! Please enter integar or decimal.",
	noHtml:"HTML not supported.",
	radio:"Please at least select one.",
	url:"Invalid URL.",
	date:"Invalid Date!",
	bill_n:"This system doesn't provide invoices.",
	wrap_n:"We provide FREE gift packing for all orders!",
	gcno_null:"Please enter a valid gift certificate no."
};

var __FMT = {
	catalog_selecter_title:"Product/Category Selector",
	catalog_compare_title:"Product comparison ",
	catalog_product_compareComment1:"You need to choose at least 2 products to compare.",
	catalog_product_compareComment2:"You may choose no more than 5 products to compare.",
	customer_account:"My Account",
	customer_login:"Login",
	customer_logout:"Logout",
	customer_signup:"Register",
	customer_logining_tips:"Now logging in...",
	customer_login_success:"Login succeeded!",
	customer_username_isRequired:"Please enter a valid username.",
	customer_password_isRequired:"Please enter your password.",
	customer_login_fail:"Invalid username or password. Please try again. ",
	errors_password_mismatch:"Invalid username or password, please try again.",
	loginConfirm:"You need to login before proceed, would you like to login now?",
	wishlist_dg_checkName:"Wish list name must be filled!",
	wishlist_dg_selectItem:"Please select a wish list or create a new wish list.",
	wishlist_dg_addSuccess:"Product was added to wish list successfully!",
	wishlist_dg_addExist:"This product has exist in your selected wish list.",
	wishlist_dg_title:"Add to wish list",
    minicart_addToCartSuccess:"Cart updated!",
    minicart_addToFavoriteSuccess:"Item added to Favourites.",
    minicart_addToCartAndFavoriteSuccess:"Some of the items were added to the Buy Later list.",
    minicart_cart:"shopping cart",
    minicart_unit:'items',
    minicart_id_cookie:"shoppingcartInCookie",
    minicart_itemcount_cookie:"totalItemNo",
    minicart_totalprice_cookie:"cartTotalPrice",
    c_itemcount_cookie:"cartitemNo",
    f_itemcount_cookie:"favoriteitemNo",
    cannotMoveToC:"NOINVENTORY",
    noMoreInvetory:"NOMOREINVENTORY",
    move_stockNotEnough:'Can not add to cart, because of out of stock.',
    update_stockNotEnough:'Can not update, because of out of stock.',
    update_noMoreInventory:'Out of stock',
    favorite_:'Favorite',
    notAnonymousF:"Sorry! Please login first.",
    couponNull:"Please enter a valid coupon no.",
    coupon_INVALID:"Invalid Coupon",
    coupon_INVALID_NOT_ACTIVE:"Invalid Coupon",
    coupon_INVALID_IS_END:"Coupon is expired",
    coupon_INVALID_NOT_START:"Invalid Coupon",
    coupon_INVALID_ZERO:"Invalid Coupon",
    coupon_INVALID_v:"0",
    coupon_INVALID_NOT_ACTIVE_v:"-1",
    coupon_INVALID_IS_END_v:"-2",
    coupon_INVALID_NOT_START_v:"-3",
    coupon_INVALID_ZERO_v:"-4",
    
    gc_INVALID_v:"0",
    gc_UNACTIVE_v:"-1",
    gc_UNDEAL_v:"-2",
    gc_EXPIRE_v:"-3",
    gc_NOT_ENOUGH_v:"-4",
    gc_AVAILABLE_v:"1",
    gc_MONEYNULL_v:"-5",
    
    gc_INVALID:"This is not Gift Certificate code",
    gc_UNACTIVE:"Gift Certificate is inactive",
    gc_UNDEAL:"Invalid Gift Certificate No.",
    gc_EXPIRE:"Gift Certificate is expire",
    gc_NOT_ENOUGH:"Gift Certificate is out of money",
    gc_MONEYNULL:"Gift Certificate is out of money",
    gc_used:"This Gift Certificate has already been used.",
    shippingBasePrice:"was:",
    checkou_conplictSorry:"Sorry, the order can not be shipped to your address for following reason(s):",
    checkout_timeout:"Session is expired, login again please.",
    checkou_bill_y:"Invoice needed",
    checkou_bill_n:"No invoice",
    checkou_wrap_y:"I want",
    checkou_wrap_n:"No thanks",
    checkou_error:"We have some problem with network, this order is failed. Try again please.",
    button_clear:"Clear",
    button_close:"Close",
    button_select:"Select",
    catalog_product_productIsExisted:"This product is already in your comparison.",
    product_varition_notnull:"Attribute can't be null!",
    cart_promotion_title:"Promotion list",
    product_emailYourFriendHint:"You have just sent an email to your friend!",
    product_emailYourFriendErr:"Sorry! Mail server is currently busy, please try again later!",
    emailYourFriend_recipientName_isRequired:'Please enter the recipient\'s name!',
    emailYourFriend_recipientEmail_isRequired:'Please enter the recipient\'s email!',
    emailYourFriend_emailformat_err:"Invalid email address!",
    emailYourFriend_sendName_isRequired:'Please enter your name!',
    emailYourFriend_sendEmail_isRequired:'Please enter your email!',
    product_feedback_add_success:"Thank you. Your feedback has been submitted.",
    product_feedback_add_unsuccess:"Our feedback system is currently unavailable. Please try again later.",
    product_feedback_subject_isRequired:"Please enter a topic!",
    product_feedback_content_isRequired:"Your feedback can not be empty!",
    product_addFavorite_success:"You have successfully added a product to you favorites!",
    product_addFavorite_failed:"Sorry,Can not add to Favorites。",
    product_addFavorite_repeated:"This product is already in your favorites!",
    productView_allRatingItem_isRquired:"All fields are mandatory.",
    product_addReview_success:"Thank you. Your review has been submitted.",
    productReview_subject_maxlength:'Title can be no longer than 128 characters!',
    productReview_subject_required:'Please give your review a title!',
    productReview_message_maxlength:'Your review can be no longer than 1024 characters!',
    productReview_message_required:'Oops! Looks like you forgot to fill in a required form field.',
    productReview_voteSuccess:"Thanks for the valuable feedback you provided to other reviewers. Your vote will be counted and will appear on the product page soon.",
    productReview_isVoted:"You have already voted on this review.",
    productReview_isSelfReview:"Sorry but you can not vote on your own review.",
    wishlist_my:"add to wishlist",
    send_friend:"tell a friend",
    feed_kui:"leave a feedback",
    add_Review:"Write a review",
    first_login:"Login",
    image_btn_addtocart_on:"/images/btn/addtocart.png",
    image_btn_addtocart_preOrder:"/images/btn/bespeak.png",
    image_btn_addtocart_backOrder:"/images/btn/bespeak.png",
    image_btn_addtocart_off:"/images/btn/addtocart_disable.png",
    button_uploadFile:"Upload",
    productDetail_inventory_outof_stock:" Out of stock",
    productDetail_inventory_outof_stock_will_ship:"Out of stock,Estimated arrival time：{0}",
    productDetail_inventory_preOrder:"Reservations accepted，Expected launch date：{0}",
    productDetail_inventory_backOrder:"Reservations accepted，The expected purchase date：{0}",
    productDetail_inventory_will_ship:"Reservations accepted，Is expected to arrive soon",
    productDetail_wholesalePrices:"Wholesale",
    productDetail_listPrice:"MSRP",
    productDetail_ourPrice:"Price",
    productDetail_salePrice:"Price",
    productDetail_discountPrice:"Price",
    del:"Delete",
    addressDelete:'Are you sure you want to delete this address?',
    orderQueryTimeNull:'Query condition time is null',
    select:"select...",
    product_search_hint:"Search keywords",
    deletedConfirm:"Are you sure to DELETE?",
    noAddress:"No address found. Please click for entering address."
};                           

