if (top.frames.length!=0) {if (window.location.href.replace){top.location.replace(self.location.href);} else {top.location.href=self.document.href;}}
var dit=document.URL.toLowerCase();if (dit.indexOf('asiantown.net')==-1&&dit.indexOf('asntown.net')==-1){window.location.replace('http://my.asiantown.net/');}
var My='http://my.asiantown.net/';var NTU=0;var iq="http://axaru.com/i/";var IE6=((document.all)&&(navigator.appVersion.indexOf("MSIE")!=-1)) ? true:false;
function sco(nN,vL,xP,dOm) {if (xP==0){xP=new Date();xP.setTime(xP.getTime()-9);} document.cookie=nN+"="+escape(vL)+((xP)?"; expires="+xP.toGMTString():"") +((dOm) ? "; domain=" + dOm+".asiantown.net" : "; domain=asiantown.net");}
function gec(QCN) {var CuQ = QCN+ "=";var ca=document.cookie.split(';');for (var i=0;i<ca.length;i++) {var c=ca[i].toString();while (c.charAt(0)==' ') c=c.substring(1,c.length);
if (c.indexOf(CuQ)==0) return c.substring(CuQ.length,c.length);}
return 0;} 
var lay=gec('j');var ReZ=2;if (window.screen.width<=800){ReZ=0;}
document.write('<link rel="stylesheet" type="text/css" href="http://axaru.com/sk/'+ReZ+'_'+lay+'/c.css" />');

var mem=gec('p');if(mem=='0'){mem='Guest';}
function ATH(){if (mem=='Guest'){document.write('<p><h1><a href="http://login.asiantown.net/login.aspx?ReturnUrl='+escape(dit)+'">Login First!</a></h1></p>');}}
function shS(Vb){var bV='visible';if (Vb==0){bV='hidden';}
var Hde=document.getElementById('sez');
if (Hde!=null){Hde.style.visibility=bV;}
//var seL=document.getElementsByTagName('select');
//for(var i=0;i<seL.length;i++){seL[i].style.visibility=bV;}
}
function p(tW,fW) {window.open(tW,"_blank",fW);}
var sfh=function() {
var sfEls=document.getElementById("tpn").getElementsByTagName("LI");var sfL=sfEls.length;for (var i=0;i<sfL;i++) {sfEls[i].onmouseover=function(){
this.className+=" sfh";shS(0);}
sfEls[i].onmouseout=function() {this.className=this.className.replace(" sfh", "");shS();}}
}


