var tXuid = '';var tXvid = '';var tXvidCrypt = '';var tXaid = '';var tXbid = '';var tXcid = '';var tXtid = '';var tXhdid = '';var tXccb = '';var tXop1 = '';var tXop2 = '';var tXop3 = '';var tXxfield = '';var tXextlogin = '';var tXreferer = '';var tXchargeRefererId = '';var tXcnbRefererId = '0';var tXnccRefererId = '';var tXcgateRefererId = '';var tXuid_encrypted = '';var tXvid_encrypted = '';var tXaid_encrypted = '';var tXbid_encrypted = '';var tXcid_encrypted = '';var tXtid_encrypted = '';var tXhdid_encrypted = '';var tXccb_encrypted = '';var tXop1_encrypted = '';var tXop2_encrypted = '';var tXop3_encrypted = '';var tXxfield_encrypted = '';var tXextlogin_encrypted = '';var tXreferer_encrypted = '';var tXchargeRefererId_encrypted = '';var tXcnbRefererId_encrypted = '';var tXnccRefererId_encrypted = '';var tXcgateRefererId_encrypted = '';var tXpreviewVID = false;var tXparameters = new Array();var tXPLIMGS = new Array();var tXstatus = false;var tXcounterID = 0;var tXcounterENC = '';var tXcounterValue = '';var tXdebug = 'false';var tXreload = false;var tXreloadNow = false;var tXFlash = false;var tXswfWidth = 797;var tXswfHeight = 466;var tXxmlHttp = createXmlHttpRequestObject();var txWebLaunchIE = null;var tXweblauncherInstalled = false;var olf = false;var sod = false;var giv = false;var gig = false;var tXreplaced = false;var TOS_WINDOW = null;var LogPaths = new Array();var tXref = '';var tXeXaid = '';var tXeXbid = '';var tXeXcid = '';var reqFields = new Array();var errorClass = 'error';var classNames = new Array();var errorText = 'Please fill out all required fields';var submitB = false;var afterB = false;
function txPrint( str ){ }

function txIsInstalledIE(){
  var p = 0;
  try{
    if(typeof(ActiveXObject) != "undefined"){
      p = new ActiveXObject('WebLaunchTL.txWebLaunch.1');
    }
  }catch(e){
        return 0;
  }

  return p ? 1 : 0;
}

function txIsInstalled(){
  try{
    if(navigator.plugins && navigator.plugins.length){
      for(name in navigator.plugins){
        if(navigator.plugins[name].name == 'thriXXX WebLaunch'){
          return true;
        }
      }
      plugin = navigator.plugins["thriXXX WebLaunch"];
      if(plugin){
        return true;
      }
    }
    if(navigator.mimeTypes && navigator.mimeTypes.length > 0){
      plugin = navigator.mimeTypes["application/x-thrixxx-weblaunch"];
      if(plugin){
        return true;
      }
    }
  }catch(e){ }
  return false;
}

function txGetWebLaunch(){
  instance = null;
  try
  {
    if(txIsInstalled() == false){
            return 0;
    }else{
      tXweblauncherInstalled = true;
    }
    if(document.getElementById("txWebLaunch")){
      instance        = document.getElementById("txWebLaunch");
    }
  } catch(ex) {}
  try {
    tXtype = typeof instance;
    if(tXtype == "function"){
      instance = instance.valueOf();
    }
  } catch(e) {}
  try{
    instance.Accessible();
    tXWebInstalled = true;
      }catch(e){
        tXWebInstalled = false;
    instance = false;
  }
  return instance;
}

function tXOpenTOS(lg, url) {
  if ( typeof lg  == "undefined" ) lg  = '';
  if ( typeof url == "undefined" ) url = 'http://www.hentai3d.com';
  if ( lg != 'DE/' ) lg = '';
  var p = "dependent=0,directories=0,height=450,hotkeys=0,left=0,location=0,menubar=0,toolbar=0,"+
          "resizable=1,scrollbars=1,status=0,titlebar=0,top=0,width=450,personalbar=0";
  TOS_WINDOW = window.open(url + "/" + lg + "termsofservice.php", "TERMSOFSERVICE", p);
}

function createXmlHttpRequestObject(){
  var tXxmlHttp;
  if(window.ActiveXObject){
    try{
      tXxmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
    }catch(e){
      tXxmlHttp = false;
    }
  }else{
    try{
      tXxmlHttp = new XMLHttpRequest();
    }catch(e){
      tXxmlHttp = false;
    }
  }
  if(tXxmlHttp) { return tXxmlHttp; }
  }

