document.write('<style type="text/css">#bct {border:1px solid #ccc;background-color:#f4f4f4;margin:0 9px 0 9px;position:absolute;top:222px;left:1px;width:660px}#bct li{float:left;width:auto}#bct a{display:block;color:#000;padding:10px 9px 10px 12px}#bct a:hover{color:#F06}#bct ul{margin:0;list-style:none;padding:0}#bct div{background-color:#fff}#bcd{position:absolute;top:195px;left:524px;z-index:99;cursor:pointer;color:#444;width:150px;text-align:right;font-size:12px}#bcd b{font-size:14px;line-height:12px;color:#090}#bcd  #hidecat{color:#F00;font-size:22px}#acenter{position:absolute;top:-999em;left:14px; }#togm{cursor: pointer}#togm p{margin:50px 0 0 50px;padding:20px;text-align:center;border:2px solid #F00;width:260px; }#togm span{font-size:12px;}#b_r{min-height:2600px}.brn{height:600px;background:#222}.brn ul{width:154px;font-size:10px;color:#95CC02;list-style-type:square; margin:0;padding:7px 0 0 21px}.brn li a{color:#ddd;font-size:11px;display:block;padding:5px 0 5px 0}.brn li a:hover{text-decoration:underline;color:#0CF}.brn li ul{margin:0 0 0 -3px;padding:0}.brn li ul li{list-style-type:square;color:#0AA7D6;margin-left:15px}.b_ul{margin:0;padding:8px 8px 11px 9px;background:#222}.b_ul a{font-size:13px;color:#ddd;display:block;padding:0 4px 0 0;height:85px}.b_ul a:hover{background-color:#000;color:#0CF}.b_ul li{list-style:none;clear:both;padding:16px 0 16px 0}.b_ul b{display:block;padding-top:8px;font-weight:normal}.b_ul img{float:left;margin-right:9px}#b_cen{width:681px;padding-bottom:10px;background-color:#fff;float:left}#b_body{padding:0 17px 9px 13px;}#b_body a:hover{text-decoration:underline}#b_body h1{margin:9px 9px 14px 0;font-size:27px}#b_body h1 a{color:#03F}#b_by{font-size:12px;color:#888}#b_by a{color:#03F}#b_by b{font-weight:normal}#b_txt{padding:30px 0 77px 0;font-size:110%}#b_sha {height:99px;padding:36px 0 14px 14px}#b_sha ul{margin:0;padding:0}#b_sha li{float:left;list-style:none;width:145px}#b_sha ul ul{background-color:#eee;padding:5px;border:2px solid #666;width:230px;height:260px;margin:-3px 0 0 45px}#b_sha ul ul li{padding:8px 0 8px 0;float:none;width:200px}.abu{font-size:16px;color:#000;float:right;padding:4px;border:2px solid #ccc}.abu b{color: #F36}.b_sha{background:url(http://axaru.com/i/wb/sha.png) no-repeat;padding:2px 0 0 27px;margin-right:21px}#nextpic{padding:30px 0 0 0;border-top:2px solid #eee;height:120px}#nextpic a{font-size:16px;color:#03F;font-weight:bold;display:block;height:80px}#nextpic a:hover{background-color:#eee}#nextpic h3{width:320px;float:left;margin-left:12px}#nextpic img{float:left;margin-right:5px}#nextpic p{font-size:12px}.ch span{font-size:16px}.related{margin:9px 9px 40px 0}.ee{color:#ccc;font-size:90%}.qq{border:1px dashed #aaa;padding:9px;margin:9px}.blog_i h3{font-size:22px}.blog_hr{margin:30px 0 30px 0;border:none;border-top:9px solid #ccc}</style>');
var tzz=9;var Blink;
function TOGM(diz){var Tod=$('#b_txt');
if (tzz==0){
diz.innerHTML='<span><b style="color:red">X</b> Hide Mature Content</span>';
Tod.css('visibility','visible');tzz=1;
}else {
diz.innerHTML='<p>Show Mature Content</p>';
Tod.css('visibility','hidden');
tzz=0;}
}

