var ad_I;ad_I='';function adlistshow(ad_y,ad_z,ad_C,ad_V,ad_K,ad_M,ad_L,ad_U,ad_J,ad_H){var ad_W,ad_aT,ad_aU,ad_ay,ad_az,ad_aR,ad_aC;this.ad_aZ=ad_z;this.ad_ai=ad_C;this.ad_aW=ad_M;this.ad_aV=ad_L;this.ad_bn=ad_V;this.face=ad_K;if(ad_H>0){this.ad_ak=ad_H;}else{this.ad_ak=20000;}if(typeof(ad_U)=='undefined'){this.ad_bi=true;}else{this.ad_bi=ad_U;};if(typeof(ad_J)=='undefined'){this.direction=0;}else{this.direction=ad_J;};switch(ad_V){case 0:case 4:case 5:case 6:case 9:case 10:case 11:case 12:case 13:case 14:this.ad_bh=0;break;case 8:this.ad_bh=2;break;default:this.ad_bh=1;break;}var ad_Z=new Array();var ad_aa=new Array();var i,j,k,ad_ba,ad_aM,ad_bm;i=0;j=-1;k=0;ad_ba=-1;ad_aM=0;ad_bm=1;if(this.ad_bh==0){for(i=0,j=0;i<ad_y.length;i++){if(this.ad_ag(ad_y[i])){ad_Z[j]=ad_y[i];j++;}}this.ad_aQ=j+1;this.ad_aX=ad_Z;}else if(this.ad_bh==1){ad_Z[0]=new Array();ad_Z[1]=new Array();for(i=0;i<ad_y.length;i++){if(ad_y[i][5]<=100){if(ad_y[i][5]!=ad_ba){ad_ba=ad_y[i][5];ad_aM=0;j++;k=0;}else{k++;}ad_aC=0;}else{if(ad_y[i][5]!=ad_ba||ad_y.length<=2){if(ad_ba<=100)j=-1;ad_ba=ad_y[i][5];ad_aM=1;j++;k=0;ad_bm=0;}else{if(ad_bm>=ad_ba-100){j++;k=0;ad_bm=0;}else{k++;}}ad_aC=1;}if(this.ad_ag(ad_y[i])){if(k==0)ad_Z[ad_aM][j]=new Array();ad_Z[ad_aM][j][k]=ad_y[i];ad_bm++;}}for(i=0;i<ad_Z.length;i++){if(i==1){ad_aT=ad_Z[i].length;ad_ay=(getCookie1('fl')%ad_aT);ad_W=ad_Z[i][ad_ay%ad_aT];ad_Z[i][ad_ay%ad_aT]="";ad_Z[i].sort(ad_v);if(ad_Z[i][0]==""){ad_Z[i][0]=ad_W;}else{for(j=1;j<ad_Z[i].length;j++){if(ad_Z[i][j]==""){ad_Z[i][j]=ad_Z[i][0];ad_Z[i][0]=ad_W;break;}}}};for(j=0;j<ad_Z[i].length;j++){ad_aT=ad_Z[i][j].length;ad_ay=(getCookie1('fl')%ad_aT);ad_W=ad_Z[i][j][ad_ay%ad_aT];ad_Z[i][j][ad_ay%ad_aT]="";ad_Z[i][j].sort(ad_v);if(ad_Z[i][j][0]==""){ad_Z[i][j][0]=ad_W;}else{for(k=1;k<ad_Z[i][j].length;k++){if(ad_Z[i][j][k]==""){ad_Z[i][j][k]=ad_Z[i][j][0];ad_Z[i][j][0]=ad_W;break;}}}}}k=0;for(i=0;i<ad_Z.length;i++){for(j=0;j<ad_Z[i].length;j++){ad_aa[k]=ad_Z[i][j];k++;}}this.ad_aX=ad_aa;this.ad_aQ=k;}else if(this.ad_bh==2){for(i=0,j=0;i<ad_y.length;i++){if(this.ad_ag(ad_y[i])){ad_Z[j]=new Array();ad_Z[j][0]=new Array();ad_Z[j][0][0]=ad_y[i][0];ad_Z[j][0][1]=ad_y[i][2];ad_Z[j][0][2]=ad_y[i][3];ad_Z[j][0][3]=ad_y[i][4];ad_Z[j][0][4]=ad_y[i][5];ad_Z[j][1]=new Array();ad_Z[j][1][0]=ad_y[i][1];ad_Z[j][1][1]=ad_y[i][2];ad_Z[j][1][2]=ad_y[i][3];ad_Z[j][1][3]=ad_y[i][6];ad_Z[j][1][4]=ad_y[i][7];j++;}}ad_Z.sort(ad_v);this.ad_aQ=j+1;this.ad_aX=ad_Z;}if(this.ad_bh!=1){k=0;ad_aU=0;ad_az=0;var ad_ab=new Array();for(i=0;i<ad_Z.length;i++){ad_ab[k]=ad_Z[i];k++;}ad_aU=ad_Z.length;ad_az=(getCookie1('fl')%ad_aU);if(ad_aU!=0){ad_W=ad_ab[ad_az%ad_aU];ad_ab[ad_az%ad_aU]="";if(ad_ab[0]==""){ad_ab[0]=ad_W;}else{for(ad_aR=1;ad_aR<ad_aU;ad_aR++){if(ad_ab[ad_aR]==""){ad_ab[ad_aR]=ad_ab[0];ad_ab[0]=ad_W;}}}}this.ad_aX=ad_ab;this.ad_aQ=k;}this.ad_aP();};adlistshow.prototype.ad_aP=function(){switch(this.ad_bn){case 0:this.ad_as();break;case 1:case 7:this.ad_aq();break;case 2:this.ad_ao(0);break;case 3:this.ad_ao(1);break;case 4:this.ad_ao(2);break;case 5:this.ad_ar(false);break;case 6:this.ad_ar(true);break;case 8:this.ad_am();break;case 9:this.ad_at();break;case 10:this.ad_ap();break;case 11:this.ad_an(0);break;case 12:this.ad_an(1);break;case 13:this.ad_an(2);break;case 14:this.ad_an(3);break;default:break;}};adlistshow.prototype.ad_ae=function(index){if(this.ad_bh==0){return true;}else{if(this.ad_aX.length==index+1){return true;}else{return false;}}};adlistshow.prototype.ad_as=function(){document.write('<table ',(this.ad_aW>0)?'width='.concat(this.ad_aW):'',' cellspacing=0 cellpadding=0 border=0 align=center>');this.ad_bV(this.ad_aX,0);document.write('</table>');};adlistshow.prototype.ad_aq=function(){if(this.face==0){document.write('<table ',(this.ad_aW>0)?'width='.concat(this.ad_aW):'',' cellspacing=0 cellpadding=0 border=0 align=center>');}else if(this.face==2){document.write('<table ',(this.ad_aW>0)?'width='.concat(this.ad_aW):'',' cellspacing=0 cellpadding=0 border=0 align=center><tr>');}for(var i=0;i<this.ad_aX.length;i++){this.ad_bV(this.ad_aX[i],i,this.ad_ae(i));if(this.face==0){document.write('<tr><td height="3"></td></tr>');}else if(this.face==2){document.write('<td width="3"></td>');}if(this.face==1&&(!this.ad_ae(i))){document.write('<tr><td height="1" bgcolor="#808080"></td></tr>');}}if(this.face==0){document.write('</table>');}else if(this.face==2){document.write('</tr></table>');}};adlistshow.prototype.ad_ao=function(type){if(type==2){document.write('<DIV id="floatdiv',this.ad_aZ,'" style="position:absolute;overflow:hidden;top:0;left:-200;',(this.ad_aV>0)?'height:'.concat(this.ad_aV):'180',';',(this.ad_aW>0)?'width:'.concat(this.ad_aW):'115',';">');this.ad_bO(this.ad_aX);}else{document.write('<DIV id="floatdiv',this.ad_aZ,'" style="position:absolute;top:0;left:-200;',(this.ad_aW>0)?'width:'.concat(this.ad_aW):'115',';">');this.ad_aq();}document.write('</DIV>');if(this.ad_aX.length>0){ad_b('floatdiv'.concat(this.ad_aZ),type);}};adlistshow.prototype.ad_an=function(type){switch(type){case 0:case 1:document.write('<DIV id="fixfloatdiv',this.ad_aZ,'" style="position:absolute;z-index:200;top:0;left:-200;',(this.ad_aW>0)?'width:'.concat(this.ad_aW):'120',';">');break;case 2:case 3:document.write('<DIV id="fixfloatdiv',this.ad_aZ,'" style="position:absolute;z-index:200;top:0;left:-200;',(this.ad_aV>0)?'height:'.concat(this.ad_aV):'150',';',(this.ad_aW>0)?'width:'.concat(this.ad_aW):'120',';">');break;}this.ad_bQ(this.ad_aX,0);document.write('</DIV>');if(this.ad_aX.length>0){ad_a('fixfloatdiv'.concat(this.ad_aZ),type);}};adlistshow.prototype.ad_ar=function(type){ad_bB=this.ad_aX[0][2].lastIndexOf(',');ad_bz=this.ad_aX[0][2].substr(ad_bB+2);ad_bk=ad_g(ad_bz,this.ad_aX[0][1],true);var ad_ac=this.ad_aX[0][2].split(",");ad_u(this.ad_aX[0][0],ad_bk,'Advertisment',ad_ac[2],ad_ac[9],ad_ac[8],screen.height-ad_ac[9]-80,(screen.width-770)/2+410-5,type);};adlistshow.prototype.ad_am=function(){document.write('<table align=center ',(this.ad_aW>0)?'width='.concat(this.ad_aW):'',' cellspacing=0 cellpadding=0 border=0>');this.ad_bP(this.ad_aX,0);document.write('</table>');};adlistshow.prototype.ad_at=function(){document.write('<table align=center ',(this.ad_aW>0)?'width='.concat(this.ad_aW):'',' cellspacing=0 cellpadding=0 border=0>');this.ad_bW(this.ad_aX,0);document.write('</table>');};adlistshow.prototype.ad_ap=function(){document.write('<table align=center ',(this.ad_aW>0)?'width='.concat(this.ad_aW):'',' cellspacing=0 cellpadding=0 border=0>');this.ad_bS(this.ad_aX,0);document.write('</table>');};adlistshow.prototype.ad_bV=function(ad_bd,index,ad_aS){if(this.face==1){document.write('<tr><td id="',this.ad_aZ,'_',index,'" style="padding:4px;">');}else if(this.face==2){document.write('<td id="',this.ad_aZ,'_',index,'" style="padding:4px;">');}else{document.write('<tr><td id="',this.ad_aZ,'_',index,'">');}document.write(ad_h(ad_bd[0],this.ad_aW,this.ad_aV));if(ad_bd.length>1){var ad_aL=''.concat(this.ad_aZ).concat('_').concat(index);var ad_al=this.ad_ak;var ad_aW=this.ad_aW;var ad_aV=this.ad_aV;if(this.ad_bi)setTimeout(function(){ad_i(ad_bd,0,ad_aL,ad_al,ad_aW,ad_aV,1)},ad_al);}if(this.face==2){document.write('</td>');}else{document.write('</td></tr>');}};adlistshow.prototype.ad_bU=function(ad_bd,ad_aS){for(var i=0;i<ad_bd.length;i++){if(this.face==1){document.write('<tr><td style="padding:4px;">');}else if(this.face==2){document.write('<td style="padding:4px;">');}else{document.write('<tr><td>');}document.write(ad_h(ad_bd[i],this.ad_aW,this.ad_aV));if(this.face==2){document.write('</td>');}else{document.write('</td></tr>');}if(this.face==0){document.write('<tr><td height="3"></td></tr>');}else if(this.face==0){document.write('<td width="3"></td>');}if(this.face==1&&(i<ad_bd.length-1)){document.write('<tr><td height="1" bgcolor="#808080"></td></tr>');}}};adlistshow.prototype.ad_bO=function(ad_bd){document.write('<DIV id="subdiv',this.ad_aZ,'" style="position:absolute;',(this.ad_aV>0)?'top:'.concat(this.ad_aV):'180',';',(this.ad_aW>0)?'width:'.concat(this.ad_aW):'115',';',(this.ad_aV>0)?'height:'.concat(this.ad_aV):'180',';">');document.write(ad_h(ad_bd[0],this.ad_aW,this.ad_aV));var ad_aL='subdiv'.concat(this.ad_aZ);var ad_al=this.ad_ak;var ad_aW=this.ad_aW;var ad_aV=this.ad_aV;setTimeout(function(){ad_w(ad_bd,0,ad_aL,ad_al,ad_aW,ad_aV)},500);document.write('</DIV>');};adlistshow.prototype.ad_bP=function(ad_bd){if(ad_bd.length<=0)return;var ad_aW=this.ad_aW;var ad_aV=this.ad_aV;var ad_aL=''.concat(this.ad_aZ);var ad_al=this.ad_ak;document.write('<tr><td>');document.write('<DIV id="',ad_aL,'" style="position:related;overflow:hidden;width:'.concat(ad_bd[0][0][3]),';height:'.concat(ad_bd[0][0][4]),';">');document.write(ad_h(ad_bd[0][0],this.ad_aW,this.ad_aV));if(ad_bd.length>1){}document.write('</DIV></td></tr>');document.write('<tr><td align=center id="',ad_aL,'_extend"><font face="Arial" size="1"><b>');document.write('<span id="',ad_aL,'_expandcollap" style="cursor:pointer;">M&#7903; r&#7897;ng</span>&nbsp;-&nbsp;');document.write('<span id="',ad_aL,'_close" style="cursor:pointer;">&#272;&#243;ng</span>');document.write('<input type="hidden" id="',this.ad_aZ,'_hidden">');document.write('</td></tr>');ad_r(ad_aL+'_hidden').value=0;ad_r(ad_aL).onmouseover=function(){ad_o(ad_bd,ad_aL,ad_aW,ad_aV)};ad_r(ad_aL+'_expandcollap').onclick=function(){ad_o(ad_bd,ad_aL,ad_aW,ad_aV)};ad_r(ad_aL+'_close').onclick=function(){ad_k(ad_aL)};};function ad_o(ad_bd,ad_ad,ad_aW,ad_aV){var index=ad_r(ad_ad+'_hidden').value;if(parseInt(ad_r(ad_ad).offsetHeight)<ad_bd[index][1][4]){ad_r(ad_ad).style.height=parseInt(ad_r(ad_ad).offsetHeight)+10;setTimeout(function(){ad_o(ad_bd,ad_ad,ad_aW,ad_aV)},5);return;}ad_r(ad_ad).onmouseover='undefine';ad_r(ad_ad+'_expandcollap').innerHTML='Thu nh&#7887;';ad_r(ad_ad+'_expandcollap').onclick=function(){ad_l(ad_bd,ad_ad,ad_aW,ad_aV)};ad_r(ad_ad).innerHTML=ad_h(ad_bd[index][1],ad_aW,ad_aV);};function ad_l(ad_bd,ad_ad,ad_aW,ad_aV){var index=ad_r(ad_ad+'_hidden').value;if(parseInt(ad_r(ad_ad).offsetHeight)>ad_bd[index][0][4]){ad_r(ad_ad).style.height=parseInt(ad_r(ad_ad).offsetHeight)-10;setTimeout(function(){ad_l(ad_bd,ad_ad,ad_aW,ad_aV)},5);return;}ad_r(ad_ad).onmouseover=function(){ad_o(ad_bd,ad_ad,ad_aW,ad_aV)};ad_r(ad_ad+'_expandcollap').innerHTML='M&#7903; r&#7897;ng';ad_r(ad_ad+'_expandcollap').onclick=function(){ad_o(ad_bd,ad_ad,ad_aW,ad_aV)};ad_r(ad_ad).innerHTML=ad_h(ad_bd[index][0],ad_aW,ad_aV);};function ad_k(ad_ad){ad_r(ad_ad).style.display='none';ad_r(ad_ad+'_extend').style.display='none';};function ad_i(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV,ad_aj){var stop;stop=0;if(ad_aj>=ad_bd.length){stop=1;}typeof(ad_aj)=='undefined';if(index==ad_bd.length-1){index=0;}else{index++;}ad_r(ad_ad).innerHTML=ad_h(ad_bd[index],ad_aW,ad_aV,'undefined','undefined',stop);ad_aj++;setTimeout(function(){ad_i(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV,ad_aj)},ad_al);};function ad_j(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV,type){if(ad_r(ad_ad+'_status').value=='0'){if(index==ad_bd.length-1){index=0;}else{index++;}if(type==1){var ad_bl='';ad_bl=ad_bl.concat('<DIV id="').concat(ad_ad).concat('_child" style="position:absolute;top:0px;left:0px;width:').concat(ad_bd[index][3]).concat('px;height:').concat(ad_bd[index][4]).concat('px;">');ad_bl=ad_bl.concat(ad_h(ad_bd[index],ad_aW,ad_aV,false,ad_ad));ad_bl=ad_bl.concat('</DIV>');ad_r(ad_ad).innerHTML=ad_bl;ad_q(ad_ad);}}setTimeout(function(){ad_j(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV,type)},ad_al);};adlistshow.prototype.ad_bW=function(ad_bd){if(ad_bd.length<=0)return;var ad_aW=(this.ad_aW<ad_bd[0][3]&&this.ad_aW>0)?this.ad_aW:ad_bd[0][3];var ad_aV=(this.ad_aV<ad_bd[0][4]&&this.ad_aV>0)?this.ad_aV:ad_bd[0][4];var ad_aL=''.concat(this.ad_aZ);var ad_al=this.ad_ak;document.write('<tr><td>');document.write('<DIV id="',ad_aL,'" style="position:relative;overflow:hidden;width:'.concat(ad_aW),'px;height:'.concat(ad_aV),'px;">');document.write(ad_h(ad_bd[0],this.ad_aW,this.ad_aV,false,ad_aL));document.write('</DIV>');document.write('<input type="hidden" id="',ad_aL,'_status" value="0">');document.write('</td></tr>');if(this.ad_bi)setTimeout(function(){ad_j(ad_bd,0,ad_aL,ad_al,ad_aW,ad_aV,0)},ad_al);};adlistshow.prototype.ad_bS=function(ad_bd){if(ad_bd.length<=0)return;var ad_aW=(this.ad_aW<ad_bd[0][3]&&this.ad_aW>0)?this.ad_aW:ad_bd[0][3];var ad_aV=(this.ad_aV<ad_bd[0][4]&&this.ad_aV>0)?this.ad_aV:ad_bd[0][4];var ad_aL=''.concat(this.ad_aZ);var ad_al=this.ad_ak;document.write('<tr><td>');document.write('<DIV id="',ad_aL,'_position" style="position:relative;overflow:hidden;width:'.concat(ad_aW),'px;height:'.concat(ad_aV),'px;"></DIV>');document.write('<DIV id="',ad_aL,'" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:0px;width:'.concat(ad_aW),'px;height:'.concat(ad_aV),'px;">');document.write('</DIV>');document.write('<input type="hidden" id="',ad_aL,'_direction" value="',this.direction,'">');document.write('<input type="hidden" id="',ad_aL,'_status" value="0">');document.write('</td></tr>');var ad_Y=this;setTimeout(function(){ad_Y.ad_bT(ad_bd)},300);};adlistshow.prototype.ad_bQ=function(ad_bd){if(ad_bd.length<=0)return;var ad_aW=(this.ad_aW<ad_bd[0][3]&&this.ad_aW>0)?this.ad_aW:ad_bd[0][3];var ad_aV=(this.ad_aV<ad_bd[0][4]&&this.ad_aV>0)?this.ad_aV:ad_bd[0][4];var ad_aL=''.concat(this.ad_aZ);var ad_al=this.ad_ak;document.write('<DIV id="',ad_aL,'_position" style="position:relative;overflow:hidden;width:'.concat(ad_aW),'px;height:'.concat(ad_aV),'px;"></DIV>');document.write('<DIV id="',ad_aL,'" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:0px;width:'.concat(ad_aW),'px;height:'.concat(ad_aV),'px;">');document.write('</DIV>');document.write('<input type="hidden" id="',ad_aL,'_directionfix" value="',this.direction,'">');document.write('<input type="hidden" id="',ad_aL,'_status" value="0">');var ad_Y=this;setTimeout(function(){ad_Y.ad_bR(ad_bd)},300);};adlistshow.prototype.ad_bT=function(ad_bd){if(ad_bd.length<=0)return;var ad_aW=(this.ad_aW<ad_bd[0][3]&&this.ad_aW>0)?this.ad_aW:ad_bd[0][3];var ad_aV=(this.ad_aV<ad_bd[0][4]&&this.ad_aV>0)?this.ad_aV:ad_bd[0][4];var ad_aL=''.concat(this.ad_aZ);var ad_al=this.ad_ak;var ad_bl='';ad_bl=ad_bl.concat('<DIV id="').concat(ad_aL).concat('_child" style="position:absolute;top:0px;left:0px;width:').concat(ad_bd[0][3]).concat('px;height:').concat(ad_bd[0][4]).concat('px;">');ad_bl=ad_bl.concat(ad_h(ad_bd[0],this.ad_aW,this.ad_aV,false,ad_aL));ad_bl=ad_bl.concat('</DIV>');ad_r(ad_aL).innerHTML=ad_bl;ad_x(ad_aL,true);if(ad_bd.length>1){if(this.ad_bi)setTimeout(function(){ad_j(ad_bd,0,ad_aL,ad_al,ad_aW,ad_aV,1)},ad_al);}};adlistshow.prototype.ad_bR=function(ad_bd){if(ad_bd.length<=0)return;var ad_aW=(this.ad_aW<ad_bd[0][3]&&this.ad_aW>0)?this.ad_aW:ad_bd[0][3];var ad_aV=(this.ad_aV<ad_bd[0][4]&&this.ad_aV>0)?this.ad_aV:ad_bd[0][4];var ad_aL=''.concat(this.ad_aZ);var ad_al=this.ad_ak;var ad_bl='';ad_bl=ad_bl.concat('<DIV id="').concat(ad_aL).concat('_child" style="position:absolute;top:-200px;left:-280px;width:').concat(ad_bd[0][3]).concat('px;height:').concat(ad_bd[0][4]).concat('px;">');ad_bl=ad_bl.concat(ad_h(ad_bd[0],this.ad_aW,this.ad_aV,false,ad_aL));ad_bl=ad_bl.concat('</DIV>');ad_r(ad_aL).innerHTML=ad_bl;ad_x(ad_aL,true);if(ad_bd.length>1){if(this.ad_bi)setTimeout(function(){ad_j(ad_bd,0,ad_aL,ad_al,ad_aW,ad_aV,1)},ad_al);}};function ad_x(id,ad_aB){var ad_aD=true;if(ad_r(id+'_direction')){direction=ad_r(id+'_direction').value;}else if(ad_r(id+'_directionfix')){direction=ad_r(id+'_directionfix').value;ad_aD=false;}else{direction=0;}if(ad_r(id)&&ad_r(id+'_position')){if(ad_aD){var ad_Q=ad_s(ad_r(id+'_position'))[1];var ad_P=ad_s(ad_r(id+'_position'))[0];var ad_O=parseInt(ad_r(id+'_position').offsetHeight);var ad_R=parseInt(ad_r(id+'_position').offsetWidth);var ad_F=parseInt(ad_r(id).offsetHeight);var ad_G=parseInt(ad_r(id).offsetWidth);if(direction==0||direction==1){ad_r(id).style.top=ad_Q+'px';}else{ad_r(id).style.top=ad_Q-ad_F+ad_O+'px';}if(direction==0||direction==2){ad_r(id).style.left=ad_P+'px';}else{ad_r(id).style.left=ad_P-ad_G+ad_R+'px';}}else{}}if(ad_aB==true)ad_q(id);setTimeout(function(){ad_x(id)},100);};function ad_q(id){var ad_aD=true;if(ad_r(id+'_direction')){direction=ad_r(id+'_direction').value;}else if(ad_r(id+'_directionfix')){direction=ad_r(id+'_directionfix').value;ad_aD=false;}else{direction=0;}if(ad_r(id)&&ad_r(id+'_position')){var ad_D=parseInt(ad_r(id+'_child').offsetHeight);var ad_E=parseInt(ad_r(id+'_child').offsetWidth);var ad_S=parseInt(ad_r(id).offsetHeight);var ad_T=parseInt(ad_r(id).offsetWidth);if(direction==0||direction==1){ad_r(id+'_child').style.top=0+'px';}else{ad_r(id+'_child').style.top=ad_S-ad_D+'px';}if(direction==0||direction==2){ad_r(id+'_child').style.left=0+'px';}else{ad_r(id+'_child').style.left=ad_T-ad_E+'px';}}};function expandselfbanner(ad_ad,ad_aW,ad_aV){ad_r(ad_ad).style.zIndex="120";ad_r(ad_ad+'_status').value=1;if(ad_r(ad_ad+'_directionfix')){ad_r(ad_ad).style.overflow="visible";}else{if(ad_r(ad_ad+'_position')){ad_r(ad_ad).style.height=ad_aV+'px';ad_r(ad_ad).style.width=ad_aW+'px';ad_x(ad_ad);ad_q(ad_ad);return;}var ad_A=parseInt(ad_r(ad_ad).offsetHeight);var ad_B=parseInt(ad_r(ad_ad).offsetWidth);if((ad_A<ad_aV-10)||(ad_B<ad_aW-10)){if(ad_A<ad_aV-10){ad_r(ad_ad).style.height=ad_A+10+'px';}else{ad_r(ad_ad).style.height=ad_aV+'px';}if(ad_B<ad_aW-10){ad_r(ad_ad).style.width=ad_B+10+'px';}else{ad_r(ad_ad).style.width=ad_aW+'px';}ad_x(ad_ad);ad_q(ad_ad);setTimeout(function(){expandselfbanner(ad_ad,ad_aW,ad_aV)},5);return;}else{ad_r(ad_ad).style.height=ad_aV+'px';ad_r(ad_ad).style.width=ad_aW+'px';ad_x(ad_ad);ad_q(ad_ad);}}};function collapselfbanner(ad_ad,ad_aW,ad_aV){ad_r(ad_ad).style.zIndex="100";if(ad_r(ad_ad+'_directionfix')){ad_r(ad_ad).style.overflow="hidden";}else{if(ad_r(ad_ad+'_position')){ad_r(ad_ad).style.height=ad_aV+'px';ad_r(ad_ad).style.width=ad_aW+'px';ad_x(ad_ad);ad_q(ad_ad);return;}var ad_A=parseInt(ad_r(ad_ad).offsetHeight);var ad_B=parseInt(ad_r(ad_ad).offsetWidth);if((ad_A>ad_aV+10)||(ad_B>ad_aW+10)){if(ad_A>ad_aV+10){ad_r(ad_ad).style.height=ad_A-10+'px';}else{ad_r(ad_ad).style.height=ad_aV+'px';}if(ad_B>ad_aW+10){ad_r(ad_ad).style.width=ad_B-10+'px';}else{ad_r(ad_ad).style.width=ad_aW+'px';}ad_x(ad_ad);ad_q(ad_ad);setTimeout(function(){collapselfbanner(ad_ad,ad_aW,ad_aV)},5);return;}else{ad_r(ad_ad).style.height=ad_aV+'px';ad_r(ad_ad).style.width=ad_aW+'px';ad_x(ad_ad);ad_q(ad_ad);ad_r(ad_ad+'_status').value=0;}}};function ad_w(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV){var ad_aE=ad_r(ad_ad);if(!ad_aE)return;var ad_bf=parseInt(ad_aE.style.top);ad_bf=ad_bf-Math.round(parseInt(ad_aE.style.top)/8)-1;if(ad_bf>0){ad_aE.style.top=ad_bf;setTimeout(function(){ad_w(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV)},10);}else{ad_aE.style.top=0;setTimeout(function(){ad_n(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV)},ad_al);}};function ad_n(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV){var ad_aE=ad_r(ad_ad);if(!ad_aE)return;var ad_bf=parseInt(ad_aE.style.top);ad_bf=ad_bf+Math.round((ad_aV-parseInt(ad_aE.style.top))/8)+1;if(ad_bf<ad_aV){ad_aE.style.top=ad_bf;setTimeout(function(){ad_n(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV)},10);}else{ad_aE.style.top=ad_aV;if(index==ad_bd.length-1){index=0;}else{index++;}ad_r(ad_ad).innerHTML=ad_h(ad_bd[index],ad_aW,ad_aV);setTimeout(function(){ad_w(ad_bd,index,ad_ad,ad_al,ad_aW,ad_aV)},5000);}};function ad_h(ad_bd,ad_aW,ad_aV,ad_ah,zoneid,stop){if(!ad_bd){return ''}var ad_bl='';typeof(stop)=='undefined';var ad_bj=(ad_c(ad_bd[0],7).toLowerCase()=='')?ad_bd[0]:ad_I.concat(ad_bd[0]);if(typeof(ad_ah)=="undefined")ad_ah=true;var ad_aO=(ad_aW<ad_bd[3]&&ad_aW>0&&ad_ah)?ad_aW:ad_bd[3];var ad_aN=(ad_aV<ad_bd[4]&&ad_aV>0&&ad_ah)?ad_aV:ad_bd[4];if(ad_bd[0].toLowerCase().indexOf('vnexpress_extendbanner')>0&&ad_bd[1].toLowerCase()==''){ad_bl=ad_bl.concat('<IFRAME MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="ad_ba" ');ad_bl=ad_bl.concat(' WIDTH="').concat(ad_bd[3]).concat('" HEIGHT="').concat(ad_bd[4]).concat('" ');ad_bl=ad_bl.concat(' SRC="/Customize/ExtendBanner/').concat(Trim(ad_bd[2].split(',')[12])).concat('.htm"></IFRAME>');}else{if(ad_e(ad_bd[0],4).toLowerCase()=='.swf'){ad_bl=ad_bl.concat('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" border="0" width=').concat(ad_aO).concat(' height=').concat(ad_aN).concat('>');ad_bl=ad_bl.concat('<param name="movie" value="').concat(ad_bj).concat('?link=').concat(escape(ad_g(ad_bd[2].substring(ad_bd[2].lastIndexOf(',')+2),ad_bd[1],false))).concat('&zoneid=').concat(zoneid).concat('&stop=').concat(stop).concat('">');ad_bl=ad_bl.concat('<param name="AllowScriptAccess" value="always">');ad_bl=ad_bl.concat('<param name="quality" value="High">');ad_bl=ad_bl.concat('<param name="wmode" value="transparent">');ad_bl=ad_bl.concat('<embed src="').concat(ad_bj).concat('?link=').concat(escape(ad_g(ad_bd[2].substring(ad_bd[2].lastIndexOf(',')+2),ad_bd[1],false))).concat('&zoneid=').concat(zoneid).concat('&stop=').concat(stop).concat('" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" AllowScriptAccess="always" width=').concat(ad_aO).concat(' height=').concat(ad_aN).concat('>');ad_bl=ad_bl.concat('</object>');}else{if(ad_bd[1]!=''){ad_bl='<img src="'.concat(ad_bj).concat('" onClick="return ad_t(\'').concat(ad_bd[1]).concat('\', ').concat(ad_bd[2]).concat(', 1)" style="cursor:pointer;" border=0 width=').concat(ad_aO).concat(' height=').concat(ad_aN).concat('>');}else{ad_bl='<img src="'.concat(ad_bj).concat('" border=0 width=').concat(ad_aO).concat(' height=').concat(ad_aN).concat('>');}}}return ad_bl;};adlistshow.prototype.ad_ag=function(ad_bd){var ad_af=false;var ad_aG;if(this.ad_bn==8){ad_aG=ad_bd[9];}else{ad_aG=ad_bd[6];}if(ad_aG==3&&this.ad_ai<4)ad_af=true;else if(ad_aG==this.ad_ai||ad_aG==0)ad_af=true;if(ad_af&&this.ad_bn==7){ad_af=false;if(typeof(ad_aw)=='undefined')return;var ad_av=new Date(ad_bd[7]);var ad_ax=new Date(ad_bd[8]);var ad_aH=(ad_aw.getTime()-ad_av.getTime())/1000;var ad_aK=(ad_ax.getTime()-ad_aw.getTime())/1000;if(ad_aH<5*86400&&ad_aH>=0&&ad_aK>5*86400&&ad_aK>=0){ad_af=true;}}return ad_af;};function ad_v(){return(Math.random()*10000)-5000;};function ad_u(ad_bA,vLink,ad_bI,ad_bG,ad_bM,ad_bx,ad_bL,ad_bC,ad_by){if(typeof(ad_by)=='undefined'){ad_by=false;}if(ad_by){var ad_bg=open('/Library/Common/PopupUnder.Asp?ad_bA='.concat(escape(ad_bA)).concat('&vLink=').concat(escape(vLink)).concat('&ad_bI=').concat(escape(ad_bI)),'Popup_'.concat(ad_d(ad_bI,' ','_')),'status=ad_ba,resizable=ad_ba,scrollbars='.concat(ad_bG).concat(',toolbar=ad_ba,location=ad_ba,fullscreen=ad_ba,titlebar=ad_ba,height=').concat(ad_bx).concat(',').concat('width=').concat(ad_bM).concat(',').concat('top=').concat(0).concat(',').concat('left=').concat(0));var ad_N=vLink;window.focus();if(ad_bg){ad_bg.blur()};return ad_bg;}else{return open('/Library/Common/Popup.Asp?ad_bA='.concat(escape(ad_bA)).concat('&vLink=').concat(escape(vLink)).concat('&ad_bI=').concat(escape(ad_bI)),'Popup_'.concat(ad_d(ad_bI,' ','_')),'status=ad_ba,resizable=ad_ba,scrollbars=ad_ba,toolbar=ad_ba,location=ad_ba,fullscreen=ad_ba,titlebar=yes,height='.concat(ad_bx).concat(',').concat('width=').concat(ad_bM).concat(',').concat('top=').concat(ad_bL).concat(',').concat('left=').concat(ad_bC));}};function ad_t(vLink,ad_bH,ad_bF,ad_bG,ad_bK,ad_bD,ad_bw,ad_bJ,ad_bu,ad_bx,ad_bM,ad_bL,ad_bC,ad_bz,ad_bv){var ad_bk=(typeof(vLink.href)=='undefined')?vLink:vLink.href;ad_bN='';ad_bN=ad_bN.concat('status=').concat((ad_bH)?'yes':'ad_ba').concat(',');ad_bN=ad_bN.concat('resizable=').concat((ad_bF)?'yes':'ad_ba').concat(',');ad_bN=ad_bN.concat('scrollbars=').concat((ad_bG)?'yes':'ad_ba').concat(',');ad_bN=ad_bN.concat('toolbar=').concat((ad_bK)?'yes':'ad_ba').concat(',');ad_bN=ad_bN.concat('location=').concat((ad_bD)?'yes':'ad_ba').concat(',');ad_bN=ad_bN.concat('fullscreen=').concat((ad_bw)?'yes':'ad_ba').concat(',');ad_bN=ad_bN.concat('titlebar=').concat((ad_bJ)?'yes':'ad_ba').concat(',');ad_bN=ad_bN.concat('height=').concat(ad_bx-140).concat(',');ad_bN=ad_bN.concat('width=').concat(ad_bM).concat(',');if(ad_bu){ad_bN=ad_bN.concat('top=').concat((screen.height-ad_bx)/2).concat(',');ad_bN=ad_bN.concat('left=').concat((screen.width-ad_bM)/2);}else{ad_bN=ad_bN.concat('top=').concat(ad_bL).concat(',');ad_bN=ad_bN.concat('left=').concat(ad_bC);}if(typeof(ad_bv)=='undefined'){ad_bv=0;}if(typeof(ad_bz)=='undefined'){ad_bz=0;}if(ad_bv){ad_bk=ad_g(ad_bz,ad_bk,true);}open(ad_bk,'_blank',ad_bN);if(typeof(vLink.href)!='undefined'){return false;}};function ad_g(ad_bz,vLink,ad_bE){if(ad_bz==7256){return vLink}else{if(ad_bE==true){return vLink;}else{return vLink;}}};function ad_b(ad_au,type,ad_aA){if(typeof(ad_aA)=='undefined'){ad_aA=0};var ad_bo,ad_bp;if(type==1){ad_bo=document.body.clientWidth-115;}else{ad_bo=5;}if(type==2){ad_bp=document.body.clientHeight;}else{ad_bp=0;}if(document.body.clientWidth<980){ad_bo=-115};window.ad_bq=function(ad_aE,type,ad_aA){var ad_bo,ad_bp;var ad_bb=(navigator.appName.indexOf("Netscape")!=-1);if(type==1){ad_bo=document.body.clientWidth-115;}else{ad_bo=5;}if(document.body.clientWidth<980){ad_aE.style.display='none';}else{ad_aE.style.display='';if(document.documentElement&&document.documentElement.scrollTop)var ad_bf=ad_bb?pageYOffset:document.documentElement.scrollTop;else if(document.body)var ad_bf=ad_bb?pageYOffset:document.body.scrollTop;if(type==2){ad_bp=document.body.clientHeight-183;}else{if(document.body.scrollTop>71){ad_bp=3}else{ad_bp=71-document.body.scrollTop};}ad_aE.y+=(ad_bf+ad_bp-ad_aE.y)/8;ad_aE.style.left=ad_bo;ad_aE.style.top=ad_aE.y+ad_aA;}setTimeout(function(){ad_bq(ad_aE,type,ad_aA)},15);};var ad_aE=ad_r(ad_au);if(!ad_aE)return;ad_aE.x=ad_bo;ad_aE.y=ad_bp;ad_bq(ad_aE,type,ad_aA);};function ad_a(ad_au,type,ad_aA){if(typeof(ad_aA)=='undefined'){ad_aA=0};var ad_bo,ad_bp;if(type==1||type==3){ad_bo=document.body.clientWidth-120;}else{ad_bo=5;}if(type==2||type==3){ad_bp=document.body.clientHeight;}else{ad_bp=0;}if(document.body.clientWidth<1250){ad_bo=-125};window.ad_bq=function(ad_aE,type,ad_aA){var ad_bo,ad_bp;var ad_bb=(navigator.appName.indexOf("Netscape")!=-1);if(type==1||type==3){ad_bo=document.body.clientWidth-125;}else{ad_bo=5;}if(document.body.clientWidth<1250){ad_aE.style.display='none';}else{ad_aE.style.display='';if(document.documentElement&&document.documentElement.scrollTop)var ad_bf=ad_bb?pageYOffset:document.documentElement.scrollTop;else if(document.body)var ad_bf=ad_bb?pageYOffset:document.body.scrollTop;if(type==2||type==3){if(document.documentElement&&document.documentElement.clientHeight)ad_bp=document.documentElement.clientHeight-305;else if(document.body)ad_bp=document.body.clientHeight-305;}else{if(document.body.scrollTop>71){ad_bp=3}else{ad_bp=71-document.body.scrollTop};}ad_aE.y+=(ad_bf+ad_bp-ad_aE.y)/8;ad_aE.style.left=ad_bo+'px';ad_aE.style.top=ad_aE.y+ad_aA+'px';}setTimeout(function(){ad_bq(ad_aE,type,ad_aA)},15);};var ad_aE=ad_r(ad_au);if(!ad_aE)return;ad_aE.x=ad_bo;ad_aE.y=ad_bp;ad_bq(ad_aE,type,ad_aA);};function ad_r(ad_aY){if(document.getElementById){m=document.getElementById(ad_aY)}else if(document.all){m=document.all[ad_aY]}else if(document.layers){m=document[ad_aY]}return m;};function ad_s(ad_bd,ad_be){var p=ad_be?ad_be.slice(0):[0,0];while(ad_bd){p[0]+=ad_bd.offsetLeft;p[1]+=ad_bd.offsetTop;if(ad_bd.tagName.toUpperCase()=="BODY")break;ad_bd=ad_bd.offsetParent;}return p;};function ad_c(ad_br,n){if(n<=0)return "";else if(n>String(ad_br).length)return ad_br;else return String(ad_br).substring(0,n);};function ad_e(ad_br,n){if(n<=0)return "";else if(n>String(ad_br).length)return ad_br;else{var ad_aI=String(ad_br).length;return String(ad_br).substring(ad_aI,ad_aI-n);}};function ad_d(ad_aJ,ad_bs,ad_bt){var i=0,ad_bc='',j=ad_bs.length;while(i<ad_aJ.length){if(ad_aJ.substr(i,j)==ad_bs){ad_bc+=ad_bt;i+=j}else{ad_bc+=ad_aJ.charAt(i);i++;}}return ad_bc;}