var alreadyHandled = false;
function handleParameters(flashResponse){
    if(alreadyHandled == false){
    alreadyHandled = true;
        tXweblaunchOBJ = txGetWebLaunch();
        if(tXweblaunchOBJ){
      if(getCounter() == true){
        try{
          tXweblaunchOBJ.SetCounter(tXcounterID, tXcounterENC);
          if(tXweblaunchOBJ.Accessible() == 1){
            var regestryResponse = new Array();
var uid_enc = 'FIau70cVy3AlC/bZoT4R07xcHL8JiLZ1F5qD33hX8qariI1GOo5iuY2UvX3DbIaKOhqBUZtqtUoM2KJJtRQodYh84Vlt9lzxOnEvwkcs0SQ2AcWic/T9T1t6jqR2+5EIy7EcATPDtkRKVIY/bpLcNB6h7YBiw1mq0mYCnyRCgGo=';
var aid_enc = '0GaP+W74IZkTd6EztSQ2oV/dytvvkOMVU4+oT9mFi6Ln8I8VHevbJeyeyhJnVpwaS2c5g8LJoa6fq+kbaf6j8Dyk83n1GWAnUxzCDuYBXYPRNdBwm+IhtwefBliIZqVr29XWiuQFtDVVyuNHUz4oktIuELfn32raxPocd/+56fw=';
var ccb_enc = 'SA8DZTJj8S/uBcJ7UvQwCU2pL0Q7Rl6MmAFqHsUhLPrRLm45QHZe4VqpI68rhcPHAk9nokQyxUZp3WHbAe4PBG6XbXt06aXq/HBpS73XYvSOjkT6t8mPUS+nObj0jIoFLo7G9afRmrLcdGmrhKUOPYzFmjp/k6Cywnhrh2piGBQ=';
var bid_enc = 'YSlsg8c/5sH8s68pOSKyApmai3ZjVm+imf1wC3lEPQUa1v3AuAj0QY0zyHlZoDSCpJfdpza98mQLgmhFYPOMbD4Iyv82Wy8MSsReXasb93Dql0k4IdKueh8Smt6NIAJrXdvyZiac5R7/IwJKXH+mDR8eGm7tYllFAs966GFTT5s=';
var cid_enc = 'fkteUPYnqmyXqCFxW59pUc/ZMf4pAdxwNk7PVw6ej/WbouQ/0glwyilCXs71IcQHGhIPJaB4EF+VFfTAaj8FPzrGgD34OAvNrwsVQAfD7Q1IBMv4EpC0RqDRb0jxv8iEtpCo3B4vy5/8kNBtrx2uXF39iIynZXJ48Gt16RTfcDo=';
var tid_enc = 'eVSzLzoZhODR9utsRev2Gfhqqk6tWsx1RI2ryNOgSsmOhAdoJvryTdxiqKrnTLKGjS66JBprNAYh98ReJPno8pOuCcAu5IroAKPDw25EeNPNlv7MfAV8fZdEr2LUgQdYnCaMVFweSG7Ul3sK4BJ6p4S2S7ynhfKV/RoPceKhtMc=';
var hdid_enc = 'WqRNtBw0sIp1kMYuwDaDGLuy1AVVGbIMLCM5ZwI1ZWG/eVmi0UnD/df9AN6nEsgjktheicYF2R88Mxy10dTGzzp1WZrHtoopuMjhuSul4RtbakPINWQJsdQEraXFHM5DO7uM76rfq5aA84y9cdtgy02XvuxtzITu/qa7/L1IGG4=';
var ref_enc = 'RT3V22X5CrN5bK5+Wn76kZ3Imj6nMlgM0Ss3VIBoNeErs88/HH/YZ6FrjkIwrc16TWFvo7sBUnZ6yPR77B+5hhWmTof5+6Sy79Ikhd/X4meomEEexSicIA4DNANTC5fQpGh/SgoiiuoYiVjNLw7zS6SMNP+UQleK6I8wx6iv/pM=';
var eXaid_enc = 'Piv8kAt6QKbEsfPb/mpkwsxRc8/yIXsrFCqOT2c8PMXvWZsXVetCOMhhmPpGWCwbUWcLiNEWIl0Kq4sBcQ/Y0Lb20rT3kwfZYB/8GP9xosan5DsGjE91GJqDMlm+WTiydtwkqsF5t3rxWbN8GIljlJ29GF0AmXTDWISFhsdnqz8=';
var eXbid_enc = 'zowA0MXObVREHe2zDEA3sqFpjIqAIysdbs0luPfix2lhEN3gM6zW8NVKDe7NYOwkDJaWJfvV8lZKNFuq+qA0iLM2Ci1lnw2qg+o4Q56GLGjU4vrmE6S8I/cwKBau8RERn4tDue3S/00L1nmMUpVXjkO1oXZnotvNyaVxVrCGB4M=';
var eXcid_enc = 'exUMmRj6VtArFBdktsh+xKONMVSJQwMl96PrGztvh81C+qIJFe7u/YnwkrPrfyH1qOovnoFvV+77b+JmTyk7mVzdi62PvZzshem63jaVEJ5rEPDXGCtVGe9EBieSiio76kKJimP+UeNKeEYSJo/xLf2s2Lan/Sk/pjgjh1IojUg=';
if(tXweblaunchOBJ.Exists('', uid_enc)){ regestryResponse['uid'] = tXweblaunchOBJ.Get('', uid_enc); }
if(tXweblaunchOBJ.Exists('', aid_enc)){ regestryResponse['aid'] = tXweblaunchOBJ.Get('', aid_enc); }
if(tXweblaunchOBJ.Exists('', ccb_enc)){ regestryResponse['ccb'] = tXweblaunchOBJ.Get('', ccb_enc); }
if(tXweblaunchOBJ.Exists('', bid_enc)){ regestryResponse['bid'] = tXweblaunchOBJ.Get('', bid_enc); }
if(tXweblaunchOBJ.Exists('', cid_enc)){ regestryResponse['cid'] = tXweblaunchOBJ.Get('', cid_enc); }
if(tXweblaunchOBJ.Exists('', tid_enc)){ regestryResponse['tid'] = tXweblaunchOBJ.Get('', tid_enc); }
if(tXweblaunchOBJ.Exists('', hdid_enc)){ regestryResponse['hdid'] = tXweblaunchOBJ.Get('', hdid_enc); }
if(tXweblaunchOBJ.Exists('', ref_enc)){ regestryResponse['ref'] = tXweblaunchOBJ.Get('', ref_enc); }
if(tXweblaunchOBJ.Exists('', eXaid_enc)){ regestryResponse['eXaid'] = tXweblaunchOBJ.Get('', eXaid_enc); }
if(tXweblaunchOBJ.Exists('', eXbid_enc)){ regestryResponse['eXbid'] = tXweblaunchOBJ.Get('', eXbid_enc); }
if(tXweblaunchOBJ.Exists('', eXcid_enc)){ regestryResponse['eXcid'] = tXweblaunchOBJ.Get('', eXcid_enc); }
decryptWeblauncherResponse(regestryResponse,flashResponse);
if(tXuid_encrypted != ''){ tXweblaunchOBJ.Set('', uid_enc,tXuid_encrypted); }
if(tXweblaunchOBJ.Exists('', aid_enc)){ tXweblaunchOBJ.Remove('', aid_enc); }
if(tXaid_encrypted != ''){ tXweblaunchOBJ.Set('', aid_enc,tXaid_encrypted); }
if(tXweblaunchOBJ.Exists('', ccb_enc)){ tXweblaunchOBJ.Remove('', ccb_enc); }
if(tXccb_encrypted != ''){ tXweblaunchOBJ.Set('', ccb_enc,tXccb_encrypted); }
if(tXweblaunchOBJ.Exists('', bid_enc)){ tXweblaunchOBJ.Remove('', bid_enc); }
if(tXbid_encrypted != ''){ tXweblaunchOBJ.Set('', bid_enc,tXbid_encrypted); }
if(tXweblaunchOBJ.Exists('', cid_enc)){ tXweblaunchOBJ.Remove('', cid_enc); }
if(tXcid_encrypted != ''){ tXweblaunchOBJ.Set('', cid_enc,tXcid_encrypted); }
if(tXweblaunchOBJ.Exists('', tid_enc)){ tXweblaunchOBJ.Remove('', tid_enc); }
if(tXtid_encrypted != ''){ tXweblaunchOBJ.Set('', tid_enc,tXtid_encrypted); }
if(tXweblaunchOBJ.Exists('', hdid_enc)){ tXweblaunchOBJ.Remove('', hdid_enc); }
if(tXhdid_encrypted != ''){ tXweblaunchOBJ.Set('', hdid_enc,tXhdid_encrypted); }
if(tXweblaunchOBJ.Exists('', ref_enc)){ tXweblaunchOBJ.Remove('', ref_enc); }
if(tXref_encrypted != ''){ tXweblaunchOBJ.Set('', ref_enc,tXref_encrypted); }
if(tXweblaunchOBJ.Exists('', eXaid_enc)){ tXweblaunchOBJ.Remove('', eXaid_enc); }
if(tXeXaid_encrypted != ''){ tXweblaunchOBJ.Set('', eXaid_enc,tXeXaid_encrypted); }
if(tXweblaunchOBJ.Exists('', eXbid_enc)){ tXweblaunchOBJ.Remove('', eXbid_enc); }
if(tXeXbid_encrypted != ''){ tXweblaunchOBJ.Set('', eXbid_enc,tXeXbid_encrypted); }
if(tXweblaunchOBJ.Exists('', eXcid_enc)){ tXweblaunchOBJ.Remove('', eXcid_enc); }
if(tXeXcid_encrypted != ''){ tXweblaunchOBJ.Set('', eXcid_enc,tXeXcid_encrypted); }
}else{
 decryptWeblauncherResponse(false,flashResponse);
}
} catch(e){
 decryptWeblauncherResponse(false,flashResponse);
}
}
}else{
 decryptWeblauncherResponse(false,flashResponse);
}
onloadInt = window.setInterval('onloadFunction()',100);
}
}

var onloadInt = '';
var onloadCnt = 0;
function onloadFunction(){
  if(tXstatus == true || onloadCnt >= 50){
    if(typeof hideLoadingDiv == "function" && tXreload == false){ hideLoadingDiv(); }
    showVariations();            window.clearInterval(onloadInt);
  }
  onloadCnt = onloadCnt + 1;
}