function rn(ni) {return (Math.ceil(Math.random()*ni));}
function t(Tx){
var Ji='<a href="http://login.asiantown.net/login.aspx?ReturnUrl='+escape(dit)+'">Login</a>';
var sGn='http://my.asiantown.net/signup.aspx" style="color:red;">&nbsp; Sign Up! &nbsp; ';
if (mem!='Guest'){Ji='<a href="http://my.asiantown.net/logout.aspx">Logout</a>';sGn='http://editpage.asiantown.net/profile.aspx">my account';}
var wF='';if (ReZ==2){wF='<li><div><a href="http://news.asiantown.net/">News</a></div></li> ';}
document.write('<div id="tga"><div><a href="http://my.asiantown.net/index.html" style="display:block;width:180px;">&nbsp;</a></div></div><div id="mtop"><a href="http://asiantown.net/'+mem+'" class="ww">'+mem+'<b class="ona">*</b></a></div><div id="log"><ul><li><a href="http://notes.asiantown.net/default.aspx" id="nox">my notes</a></li><li><a href="http://editpage.asiantown.net/design.aspx">edit page</a></li><li><a href="'+sGn+'</a></li><li>'+Ji+'</li></ul></div><div id="tpn"><ul><li style="width:103px;"><div><a href="http://my.asiantown.net/index.html">Home</a></div></li><li style="width:116px;"><div><a href="http://asiantown.net/index.html">Community</a></div><ul><li><a href="http://forums.asiantown.net/index.html"><b>&middot;</b> Forums</a></li><li><a href="'+My+'chat/index.html"><b>&middot;</b> Chat Rooms</a></li><li><a href="'+My+'motd/default.aspx"><b>&middot;</b> Member of the Day</a></li><li><a href="'+My+'members.aspx"><b>&middot;</b> New Members</a></li><li><a href="'+My+'onlinemembers.aspx"><b>&middot;</b> Members Online</a></li><li><a href="'+My+'membersearch.aspx"><b>&middot;</b> Members Search</a></li><li><a href="http://my.asiantown.net/updated.aspx"><b>&middot;</b> Updated Pages</a></li></ul></li><li style="width:123px;"><div><a href="'+My+'entertainment/index.html">Entertainment</a></div><ul><li><a href="'+My+'weblog/default.aspx"><b>&middot;</b> Weblogs</a></li><li><a href="http://rate.asiantown.net/index.html"><b>&middot;</b> Picture Ratings</a></li><li><a href="http://news.asiantown.net/default.aspx"><b>&middot;</b> News</a></li><li><a href="'+My+'lotto/index.html"><b>&middot;</b> Lottery</a></li><li><a href="'+My+'quotes/default.aspx"><b>&middot;</b> Quotes</a></li></ul></li><li><div><a href="http://rate.asiantown.net/index.html">Ratings</a></div><ul><li><a href="http://rate.asiantown.net/rate.aspx"><b>&middot;</b> Rate Females</a></li><li><a href="http://rate.asiantown.net/rate.aspx?c=1"><b>&middot;</b> Rate Males</a></li><li><a href="http://rate.asiantown.net/hot.aspx"><b>&middot;</b> Pick The Hottie</a></li><li><a href="http://rate.asiantown.net/myrates.aspx"><b>&middot;</b> My Rates</a></li></ul></li><li><div><a href="http://forums.asiantown.net/index.html">Forums</a></div><ul><li><a href="http://forums.asiantown.net/active.html"><b>&middot;</b> Active Topics</a></li><li><a href="http://forums.asiantown.net/favoritetopics.aspx"><b>&middot;</b> My Favorite Topics</a></li><li><a href="http://forums.asiantown.net/mytopics.aspx"><b>&middot;</b> My Created Topics</a></li></ul></li><li><div><a href="http://blogs.asiantown.net/index.html">Blogs</a></div></li>  '+wF+' <li><div><a href="http://edit.asiantown.net/index.html">My Tools</a></div> <ul style="margin-left:-20px;"><li><a href="http://editpage.asiantown.net/pages.aspx"><b>&middot;</b> My Pages</a></li><li><a href="http://avatar.asiantown.net/upload.aspx"><b>&middot;</b> My Avatar</a></li><li><a href="http://my.asiantown.net/my/onlinemode.aspx"><b>&middot;</b> Online Mode</a></li><li><a href="http://img.asiantown.net/my_images.aspx"><b>&middot;</b> My Images</a></li><li><a href="http://editpage.asiantown.net/pagelog.aspx"><b>&middot;</b> My Page Log</a></li><li><a href="http://my.asiantown.net/my/kudos.aspx"><b>&middot;</b> My Kudos</a></li><li><a href="http://edit.asiantown.net/index.html"><b>&middot;</b> More...</a></li></ul> </li> </ul></div>');
if (Tx==null||Tx==0){
document.write('<div id="bnn" style="background-image:url(http://axaru.com/sk/'+ReZ+'_'+lay+'/'+rn(39)+'.jpg);">&nbsp;</div>');
}else{
if (Tx==9){document.write('<div style="height:99px;background-image:url(http://axaru.com/sk/bg/bnn_2.png);">&nbsp;</div>');}
}
if (Tx!=1&&Tx!=0){document.write('<div id="bb">&nbsp;</div>');}
if (IE6){sfh();}else {if (window.attachEvent) window.attachEvent("onload", sfh);}}
function o(Ds){if (Ds!=1){Ds='<div id="bakb"><a href="javascript:history.go(-1)">&nbsp;</a></div>';} else {Ds='';}
document.write('<div id="o" onclick="javascript:scroll(0,0)"><div id="cop">&copy; 2008 AsianTown.NET - All rights reserved - <a href="http://asiantown.net/terms.html">Terms of Service</a> - <a href="http://asiantown.net/advertise.html">Advertise</a> - <a href="http://asiantown.net/privacy.html">Privacy</a> - <a href="http://asiantown.net/help.html">Help</a></div></div><div id="ifr"> </div>'+Ds);
if (NTU==1){document.getElementById('nox').style.color='red';document.getElementById('nox').style.textDecoration='underline';}
}
function b(snA){var ReB=new RegExp("[\\?&]"+snA+"=([^&#]*)");var RzZ=ReB.exec(window.location.href);if(RzZ==null) return 0;else return RzZ[1];}
//7200000 su 3600000 wi
var nuu=new Date();var nutm=nuu.getTime();var njaar=nuu.getYear();if (njaar<2000){njaar=1900+njaar;}var dsv=3600000;
var fWv=(Math.floor((5*njaar)/4)-Math.floor(njaar/100)+Math.floor(njaar/400))%7;
var ZmT=new Date(njaar,2,(31-((fWv+5)%7)),1);var WnT=new Date(njaar,9,(31-((fWv+2)%7)),1);
if (nutm>=ZmT.getTime()&&nutm<WnT.getTime()){dsv=7200000;}
function tijd(dz){var maan=new Array('January','February','March','April','May','June','July','August','September','October','November','December');
var gmt=new Date(dz);var gtt=gmt.getTime();var gma=new Date(gtt-(60000*(gmt.getTimezoneOffset()))-dsv);var uur=gma.getHours();
return  maan[gma.getMonth()]+' '+gma.getDate()+', '+gma.getYear();}
function tm(n9){var n8=new Date(n9);var n7=new Date(n8.getTime()-(60000*(n8.getTimezoneOffset()))-dsv);return n7.toLocaleString();}
function s9(S8){var e5=new Date();e5.setTime(e5.getTime()+S8);var e6=new Date();e6.setTime(e6.getTime()+360000);sco("w",e5.getTime(),e6);}
if (mem!='Guest'){var h8=new Number(gec("w"));if (h8!=0){var h3=new Date();var h9=h3.getTime();if ((h8-h9)<0) {document.write('<sc'+'ript type="text/javascript" src="'+My+'a.ashx"></scr'+'ipt>');s9(300000);}}else { s9(30000);}}
function ox(Hg){var ofz=document.getElementById('mmb');	if (ofz.offsetHeight<Hg){ofz.style.height=Hg+'px';}}
function AV(aw,aB){if(aB==null){aB='a';} var fG=aw.split("");var FZ='http://a.axaru.com/'+aB+'/'+fG[0]+'/'+fG[1]+'/'+fG[2];if (aw.length>3){FZ=FZ+'/'+fG[3];}
return FZ;}
function tem(dz){var dt=new Date(dz);var gws=new Date(dt.getTime()-(60000*dt.getTimezoneOffset())-dsv);var maan=new Array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');var uur=gws.getHours();var pam='AM';if (uur>12){pam='PM';}
var muu=gws.getMinutes();if (muu<10){muu='0'+muu;}
var JaR=gws.getYear();if (JaR<1900){JaR=JaR+1900;}
return gws.getDate()+' '+maan[gws.getMonth()]+' '+JaR+', '+uur+':'+muu+' '+pam;}
function VL(Vf){var Vk;var Lt=ON.length-1;var iJ;for(iJ=0;iJ<Lt;iJ++){Vk='on'+ON[iJ];if (Vf==Vk){return true;break;}} return false;}
function VO(){var DC=document.getElementsByTagName("i");var dL=DC.length;for (var i=0;i<dL;i++){if(VL(DC[i].className)) {DC[i].innerHTML="*";}}}
function OV(){var IK,ij,y,X;var QQ=new Array();var DC=document.getElementsByTagName("i");var dL=DC.length;for (ij=0;ij<dL;ij++) {if(DC[ij].getAttribute("title")=="*") {IK=DC[ij].className;IK=IK.replace(/on/ig,'');QQ.push(IK);}} var nA=new Array();for(X=0;X<QQ.length;X++){ nA[QQ[X]]=1;} var Vz=new Array();for(y in nA){Vz.push(y);} var Qk=Vz.join(',');document.write('<scr'+'ipt type="text/javascript" src="http://n.axaru.com/on.aspx?q='+Qk+'" defer="defer"></scri'+'pt>');}
function rB(mB){document.getElementById('ram').innerHTML='Random Member<div><a href="http://asiantown.net/'+mB+'"><img src="'+AV(mB)+'/'+mB+'.jpg" alt="'+mB+'" width="99" height="99" /></a><br /><a href="http://asiantown.net/'+mB+'">'+mB+'</a></div>';}
if (!window.XMLHttpRequest){window.XMLHttpRequest=function(){return new ActiveXObject("Microsoft.XMLHTTP");}}
function LMX(UrL,myFu,VRZ){var xmlhttp=new XMLHttpRequest();xmlhttp.onreadystatechange=function() {if (xmlhttp && xmlhttp.readyState==4) {if (xmlhttp.status==200) {eval(myFu + "(xmlhttp.responseText)");}}}
if (VRZ==null){xmlhttp.open("GET",UrL,true);xmlhttp.send(null);}else{xmlhttp.open("POST",UrL,true);xmlhttp.setRequestHeader("Method", "POST "+VRZ+" HTTP/1.1");xmlhttp.setRequestHeader("Content-Type","application/x-www-form-urlencoded");xmlhttp.send(VRZ);}}
var ns=(document.layers);var ie=(document.all);var w3=(document.getElementById && !ie);var CaU=ns? "" : "px";var aDiv;
function iAd(DYV){if(!ns && !ie && !w3) {return;}if(ie){aDiv=eval('document.all.'+DYV+'.style');}else if(ns)	{aDiv=eval('document.layers["'+DYV+'"]');}else if(w3)	{aDiv=eval('document.getElementById("'+DYV+'").style');}}
function oAd(MeS,DYV){document.getElementById(DYV).innerHTML=MeS;if (ie){documentWidth=trub().offsetWidth/2+trub().scrollLeft-20;documentHeight=trub().offsetHeight/2+trub().scrollTop-20;}	
else if (ns){documentWidth=window.innerWidth/2+window.pageXOffset-20;documentHeight=window.innerHeight/2+window.pageYOffset-20;
} else if (w3){documentWidth=self.innerWidth/2+window.pageXOffset-20;documentHeight=self.innerHeight/2+window.pageYOffset-20;} 
aDiv.left=documentWidth-100+CaU;aDiv.top=documentHeight-100+CaU;if (ie||w3){aDiv.visibility="visible";aDiv.display="block";}else{aDiv.visibility ="show";}}
function xAd(){if (ie||w3){aDiv.display="none";}else{aDiv.visibility ="hide";}}
function trub(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body;}
