function feedbackInit(){
$('.fb-finish').hide();
$('.fb-box').hide();
$('#fb-input2').hide();
$('#fb-input1').show();
$('#fb-checkbox').attr('checked',false);
$("#fb-context").val("");
$("#fb-error").hide();
}
function submitFeedback(){
$("#fb-error").hide();
var context = $("#fb-context").val();
var fbsender = $("#fb-sender").val();
var fbchecked = $("#fb-checkbox").attr("checked");
var isEmail = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(fbsender);
var isQQ = /^[0-9]+$/.test(fbsender);
if(fbchecked && fbsender == ''){
$("#fb-error").html("请输入您的邮箱或者QQ。");
$("#fb-error").show();
$("#fb-sender").select();
return false;
}else if(fbchecked && !(isEmail || isQQ)){
$("#fb-error").html("请输入正确的邮箱或者QQ。");
$("#fb-error").show();
$("#fb-sender").select();
return false;
}else if(context == ''){
$("#fb-error").html("请输入您的建议。");
$("#fb-error").show();
$("#fb-context").select();
return false;
}else if(context.length < 10){
$("#fb-error").html("填写的建议请不少于10个字。");
$("#fb-error").show();
$("#fb-context").select();
return false;
}else{
var pageUrl = window.location.href;
var frame = $("");
var url = "mailsend9b8d.html" + encodeURIComponent(encodeURIComponent(context)) + "&sender=" + ((fbchecked&&isEmail)?fbsender:"") + "&fqq=" + ((fbchecked&&isQQ)?fbsender:"")+"&pageurl="+pageUrl;
frame.appendTo('body');
frame.attr("src", url);
frame.load(function(){
$('.fb-box').hide();
$('.fb-finish').show();
});
}
}
function clearConnector(){
$('#fb-input2').hide();
$('#fb-input1').show();
$('#fb-checkbox').attr('checked',false);
return false;
}
function gototop(){
acceleration = 0.3;
time = 15;
var x=0,y=0;
if (document.documentElement) {
x = document.documentElement.scrollLeft || 0;
y = document.documentElement.scrollTop || 0;
}
var speed = 1 + acceleration;
window.scrollTo(x, Math.floor(y / speed));
if(y > 0) {
var invokeFunction = "gototop()";
window.setTimeout(invokeFunction, time);
}
}
function gotobottom(){
window.scrollTo(document.documentElement.scrollLeft, document.documentElement.scrollHeight);
}
// $(function(){
// $(".menu-top").mouseleave(function(){
// $("#moreList").hide();
// $("#serviceList").hide();
// $(".menu-top").find(".tab-link").removeClass("link-open");
// });
// $("#serviceList").mouseleave(function(){
// $(this).hide();
// $("#serviceLink").removeClass("link-open");
// }).delegate("a", "click", function(){
// $("#serviceList").hide();
// $("#serviceLink").removeClass("link-open");
// });
// $("#serviceLink").mouseenter(function(){
// $("#moreList").hide();
// $("#serviceList").show();
// $(".menu-top").find(".tab-link").removeClass("link-open");
// $(this).addClass("link-open");
// });
// });
$(function(){
$("#serviceList").mouseleave(function(){
$(this).hide();
$("#serviceLink").removeClass("link-open");
}).delegate("a", "click", function(){
$("#serviceList").hide();
$("#serviceLink").removeClass("link-open");
});
$("#serviceLink").mouseenter(function(){
$("#serviceList").show();
$(".menu-top").find(".tab-link").removeClass("link-open");
$(this).addClass("link-open");
});
$(".service-tab").mouseleave(function(){
$("#serviceList").hide();
});
});
$(function(){
$("#serviceLists").mouseleave(function(){
$(this).hide();
$("#serviceLinks").removeClass("link-open");
}).delegate("a", "click", function(){
$("#serviceLists").hide();
$("#serviceLinks").removeClass("link-open");
});
$("#serviceLinks").mouseenter(function(){
$("#serviceLists").show();
$(".menu-top").find(".tab-link").removeClass("link-open");
$(this).addClass("link-open");
});
$(".service-tab").mouseleave(function(){
$("#serviceLists").hide();
});
});
function submitThisForm(obj) {
//var $frm = $(obj).parent('form');
var $frm = $(obj).closest("form");
var numbers = $.trim($frm.find("textarea").val());
if (numbers == "") {
alert(LC.NumbersRequired);
return
}
var nums = [],
ignoreNums = [],
re = /^[A-Za-z0-9-]+$/,
lines = numbers.split("\n");
//以下是处理IE中indexOf不兼容的定义方法
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i 0 || ignoreNums.indexOf(line) > 0) {
continue
}
if (++sum <= 40) {
nums.push(line)
} else {
ignoreNums.push(line)
}
}
if (nums.length == 0) {
alert(LC.NumbersRequired);
return
}
function doSumbit() {
var target = $frm.attr("target");
var express = $frm.children("input[name='express']").val();
var lang = $frm.children("input[name='lang']").val();
var action = '//track.trackingmore.com/'+express+'/'+lang+'-'+nums.join(",")+'.html';
var $frm2 = $('').appendTo("body");
$frm2.submit();
$frm2.remove()
}
if (ignoreNums.length > 0) {
$.confirm(null, LC.NumbersOverflow + "
" + ignoreNums.join("
"), function(dlg, result) {
dlg.hide();
if (result != "yes") {
return
}
doSumbit()
})
} else {
doSumbit()
}
}
function submitThisFormNew(obj) {
//var $frm = $(obj).parent('form');
var $frm = $(obj).closest("form");
var numbers = $.trim($("#tracknumber").val());
if (numbers == "") {
alert(LC.NumbersRequired);
return
}
var nums = [],
ignoreNums = [],
re = /^[A-Za-z0-9-]+$/,
lines = numbers.split("\n");
//以下是处理IE中indexOf不兼容的定义方法
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i 0 || ignoreNums.indexOf(line) > 0) {
continue
}
if (++sum <= 40) {
nums.push(line)
} else {
ignoreNums.push(line)
}
}
if (nums.length == 0) {
alert(LC.NumbersRequired);
return
}
function doSumbit() {
var target = $frm.attr("target");
var express = $frm.children("input[name='express']").val();
var lang = $frm.children("input[name='lang']").val();
var action = '//track.trackingmore.com/'+express+'/'+lang+'-'+nums.join(",")+'.html';
var $frm2 = $('').appendTo("body");
$frm2.submit();
$frm2.remove()
}
if (ignoreNums.length > 0) {
$.confirm(null, LC.NumbersOverflow + "
" + ignoreNums.join("
"), function(dlg, result) {
dlg.hide();
if (result != "yes") {
return
}
doSumbit()
})
} else {
doSumbit()
}
}
function submitThisFormNewtTackingpage(obj) {
//var $frm = $(obj).parent('form');
var $frm = $(obj).closest("form");
var numbers = $.trim($("#tracknumber").val());
if (numbers == "") {
alert(LC.NumbersRequired);
return
}
var nums = [],
ignoreNums = [],
re = /^[A-Za-z0-9-]+$/,
lines = numbers.split("\n");
//以下是处理IE中indexOf不兼容的定义方法
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i 0 || ignoreNums.indexOf(line) > 0) {
continue
}
if (++sum <= 40) {
nums.push(line)
} else {
ignoreNums.push(line)
}
}
if (nums.length == 0) {
alert(LC.NumbersRequired);
return
}
function doSumbit() {
var target = $frm.attr("target");
var lang = $frm.children("input[name='lang']").val();
var url = $frm.children("input[name='url']").val();
var action = '//'+url+'/'+lang+'/'+nums.join(",");
var $frm2 = $('').appendTo("body");
$frm2.submit();
$frm2.remove()
}
if (ignoreNums.length > 0) {
$.confirm(null, LC.NumbersOverflow + "
" + ignoreNums.join("
"), function(dlg, result) {
dlg.hide();
if (result != "yes") {
return
}
doSumbit()
})
} else {
doSumbit()
}
}
function submitThisFormNewtTackingpageOther(obj) {
//var $frm = $(obj).parent('form');
var $frm = $(obj).closest("form");
var numbers = $.trim($("#tracknumber").val());
if (numbers == "") {
alert(LC.NumbersRequired);
return
}
var nums = [],
ignoreNums = [],
re = /^[A-Za-z0-9-]+$/,
lines = numbers.split("\n");
//以下是处理IE中indexOf不兼容的定义方法
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i 0 || ignoreNums.indexOf(line) > 0) {
continue
}
if (++sum <= 40) {
nums.push(line)
} else {
ignoreNums.push(line)
}
}
if (nums.length == 0) {
alert(LC.NumbersRequired);
return
}
function doSumbitOther() {
// HISTORY_URL = "";
// console.log(HISTORY_URL);
var url = $frm.children("input[name='url']").val();
var lang = $frm.children("input[name='lang']").val();
var urls = '//'+url+'/'+lang+'/'+nums.join(",");
$.get(urls, function(data){
// $(".jumbotron").css('display','none');
// console.log(data);
var oldHTML=document.getElementsByTagName('html')[0].innerHTML;
var newHTML=document.getElementsByTagName('html')[0].innerHTML;
document.getElementsByTagName('html')[0].innerHTML=data;
var head= document.getElementsByTagName('head')[0];
var script= document.createElement('script');
script.type= 'text/javascript';
script.onload = script.onreadystatechange = function() {
if (!this.readyState || this.readyState === "loaded" || this.readyState === "complete" ) {
// Handle memory leak in IE
script.onload = script.onreadystatechange = null;
} };
script.src= 'index8264.html';
head.appendChild(script);
});
var state = {
title: 123,
url: urls,
otherkey: 123
};
window.history.pushState(state, document.title, urls);
window.history.replaceState(state, document.title, "https:"+urls);
}
if (ignoreNums.length > 0) {
$.confirm(null, LC.NumbersOverflow + "
" + ignoreNums.join("
"), function(dlg, result) {
dlg.hide();
if (result != "yes") {
return
}
doSumbitOther()
})
} else {
doSumbitOther()
}
}
function submitSingleTrackForm(obj) {
var $frm = $(obj).closest("form");
var numbers = $.trim($("#tracknumber").val());
numbers = numbers.replace(/\s+/g,"");
re = /^[A-Za-z0-9-_]{4,}$/;
if (numbers == "" || !re.test(numbers)) {
alert(LC.NumbersRequired);
return
}
function doSumbit() {
var target = $frm.attr("target");
var myDate = new Date();
var s=myDate.getSeconds();
var target = s;
var lang = $("#Lang").val();
var action = '//www.trackingmore.com/track/'+lang+'/'+numbers;
var $frm2 = $('').appendTo("body");
$frm2.submit();
$frm2.remove()
}
doSumbit()
}
function EmailSubscribeSet(obj) {
var $frm = $(obj).closest("tbody");
var express = $frm.attr("expresscode");
var id = $frm.attr("id");
var track_number = $("#"+id+" tr td.s-num p b").text();
$("#jsTrkAlerts").show();
/*$("#express p").html(express);
$("#track_number p").html(track_number);*/
}
function critique_demo(obj) {
var $frm = $(obj).closest("tbody");
var express = $frm.attr("expresscode");
var language = $("#langkey").val();
$('form[id=review]').attr('action','//www.trackingmore.com/evaluate-'+express+'/'+language+'.html');
$("#complany_code_text").val(express);
var id = $frm.attr("id");
var track_number = $("#"+id+" tr td.s-num p b").text();
var newTelVal = '';
if(track_number.length>0){
for(var i = 0; i < track_number.length; i++){
if(i < 3 || i >= track_number.length-3){
newTelVal += track_number[i];
}else{
newTelVal += '*';
}
}
}
var statu = $("#"+id+" tr td.s-packState div").text();
$("#critique").show();
$("#headline").val(newTelVal+' '+statu);
}
function critique_demo_t(obj) {
var $frm = $(obj).closest("tbody");
var express = $frm.attr("expresscode");
var language = $("#langkey").val();
$('form[id=review]').attr('action','//www.trackingmore.com/evaluate-'+express+'/'+language+'.html');
$("#complany_code_text").val(express);
var id = $frm.attr("id");
var track_number = $(".s-num b").text();
var newTelVal = '';
if(track_number.length>0){
for(var i = 0; i < track_number.length; i++){
if(i < 3 || i >= track_number.length-3){
newTelVal += track_number[i];
}else{
newTelVal += '*';
}
}
}
var statu = $(".s-packState div").text();
$("#critique").show();
$("#headline").val(newTelVal+' '+statu);
}
function submitAdminSingleTrackForm(obj){
var $frm = $(obj).closest("form");
$frm.submit();
}
$(document).ready(function() {
jQuery.jqtab = function(tabtit,tabcon) {
$(tabtit+" li").click(function() {
$(tabtit+" li").removeClass("thistab");
$(this).addClass("thistab");
$(tabcon).hide();
var activeTab = $(this).find("a").attr("tab");
$("#"+activeTab).show();
return false;
});
};
$.jqtab("#tabs",".tab_cons");
});
var LC = {
CUR_change_courier:"Select Courier",
Notification_Setting_not_available:"Notification Setting is not available for Free account user!",
imported_online_one:"Each day free user can import up to ",
imported_online_month:"Each month free user can import up to ",
imported_online_end:"Your remaining number is not enough.",
imported_online_residue:"your remaining for free is ",
AddNotes:"Add Notes",
Err_CreateBookmarkFail:"Your browser doesn't support add bookmarks!\nPlease press Ctrl+D to bookmark this page.",
ConfirmDoIt:"Are you sure perform?",
NumbersRequired:"Enter your tracking number.",
InvalidNumbersFormat:"Invalid format",
NumbersOverflow:"Track up 40 tracking number at a time, remaining will be ignored , whether to continue to submit?",
NumbersOverflowOneHundred:"The system will submit the first 100 numbers, the rest numbers will be ignored! Do you want to continue?",
PleaseEnterThe:"Enter ",
NumberOneHundred:" tracking number, one per line.",
NumbersOneHundred:"Enter up to 100 numbers, one per line.",
NotSupportClipButton:"Your browser doesn't support flash, Can't support the function.",
DialogMessage:"Message",
Msg_EventsCopyed:"Copied to the clipboard.",
Msg_NotEventsCopyed:"No tracking results.",
LoadingPicAlt:"Tracking",
LoadingDesc:"Tracking, Please wait for a moment...",
MLoadingDesc:"Loading......",
TrackResult:"Tracking Result",
NumberMaybe:"The number maybe belongs to:",
Day:"Days",
GatherTimeSpan:"Tracking Consuming",
GatherTimeSpanTitle:"Time consuming for this number tracking",
CacheTime:"Cache Time",
CacheTimeTitle:"When the tracking was in error or the number was track a few minutes ago, We will use the cache result",
Millisecond:"Millisecond",
ViewOfficial:"View Official Data",
ViewOfficialTitle:"Shift to the official website and auto track",
Retrace:"Re Track",
RetraceTitle:"In error and re track again",
Unlock:"Unlock",
UnlockTitle:"Unlock",
Copy:"Copy",
CopyTitle:"Copy the result",
Details:"Details",
Summary:"Summary",
DetailsOrSummaryTitle:"Display details or summary result info",
Report:"Transport consuming statistics",
Post:"Global Postal",
Post_From:"Origin Country",
Post_To:"Destination Country",
Post_Title:"Go to official website",
Post_ChangeCountry:"(Modify)",
Post_ChangeCountryTitle:"Specify the destination country for tracking",
Express_Title:"Go to official website",
Group_ErrorState:"Error",
Err_ForbidGroup:"Tracking isn't completed, Doesn't allow operation.",
Group:"Group",
GroupTitle:"Group result",
Ungroup:"Ungroup",
UngroupTitle:"Ungroup result",
TrackResultErr_1:"Illegal track (1), Contact admin.",
TrackResultErr_2:"Illegal track (2), Contact admin.",
TrackResultErr_3:"The system is being updated, Please re-track.",
TrackResultErr_4:"Illegal track (4), Contact admin.",
TrackResultErr_5:"Your tracking is too often, Try later.",
TrackResultErr_6:"Website type error, Please re enter your number.",
TrackResultErr_7:"None number, Please re enter your number.",
TrackResultErr_8:"Your track exception, Please enter verification code to unblock it.",
TrackResultErr_9:"Please visit again after disabling the web proxy.",
PackageState_0:"pending",
PackageStateTitle_0:"Please wait while we are tracking for you.",
PackageState_1:"Not Found",
PackageState_101:"Info Received",
PackageState_11:"Service Error",
PackageState_12:"Not Found",
PackageState_13:"Process Error",
PackageState_14:"Web Error",
PackageState_15:"Web Error",
PackageStateTitle_1:"Item is not found at this moment, If necessary, please verify with the package sender and check back later.",
PackageStateTitle_11:"Query no information,The shipper's query interface may have failed",
PackageStateTitle_12:"Item is not found at this moment, If necessary, please verify with the package sender and check back later.",
PackageStateTitle_13:"Process error, Maybe caused by destination data format change, We will check it later.",
PackageStateTitle_14:"Access to destination's server error, Maybe caused by temporarily disconnected server",
PackageStateTitle_15:"Access to destination's server error, Maybe caused by temporarily disconnected server",
PackageState_8:"Info Received",
PackageStateTitle_8:"The package is waiting to be picked up",
PackageState_2:"Transit",
PackageStateTitle_2:"Item has shipped from originating country and is en route to its destination.",
PackageState_3:"Out for Delivery",
PackageStateTitle_3:"Carrier is about to deliver the shipment , or it is ready to pickup",
PackageState_4:"Delivered",
PackageStateTitle_4:"Delivered",
PackageState_5:"Expired",
PackageStateTitle_5:"Item was in transportation period for a long time still has no delivered results",
PackageState_6:"Failed Attempt",
PackageStateTitle_6:"Item was attempted for delivery but failed, this may due to several reasons. Please contact the carrier for clarification.",
PackageState_7:"Exception",
PackageStateTitle_7:"Item might undergo unusual shipping condition, this may due to several reasons, most likely item was returned to sender, customs issue, lost, damaged etc.",
InfoState_1:"Unable To Track",
InfoState_11:"Service Error",
InfoStateTitle_1:"Not recognize the tracking number or destination country doesn't support online tracking",
InfoStateTitle_11:"Query error, may be the other server temporarily unable to connect or the other data format changes",
InfoState_2:"Normal Tracking",
InfoStateTitle_2:"Normal tracking, the tracking result is available",
InfoState_3:"Not Found",
InfoStateTitle_3:"Normal tracking, but the tracking result isn't available yet",
InfoState_4:"Web Error",
InfoStateTitle_4:"Access to destination's server error, Maybe caused by temporarily disconnected server",
InfoState_5:"Process Error",
InfoStateTitle_5:"Process error, Maybe caused by destination data format change, We will check it later.",
InfoState_6:"In Error (Use Cache)",
InfoStateTitle_6:"Track error, Display the cache result maybe caused by destination data format change, We will check it later",
InfoState_7:"Server Busy",
InfoStateTitle_7:"Destination's server prompt busy",
InfoState_8:"Server Busy (Use Cache)",
InfoStateTitle_8:"Destination's server is busy, Display the cache result",
Dlg_title_information:"Message",
Dlg_title_question:"Question",
Dlg_title_correct:"Operating",
Dlg_title_warning:"Warning",
Dlg_title_error:"Error",
Dlg_Close:"Close",
Dlg_OK:"OK",
Dlg_Cancel:"Cancel",
Dlg_Retry:"Retry",
Dlg_Yes:"Yes",
Dlg_No:"No",
Dlg_Refresh:"Refresh",
Import_NoNumberImport:"Please select at least one tracking number.",
Import_NoChooseNumberImport:"Please select at least one tracking number.",
Import_NumberNotFound:"There is no tracking number to be extracted.",
Sim_CanNotDisplay:"Official website doesn't allow directly track, Please click on the link to submit tracking.",
Sim_NumberRequired:"Please enter the number.",
SimExpress_DefaultType:"Not Selected",
SimExpress_TypeRequired:"Please select the shipping company.",
SimPost_Auto:"Please Select",
SimPost_CanNotIdentify:"Not Recognize",
SimPost_CanNotTrack:"Unable To Track",
Report_OptionNone:"Please Select",
Report_CountryRequired:"Please select the country.",
Report_BP:"Parcel",
Report_SP:"Registered",
Report_EP:"EMS",
Report_NotFound:"Not found the data.",
Report_Tooltip:"{name}
Delivered Count:{cnt}
Avg Consuming:{avg} Days
Max Consuming:{max} Days
Min Consuming:{min} Days",
Captcha:"Captcha",
Captcha_Title:"Please enter the verification code",
Captcha_Tip:"Your track exception, Please enter verification code to unblock it.",
Captcha_Error:"Error, Please re-enter.",
OpenCountrySite:"Go to official website",
OtherInfo:"Other Information",
ExpressType:"Courier",
OrderCreateTime:"Order Create Time",
OrderId:"Order Id",
GoodsTitle:"Goods Title",
CustomerName:"Customer Name",
Tracking_postal_code:"Postalcode",
Tracking_destination_country:"Destination",
Tracking_ship_date:"Deliver goods date",
CustomerEmail:"Customer Email or phone",
add_email_phone:"Email or phone",
AddComment:"Remark",
DeleteRecord:"Delete",
DeleteRecordTitle:"Click here to Delete the data of express ",
RefreshTitle:"Click Refresh Express",
ConfirmDeleteRecord:"Confirm delete?",
DeleteRecordsuccee:"deleted successfully",
DeleteRecordfail:"Delete failed",
YourContentIsEmpty:"Please enter the label name",
Could_not_find_courier:"Could not find courier",
Enter_your_correct_email:"Please enter the correct email address or phone number. For phone number, please add the corresponding international area code, such as '+86'",
Enter_correct_email:"Enter your correct email",
Feedback_has_been_sent_to_the_administrator:"the feedback has been sent to the administrator",
To_restore_please_refresh:"restored, please refresh",
Select_courier_now:"Select courier now",
the_destination_country_code:"the destination country code",
Post_code_format_is_wrong:"Post code format is wrong",
Url_format_is_wrong:"URL format is wrong",
Destination_Country_format_is_wrong:"Destination Country format is wrong",
Date_format_is_wrong:"Date format is wrong",
Repeat_to_add:"You have added this number before.",
Repeat_to_add_email:"You have added this email or phone number before.",
Notify_email_status:"Status",
Notify_email_user:"Notify me when",
Notify_email_customer:"Notify customer when",
Refresh_too_often:"Refresh too often,Please try again later.",
Quantity:"You can creat six labels at most",
The_default:"The default red, yellow, blue label can not be deleted",
Add_label:"add label",
Confirm_delete_tracking_numbers:"Are you sure you want to delete all your tracking numbers permanently?",
FailCheckReason:"Your tracking info was not found, Possible reasons:
1: The carrier hasn't accepted your package yet.
2: The carrier hasn't scanned and entered your package tracking information into their system yet.
3: Your tracking number is incorrect or invalid.
4: Your tracking number has expired and removed from carrier's system.",
Expand:"Expand",Collapse:"Collapsed",HideDetails:"Hide details",Translate:"Translate",Translating:"Translating...",AimLanguage:"Aim Language",ChangeTranslateLanguage:"Change aim language",CopyLink:"Copy the link",CopyResult:"Copy the result",NumberName:"Number",EmailSubscribe:"Email Subscriptions",
FailCheckReason1:"A service error has occurred. This may due to several reasons:
1. The carrier's tracking access is being updated or under maintenance.
2. The carrier's tracking access may be faulty.
3. Tracking failure, because the carrier's tracking access is too busy.",
FailCheckReason2:"Your tracking info was not found, Possible reasons:
1: The carrier hasn't accepted your package yet.
2: The carrier hasn't scanned and entered your package tracking information into their system yet.
3: Your tracking number is incorrect or invalid.
4: Your tracking number has expired and removed from carrier's system.",
FailCheckReason3:"A process error has occurred. This may due to several reasons:
1. The carrier's tracking result format has been changed.
2. The carrier's tracking access was undergoing abnormal response.",
FailCheckReason4:"A web error has occurred. This may due to several reasons:
1. The carrier's tracking access is temporarily disconnected, under this situation, the carrier's official website has been suspended.
2. Due to unstable network connection, it might be just a temporary network fault.",
FailCheckReason5:"A web error has occurred. This may due to several reasons:
1. The carrier's tracking access is temporarily disconnected, under this situation, the carrier's official website has been suspended.
2. Due to unstable network connection, it might be just a temporary network fault.",reviewCompany:"Review",
InfoState_11:"Service Error",
InfoStateTitle_11:"Query error, may be the other server temporarily unable to connect or the other data format changes",
PackageState_11:"Service Error",
PackageState_12:"Not Found",
PackageState_13:"Process Error",
PackageState_14:"Web Error",
PackageState_15:"Web Error",
PackageStateTitle_1:"Item is not found at this moment, If necessary, please verify with the package sender and check back later.",
PackageStateTitle_11:"Query no information,The shipper's query interface may have failed",
PackageStateTitle_12:"Item is not found at this moment, If necessary, please verify with the package sender and check back later.",
PackageStateTitle_13:"Process error, Maybe caused by destination data format change, We will check it later.",
PackageStateTitle_14:"Access to destination's server error, Maybe caused by temporarily disconnected server",
PackageStateTitle_15:"Access to destination's server error, Maybe caused by temporarily disconnected server",
ArchiveRecordTitle:"Archive the data of express",
UndoArchiveRecordTitle:"Revoke archiving",
OperationFailure:"Operation Failure",
MailFormError:"E-mail format is incorrect",
MailNotBeEmpty:"E-mail can not be empty",
MoreThanFour:"The number of apikey is more than 4.",
AddSource:"Source",
ShippingTime:"Shipping Time",
TrackWith:'Track with',
officialWebsite:'official website',
TrackButton:'Track',
SearchingPackage:'Searching your package!',
IdentifyingCourier:'Identifying your courier!',
FetchInformation:'Fetch the latest information!',
WaitMinute:'Wait a minute…',
ResultComing:'Result is coming out…',
};
var COUNTRY_CODE = {"AF":"Afghanistan","AL":"Albania","AN":"Antilles [NL]","AR":"Argentina","AM":"Armenia","AW":"Aruba [NL]","AT":"Austria","AZ":"Azerbaijan","AX":"Åaland Islands [FI]","DZ":"Algeria","AO":"Angola","AI":"Anguilla [GB]","AQ":"Antarctica","AG":"Antigua and Barbuda","AC":"Ascension [GB]","BH":"Bahrain","BB":"Barbados","BY":"Belarus","BZ":"Belize","BJ":"Benin","BM":"Bermuda [GB]","BT":"Bhutan","BO":"Bolivia","BA":"Bosnia and Herzegovina","BW":"Botswana","BR":"Brazil","BN":"Brunei","BG":"Bulgaria","BF":"Burkina Faso","BI":"Burundi","BS":"Bahamas","KH":"Cambodia","CM":"Cameroon","CA":"Canada","CL":"Chile","CO":"Colombia","CR":"Costa Rica","HR":"Croatia","CY":"Cyprus","CZ":"Czech Republic","CV":"Cape Verde","KY":"Cayman Islands [GB]","CF":"Central African Republic","TD":"Chad","KM":"Comoros","CG":"Congo-Brazzaville","CD":"Congo-Kinshasa","CK":"Cook Islands","CU":"Cuba","DK":"Denmark","DJ":"Djibouti","DM":"Dominica","DO":"Dominican Republic","EC":"Ecuador","EG":"Egypt","SV":"El Salvador","ER":"Eritrea","EE":"Estonia","ET":"Ethiopia","TL":"East Timor","GQ":"Equatorial Guinea","FO":"Faroe Islands [DK]","FJ":"Fiji","FI":"Finland","FM":"Federated States of Micronesia","DE":"Germany","GH":"Ghana","GI":"Gibraltar [GB]","GR":"Greece","GL":"Greenland [DK]","GT":"Guatemala","GA":"Gabon","GM":"Gambia","GE":"Georgia","GD":"Grenada","GN":"Guinea","GW":"Guinea-Bissau","GY":"Guyana","HK":"Hong Kong [CN]","HU":"Hungary","HT":"Haiti","HN":"Honduras","IS":"Iceland","IN":"India","ID":"Indonesia","IR":"Iran","IE":"Ireland","IL":"Israel","IT":"Italy","IQ":"Iraq","JM":"Jamaica","JP":"Japan","JO":"Jordan","KZ":"Kazakhstan","KE":"Kenya","KR":"Korea, South","KG":"Kyrgyzstan","KI":"Kiribati","KP":"Korea, North","YK":"Kosovo","KW":"Kuwait","LV":"Latvia","LB":"Lebanon","LS":"Lesotho","LI":"Liechtenstein","LT":"Lithuania","LU":"Luxembourg","LA":"Laos","LR":"Liberia","LY":"Libya","MO":"Macao [CN]","MK":"Macedonia","MY":"Malaysia","MV":"Maldives","MT":"Malta","MU":"Mauritius","MX":"Mexico","MD":"Moldova","ME":"Montenegro","MA":"Morocco","MG":"Madagascar","MW":"Malawi","ML":"Mali","MH":"Marshall Islands","MR":"Mauritania","MN":"Mongolia","MZ":"Mozambique","MM":"Myanmar","NA":"Namibia","NC":"New Caledonia [FR]","NZ":"New Zealand","NI":"Nicaragua","NG":"Nigeria","NO":"Norway","NR":"Nauru","NP":"Nepal","NE":"Niger","NF":"Norfolk Island [AU]","OM":"Oman","PK":"Pakistan","PA":"Panama","PG":"Papua New Guinea","PY":"Paraguay","PE":"Peru","PH":"Philippines","PL":"Poland","PT":"Portugal","PW":"Palau","PS":"Palestine","QA":"Qatar","RO":"Romania","RU":"Russian Federation","RW":"Rwanda","LC":"Saint Lucia","VC":"Saint Vincent and the Grenadines","WS":"Samoa","SM":"San Marino","SA":"Saudi Arabia","SN":"Senegal","RS":"Serbia","SC":"Seychelles","SK":"Slovakia","SI":"Slovenia","SB":"Solomon Islands","ZA":"South Africa","ES":"Spain","SD":"Sudan","SE":"Sweden","CH":"Switzerland","SY":"Syrian Arab Republic","SH":"Saint Helena [GB]","KN":"Saint Kitts and Nevis","ST":"Sao Tome and Principe","SL":"Sierra Leone","SO":"Somalia","LK":"Sri Lanka","SR":"Suriname","SZ":"Swaziland","TW":"Taiwan [CN]","TZ":"Tanzania","TH":"Thailand","TG":"Togo","TO":"Tonga","TN":"Tunisia","TR":"Turkey","TJ":"Tajikistan","TT":"Trinidad and Tobago","TM":"Turkmenistan","TV":"Tuvalu","UG":"Uganda","AE":"United Arab Emirates","US":"United States","UY":"Uruguay","VU":"Vanuatu","VN":"Vietnam","VA":"Vatican City","VE":"Venezuela","EH":"Western Sahara","YE":"Yemen","ZM":"Zambia","ZW":"Zimbabwe","AD":"Andorra","AU":"Australia","BD":"Bangladesh","BE":"Belgium","CN":"China","FR":"France","GG":"Guernsey [GB]","CI":"Ivory Coast","MC":"Monaco","NL":"Netherlands","SG":"Singapore","UA":"Ukraine","GB":"United Kingdom","UZ":"Uzbekistan","PR":"Puerto Rico[US]","JE":"Jersey Island","BL":"Palestine","PF": "French Polynesia","RE":"reunion, island of","GF": "french guiana","GP":"guadeloupe"};
window.LANG=[{a:0,b:"",c:"Not Translated"},{a:1,b:"ar",c:"Arabic"},{a:2,b:"bg",c:"Bulgarian"},{a:3,b:"ca",c:"Catalan"},{a:4,b:"zh-CHS",c:"Chinese Simplified"},{a:5,b:"zh-CHT",c:"Chinese Traditional"},{a:6,b:"cs",c:"Czech"},{a:7,b:"da",c:"Danish"},{a:8,b:"nl",c:"Dutch"},{a:9,b:"en",c:"English"},{a:10,b:"et",c:"Estonian"},{a:11,b:"fi",c:"Finnish"},{a:12,b:"fr",c:"French"},{a:13,b:"de",c:"German"},{a:14,b:"el",c:"Greek"},{a:15,b:"ht",c:"Haitian Creole"},{a:16,b:"he",c:"Hebrew"},{a:17,b:"hi",c:"Hindi"},{a:18,b:"hu",c:"Hungarian"},{a:19,b:"id",c:"Indonesian"},{a:20,b:"it",c:"Italian"},{a:21,b:"ja",c:"Japanese"},{a:22,b:"ko",c:"Korean"},{a:23,b:"lv",c:"Latvian"},{a:24,b:"lt",c:"Lithuanian"},{a:25,b:"no",c:"Norwegian"},{a:26,b:"pl",c:"Polish"},{a:27,b:"pt",c:"Portuguese"},{a:28,b:"ro",c:"Romanian"},{a:29,b:"ru",c:"Russian"},{a:30,b:"sk",c:"Slovak"},{a:31,b:"sl",c:"Slovenian"},{a:32,b:"es",c:"Spanish"},{a:33,b:"sv",c:"Swedish"},{a:34,b:"th",c:"Thai"},{a:35,b:"tr",c:"Turkish"},{a:36,b:"uk",c:"Ukrainian"},{a:37,b:"vi",c:"Vietnamese"},{a:38,b:"mww",c:"Hmong"},{a:39,b:"tlh",c:"Klingon"},{a:40,b:"ms",c:"Malay"},{a:41,b:"mt",c:"Maltese"},{a:42,b:"fa",c:"Persian"},{a:43,b:"ur",c:"Urdu"},{a:44,b:"cy",c:"Welsh"}];$(function() {
// tacking按钮点击填充
$('.content .tm_form_style p span').on('click', function() {
var num = $('.content .tm_form_style p span').text();
$('#tracknumber').val(num);
});
// 回车跳转
$(document).keyup(function(event) {
if (event.keyCode == 13) $('#btnSumit').click();
});
// home
let lis = $('.aspect-box-left>ul>.aspect-list');
lis.each(function () {
$(this).on('mouseenter', function () {
$(this).addClass('active').siblings().removeClass("active");
var imgs = $('.aspect-box-right>.aspect-img');
let i = parseInt($(this).attr('index'));
$($(imgs[i]).addClass('active').siblings().removeClass("active"));
})
})
})