function decryptedServerResponse(){
  if (tXxmlHttp.readyState == 4){
    if (tXxmlHttp.status == 200){
      xmlResponse = tXxmlHttp.responseXML;
      try{
        tXpreviewVID = xmlResponse.getElementsByTagName('preview_vid')[0].firstChild.data;
      }catch(e){  }
      try
      {
        if ( (
            xmlResponse.getElementsByTagName('new_vid')[0].firstChild.data == 'false' &&
            xmlResponse.getElementsByTagName('vid_decrypted')[0].firstChild.data != '1338381|2|1|1|2|1' &&
            'false' != '1338381|2|1|1|2|1' &&
            'false' == 'false'
          )
          ||
          (
            xmlResponse.getElementsByTagName('new_vid')[0].firstChild.data == 'true' &&
            xmlResponse.getElementsByTagName('vid_decrypted')[0].firstChild.data == '' &&
            'false' != '1338381|2|1|1|2|1' &&
            'false' == 'false'
          )
        ) tXreloadNow = true;
      } catch(e) {}
try{ if(typeof xmlResponse.getElementsByTagName('uid_decrypted')[0].firstChild.data != 'undefined'){tXuid = xmlResponse.getElementsByTagName('uid_decrypted')[0].firstChild.data; tXuid_encrypted = xmlResponse.getElementsByTagName('uid_encrypted')[0].firstChild.data; tXparameters['uid'] = xmlResponse.getElementsByTagName('uid_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('aid_decrypted')[0].firstChild.data != 'undefined'){tXaid = xmlResponse.getElementsByTagName('aid_decrypted')[0].firstChild.data; tXaid_encrypted = xmlResponse.getElementsByTagName('aid_encrypted')[0].firstChild.data; tXparameters['aid'] = xmlResponse.getElementsByTagName('aid_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('ccb_decrypted')[0].firstChild.data != 'undefined'){tXccb = xmlResponse.getElementsByTagName('ccb_decrypted')[0].firstChild.data; tXccb_encrypted = xmlResponse.getElementsByTagName('ccb_encrypted')[0].firstChild.data; tXparameters['ccb'] = xmlResponse.getElementsByTagName('ccb_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('bid_decrypted')[0].firstChild.data != 'undefined'){tXbid = xmlResponse.getElementsByTagName('bid_decrypted')[0].firstChild.data; tXbid_encrypted = xmlResponse.getElementsByTagName('bid_encrypted')[0].firstChild.data; tXparameters['bid'] = xmlResponse.getElementsByTagName('bid_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('cid_decrypted')[0].firstChild.data != 'undefined'){tXcid = xmlResponse.getElementsByTagName('cid_decrypted')[0].firstChild.data; tXcid_encrypted = xmlResponse.getElementsByTagName('cid_encrypted')[0].firstChild.data; tXparameters['cid'] = xmlResponse.getElementsByTagName('cid_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('tid_decrypted')[0].firstChild.data != 'undefined'){tXtid = xmlResponse.getElementsByTagName('tid_decrypted')[0].firstChild.data; tXtid_encrypted = xmlResponse.getElementsByTagName('tid_encrypted')[0].firstChild.data; tXparameters['tid'] = xmlResponse.getElementsByTagName('tid_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('hdid_decrypted')[0].firstChild.data != 'undefined'){tXhdid = xmlResponse.getElementsByTagName('hdid_decrypted')[0].firstChild.data; tXhdid_encrypted = xmlResponse.getElementsByTagName('hdid_encrypted')[0].firstChild.data; tXparameters['hdid'] = xmlResponse.getElementsByTagName('hdid_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('vid_decrypted')[0].firstChild.data != 'undefined'){tXvid = xmlResponse.getElementsByTagName('vid_decrypted')[0].firstChild.data; tXvid_encrypted = xmlResponse.getElementsByTagName('vid_encrypted')[0].firstChild.data;tXvidCrypt = Base64.encode(xmlResponse.getElementsByTagName('vid_decrypted')[0].firstChild.data); tXparameters['vid'] = xmlResponse.getElementsByTagName('vid_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('op1_decrypted')[0].firstChild.data != 'undefined'){tXop1 = xmlResponse.getElementsByTagName('op1_decrypted')[0].firstChild.data; tXop1_encrypted = xmlResponse.getElementsByTagName('op1_encrypted')[0].firstChild.data; tXparameters['op1'] = xmlResponse.getElementsByTagName('op1_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('op2_decrypted')[0].firstChild.data != 'undefined'){tXop2 = xmlResponse.getElementsByTagName('op2_decrypted')[0].firstChild.data; tXop2_encrypted = xmlResponse.getElementsByTagName('op2_encrypted')[0].firstChild.data; tXparameters['op2'] = xmlResponse.getElementsByTagName('op2_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('op3_decrypted')[0].firstChild.data != 'undefined'){tXop3 = xmlResponse.getElementsByTagName('op3_decrypted')[0].firstChild.data; tXop3_encrypted = xmlResponse.getElementsByTagName('op3_encrypted')[0].firstChild.data; tXparameters['op3'] = xmlResponse.getElementsByTagName('op3_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('xfield_decrypted')[0].firstChild.data != 'undefined'){tXxfield = xmlResponse.getElementsByTagName('xfield_decrypted')[0].firstChild.data; tXxfield_encrypted = xmlResponse.getElementsByTagName('xfield_encrypted')[0].firstChild.data; tXparameters['xfield'] = xmlResponse.getElementsByTagName('xfield_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('extlogin_decrypted')[0].firstChild.data != 'undefined'){tXextlogin = xmlResponse.getElementsByTagName('extlogin_decrypted')[0].firstChild.data; tXextlogin_encrypted = xmlResponse.getElementsByTagName('extlogin_encrypted')[0].firstChild.data; tXparameters['extlogin'] = xmlResponse.getElementsByTagName('extlogin_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('referer_decrypted')[0].firstChild.data != 'undefined'){tXreferer = Base64.decode(xmlResponse.getElementsByTagName('referer_decrypted')[0].firstChild.data); tXreferer_encrypted = xmlResponse.getElementsByTagName('referer_encrypted')[0].firstChild.data; tXparameters['referer'] = xmlResponse.getElementsByTagName('referer_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('chargeRefererId_decrypted')[0].firstChild.data != 'undefined'){tXchargeRefererId = xmlResponse.getElementsByTagName('chargeRefererId_decrypted')[0].firstChild.data; tXchargeRefererId_encrypted = xmlResponse.getElementsByTagName('chargeRefererId_encrypted')[0].firstChild.data; tXparameters['chargeRefererId'] = xmlResponse.getElementsByTagName('chargeRefererId_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('cnbRefererId_decrypted')[0].firstChild.data != 'undefined'){tXcnbRefererId = xmlResponse.getElementsByTagName('cnbRefererId_decrypted')[0].firstChild.data; tXcnbRefererId_encrypted = xmlResponse.getElementsByTagName('cnbRefererId_encrypted')[0].firstChild.data; tXparameters['cnbRefererId'] = xmlResponse.getElementsByTagName('cnbRefererId_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('nccRefererId_decrypted')[0].firstChild.data != 'undefined'){tXnccRefererId = xmlResponse.getElementsByTagName('nccRefererId_decrypted')[0].firstChild.data; tXnccRefererId_encrypted = xmlResponse.getElementsByTagName('nccRefererId_encrypted')[0].firstChild.data; tXparameters['nccRefererId'] = xmlResponse.getElementsByTagName('nccRefererId_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('cgateRefererId_decrypted')[0].firstChild.data != 'undefined'){tXcgateRefererId = xmlResponse.getElementsByTagName('cgateRefererId_decrypted')[0].firstChild.data; tXcgateRefererId_encrypted = xmlResponse.getElementsByTagName('cgateRefererId_encrypted')[0].firstChild.data; tXparameters['cgateRefererId'] = xmlResponse.getElementsByTagName('cgateRefererId_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('ref_decrypted')[0].firstChild.data != 'undefined'){tXref = xmlResponse.getElementsByTagName('ref_decrypted')[0].firstChild.data; tXref_encrypted = xmlResponse.getElementsByTagName('ref_encrypted')[0].firstChild.data; tXparameters['ref'] = xmlResponse.getElementsByTagName('ref_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('eXaid_decrypted')[0].firstChild.data != 'undefined'){tXeXaid = xmlResponse.getElementsByTagName('eXaid_decrypted')[0].firstChild.data; tXeXaid_encrypted = xmlResponse.getElementsByTagName('eXaid_encrypted')[0].firstChild.data; tXparameters['eXaid'] = xmlResponse.getElementsByTagName('eXaid_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('eXbid_decrypted')[0].firstChild.data != 'undefined'){tXeXbid = xmlResponse.getElementsByTagName('eXbid_decrypted')[0].firstChild.data; tXeXbid_encrypted = xmlResponse.getElementsByTagName('eXbid_encrypted')[0].firstChild.data; tXparameters['eXbid'] = xmlResponse.getElementsByTagName('eXbid_decrypted')[0].firstChild.data;  } }catch(e){}
try{ if(typeof xmlResponse.getElementsByTagName('eXcid_decrypted')[0].firstChild.data != 'undefined'){tXeXcid = xmlResponse.getElementsByTagName('eXcid_decrypted')[0].firstChild.data; tXeXcid_encrypted = xmlResponse.getElementsByTagName('eXcid_encrypted')[0].firstChild.data; tXparameters['eXcid'] = xmlResponse.getElementsByTagName('eXcid_decrypted')[0].firstChild.data;  } }catch(e){}
var tmpCookieValue       = '';
var splitValue           = '';
if(tXuid.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'uid=' + tXuid; splitValue = '|'; }
if(tXaid.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'aid=' + tXaid; splitValue = '|'; }
if(tXccb.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'ccb=' + tXccb; splitValue = '|'; }
if(tXbid.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'bid=' + tXbid; splitValue = '|'; }
if(tXcid.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'cid=' + tXcid; splitValue = '|'; }
if(tXtid.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'tid=' + tXtid; splitValue = '|'; }
if(tXhdid.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'hdid=' + tXhdid; splitValue = '|'; }
if(tXref.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'ref=' + tXref; splitValue = '|'; }
if(tXeXaid.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'eXaid=' + tXeXaid; splitValue = '|'; }
if(tXeXbid.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'eXbid=' + tXeXbid; splitValue = '|'; }
if(tXeXcid.length > 0){ tmpCookieValue = tmpCookieValue + splitValue + 'eXcid=' + tXeXcid; splitValue = '|'; }
createCookie('thriXXX_INT-EN-0001',tmpCookieValue,365);
var tmpFlookieValue      = new Array();
tmpFlookieValue['param'] = '';
var splitValue           = '';
if(tXuid.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'uid=' + tXuid; splitValue               = '|'; }
if(tXaid.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'aid=' + tXaid; splitValue               = '|'; }
if(tXccb.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'ccb=' + tXccb; splitValue               = '|'; }
if(tXbid.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'bid=' + tXbid; splitValue               = '|'; }
if(tXcid.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'cid=' + tXcid; splitValue               = '|'; }
if(tXtid.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'tid=' + tXtid; splitValue               = '|'; }
if(tXhdid.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'hdid=' + tXhdid; splitValue               = '|'; }
if(tXref.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'ref=' + tXref; splitValue               = '|'; }
if(tXeXaid.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'eXaid=' + tXeXaid; splitValue               = '|'; }
if(tXeXbid.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'eXbid=' + tXeXbid; splitValue               = '|'; }
if(tXeXcid.length > 0){ tmpFlookieValue['param'] = tmpFlookieValue['param'] + splitValue + 'eXcid=' + tXeXcid; splitValue               = '|'; }
if(tXvid.length > 0){ tmpFlookieValue['vid'] = tXvid; }
if(tXref.length > 0){ tmpFlookieValue['ref'] = tXref; }
if(tXeXaid.length > 0){ tmpFlookieValue['eXaid'] = tXeXaid; }
if(tXeXbid.length > 0){ tmpFlookieValue['eXbid'] = tXeXbid; }
if(tXeXcid.length > 0){ tmpFlookieValue['eXcid'] = tXeXcid; }

if(typeof tXFL == 'function' || typeof tXFL == 'object'){ tXFL.tXSaveFlookie(tmpFlookieValue); }

if(tXreload == true && 'false' == 'true'){
  try{ document.getElementById('reloadForm').submit(); }catch(e){}
}
    }
  }
}

function decryptWeblauncherResponse(regestryValues, flashValues){
  var flashValCheck = false;
  if(typeof flashValues != 'boolean'){
    for(key in flashValues){
      if(key.length > 0 && flashValues[key].length > 0 && typeof flashValues[key] != 'function'){
        flashValCheck = true;
      }
    }
  }
  if(flashValCheck == false) flashValues = false;
  if (tXxmlHttp.readyState == 4 || tXxmlHttp.readyState == 0){
    var parameters = 'parameters=true&siteid=4&designid=1&create=true&replace=false&url=ZW1wdHk=';
    var splitSign  = '&';
    var regestry   = '';
    var flookie    = '';
    if(typeof regestryValues != 'boolean'){
      for(key in regestryValues){
        if(key.length > 0 && regestryValues[key].length > 0 && typeof regestryValues[key] != 'function'){
          regestry = regestry + splitSign + key + '=' + regestryValues[key];
        }
      }
      if(regestry.length > 0){
        parameters = parameters + splitSign + 'regestry=' + Base64.encode(regestry);
      }
    }
    if(typeof flashValues != 'boolean'){
      for(key in flashValues){
        if(key.length > 0 && flashValues[key].length > 0 && typeof flashValues[key] != 'function'){
          if(key == 'param'){
            tmpParam = flashValues[key].split('|');
            for(var i = 0; i < tmpParam.length; i++){
              flookie = flookie + splitSign + tmpParam[i];
            }
          } else { flookie = flookie + splitSign + key + '=' + flashValues[key]; }
        }
      }
      if(flookie.length > 0){
        parameters = parameters + splitSign + 'flookie=' + Base64.encode(flookie);
      }
    }
    tXxmlHttp.open("POST", "http://www.hentai3d.com/js_includes/parameterFiles/parameterAJAX.php", false);
    tXxmlHttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
    tXxmlHttp.send(parameters);
    decryptedServerResponse();
  }else setTimeout('decryptWeblauncherResponse(' + regestryValues + ', ' + flashValues + ')', 1000);
}

function getCounter(){
  if (tXxmlHttp.readyState == 4 || tXxmlHttp.readyState == 0){
    var parameters = 'counter=true&siteid=4&url=ZW1wdHk=';
    tXxmlHttp.open("POST", "http://www.hentai3d.com/js_includes/parameterFiles/parameterAJAX.php", false);
    tXxmlHttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
    tXxmlHttp.send(parameters);
    saveCounter();
    return true;
  }else setTimeout('getCounter()', 1000);
  return false;
}

function saveCounter(){
  if (tXxmlHttp.readyState == 4){
    if (tXxmlHttp.status == 200){
      xmlResponse        = tXxmlHttp.responseXML;
      try{
        tXcounterID    = parseInt(xmlResponse.getElementsByTagName('counterID')[0].firstChild.data);
        tXcounterENC   = xmlResponse.getElementsByTagName('counterENC')[0].firstChild.data
        tXcounterValue = parseInt(xmlResponse.getElementsByTagName('counterValue')[0].firstChild.data);
      }catch(e){}
    }
  }
}

function getLogPaths(){}
function fetchLogPaths(){}
function replaceLogPaths(LogPaths){}
function getInstalledGames(){}
function getInstalledVersions(){}
function launchGame(executeable,server){}
function latestInstalled(executeable){}

function createCookie(name,value,days){
  if(days){
    var date = new Date();
    date.setTime(date.getTime()+(days*24*60*60*1000));
    var expires = "; expires="+date.toGMTString();
  }else var expires = "";
  document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
  var nameEQ = name + "=";
  var ca = document.cookie.split(';');
  for(var i=0;i < ca.length;i++) {
    var c = ca[i];
    while (c.charAt(0)==' ') c = c.substring(1,c.length);
    if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
  }
  return null;
}
function eraseCookie(name) { createCookie(name,"",-1); }

function showVariations(){  var tmpVariation = false;
  if(tXvid != 'false' && tXvid != false){
        tmpVariation = tXvid;
  }
  if(tXpreviewVID != 'false' && tXpreviewVID != false){
        tmpVariation = tXpreviewVID;
  }
  if(tmpVariation != 'false' && tmpVariation != false){
var variationInfos = new Array();
variationInfos[0] = new Array();
variationInfos[0]['id'] = 'create';
variationInfos[0]['set'] = '1';
variationInfos[0]['part'] = '1';
for(idx in variationInfos){
  if(variationInfos[idx]['id'] != undefined && variationInfos[idx]['set'] != undefined && variationInfos[idx]['part'] != undefined){
    if(document.getElementById(variationInfos[idx]['id'])){
      if(variationInfos[idx]['set'] != '0' && variationInfos[idx]['part'] != '0'){
        var tmpVid  = tmpVariation.split('|');
        var vidIdx  = parseInt(variationInfos[idx]['set']) + 1;
        if(tmpVid[vidIdx] != undefined) tmpVid    = tmpVid[vidIdx];
        else                            tmpVid    = 1;
                if( typeof content[variationInfos[idx]['set']] != "undefined" && content[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']] != undefined && change[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']] != undefined){
          // change possibilities => innerHTML, style, class, src, href, parameter, value
                    switch(change[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']]){
            case 'innerHTML':  var element = document.getElementById(variationInfos[idx]['id']); element.innerHTML = content[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']]; break;
            case 'style':  break;
            case 'class':  var element = document.getElementById(variationInfos[idx]['id']); element.className = content[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']]; break;
            case 'flash':  var element = document.getElementById(variationInfos[idx]['id']); try { element.JS2FL(tmpVariation); } catch (e) { alert(e); } break;
            case 'src':  if(document.getElementById(variationInfos[idx]['id']).src != undefined){ document.getElementById(variationInfos[idx]['id']).src = content[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']]; } break;
            case 'href':  if(document.getElementById(variationInfos[idx]['id']).href != undefined){ document.getElementById(variationInfos[idx]['id']).href = content[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']]; } break;
            case 'parameter':  if(document.getElementById(variationInfos[idx]['id']).href != undefined){ document.getElementById(variationInfos[idx]['id']).href = document.getElementById(variationInfos[idx]['id']).href + '?' + content[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']]; }else if(document.getElementById(variationInfos[idx]['id']).src != undefined){ document.getElementById(variationInfos[idx]['id']).src  = document.getElementById(variationInfos[idx]['id']).src + '?' + content[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']]; } break;
            case 'value':  if(document.getElementById(variationInfos[idx]['id']).value != undefined){ document.getElementById(variationInfos[idx]['id']).value = content[variationInfos[idx]['set']][tmpVid][variationInfos[idx]['part']]; } break;
            default:break;
          }
        }
      }else{
        if(document.getElementById(variationInfos[idx]['id']).title != undefined){
          var tmpSource = document.getElementById(variationInfos[idx]['id']).title;
          var tmpLast   = tmpSource.substring(tmpSource.length -1)
          var tmpEmbed  = false;
          if(tmpLast == '/') tmpSource = tmpSource.substring(0,tmpSource.length -1);
                    tmpSource = tmpSource + '?vid=' + tmpVariation;
                    document.getElementById(variationInfos[idx]['id']).title = tmpSource;
          if(document.getElementById('movieParam') != undefined && document.getElementById('movieEmbed') != undefined){
            document.getElementById('movieParam').value = tmpSource;
            document.getElementById('movieEmbed').src   = tmpSource;
            tmpEmbed                                    = true;
          }

          // show flash

          try{
            if(tmpEmbed == false){
              var versionNeeded    = "8";
              var versionAvailable = deconcept.SWFObjectUtil.getPlayerVersion();
              var swfobj           = document.getElementById(variationInfos[idx]['id']).title;
              swfobj               = swfobj.search(/\?/) != -1 ? swfobj : swfobj + '';
              var so               = new SWFObject(swfobj, "container", tXswfWidth, tXswfHeight, versionNeeded, "#FFF");
              var tXFlashLoaded    = so.write("mainContent");
            }
          }catch(e){
                      }

          tXFlash = true;
                  }
      }
        }
  }
}
      }
}
function replaceFormValues(){}
function exchangeBillings(){}

function js_in_array(the_needle, the_haystack){
  var the_hay = the_haystack.toString();
  if(the_hay == '') return false;
  var the_pattern = new RegExp(the_needle, 'g');
  var matched = the_pattern.test(the_haystack);
  return matched;
}

function tXUnCheckthriXXXletter(tof){
  var valNew = tof ? 1 : 0;
  var ops = document.getElementsByName('op2');
  var xflds = document.getElementsByName('XField');
  var tXlta = document.getElementsByName('tXletter');
  var tXccb = document.getElementsByName('txxxtXletter');
  try{
    for(var i = 0; i<ops.length;i++) {
      var old = ops[i].value.split('|');
      var neo = '';
      var pre = '';
      for(var oi=0;oi<old.length;++oi) {
        if ( oi == 2 ) {
          neo = neo + pre + valNew;
        } else {
          neo = neo + pre + old[oi];
        }
        pre = '|';
      }
      document.getElementsByName('op2')[i].value = neo;
    }
    for(var i = 0; i<xflds.length;i++) {
      var old  = Base64.decode(xflds[i].value);
      var tmp  = old.split("&");
      var neo  = "";
      var ppre = "";
      for(var a = 0; a<tmp.length; a++){
        var temp = tmp[a].split('=');
        var key  = temp[0];
        var val  = '';
        var pre  = '';
        for(var v = 1; v<temp.length;v++) {
          val = val + pre + temp[v];
          pre = '=';
        }
        if(key == 'tXletter')  neo = neo + ppre + key + '=' + valNew;
        else neo = neo + ppre + key + '=' + val;
        ppre = "&";
      }
      document.getElementsByName('XField')[i].value = Base64.encode(neo);
    }
    for(var i = 0; i<tXlta.length; i++) { document.getElementsByName('tXletter')[i].value = valNew; }
    for(var i = 0; i<tXccb.length; i++) { document.getElementsByName('txxxtXletter')[i].value = valNew; }
  }catch(e){}
}

function showStartOrDownloadLink(executeable){}

var tXFL = '';
function onLoadFunctions(){
  tXstatus = true;
  if(olf == false){
    olf = true;
      if(typeof tXFlookie == 'object' || typeof tXFlookie == 'function'){
                if((tXFL = new tXFlookie())){
          tXFL.tXReadFlookie();
        }else{
          handleParameters(false);
        }
      }else{
                handleParameters(false);
      }
      }
}
  var content      = new Array();
  content[1] = new Array();
  content[1][1] = new Array();
  content[1][1][1] = '<table width=\"700\"  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><td background=\"[%%img_root%%]images/hentai3d_top01.jpg\" width=\"700\" height=\"66\">&nbsp;</td></tr><tr><td background=\"[%%img_root%%]images/hentai3d_start01.jpg\" width=\"700\" height=\"456\" class=\"style5\" valign=\"top\" alt=\"Top Interactive 3D Hentai Games ! Seduce anime babes - exciting anime porn experience ! Check out the hottest interactive hentai sex games in realtime 3D !\">&nbsp;</td></tr><tr><td background=\"[%%img_root%%]images/hentai3d_spacer01.jpg\" width=\"700\" height=\"9\"><img src=\"[%%img_root%%]images/0.gif\" width=\"1\" height=\"1\" border=\"0\"></td></tr></table>';
  content[1][1][2] = '<img border=\"0\" alt=\"Hentai 3D\" title=\"Hentai 3D\" src=\"[%%img_root%%]images/hentai3d_startpage.jpg\" /><div style=\"position:absolute;top:393px;left:110px;height:37px;width:150px;padding:0;margin:0;\"><a href=\"http://www.hentai3d.com/hentai-games/hentai3d/\" target=\"_parent\" style=\"display:block;width:150px;height:37px;margin:0;\"><img src=\"[%%img_root%%]images/0.gif\" border=\"0\" style=\"width:150px;height:37px;\"></a></div>      <div style=\"position:absolute;top:393px;left:260px;height:42px;width:190px;padding:0;margin:0;\"><a href=\"http://www.hentai3d.com/hentai-games/hentai3d2/\" target=\"_parent\" style=\"display:block;width:190px;height:42px;margin:0;\"><img src=\"[%%img_root%%]images/0.gif\" border=\"0\" style=\"width:190px;height:42px;\"></a></div>      <div style=\"position:absolute;top:393px;left:450px;height:37px;width:150px;padding:0;margin:0;\"><a href=\"http://www.hentai3d.com/hentai-games/anime-winamp-skins/\" target=\"_parent\" style=\"display:block;width:190px;height:37px;margin:0;\"><img src=\"[%%img_root%%]images/0.gif\" border=\"0\" style=\"width:150px;height:37px;\"></a></div>';
  content[1][1][3] = '<img border=\"0\" alt=\"\" title=\"\" src=\"[%%img_root%%]images/hentai3d_menue_spacer.jpg\"/>';
  content[1][1][4] = '<area shape=\"rect\" coords=\"110,393,260,430\" href=\"http://www.hentai3d.com/hentai-games/hentai3d2/\" alt=\"\" title=\"\">\r\n<area shape=\"rect\" coords=\"260,393,450,435\" href=\"http://www.hentai3d.com/hentai-games/hentai3d2/\" alt=\"\" title=\"\">\r\n<area shape=\"rect\" coords=\"450,393,600,430\" href=\"http://www.hentai3d.com/hentai-games/hentai3d2/\" alt=\"\" title=\"\">';
  content[1][2] = new Array();
  content[1][2][1] = '<table width=\"700\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><td background=\"[%%img_root%%]images/hentai3d_top01.jpg\" width=\"700\" height=\"66\">&nbsp;</td></tr><tr><td background=\"[%%img_root%%]images/variations/hentai3d_start01_v1.jpg\" width=\"700\" height=\"456\" class=\"style5\" valign=\"top\" alt=\"Top Interactive 3D Hentai Games ! Seduce anime babes - exciting anime porn experience ! Check out the hottest interactive hentai sex games in realtime 3D !\">&nbsp;</td></tr><tr><td background=\"[%%img_root%%]images/variations/hentai3d_spacer01_v1.jpg\" width=\"700\" height=\"9\"><img src=\"[%%img_root%%]images/0.gif\" width=\"1\" height=\"1\" border=\"0\"></td></tr></table>';
  content[1][2][2] = '<img border=\"0\" alt=\"Hentai 3D\" title=\"Hentai 3D\" src=\"[%%img_root%%]images/variations/hentai3d_start01_v1.jpg\" /><div style=\"position:absolute;top:335px;left:250px;height:40px;width:205px;padding:0;margin:0;\"><a href=\"http://www.hentai3d.com/hentai-games/hentai3d2/\" target=\"_parent\" style=\"display:block;width:205px;height:40px;margin:0;\"><img src=\"[%%img_root%%]images/0.gif\" border=\"0\" style=\"width:205px;height:40px;\"></a></div>      <div style=\"position:absolute;top:375px;left:250px;height:35px;width:205px;padding:0;margin:0;\"><a href=\"http://www.hentai3d.com/hentai-games/hentai3d/\" target=\"_parent\" style=\"display:block;width:205px;height:40px;margin:0;\"><img src=\"[%%img_root%%]images/0.gif\" border=\"0\" style=\"width:205px;height:40px;\"></a></div>      <div style=\"position:absolute;top:410px;left:250px;height:35px;width:205px;padding:0;margin:0;\"><a href=\"http://www.hentai3d.com/hentai-games/anime-winamp-skins/\" target=\"_parent\" style=\"display:block;width:205px;height:40px;margin:0;\"><img src=\"[%%img_root%%]images/0.gif\" border=\"0\" style=\"width:205px;height:40px;\"></a></div>';
  content[1][2][3] = '<img border=\"0\" alt=\"\" title=\"\" src=\"[%%img_root%%]images/variations/hentai3d_spacer01_v1.jpg\"/>';
  content[1][2][4] = '<area shape=\"rect\" coords=\"250,335,455,375\" href=\"http://www.hentai3d.com/hentai-games/hentai3d2/\" alt=\"\" title=\"\">\r\n<area shape=\"rect\" coords=\"250,375,455,410\" href=\"http://www.hentai3d.com/hentai-games/hentai3d/\" alt=\"\" title=\"\">\r\n<area shape=\"rect\" coords=\"250,410,455,445\" href=\"http://www.hentai3d.com/hentai-games/anime-winamp-skins/\" alt=\"\" title=\"\">';
  content[1][3] = new Array();
  content[1][3][1] = '<table width=\"700\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\"><tr><td background=\"[%%img_root%%]images/hentai3d_top01.jpg\" width=\"700\" height=\"66\">&nbsp;</td></tr><tr><td background=\"[%%img_root%%]images/variations/hentai3d_start01_v2.jpg\" width=\"700\" height=\"456\" class=\"style5\" valign=\"top\" alt=\"Top Interactive 3D Hentai Games ! Seduce anime babes - exciting anime porn experience ! Check out the hottest interactive hentai sex games in realtime 3D !\">&nbsp;</td></tr><tr><td background=\"[%%img_root%%]images/variations/hentai3d_spacer01_v2.jpg\" width=\"700\" height=\"9\"><img src=\"[%%img_root%%]images/0.gif\" width=\"1\" height=\"1\" border=\"0\"></td></tr></table>';
  content[1][3][2] = '<img border=\"0\" alt=\"Hentai 3D\" title=\"Hentai 3D\" src=\"[%%img_root%%]images/variations/hentai3d_start01_v2.jpg\" /><div style=\"position:absolute;top:335px;left:250px;height:40px;width:205px;padding:0;margin:0;\"><a href=\"http://www.hentai3d.com/hentai-games/hentai3d2/\" target=\"_parent\" style=\"display:block;width:205px;height:40px;margin:0;\"><img src=\"[%%img_root%%]images/0.gif\" border=\"0\" style=\"width:205px;height:40px;\"></a></div>\r\n      <div style=\"position:absolute;top:375px;left:250px;height:35px;width:205px;padding:0;margin:0;\"><a href=\"http://www.hentai3d.com/hentai-games/hentai3d/\" target=\"_parent\" style=\"display:block;width:205px;height:40px;margin:0;\"><img src=\"[%%img_root%%]images/0.gif\" border=\"0\" style=\"width:205px;height:40px;\"></a></div>\r\n      <div style=\"position:absolute;top:410px;left:250px;height:35px;width:205px;padding:0;margin:0;\"><a href=\"http://www.hentai3d.com/hentai-games/anime-winamp-skins/\" target=\"_parent\" style=\"display:block;width:205px;height:40px;margin:0;\"><img src=\"[%%img_root%%]images/0.gif\" border=\"0\" style=\"width:205px;height:40px;\"></a></div>';
  content[1][3][3] = '<img border=\"0\" alt=\"\" title=\"\" src=\"[%%img_root%%]images/variations/hentai3d_spacer01_v2.jpg\"/>';
  content[1][3][4] = '<area shape=\"rect\" coords=\"250,335,455,375\" href=\"http://www.hentai3d.com/hentai-games/hentai3d2/\" alt=\"\" title=\"\">\r\n<area shape=\"rect\" coords=\"250,375,455,410\" href=\"http://www.hentai3d.com/hentai-games/hentai3d/\" alt=\"\" title=\"\">\r\n<area shape=\"rect\" coords=\"250,410,455,445\" href=\"http://www.hentai3d.com/hentai-games/anime-winamp-skins/\" alt=\"\" title=\"\">';
  content[2] = new Array();
  content[2][1] = new Array();
  content[2][1][1] = '<a href=\"http://www.hentai3d.com/hentai-games/instant-access/\" title=\"Join Now!\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'join_now\',\'\',\'[%%img_root%%]images/menu_joinnow_mo.jpg\',1)\"><img src=\"[%%img_root%%]images/menu_joinnow.jpg\" name=\"join_now\" alt=\"Join Now!\" border=\"0\" height=\"64\" width=\"200\"></a>';
  content[2][1][2] = '<a href=\"http://www.hentai3d.com/hentai-games/instant-access/\" title=\"Join Now!\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'join_now\',\'\',\'[%%img_root%%]images/h3d_access_01_mo.jpg\',1)\"><img src=\"[%%img_root%%]images/h3d_access_01.jpg\" name=\"join_now\" alt=\"Join Now!\" border=\"0\" height=\"64\" width=\"200\"></a>';
  content[2][1][3] = 'Join Now';
  content[2][1][4] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_01\',\'\',\'[%%img_root%%]images/h3d_box_access01mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Join Now\" alt=\"Join Now\" id=\"h3d_access_box_01\" src=\"[%%img_root%%]images/h3d_box_access01.png\"/>';
  content[2][1][5] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_02\',\'\',\'[%%img_root%%]images/h3d_box_access01mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Join Now\" alt=\"Join Now\" id=\"h3d_access_box_02\" src=\"[%%img_root%%]images/h3d_box_access01.png\"/>';
  content[2][1][6] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_03\',\'\',\'[%%img_root%%]images/h3d_box_access01mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Join Now\" alt=\"Join Now\" id=\"h3d_access_box_03\" src=\"[%%img_root%%]images/h3d_box_access01.png\"/>';
  content[2][1][7] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_04\',\'\',\'[%%img_root%%]images/h3d_box_access01mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Join Now\" alt=\"Join Now\" id=\"h3d_access_box_04\" src=\"[%%img_root%%]images/h3d_box_access01.png\"/>';
  content[2][2] = new Array();
  content[2][2][1] = '<a href=\"http://www.hentai3d.com/hentai-games/instant-access/\" title=\"Buy Now!\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'join_now\',\'\',\'[%%img_root%%]images/variations/menu_joinnow_mo_v02.jpg\',1)\"><img src=\"[%%img_root%%]images/variations/menu_joinnow_v02.gif\" name=\"join_now\" alt=\"Buy Now!\" border=\"0\" height=\"64\" width=\"200\"></a>';
  content[2][2][2] = '<a href=\"http://www.hentai3d.com/hentai-games/instant-access/\" title=\"Buy Now!\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'buy_now\',\'\',\'[%%img_root%%]images/h3d_access_02_mo.jpg\',1)\"><img src=\"[%%img_root%%]images/h3d_access_02.gif\" name=\"buy_now\" alt=\"Buy Now!\" border=\"0\" height=\"64\" width=\"200\"></a>';
  content[2][2][3] = 'Buy Now';
  content[2][2][4] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_01\',\'\',\'[%%img_root%%]images/h3d_box_access02mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Buy Now\" alt=\"Buy Now\" id=\"h3d_access_box_01\" src=\"[%%img_root%%]images/h3d_box_access02.png\"/>';
  content[2][2][5] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_02\',\'\',\'[%%img_root%%]images/h3d_box_access02mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Buy Now\" alt=\"Buy Now\" id=\"h3d_access_box_02\" src=\"[%%img_root%%]images/h3d_box_access02.png\"/>';
  content[2][2][6] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_03\',\'\',\'[%%img_root%%]images/h3d_box_access02mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Buy Now\" alt=\"Buy Now\" id=\"h3d_access_box_03\" src=\"[%%img_root%%]images/h3d_box_access02.png\"/>';
  content[2][2][7] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_04\',\'\',\'[%%img_root%%]images/h3d_box_access02mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Buy Now\" alt=\"Buy Now\" id=\"h3d_access_box_04\" src=\"[%%img_root%%]images/h3d_box_access02.png\"/>';
  content[2][3] = new Array();
  content[2][3][1] = '<a href=\"http://www.hentai3d.com/hentai-games/instant-access/\" title=\"Download Now!\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'join_now\',\'\',\'[%%img_root%%]images/variations/menu_joinnow_mo_v03.jpg\',1)\"><img src=\"[%%img_root%%]images/variations/menu_joinnow_v03.gif\" name=\"join_now\" alt=\"Download Now!\" border=\"0\" height=\"64\" width=\"200\"></a>';
  content[2][3][2] = '<a href=\"http://www.hentai3d.com/hentai-games/instant-access/\" title=\"Download!\" onmouseout=\"MM_swapImgRestore()\" onmouseover=\"MM_swapImage(\'download\',\'\',\'[%%img_root%%]images/h3d_access_03_mo.jpg\',1)\"><img src=\"[%%img_root%%]images/h3d_access_03.gif\" name=\"download\" alt=\"Download!\" border=\"0\" height=\"64\" width=\"200\"></a>';
  content[2][3][3] = 'Download';
  content[2][3][4] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_01\',\'\',\'[%%img_root%%]images/h3d_box_access03mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Download!\" alt=\"Download!\" id=\"h3d_access_box_01\" src=\"[%%img_root%%]images/h3d_box_access03.png\"/>';
  content[2][3][5] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_02\',\'\',\'[%%img_root%%]images/h3d_box_access03mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Download!\" alt=\"Download!\" id=\"h3d_access_box_02\" src=\"[%%img_root%%]images/h3d_box_access03.png\"/>';
  content[2][3][6] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_03\',\'\',\'[%%img_root%%]images/h3d_box_access03mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Download!\" alt=\"Download!\" id=\"h3d_access_box_03\" src=\"[%%img_root%%]images/h3d_box_access03.png\"/>';
  content[2][3][7] = '<img border=\"0\" onmouseover=\"MM_swapImage(\'h3d_access_box_04\',\'\',\'[%%img_root%%]images/h3d_box_access03mo.png\',1);\" onmouseout=\"MM_swapImgRestore()\" title=\"Download!\" alt=\"Download!\" id=\"h3d_access_box_04\" src=\"[%%img_root%%]images/h3d_box_access03.png\"/>';
  content[3] = new Array();
  content[3][1] = new Array();
  content[3][1][1] = '<a href=\"http://www.hentai3d.com/hentai-games/instant-access/\" title=\"Unlimited access for only $ 9.95\" class=\"nothing\"><br><span class=\"tourText2\">Unlimited</span><span class=\"tourText3\"> access</span><br><span class=\"tourText3\">for only<span> <span class=\"tourText2\">$ 9.95</span></span></span></a>';
  content[3][2] = new Array();
  content[3][2][1] = '<a href=\"http://www.hentai3d.com/hentai-games/instant-access/\" title=\"Full access starting at $ 0.66 a day!\" class=\"nothing\"><br><span class=\"tourText2\">Full access<br><span class=\"tourText3\">starting at</span> $ 0.66 <span class=\"tourText3\">a day!</span></span></a>';
  content[3][3] = new Array();
  content[3][3][1] = '<a href=\"http://www.hentai3d.com/hentai-games/instant-access/\" title=\"Get your full access NOW!\" class=\"nothing\"><br><span class=\"tourText2\">Get your full<br>access NOW!</span></a>';
  content[4] = new Array();
  content[4][1] = new Array();
  content[4][1][1] = '0';
  content[4][2] = new Array();
  content[4][2][1] = '1';
  var change       = new Array();
  change[1] = new Array();
  change[1][1] = new Array();
  change[1][1][1] = 'innerHTML';
  change[1][1][2] = 'innerHTML';
  change[1][1][3] = 'innerHTML';
  change[1][1][4] = 'innerHTML';
  change[1][2] = new Array();
  change[1][2][1] = 'innerHTML';
  change[1][2][2] = 'innerHTML';
  change[1][2][3] = 'innerHTML';
  change[1][2][4] = 'innerHTML';
  change[1][3] = new Array();
  change[1][3][1] = 'innerHTML';
  change[1][3][2] = 'innerHTML';
  change[1][3][3] = 'innerHTML';
  change[1][3][4] = 'innerHTML';
  change[2] = new Array();
  change[2][1] = new Array();
  change[2][1][1] = 'innerHTML';
  change[2][1][2] = 'innerHTML';
  change[2][1][3] = 'innerHTML';
  change[2][1][4] = 'innerHTML';
  change[2][1][5] = 'innerHTML';
  change[2][1][6] = 'innerHTML';
  change[2][1][7] = 'innerHTML';
  change[2][2] = new Array();
  change[2][2][1] = 'innerHTML';
  change[2][2][2] = 'innerHTML';
  change[2][2][3] = 'innerHTML';
  change[2][2][4] = 'innerHTML';
  change[2][2][5] = 'innerHTML';
  change[2][2][6] = 'innerHTML';
  change[2][2][7] = 'innerHTML';
  change[2][3] = new Array();
  change[2][3][1] = 'innerHTML';
  change[2][3][2] = 'innerHTML';
  change[2][3][3] = 'innerHTML';
  change[2][3][4] = 'innerHTML';
  change[2][3][5] = 'innerHTML';
  change[2][3][6] = 'innerHTML';
  change[2][3][7] = 'innerHTML';
  change[3] = new Array();
  change[3][1] = new Array();
  change[3][1][1] = 'innerHTML';
  change[3][2] = new Array();
  change[3][2][1] = 'innerHTML';
  change[3][3] = new Array();
  change[3][3][1] = 'innerHTML';
  change[4] = new Array();
  change[4][1] = new Array();
  change[4][1][1] = 'value';
  change[4][2] = new Array();
  change[4][2][1] = 'value';

// base 64 class
// Base64.decode(string);
// Base64.encode(string);

var Base64 = {
  // private property
  _keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
  // public method for encoding
  encode : function (input) {
    var output = "";
    var chr1, chr2, chr3, enc1, enc2, enc3, enc4;
    var i = 0;
    input = Base64._utf8_encode(input);
    while (i < input.length) {
      chr1 = input.charCodeAt(i++);
      chr2 = input.charCodeAt(i++);
      chr3 = input.charCodeAt(i++);
      enc1 = chr1 >> 2;
      enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);
      enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);
      enc4 = chr3 & 63;
      if (isNaN(chr2)) {
        enc3 = enc4 = 64;
      } else if (isNaN(chr3)) {
        enc4 = 64;
      }
      output = output +
        this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) +
        this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4);
    }
    return output;
  },
  // public method for decoding
  decode : function (input) {
    var output = "";
    var chr1, chr2, chr3;
    var enc1, enc2, enc3, enc4;
    var i = 0;
    input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
    while (i < input.length) {
      enc1 = this._keyStr.indexOf(input.charAt(i++));
      enc2 = this._keyStr.indexOf(input.charAt(i++));
      enc3 = this._keyStr.indexOf(input.charAt(i++));
      enc4 = this._keyStr.indexOf(input.charAt(i++));
      chr1 = (enc1 << 2) | (enc2 >> 4);
      chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
      chr3 = ((enc3 & 3) << 6) | enc4;
      output = output + String.fromCharCode(chr1);
      if (enc3 != 64) {
        output = output + String.fromCharCode(chr2);
      }
      if (enc4 != 64) {
        output = output + String.fromCharCode(chr3);
      }
    }
    output = Base64._utf8_decode(output);
    return output;
  },
  // private method for UTF-8 encoding
  _utf8_encode : function (string) {
    string = string.replace(/\r\n/g,"\n");
    var utftext = "";
    for (var n = 0; n < string.length; n++) {
      var c = string.charCodeAt(n);
      if (c < 128) {
        utftext += String.fromCharCode(c);
      } else if((c > 127) && (c < 2048)) {
        utftext += String.fromCharCode((c >> 6) | 192);
        utftext += String.fromCharCode((c & 63) | 128);
      } else {
        utftext += String.fromCharCode((c >> 12) | 224);
        utftext += String.fromCharCode(((c >> 6) & 63) | 128);
        utftext += String.fromCharCode((c & 63) | 128);
      }
    }
    return utftext;
  },
  // private method for UTF-8 decoding
  _utf8_decode : function (utftext) {
    var string = "";
    var i  = 0;
    var c  = 0;
    var c1 = 0;
    var c2 = 0;
    while ( i < utftext.length ) {
      c = utftext.charCodeAt(i);
      if (c < 128) {
        string += String.fromCharCode(c);
        i++;
      } else if((c > 191) && (c < 224)) {
        c2 = utftext.charCodeAt(i+1);
        string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
        i += 2;
      } else {
        c2 = utftext.charCodeAt(i+1);
        c3 = utftext.charCodeAt(i+2);
        string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
        i += 3;
      }
    }
    return string;
  }
}
// url en/decode
var Url = {
  // public method for url encoding
  encode : function (string) {
    return escape(this._utf8_encode(string));
  },
  // public method for url decoding
  decode : function (string) {
    return this._utf8_decode(unescape(string));
  },
  // private method for UTF-8 encoding
  _utf8_encode : function (string) {
    string = string.replace(/\r\n/g,"\n");
    var utftext = "";
    for (var n = 0; n < string.length; n++) {
      var c = string.charCodeAt(n);
      if (c < 128) {
        utftext += String.fromCharCode(c);
      } else if((c > 127) && (c < 2048)) {
        utftext += String.fromCharCode((c >> 6) | 192);
        utftext += String.fromCharCode((c & 63) | 128);
      } else {
        utftext += String.fromCharCode((c >> 12) | 224);
        utftext += String.fromCharCode(((c >> 6) & 63) | 128);
        utftext += String.fromCharCode((c & 63) | 128);
      }
    }
    return utftext;
  },
  // private method for UTF-8 decoding
  _utf8_decode : function (utftext) {
    var string = "";
    var i = 0;
    var c = c1 = c2 = 0;
    while ( i < utftext.length ) {
      c = utftext.charCodeAt(i);
      if (c < 128) {
        string += String.fromCharCode(c);
        i++;
      } else if((c > 191) && (c < 224)) {
        c2 = utftext.charCodeAt(i+1);
        string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
        i += 2;
      } else {
        c2 = utftext.charCodeAt(i+1);
        c3 = utftext.charCodeAt(i+2);
        string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
        i += 3;
      }
    }
    return string;
  }
}/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

// thriXXX stuff
function tXFlookie() {
  // variables
  this.tXFlookieVars  = new Array();
  this.tXFlookieVals  = new Array();
  this.tXFlookieDone  = false;
  this.tXFlashVersion = 0;

  // functions
  this.tXconstruct       = tXconstruct;
  this.tXFlooky          = tXFlooky;
  this.tXsetFlookieVar   = tXsetFlookieVar;
  this.tXsetFlashVersion = tXsetFlashVersion;
  this.tXsetFlookie      = tXsetFlookie;
  this.tXsetVariable     = tXsetVariable;
  this.tXgetFlookie      = tXgetFlookie;
  this.tXReadFlookie     = tXReadFlookie;
  this.tXSaveFlookie     = tXSaveFlookie;
  return this.tXconstruct();
}
function tXconstruct() { return this.tXsetFlashVersion(); }
function tXsetFlashVersion() {
  try {
    var flashVersion      = deconcept.SWFObjectUtil.getPlayerVersion();
    flashVersion['major'] = flashVersion['major'] < 6 ? 6 : flashVersion['major'];
    flashVersion['major'] = flashVersion['major'] > 9 ? 9 : flashVersion['major'];
    this.tXFlashVersion   = flashVersion['major'];
  } catch(e) {} finally {}
  return true;
}
function tXsetFlookieVar(tX_k, tX_v) {
  if((typeof tX_k == 'string' || typeof tX_k == 'number') && (typeof tX_v == 'string' || typeof tX_v == 'number')) {
    this.tXFlookieVars[tX_k] = tX_v;
  }
}
function tXsetFlookie() {
  if ( isNaN(this.tXFlashVersion)) this.tXFlashVersion = '9';
  var SWFName = 'http://www.hentai3d.com/js_includes/tXLib/src/tXFlookie[vrs].swf?setData='.replace(/\[vrs\]/,'_'+this.tXFlashVersion);
  var pre     = '&';
  var add     = '';
  var kp      = '';
  var keys    = '';
  for(var i in this.tXFlookieVars){
    if(!(typeof i == 'string' || typeof i == 'number') || !(typeof this.tXFlookieVars[i] == 'string' || typeof this.tXFlookieVars[i] == 'number')) continue;
    add  = add + pre + i + '=' + this.tXFlookieVars[i];
    pre  = '&';
    keys = keys + kp + i;
    kp   = '@@@@';
  }
  SWFName = SWFName + keys + add;
  try {
    if(document.getElementById('swfname') == undefined) {
      var dv = document.createElement('div');
      dv.id = 'swfname';
      document.getElementsByTagName('body')[0].appendChild(dv);
    }
    var so = new SWFObject(SWFName, "swfname2", "1", "1", 8, "#FFF");
    if(!so.write("swfname")) {
      if(handleParameters){
        handleParameters(false);
      }
    }
  } catch(e) {}
}

function tXFlookieDebug(message) {}

function tXgetFlookie() {
  if ( isNaN(this.tXFlashVersion) ) this.tXFlashVersion = 9;
  var SWFName = 'http://www.hentai3d.com/js_includes/tXLib/src/tXFlookie[vrs].swf'.replace(/\[vrs\]/,'_'+this.tXFlashVersion);
  try {
    if(document.getElementById('swfname_g') == undefined) {
      var dv = document.createElement('div');
      dv.id  = 'swfname_g';
      document.getElementsByTagName('body')[0].appendChild(dv);
    }
    var so = new SWFObject(SWFName, "swfname_g2", "1", "1", 8, "#FFF");
    return so.write("swfname_g");
  } catch(e) {}
  return false;
}

function tXsetVariable(names, vals) {
  var dat = names.split("@@@@");
  var val = vals.split("@@@@");
  var dnum = dat.length;
  var vnum = val.length;
  if(dnum == vnum) {
    for(var i = 0;i<dnum;++i) {
      this.tXFlookieVals[dat[i]] = val[i];
    }
  }
  this.tXFlookieDone = true;
}

var txcfi  = 0;
function tXcheckFlookie() {
  if(tXFL.tXFlookieDone || txcfi >= 40) {
    window.clearInterval(tXFLITVL);
    if(tXFL.tXFlookieDone == false && handleParameters){
      handleParameters(false);
    }
  }
  txcfi++;
}

var tXFLITVL = '';
function tXReadFlookie() {
  if(!this.tXgetFlookie()) {}
  tXFLITVL    = window.setInterval('tXcheckFlookie()',50);
}

function tXSaveFlookie(tXSaveFlValues) {
  if(typeof tXSaveFlValues != 'boolean'){
    for(var tXFLKkey in tXSaveFlValues){
      this.tXsetFlookieVar(tXFLKkey,tXSaveFlValues[tXFLKkey]);
    }
  }
  this.tXsetFlookie();
}

function tXFlooky(tXFlNames, tXFlVals) {
  if(typeof tXFlNames == 'string' && tXFlNames.length > 0 && typeof tXFlVals == 'string' && tXFlVals.length > 0){
    this.tXsetVariable(tXFlNames,tXFlVals);
    this.tXFlookieDone = true;
    var check          = false;
    if(handleParameters){
      for(key in this.tXFlookieVals){
        if(key.length > 0 && this.tXFlookieVals[key].length > 0){
          check = true;
        }
      }
      if(check){ handleParameters(this.tXFlookieVals); }
      else{ handleParameters(false); }
    }
  }
}/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
function tXpreload() {
  var n = tXPLIMGS.length;
  for ( i=0; i< n; i++ )
  {
    var tmp = tXPLIMGS[i];
    tXPLIMGS[i] = new Image(); tXPLIMGS[i].src = tmp;
  }
}

function checkForm(e){}
function changeClass(e, newclass){ e.className = newclass; }