function wrcom(Tog){
if (Tog==1){
var Tod=$('#b_txt');
Tod.css({'visibility':'hidden'});
Tod.before('<div id="togm" onclick="TOGM(this)"><p>Show Mature Content</p></div>');tzz=0;
}

var BT=document.getElementById("b_tit"),BTT=encodeURIComponent(BT.innerHTML)
,targ='class="b_sha" target="_blank" ';Blink=BT.href;var BTL=encodeURIComponent(Blink);
document.write('<div id="b_sha"><ul class="naf"><li style="width:363px"><a name="fb_share" type="button_count" share_url="'+BT.href+'" href="http://www.facebook.com/sharer.php?u='+BTL+'&title='+BTT+'">Share</a></li><li><a href="#" class="abu"><b style="color:green">+</b> Share This</a><ul><li><a href="http://blog.asiantown.net/email.aspx?id='+BID+'" '+targ+' style="background-position:0 -29px">Email This</a></li><li><a href="http://www.facebook.com/sharer.php?u='+BTL+'&title='+BTT+'" '+targ+' style="background-position:0 -285px">Facebook</a></li><li><a href="http://digg.com/submit?phase=2&url='+BTL+'&title='+BTT+'" '+targ+' style="background-position:0 -132px">Digg</a></li><li><a href="http://www.google.com/bookmarks/mark?op=edit&bkmk='+BTL+'&title='+BTT+'" '+targ+' style="background-position:0 -246px">Google Bookmarks</a></li><li><a href="http://twitter.com/home?status='+BTT+'%20http%3A%2F%2Fblog.asiantown.net%2Fblog.aspx%3Fi%3D'+BID+'" '+targ+' style="background-position:0 -363px">Twitter</a></li><li><a href="http://www.stumbleupon.com/submit?url='+BTL+'&title='+BTT+'" '+targ+' style="background-position:0 -205px">StumbleUpon</a></li><li><a href="/addfavorites.aspx?id='+BID+'">Add to Favorites</a></li></ul></li><li><a href="#" class="abu" onclick="if (!isAU){alert(\'Login First\');Login(dit);}else{window.scrollTo(0,$(\'#acom\').position().top);};return false;"><b>+</b> Add Comments</a></li></ul>  <iframe src="http://www.facebook.com/plugins/like.php?href='+BTL+'&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=like&amp;colorscheme=light&amp;height=35" scrolling="no" frameborder="0" height="35" width="450"></iframe> <div><a href="http://twitter.com/share?url='+BTL+'" target="_blank" class="twitter-share-button" data-url="'+Blink+'" data-text="'+BT.innerHTML+'" data-count="horizontal" data-via="asiantown">Tweet</a></div></div>');
}

var comvar=[],VPIC;
function LC(){var CU=escape(Q('p'));CU=CU.replace(/#last/ig,'');
if (isNaN(parseInt(CU))){CU="";}
comvar.push('http://c.axaru.com/coms.ashx?i='+BID+'&p='+CU,'/acom.ashx?i='+BID,640,140,0,$('#b_txt').height()+400,Blink,1);
LSC('http://axaru.com/j/com.js');
Zpic('#b_txt img',0,0,199,650);

if (document.getElementById('bron')){
var BRN=document.getElementById('bron').innerHTML, bdag=tm(document.getElementById("b_date").innerHTML);
if (BRN.length>9){BRN=' - <a href="'+BRN+'" onclick="window.open(\''+BRN+'\');return false;">Source</a> <img src="http://axaru.com/i/wb/n.gif" alt="open new window" width="20" height="20" />';document.getElementById('bron').innerHTML=BRN;}
document.getElementById('b_date').innerHTML=bdag;}
LCAT();
LSC('http://static.ak.fbcdn.net/connect.php/js/FB.Share');LSC('http://platform.twitter.com/widgets.js');
}
function LCAT(){var tco=parseInt(gec('bc')),bcd=$('#bcd');
if (isNaN(tco)){tco=1;}
if (tco==1){TOG(bcd,1);}else {TOG(bcd,0);}
bcd.click(function(){var d=$(this);if (bcd.text().indexOf('-')==-1){TOG(d,1);tco=1;sco('bc','1',3600000,'blog');}else {TOG(d,0);tco=0;sco('bc','0',3600000,'blog');}});}

function TOG(BT,a){var c=$('#bct');if (a==1){BT.html('<b id="hidecat">-</b> hide categories'); c.show();$('#b_body, #acenter').css('padding-top','90px');}else {BT.html('<b>+</b> show categories');c.hide();$('#b_body, #acenter').css('padding-top','0');}}
function BX(){
//if (isc!=-1){
$(document).ready(function() {
HOOG=$("#b_txt").height();
if (tzz==0){HOOG=HOOG+50;}
var ps=$('#b_sha').position();
document.getElementById('acenter').style.top=(ps.top-40)+'px';
});
if (isAU){$('#raz').append('<a href="#" onclick="$(\'#raz, #tap\').remove();return false">hide ads</a>');}
}
function viewflash(f_ur,f_wd,f_hd){if (f_wd==null){f_wd=800;}if (f_hd==null){f_hd=500;}
var win=window.open("","_blank","width="+f_wd+",height="+f_hd+",scrolling=1,resizable=1,status=1,scrollbars=1");win.document.open("text/html","replace");win.document.write('<html><head><title>Asiantown.NET</title><style></style></head><body><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100%" height="100%" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" /><param name="src" value="'+f_ur+'" /><embed type="application/x-shockwave-flash" width="100%" height="100%" src="'+f_ur+'" allownetworking="internal" allowscriptaccess="never"></embed></body></html>');
win.document.close();}
