<!--
url = new String(document.location)
pathSplit = url.split('/');
basePath='/';
for (i=3;i<pathSplit.length;i++) {
   j = pathSplit[i];
   if (j != '' && j.indexOf('.')==-1) {
      basePath += j;
      if (j=='support') break;
      basePath += '/';
   }
}

// English Message Strings

var monthNames = new Array("","1","2","3","4","5","6","7","8","9","10","11","12");
var checkButton = "查询";
var waitMsg = '请稍候... <img src="http://images.apple.com/support/main/elements/aqua2spinner12.gif" width="12" height="12" align="absmiddle">';
var noInfo  = '<span style="color: #700">没有找到任何信息，请重试。</span>';
var timeOut = '<span style="color: #700">抱歉，系统超时。</span>';
var legaldisclaimer = '';
var introDownMsg = '<span style="color:#800">系统维护，该功能暂时关闭。<br></span>';
var introMsg = '<span class="style23">查看您的Apple产品的保修信息<br>请输入您的硬件产品的序列号：</span> ';



var titleMsg = '关于您的支持涵盖';
var titleMsg2 = '关于您的 Apple 产品';
var helpMsg = '<div class="help right"><a href="'+basePath+'/service/help/warrantycheck/">帮助</a></div>';
try {
   if (!whereSnUrl) {
      var whereSnUrl = 'http://docs.info.apple.com/article.html?artnum=300191'; // iMac G5 default
   }
}
catch(err) {
    var whereSnUrl = 'http://docs.info.apple.com/article.html?artnum=300191'; // iMac G5 default
}
var whereSnMsg = '我的序列号在哪里？';
var snNotRecognized = '<div id="checkserial"><a href = basePath+"/service/help/warrantycheck/">My serial number is not recognized</a></div>';

var spMsg = 'Our records indicate that your product is covered under one of our special agreements. For information about your coverage, please <a href="http://www.apple.com/support/contact/phone_contacts.html">contact us</a>.';

var ccMsg = spMsg;
var csMsg = spMsg;
var liMsg = '';
var paMsg = spMsg;
var ppxMsg = 'the AppleCare Premium Service and Support Plan';
var ppMsg = 'the AppleCare Protection Plan';
var raMsg = spMsg;
var reMsg = spMsg;
var estMsg = ' estimated';

var regMsg = 'You can update our records with your date of purchase by clicking <a href="'+basePath+'/service/help/warrantycheck/">here</a>.<p>Please put your sales receipt in a safe place. You will need it for warranty validation.</p>';
var learnMsg = '<div class="another">Extend your service and technical support coverage today. <a href="'+basePath+'/products/">Learn more</a></div>';
var legacyMsg = '<div class="another">Check out our new products! The <a href="http://store.apple.com/">Apple Store</a> has great deals.</div>';
var anotherSnMsg = '<div class="another"><a href="javascript:writeForm(\'\');">输入其它序列号</a></div>';

var noSerialAlert = 'You must enter a serial number!';
var spacesSerialAlert = 'A serial number cannot have spaces in it!';
var validSerialAlert = 'Please enter a valid serial number.';

var replaceOsAlert = "Apple does not use the letter 'O' in its serial numbers. For your convenience, we replaced all 'O's with zeros.";


// translate in context

var purchaseStr_1_1= '<div class="clearest"></div>根据记录 ';
//  coverage
var purchaseStr_1_2= '';
//  estimated
var purchaseStr_1_3='保修期至 <b>';
//  datePurchased
var purchaseStr_1_4='</b>. ';

var purchaseStr_2_1= '<div class="clearest"></div>Our records indicate that your';
//  estimated
var purchaseStr_2_2= ' date of purchase was <b>';
//  datePurchased
var purchaseStr_2_3= '</b>. ';

var purchaseStr_3_1= '<div class="clearest"></div>Our records indicate that your product is covered under ';
//  coverage
var purchaseStr_3_2= '.';

var purchaseStr_4_1= '<div class="clearest"></div>We are unable to provide support coverage information as our records do not have your product&#146;s date of purchase. ';

var returnMsg1 = 'Our records indicate that your product is covered for 90 days from your most recent service. ';
var returnMsg2 = '</p><p>此产品可能已经超出保修期. ';

var returnMsg4 = '</p><p>If today is exactly one year from your estimated date of purchase and you require service, please contact <a href="/contact/">AppleCare</a> for assistance. ';


// translate in context
var returnMsg3a = '</p><p>Our records indicate that your product has service coverage for <b>';
//  daysRemaining
var returnMsg3b = '</b> more days.';
var returnMsg3b1 = '</b>.';
var returnMsg3e = '';
var returnMsg3f = '';
var returnMsg3c = '';
var returnMsg3d = '';

// translate in context
var supportRef_1_1 = ''
// shortProdURL e.g. powermac
var supportRef_1_2 = '';
// shortProdTitle e.g. Power Mac G5

//-->

