﻿var pol_aW; var pol_aY; var pol_aX; var pol_aZ; var pol_bv = Math.random(); if (pol_bv < 0.25) { pol_aW = 'http://go.polyad.net/AdImages'; } else if (pol_bv < 0.4) { pol_aW = 'http://st.polyad.net/AdImages'; } else if (pol_bv < 0.7) { pol_aW = 'http://s2.polyad.net/AdImages'; } else { pol_aW = 'http://s3.polyad.net/AdImages'; } pol_aY = 'http://go.polyad.net/clk.aspx?t=5'; pol_aX = 'http://go.polyad.net/act.aspx?t=5'; pol_aZ = 'http://st.polyad.net/Vals'; function cpmst_adlistshow(pol_pol_Y, pol_Z, pol_ae, pol_az, pol_am, pol_ao, pol_an, pol_aw, pol_aj) { this.BResult = 0; this.pol_cQ = pol_Z; this.pol_aT = pol_ae; this.pol_cH = pol_ao; this.pol_cG = pol_an; this.pol_dv = pol_az; this.face = pol_am; this.pol_bR = 30000; this.pol_bS = 100; if (typeof (pol_aw) == 'undefined') { this.pol_dn = true; } else { this.pol_dn = pol_aw; }; if (typeof (pol_aj) == 'undefined') { this.direction = 0; } else { this.direction = pol_aj; }; switch (pol_az) { case 0: case 4: case 5: case 6: case 9: case 10: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 21: case 22: case 23: case 24: this.pol_dl = 0; break; case 8: this.pol_dl = 2; break; case 25: this.pol_dl = 0; break; default: this.pol_dl = 1; break; } var pol_aG = new Array(); var pol_aH = new Array(); var i, j, k, pol_cV, pol_cr, pol_du; i = 0; j = -1; k = 0; pol_cV = -1; pol_cr = 0; pol_du = 1; if (this.pol_dl == 0) { for (i = 0, j = 0; i < pol_pol_Y.length; i++) { if (this.pol_bb(pol_pol_Y[i])) { pol_aG[j] = pol_pol_Y[i]; j++; } } pol_aG.sort(pol_M); this.pol_cz = j + 1; this.pol_cJ = pol_aG; } else if (this.pol_dl == 1) { pol_aG[0] = new Array(); pol_aG[1] = new Array(); for (i = 0; i < pol_pol_Y.length; i++) { if (pol_pol_Y[i][5] <= 100) { if (pol_pol_Y[i][5] != pol_cV) { pol_cV = pol_pol_Y[i][5]; pol_cr = 0; j++; k = 0; } else { k++; } } else { if (pol_pol_Y[i][5] != pol_cV || pol_pol_Y.length <= 10) { if (pol_cV <= 100) j = -1; pol_cV = pol_pol_Y[i][5]; pol_cr = 1; j++; k = 0; pol_du = 0; } else { if (pol_du >= pol_cV - 100) { j++; k = 0; pol_du = 0; } else { k++; } } } if (this.pol_bb(pol_pol_Y[i])) { if (k == 0) pol_aG[pol_cr][j] = new Array(); pol_aG[pol_cr][j][k] = pol_pol_Y[i]; pol_du++; } } for (i = 0; i < pol_aG.length; i++) { if (i == 1) { pol_aG[i].sort(pol_M) }; for (j = 0; j < pol_aG[i].length; j++) { pol_aG[i][j].sort(pol_M); } } k = 0; for (i = 0; i < pol_aG.length; i++) { for (j = 0; j < pol_aG[i].length; j++) { pol_aH[k] = pol_aG[i][j]; k++; } } this.pol_cJ = pol_aH; this.pol_cz = k; } else if (this.pol_dl == 2) { for (i = 0, j = 0; i < pol_pol_Y.length; i++) { if (this.pol_bb(pol_pol_Y[i])) { pol_aG[j] = new Array(); pol_aG[j][0] = new Array(); pol_aG[j][0][0] = pol_pol_Y[i][0]; pol_aG[j][0][1] = pol_pol_Y[i][2]; pol_aG[j][0][2] = pol_pol_Y[i][3]; pol_aG[j][0][3] = pol_pol_Y[i][4]; pol_aG[j][0][4] = pol_pol_Y[i][5]; pol_aG[j][1] = new Array(); pol_aG[j][1][0] = pol_pol_Y[i][1]; pol_aG[j][1][1] = pol_pol_Y[i][2]; pol_aG[j][1][2] = pol_pol_Y[i][3]; pol_aG[j][1][3] = pol_pol_Y[i][6]; pol_aG[j][1][4] = pol_pol_Y[i][7]; j++; } } pol_aG.sort(pol_M); this.pol_cz = j + 1; this.pol_cJ = pol_aG; } this.pol_cv(); }; cpmst_adlistshow.prototype.pol_cv = function() { switch (this.pol_dv) { case 0: this.pol_bo(); break; case 1: case 7: case 11: this.pol_bl(); break; case 2: this.pol_bi(0); break; case 3: this.pol_bi(1); break; case 4: this.pol_bi(2); break; case 5: this.pol_bn(false); break; case 6: this.pol_bn(true); break; case 8: this.pol_bf(); break; case 9: this.pol_bq(); break; case 10: this.pol_bj(); break; case 12: this.pol_bh(0); break; case 13: this.pol_bh(1); break; case 14: this.pol_bh(2); break; case 15: this.pol_bh(3); break; case 16: this.pol_bk(); break; case 17: this.pol_br(0); break; case 18: this.pol_br(1); break; case 19: this.pol_bp(); break; case 20: this.pol_bs(); break; case 21: this.pol_bc(); break; case 22: this.pol_bg(); break; case 23: this.pol_bd(); break; case 24: this.pol_be(); break; case 25: this.pol_bm(); break; default: break; } }; cpmst_adlistshow.prototype.pol_ba = function(index) { if (this.pol_dl == 0) return true; if (this.pol_cJ.length == index + 1) return true; return false; }; cpmst_adlistshow.prototype.pol_bo = function() { document.write('<table ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0 align=center>'); this.pol_bK(this.pol_cJ, 0); document.write('</table>'); }; cpmst_adlistshow.prototype.pol_bl = function() { if (this.pol_cJ.length <= 0) { this.BResult = -1; } else { this.BResult = 0; } if (this.face == 0 || this.face == 3) { document.write('<table ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0 align=center>'); } else if (this.face == 2) { document.write('<table ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0 align=center><tr>'); } for (var i = 0; i < this.pol_cJ.length; i++) { this.pol_bK(this.pol_cJ[i], i, this.pol_ba(i)); if (this.face == 0 || this.face == 3) { document.write('<tr><td height="3"></td></tr>'); } else if (this.face == 2) { document.write('<td width="3"></td>'); } if (this.face == 1 && (!this.pol_ba(i))) { document.write('<tr><td height="1" bgcolor="#808080"></td></tr>'); } } if (this.face == 0 || this.face == 3) { document.write('</table>'); } else if (this.face == 2) { document.write('</tr></table>'); } }; cpmst_adlistshow.prototype.pol_bi = function(type) { if (type == 2) { document.write('<DIV id="floatdiv', this.pol_cQ, '" style="position:absolute;overflow:hidden;top:0;left:-200;', (this.pol_cG > 0) ? 'height:'.concat(this.pol_cG) : '180', ';', (this.pol_cH > 0) ? 'width:'.concat(this.pol_cH) : '115', ';">'); this.pol_by(this.pol_cJ); } else { document.write('<DIV id="floatdiv', this.pol_cQ, '" style="position:absolute;top:0;left:-200;', (this.pol_cH > 0) ? 'width:'.concat(this.pol_cH) : '115', ';">'); this.pol_bl(); } document.write('</DIV>'); if (this.pol_cJ.length > 0) { pol_c('floatdiv'.concat(this.pol_cQ), type); } }; cpmst_adlistshow.prototype.pol_bh = function(type) { switch (type) { case 0: case 1: document.write('<DIV id="fixfloatdiv', this.pol_cQ, '" style="position:absolute;z-index:200;top:0;left:-200;', (this.pol_cH > 0) ? 'width:'.concat(this.pol_cH) : '120', ';">'); break; case 2: case 3: document.write('<DIV id="fixfloatdiv', this.pol_cQ, '" style="position:absolute;z-index:200;top:0;left:-200;', (this.pol_cG > 0) ? 'height:'.concat(this.pol_cG) : '150', ';', (this.pol_cH > 0) ? 'width:'.concat(this.pol_cH) : '120', ';">'); break; } this.pol_bB(this.pol_cJ, type); document.write('</DIV>'); if (this.pol_cJ.length > 0) { pol_b('fixfloatdiv'.concat(this.pol_cQ), type); } }; cpmst_adlistshow.prototype.pol_bn = function(type) { pol_dP = this.pol_cJ[0][2].lastIndexOf(','); pol_dM = this.pol_cJ[0][2].substr(pol_dP + 2); pol_ds = pol_m(pol_dM, this.pol_cJ[0][1], true); pol_dO = (pol_e(this.pol_cJ[0][0], 7).toLowerCase() == 'http://') ? this.pol_cJ[0][0] : pol_aW.concat(this.pol_cJ[0][0]); var pol_dU = 0; var pol_eb = this.pol_cJ[0][3]; var pol_dK = this.pol_cJ[0][4]; pol_L(pol_dO, pol_ds, 'Advertisment', pol_dU, pol_eb, pol_dK, screen.height - pol_dK - 80, (screen.width - 770) / 2 + 310 - 5, type); }; cpmst_adlistshow.prototype.pol_bf = function() { document.write('<table align=center ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0>'); this.pol_bz(this.pol_cJ, 0); document.write('</table>'); }; cpmst_adlistshow.prototype.pol_bq = function() { document.write('<table align=center ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0>'); this.pol_bN(this.pol_cJ, 0); document.write('</table>'); }; cpmst_adlistshow.prototype.pol_bj = function() { if (this.pol_cJ.length <= 0) { this.BResult = -1; } else { this.BResult = 0; } document.write('<table align=center ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0>'); this.pol_bD(this.pol_cJ, 0); document.write('</table>'); }; cpmst_adlistshow.prototype.pol_bk = function() { if (this.pol_cJ.length <= 0) { this.BResult = -1; } else { this.BResult = 0; } this.pol_bF(this.pol_cJ, 0); }; cpmst_adlistshow.prototype.pol_bK = function(pol_cY, index, pol_cA) { if (this.face == 1) { document.write('<tr><td id="', this.pol_cQ, '_', index, '" style="padding:4px;">'); } else if (this.face == 2) { document.write('<td id="', this.pol_cQ, '_', index, '" style="padding:4px;">'); } else { document.write('<tr><td id="', this.pol_cQ, '_', index, '">'); } document.write(pol_n(pol_cY[0], this.pol_cH, this.pol_cG)); if (pol_cY.length > 1) { var pol_cq = ''.concat(this.pol_cQ).concat('_').concat(index); var pol_bT = this.pol_bR; var pol_bU = this.pol_bS; var pol_cH = this.pol_cH; var pol_cG = this.pol_cG; if (this.pol_dv == 11) { if (this.pol_dn) { var pol_aV = 0; setTimeout(function() { pol_p(pol_cY, pol_cq, pol_bU, pol_cH, pol_cG, 0) }, 0); setTimeout(function() { pol_w(pol_cY, pol_cq, pol_bU, pol_cH, pol_cG, pol_aV, 0) }, 0); } } else { if (this.pol_dn) setTimeout(function() { pol_o(pol_cY, 0, pol_cq, pol_bT, pol_cH, pol_cG) }, pol_bT); } } if (this.face == 2) { document.write('</td>'); } else { if (pol_cY.length > 1 && this.pol_dv == 11) { document.write('</td></tr>'); document.write('<tr><td>'); document.write('	<input type="hidden" value="0" id="hidFlag_' + pol_cq + '" name="hidFlag_' + pol_cq + '" />'); document.write('	<input type="hidden" value="0" id="hidLoop_' + pol_cq + '" name="hidLoop_' + pol_cq + '" />'); document.write('	<div style="position:relative;width:160px;height:30px;background-color:#0066cc;">'); document.write('		<div style="float:left;width:130px;">'); for (var i = 0; i < pol_cY.length; i++) { document.write('<div id="numb' + pol_cq + i + '" style="float:left;width:17px;font-family:arial;font-size:12px;height:17px;text-align:center;margin:2px 0px 0px 0px;cursor:pointer;" onclick="pol_G(\'hidLoop_' + pol_cq + '\').value =' + i + '; pol_G(\'hidFlag_' + pol_cq + '\').value = 100;">' + (i + 1) + '</div>'); } document.write('		</div>'); document.write('	<div class="divArrowL" onmouseover="pol_G(\'divArrowL_' + pol_cq + '\').className = \'divArrowL_Active\';" onmouseout="cpmst_gmobj(\'divArrowL_' + pol_cq + '\').className = \'divArrowL\';" onclick="cpmst_gmobj(\'hidFlag_' + pol_cq + '\').value = -1;" id="divArrowL_' + pol_cq + '">&nbsp;</div>'); document.write('	<div style="float:left;width:4px;">&nbsp;</div>'); document.write('	<div class="divArrowR" onmouseover="pol_G(\'divArrowR_' + pol_cq + '\').className = \'divArrowR_Active\';" onmouseout="cpmst_gmobj(\'divArrowR_' + pol_cq + '\').className = \'divArrowR\';" onclick="cpmst_gmobj(\'hidFlag_' + pol_cq + '\').value = 1;" id="divArrowR_' + pol_cq + '">&nbsp;</div>'); document.write('</td></tr>'); } else { document.write('</td></tr>'); } } }; cpmst_adlistshow.prototype.pol_bJ = function(pol_cY, pol_cA) { for (var i = 0; i < pol_cY.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(pol_n(pol_cY[i], this.pol_cH, this.pol_cG)); 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 < pol_cY.length - 1)) { document.write('<tr><td height="1" bgcolor="#808080"></td></tr>'); } } }; cpmst_adlistshow.prototype.pol_by = function(pol_cY) { document.write('<DIV id="subdiv', this.pol_cQ, '" style="position:absolute;', (this.pol_cG > 0) ? 'top:'.concat(this.pol_cG) : '180', ';', (this.pol_cH > 0) ? 'width:'.concat(this.pol_cH) : '115', ';', (this.pol_cG > 0) ? 'height:'.concat(this.pol_cG) : '180', ';">'); document.write(pol_n(pol_cY[0], this.pol_cH, this.pol_cG)); var pol_cq = 'subdiv'.concat(this.pol_cQ); var pol_bT = this.pol_bR; var pol_cH = this.pol_cH; var pol_cG = this.pol_cG; setTimeout(function() { pol_P(pol_cY, 0, pol_cq, pol_bT, pol_cH, pol_cG) }, 500); document.write('</DIV>'); }; cpmst_adlistshow.prototype.pol_bz = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = this.pol_cH; var pol_cG = this.pol_cG; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; document.write('<tr><td>'); document.write('<DIV id="', pol_cq, '" style="position:related;overflow:hidden;width:'.concat(pol_cY[0][0][3]), ';height:'.concat(pol_cY[0][0][4]), ';">'); document.write(pol_n(pol_cY[0][0], this.pol_cH, this.pol_cG)); if (pol_cY.length > 1) { } document.write('</DIV></td></tr>'); document.write('<tr><td align=center id="', pol_cq, '_extend"><font face="Arial" size="1"><b>'); document.write('<span id="', pol_cq, '_expandcollap" style="cursor:pointer;">M&#7903; r&#7897;ng</span>&nbsp;-&nbsp;'); document.write('<span id="', pol_cq, '_close" style="cursor:pointer;">&#272;&#243;ng</span>'); document.write('<input type="hidden" id="', this.pol_cQ, '_hidden">'); document.write('</td></tr>'); pol_G(pol_cq + '_hidden').value = 0; pol_G(pol_cq).onmouseover = function() { cpmst_expandbanner(pol_cY, pol_cq, pol_cH, pol_cG) }; pol_G(pol_cq + '_expandcollap').onclick = function() { cpmst_expandbanner(pol_cY, pol_cq, pol_cH, pol_cG) }; pol_G(pol_cq + '_close').onclick = function() { pol_z(pol_cq) }; }; function cpmst_expandbanner(pol_cY, pol_aL, pol_cH, pol_cG) { var index = pol_G(pol_aL + '_hidden').value; if (parseInt(pol_G(pol_aL).offsetHeight) < pol_cY[index][1][4]) { pol_G(pol_aL).style.height = parseInt(pol_G(pol_aL).offsetHeight) + 10; setTimeout(function() { cpmst_expandbanner(pol_cY, pol_aL, pol_cH, pol_cG) }, 5); return; } pol_G(pol_aL).onmouseover = 'undefine'; pol_G(pol_aL + '_expandcollap').innerHTML = 'Thu nh&#7887;'; pol_G(pol_aL + '_expandcollap').onclick = function() { cpmst_collapbanner(pol_cY, pol_aL, pol_cH, pol_cG) }; pol_G(pol_aL).innerHTML = pol_n(pol_cY[index][1], pol_cH, pol_cG); }; function cpmst_collapbanner(pol_cY, pol_aL, pol_cH, pol_cG) { var index = pol_G(pol_aL + '_hidden').value; if (parseInt(pol_G(pol_aL).offsetHeight) > pol_cY[index][0][4]) { pol_G(pol_aL).style.height = parseInt(pol_G(pol_aL).offsetHeight) - 10; setTimeout(function() { cpmst_collapbanner(pol_cY, pol_aL, pol_cH, pol_cG) }, 5); return; } pol_G(pol_aL).onmouseover = function() { cpmst_expandbanner(pol_cY, pol_aL, pol_cH, pol_cG) }; pol_G(pol_aL + '_expandcollap').innerHTML = 'M&#7903; r&#7897;ng'; pol_G(pol_aL + '_expandcollap').onclick = function() { cpmst_expandbanner(pol_cY, pol_aL, pol_cH, pol_cG) }; pol_G(pol_aL).innerHTML = pol_n(pol_cY[index][0], pol_cH, pol_cG); }; function pol_z(pol_aL) { pol_G(pol_aL).style.display = 'none'; pol_G(pol_aL + '_extend').style.display = 'none'; }; function pol_o(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG) { if (index == pol_cY.length - 1) { index = 0; } else { index++; } pol_G(pol_aL).innerHTML = pol_n(pol_cY[index], pol_cH, pol_cG); setTimeout(function() { pol_o(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG) }, pol_bT); }; function pol_w(pol_cY, pol_aL, pol_bU, pol_cH, pol_cG, pol_aV, loop) { var pol_ch; pol_ch = pol_G("hidFlag_" + pol_aL).value; if (pol_ch == 0) { if (pol_aV == pol_bU) { loop++; setTimeout(function() { pol_p(pol_cY, pol_aL, pol_bU, pol_cH, pol_cG, loop) }, 0); } } else if (pol_ch == 1) { loop++; setTimeout(function() { pol_p(pol_cY, pol_aL, pol_bU, pol_cH, pol_cG, loop) }, 0); pol_G("hidFlag_" + pol_aL).value = 0; pol_aV = 0; } else if (pol_ch == -1) { loop--; setTimeout(function() { pol_p(pol_cY, pol_aL, pol_bU, pol_cH, pol_cG, loop) }, 0); pol_G("hidFlag_" + pol_aL).value = 0; pol_aV = 0; } else { loop = pol_G('hidLoop_' + pol_aL).value; setTimeout(function() { pol_p(pol_cY, pol_aL, pol_bU, pol_cH, pol_cG, loop) }, 0); pol_G("hidFlag_" + pol_aL).value = 0; pol_G('hidLoop_' + pol_aL).value = 0; pol_aV = 0; } pol_aV++; if (pol_aV > pol_bU) { pol_aV = 0; } if (loop == pol_cY.length) { loop = 0; } if (loop < 0) { loop = (pol_cY.length - 1); } setTimeout(function() { pol_w(pol_cY, pol_aL, pol_bU, pol_cH, pol_cG, pol_aV, loop) }, 100); }; function pol_p(pol_cY, pol_aL, pol_bU, pol_cH, pol_cG, pol_cd) { pol_G(pol_aL).innerHTML = pol_n(pol_cY[pol_cd], pol_cH, pol_cG); var k; for (k = 0; k < pol_cY.length; k++) { if (k == pol_cd) { document.getElementById("numb" + pol_aL + k).style.backgroundColor = "2879ca"; document.getElementById("numb" + pol_aL + k).style.border = "solid 2px #cccccc"; } else { document.getElementById("numb" + pol_aL + k).style.backgroundColor = "0066cc"; document.getElementById("numb" + pol_aL + k).style.border = "solid 2px #0066cc"; } } }; function pol_v(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG, type) { if (typeof (type) == 'undefined') type = 1; if (pol_G(pol_aL + '_status').value == '0') { if (index == pol_cY.length - 1) { index = 0; } else { index++; } if (type == 1) { var pol_dt = ''; pol_dt = pol_dt.concat('<DIV id="').concat(pol_aL).concat('_child" style="position:absolute;top:0px;left:0px;width:').concat(pol_cY[index][3]).concat('px;height:').concat(pol_cY[index][4]).concat('px;">'); pol_dt = pol_dt.concat(pol_n(pol_cY[index], pol_cH, pol_cG, false, pol_aL)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_aL).innerHTML = pol_dt; pol_D(pol_aL); } } setTimeout(function() { pol_v(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG, type) }, pol_bT); }; cpmst_adlistshow.prototype.pol_bN = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; document.write('<tr><td>'); document.write('<DIV id="', pol_cq, '" style="position:relative;overflow:hidden;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;">'); document.write(pol_n(pol_cY[0], this.pol_cH, this.pol_cG, false, pol_cq)); document.write('</DIV>'); document.write('<input type="hidden" id="', pol_cq, '_status" value="0">'); document.write('</td></tr>'); if (this.pol_dn) setTimeout(function() { pol_v(pol_cY, 0, pol_cq, pol_bT, pol_cH, pol_cG, 1) }, pol_bT); }; cpmst_adlistshow.prototype.pol_bF = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; var pol_dt = ''; document.write('<div id="', pol_cq, '123" style="overflow:hidden;position:absolute;z-index:10001;left:0px;top:0px;height:2000px;background-color:#F4F5F6;display:none;"></div>'); document.write("<div id='" + pol_cq + "_position' style='overflow:hidden;position:relative;height:" + this.pol_cG + "px;width:" + this.pol_cH + "px;'></div>"); document.write("<div id='" + pol_cq + "' style='overflow:hidden;height:" + this.pol_cG + "px;z-index:0;width:" + this.pol_cH + "px;position:absolute;left:-1000px'>"); document.write('</div>'); document.write('<input type="hidden" id="', pol_cq, '_direction" value="', this.direction, '">'); document.write('<input type="hidden" id="BannerID', pol_cq, '" name="BannerID', pol_cq, '" value="', pol_cq, '">'); document.write('<input type="hidden" id="BannerOffset_', pol_cq, '" value="0" />'); document.write('<input type="hidden" id="', pol_cq, '_status" value="0">'); if (this.pol_dn) setTimeout(function() { pol_v(pol_cY, 0, pol_cq, pol_bT, pol_cH, pol_cG, 1); }, pol_bT); var pol_aF = this; setTimeout(function() { pol_aF.pol_bG(pol_cY) }, 300); }; cpmst_adlistshow.prototype.pol_bG = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; var pol_dt = ''; pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); pol_dt = pol_dt.concat(pol_n(pol_cY[0], this.pol_cH, this.pol_cG, false, pol_cq)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq).innerHTML = pol_dt; pol_S(pol_cq, true); if (this.pol_dn) setTimeout(function() { pol_v(pol_cY, 0, pol_cq, pol_bT, pol_cH, pol_cG, 1) }, pol_bT); }; cpmst_adlistshow.prototype.cpmst_MoveLeft = function(pol_cH, pol_cG, pol_cq) { var BannerID = pol_G("BannerID" + pol_cq).value; var pol_aC = window.screen.width; var pol_aB = pol_G("divMove").style.width; var pol_al = 0; var pol_ak; var pol_ab = pol_G("BannerOffset_" + BannerID).value; pol_al = (parseInt(pol_aC) - parseInt(pol_aB)) / 2; pol_db = pol_G("divMove").style.marginLeft.replace("px", ""); pol_G(BannerID + "123").style.width = pol_al + "px"; pol_G(BannerID + "123").style.display = ""; pol_G(BannerID + "_status").value = 1; pol_ak = -(pol_ab - pol_al); pol_dB = pol_ak; if (pol_db > pol_ak) { pol_db -= 50; if (pol_db - pol_ak <= 50) { pol_G("divMove").style.marginLeft = pol_ak + "px"; } else { pol_G("divMove").style.marginLeft = pol_db + "px"; } pol_G("divMove").style.display = "block"; } else { pol_G("divMove").style.display = ""; clearInterval(a); clearTimeout(b); clearTimeout(c); pol_G(BannerID).style.display = "block"; pol_G(BannerID).style.height = pol_cG + "px"; pol_G(BannerID).style.width = pol_cH + "px"; pol_G(BannerID).style.zIndex = "1000"; pol_G(BannerID).style.left = pol_al + "px"; pol_G(BannerID).style.top = pol_J(pol_G(BannerID + '_position'))[1]; pol_G(BannerID + '_child').style.top = '0px'; } }; cpmst_adlistshow.prototype.cpmst_MoveRight = function(pol_cH, pol_cG, pol_cq) { var BannerID = pol_G("BannerID" + pol_cq).value; pol_db = parseInt(pol_G("divMove").style.marginLeft.replace("px", "")); if (pol_db == pol_dB) { pol_G("divMove").style.display = "block"; pol_G(BannerID).style.display = ""; pol_G(BannerID).style.height = pol_cG + "px"; pol_G(BannerID).style.width = pol_cH + "px"; pol_G(BannerID).style.left = ""; pol_G(BannerID + "_status").value = 0; pol_S(BannerID, true); } if (pol_db < 0) { pol_db += 50; if (pol_db > -50) { pol_G(BannerID + "123").style.display = "none"; pol_G("divMove").style.marginLeft = "0px"; } else { pol_G("divMove").style.marginLeft = pol_db + "px"; } } else { pol_G("divMove").style.display = ""; clearInterval(a); clearTimeout(b); clearTimeout(c); pol_S(BannerID, true); pol_G("divMove").style.marginLeft = "0px"; } }; cpmst_adlistshow.prototype.pol_bt = function(BannerID, pol_cH, pol_cG) { if (pol_G("divMove").style.display == "block") { return; } a = setInterval("cpmst_adlistshow.prototype.cpmst_MoveLeft(" + pol_cH + "," + pol_cG + ",'" + BannerID + "')", 50); b = setTimeout("a", 0); }; cpmst_adlistshow.prototype.pol_bu = function(BannerID, pol_cH, pol_cG) { if (pol_G("divMove").style.display == "block") { return; } a = setInterval("cpmst_adlistshow.prototype.cpmst_MoveRight(" + pol_cH + "," + pol_cG + ",'" + BannerID + "')", 50); b = setTimeout("a", 0); }; cpmst_adlistshow.prototype.pol_bD = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; document.write('<tr><td>'); document.write('<DIV id="', pol_cq, '_position" style="position:relative;overflow:hidden;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;"></DIV>'); document.write('<DIV id="', pol_cq, '" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:-1000px;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;">'); document.write('</DIV>'); document.write('<input type="hidden" id="', pol_cq, '_direction" value="', this.direction, '">'); document.write('<input type="hidden" id="', pol_cq, '_status" value="0">'); document.write('</td></tr>'); var pol_aF = this; if (window.addEventListener) window.addEventListener("load", function() { pol_aF.pol_bE(pol_cY) }, false); else if (window.attachEvent) window.attachEvent("onload", function() { pol_aF.pol_bE(pol_cY) }); else if (document.getElementById) setTimeout(function() { pol_aF.pol_bE(pol_cY) }, 500); }; cpmst_adlistshow.prototype.pol_bE = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; var pol_dt = ''; pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); pol_dt = pol_dt.concat(pol_n(pol_cY[0], this.pol_cH, this.pol_cG, false, pol_cq)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq).innerHTML = pol_dt; pol_Q(pol_cq, true); if (this.pol_dn && pol_cY.length > 1) setTimeout(function() { pol_v(pol_cY, 0, pol_cq, pol_bT, pol_cH, pol_cG, 1) }, pol_bT); }; cpmst_adlistshow.prototype.pol_bB = function(pol_cY, type) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; document.write('<DIV id="', pol_cq, '_position" style="position:relative;overflow:hidden;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;"></DIV>'); document.write('<DIV id="', pol_cq, '" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:0px;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;">'); document.write('</DIV>'); document.write('<input type="hidden" id="', pol_cq, '_directionfix" value="', this.direction, '">'); document.write('<input type="hidden" id="', pol_cq, '_status" value="0">'); var pol_aF = this; setTimeout(function() { pol_aF.pol_bC(pol_cY, type) }, 300); }; cpmst_adlistshow.prototype.pol_bC = function(pol_cY, type) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; var pol_dt = ''; switch (type) { case 0: pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="position:absolute;top:0px;left:0px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); break; case 1: pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="position:absolute;top:').concat(pol_cG - pol_cY[0][4]).concat('px;left:').concat(pol_cH - pol_cY[0][3]).concat('px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); break; case 2: pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="position:absolute;top:').concat(pol_cG - pol_cY[0][4]).concat('px;left:0px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); break; case 3: pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="position:absolute;top:').concat(pol_cG - pol_cY[0][4]).concat('px;left:').concat(pol_cH - pol_cY[0][3]).concat('px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); break; default: pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="position:absolute;top:').concat(pol_cG - pol_cY[0][4]).concat('px;left:').concat(pol_cH - pol_cY[0][3]).concat('px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); break; } pol_dt = pol_dt.concat(pol_n(pol_cY[0], this.pol_cH, this.pol_cG, false, pol_cq)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq).innerHTML = pol_dt; if (pol_cY.length > 1) { if (this.pol_dn) setTimeout(function() { pol_v(pol_cY, 0, pol_cq, pol_bT, pol_cH, pol_cG, 1) }, pol_bT); } }; function pol_S(id, pol_cc) { var pol_cf = true; if (pol_G(id + '_direction')) { direction = pol_G(id + '_direction').value; } else { direction = 0; } if (pol_G(id) && pol_G(id + '_position')) { var pol_as = pol_J(pol_G(id + '_position'))[1]; var pol_ar = pol_J(pol_G(id + '_position'))[0]; var pol_aq = parseInt(pol_G(id + '_position').offsetHeight); var pol_at = parseInt(pol_G(id + '_position').offsetWidth); var pol_ah = parseInt(pol_G(id).offsetHeight); var pol_ai = parseInt(pol_G(id).offsetWidth); if (direction == 0 || direction == 1) { pol_G(id).style.top = pol_as + 'px'; } else { pol_G(id).style.top = pol_as - pol_ah + pol_aq + 'px'; } if (direction == 0 || direction == 2) { pol_G(id).style.left = pol_ar + 'px'; } else { pol_G(id).style.left = pol_ar - pol_ai + pol_at + 'px'; } } if (pol_cc == true) { pol_D(id); pol_G('BannerOffset_' + id).value = pol_G(id).style.left.replace('px', ''); } c = setTimeout(function() { pol_S(id) }, 100); }; function pol_Q(id, pol_cc, pol_cl) { if (pol_G(id + '_child')) { if (parseInt(pol_G(id + '_child').offsetWidth) == 1440 && id == 'VBannerShared') return; if (parseInt(pol_G(id + '_child').offsetWidth) == 1000 && id == 'LargeLogo1') return; } if (typeof (pol_cl) == 'undefined') pol_cl = 0; var pol_cf = true; if (pol_G(id + '_direction')) { direction = pol_G(id + '_direction').value; } else if (pol_G(id + '_directionfix')) { direction = pol_G(id + '_directionfix').value; pol_cf = false; } else { direction = 0; } if (pol_G(id) && pol_G(id + '_position')) { if (pol_cf) { var pol_as = pol_J(pol_G(id + '_position'))[1]; var pol_ar = pol_J(pol_G(id + '_position'))[0]; var pol_aq = parseInt(pol_G(id + '_position').offsetHeight); var pol_at = parseInt(pol_G(id + '_position').offsetWidth); var pol_ah = parseInt(pol_G(id).offsetHeight); var pol_ai = parseInt(pol_G(id).offsetWidth); if (direction == 0 || direction == 1) { pol_G(id).style.top = pol_as + 'px'; } else { pol_G(id).style.top = pol_as - pol_ah + pol_aq + 'px'; } if (direction == 0 || direction == 2) { pol_G(id).style.left = pol_ar + 'px'; } else { pol_G(id).style.left = pol_ar - pol_ai + pol_at + 'px'; } } else { } } if (pol_cc == true) pol_D(id); if (pol_cl == 0 && typeof (id) != 'undefined') setTimeout(function() { pol_Q(id) }, 100); }; function pol_U(id) { if (pol_G(id) && pol_G(id + '_position')) { var pol_ar = pol_I(pol_G(id + '_position'))[0]; pol_G(id).style.left = pol_ar + 'px'; } setTimeout(function() { pol_U(id) }, 100); }; function pol_D(id) { if (pol_G(id + '_child')) { if (parseInt(pol_G(id + '_child').offsetWidth) == 1440 && id == 'VBannerShared') { pol_G(id + '_child').style.top = '-162px'; pol_G(id + '_child').style.left = '-962px'; return; } if (parseInt(pol_G(id + '_child').offsetWidth) == 1000 && id == 'LargeLogo1') { pol_G(id + '_child').style.top = '-75px'; pol_G(id + '_child').style.left = '-510px'; return; } } var pol_cf = true; if (pol_G(id + '_direction')) { direction = pol_G(id + '_direction').value; } else if (pol_G(id + '_directionfix')) { direction = pol_G(id + '_directionfix').value; pol_cf = false; } else { direction = 0; } if (pol_G(id) && pol_G(id + '_child')) { var pol_af = parseInt(pol_G(id + '_child').offsetHeight); var pol_ag = parseInt(pol_G(id + '_child').offsetWidth); var pol_au = parseInt(pol_G(id).offsetHeight); var pol_av = parseInt(pol_G(id).offsetWidth); if (direction == 0 || direction == 1) { pol_G(id + '_child').style.top = 0 + 'px'; } else { pol_G(id + '_child').style.top = pol_au - pol_af + 'px'; } if (direction == 0 || direction == 2) { pol_G(id + '_child').style.left = 0 + 'px'; } else { pol_G(id + '_child').style.left = pol_av - pol_ag + 'px'; } } }; var pol_aV = 1; function pol_b(pol_bX, type, eY) { if (typeof (eY) == 'undefined') { eY = 0 }; var pol_dx, pol_dy; if (type == 1 || type == 3) { pol_dx = document.body.clientWidth - 120; } else { pol_dx = 5; } if (type == 2 || type == 3) { pol_dy = document.body.clientHeight; } else { pol_dy = 0; } if (document.body.clientWidth < 1250) { pol_dx = -125 }; window.pol_dz = function(pol_cg, type, eY) { var pol_dx, pol_dy; var pol_cW = (navigator.appName.indexOf("Netscape") != -1); if (type == 1 || type == 3) { pol_dx = document.body.clientWidth - 125; } else { pol_dx = 5; } if (document.body.clientWidth < 1250) { pol_cg.style.display = 'none'; } else { pol_cg.style.display = ''; if (document.documentElement && document.documentElement.scrollTop) var pol_dh = pol_cW ? pageYOffset : document.documentElement.scrollTop; else if (document.body) var pol_dh = pol_cW ? pageYOffset : document.body.scrollTop; if (type == 2 || type == 3) { if (document.documentElement && document.documentElement.clientHeight) pol_dy = document.documentElement.clientHeight - 305; else if (document.body) pol_dy = document.body.clientHeight - 305; } else { if (document.documentElement) { if (document.documentElement.scrollTop > 98) { pol_dy = 3 } else { pol_dy = 98 - document.documentElement.scrollTop; }; } else if (document.body) { if (document.body.scrollTop > 98) { pol_dy = 3 } else { pol_dy = 98 - document.body.scrollTop; }; } } pol_cg.y += (pol_dh + pol_dy - pol_cg.y) / 8; pol_cg.style.left = pol_dx + 'px'; pol_cg.style.top = pol_cg.y + eY + 'px'; } setTimeout(function() { pol_dz(pol_cg, type, eY) }, 15); }; var pol_cg = pol_G(pol_bX); if (!pol_cg) return; pol_cg.x = pol_dx; pol_cg.y = pol_dy; pol_dz(pol_cg, type, eY); }; function cpmst_expandslideselfbanner(pol_aL, pol_cH, pol_cG) { cpmst_adlistshow.prototype.pol_bt(pol_aL, pol_cH, pol_cG); }; function cpmst_collapslideselfbanner(pol_aL, pol_cH, pol_cG) { cpmst_adlistshow.prototype.pol_bu(pol_aL, pol_cH, pol_cG); }; function cpmst_expandselfbanner(pol_aL, pol_cH, pol_cG) { pol_G(pol_aL).style.zIndex = "99999"; pol_G(pol_aL + '_status').value = 1; if (pol_G(pol_aL + '_directionfix')) { var pol_dD = pol_G(pol_aL + '_child').style.top; var pol_cC = pol_G(pol_aL + '_child').style.left; pol_G(pol_aL).style.height = pol_cG + 'px'; pol_G(pol_aL).style.width = pol_cH + 'px'; pol_G(pol_aL).style.top = pol_dD; pol_G(pol_aL).style.left = pol_cC; pol_G(pol_aL + '_child').style.top = '0px'; pol_G(pol_aL + '_child').style.left = '0px'; } else { if (pol_G(pol_aL + '_position')) { pol_G(pol_aL).style.height = pol_cG + 'px'; pol_G(pol_aL).style.width = pol_cH + 'px'; pol_Q(pol_aL); pol_D(pol_aL); return; } var pol_aa = parseInt(pol_G(pol_aL).offsetHeight); var pol_ad = parseInt(pol_G(pol_aL).offsetWidth); if ((pol_aa < pol_cG - 10) || (pol_ad < pol_cH - 10)) { if (pol_aa < pol_cG - 10) { pol_G(pol_aL).style.height = pol_aa + 10 + 'px'; } else { pol_G(pol_aL).style.height = pol_cG + 'px'; } if (pol_ad < pol_cH - 10) { pol_G(pol_aL).style.width = pol_ad + 10 + 'px'; } else { pol_G(pol_aL).style.width = pol_cH + 'px'; } pol_Q(pol_aL); pol_D(pol_aL); setTimeout(function() { cpmst_expandselfbanner(pol_aL, pol_cH, pol_cG) }, 5); return; } else { pol_G(pol_aL).style.height = pol_cG + 'px'; pol_G(pol_aL).style.width = pol_cH + 'px'; pol_Q(pol_aL); pol_D(pol_aL); } } }; function cpmst_collapselfbanner(pol_aL, pol_cH, pol_cG) { pol_G(pol_aL).style.zIndex = "100"; if (pol_G(pol_aL + '_directionfix')) { var pol_dE = pol_G(pol_aL).style.top; var pol_cD = pol_G(pol_aL).style.left; pol_G(pol_aL).style.height = pol_cG + 'px'; pol_G(pol_aL).style.width = pol_cH + 'px'; pol_G(pol_aL).style.top = '0px'; pol_G(pol_aL).style.left = '0px'; pol_G(pol_aL + '_child').style.top = pol_dE; pol_G(pol_aL + '_child').style.left = pol_cD; } else { if (pol_G(pol_aL + '_position')) { pol_G(pol_aL).style.height = pol_cG + 'px'; pol_G(pol_aL).style.width = pol_cH + 'px'; pol_Q(pol_aL); pol_D(pol_aL); pol_G(pol_aL + '_status').value = 0; return; } var pol_aa = parseInt(pol_G(pol_aL).offsetHeight); var pol_ad = parseInt(pol_G(pol_aL).offsetWidth); if ((pol_aa > pol_cG + 10) || (pol_ad > pol_cH + 10)) { if (pol_aa > pol_cG + 10) { pol_G(pol_aL).style.height = pol_aa - 10 + 'px'; } else { pol_G(pol_aL).style.height = pol_cG + 'px'; } if (pol_ad > pol_cH + 10) { pol_G(pol_aL).style.width = pol_ad - 10 + 'px'; } else { pol_G(pol_aL).style.width = pol_cH + 'px'; } pol_Q(pol_aL); pol_D(pol_aL); setTimeout(function() { cpmst_collapselfbanner(pol_aL, pol_cH, pol_cG) }, 5); return; } else { pol_G(pol_aL).style.height = pol_cG + 'px'; pol_G(pol_aL).style.width = pol_cH + 'px'; pol_Q(pol_aL); pol_D(pol_aL); pol_G(pol_aL + '_status').value = 0; } } }; function pol_P(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG) { var pol_cg = pol_G(pol_aL); if (!pol_cg) return; var pol_dh = parseInt(pol_cg.style.top); pol_dh = pol_dh - Math.round(parseInt(pol_cg.style.top) / 8) - 1; if (pol_dh > 0) { pol_cg.style.top = pol_dh; setTimeout(function() { pol_P(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG) }, 10); } else { pol_cg.style.top = 0; setTimeout(function() { pol_A(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG) }, pol_bT); } }; function pol_A(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG) { var pol_cg = pol_G(pol_aL); if (!pol_cg) return; var pol_dh = parseInt(pol_cg.style.top); pol_dh = pol_dh + Math.round((pol_cG - parseInt(pol_cg.style.top)) / 8) + 1; if (pol_dh < pol_cG) { pol_cg.style.top = pol_dh; setTimeout(function() { pol_A(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG) }, 10); } else { pol_cg.style.top = pol_cG; if (index == pol_cY.length - 1) { index = 0; } else { index++; } pol_G(pol_aL).innerHTML = pol_n(pol_cY[index], pol_cH, pol_cG); setTimeout(function() { pol_P(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG) }, 5000); } }; function pol_E() { var pol_aA = 0; if (window.location.href.toLowerCase().indexOf("") > -1) { pol_aA = 4; } else if (window.location.href.toLowerCase().indexOf("") > -1) { pol_aA = 3; } else if (window.location.href.toLowerCase().indexOf("") > -1) { pol_aA = 1; } else if (window.location.href.toLowerCase().indexOf("ngoisao.net") > -1) { pol_aA = 2; } return pol_aA; }; function pol_n(pol_cY, pol_cH, pol_cG, pol_aS, pol_cs) { if (!pol_cY) { return '' } var pol_aE = pol_l(pol_cY[2].substring(pol_cY[2].lastIndexOf(',') + 2)); var pol_dt = ''; var pol_dq = (pol_e(pol_cY[0], 7).toLowerCase() == 'http://') ? pol_cY[0] : pol_aW.concat(pol_cY[0]); if (typeof (pol_aS) == "undefined") pol_aS = true; var pol_cu = (pol_cH < pol_cY[3] && pol_cH > 0 && pol_aS) ? pol_cH : pol_cY[3]; var pol_ct = (pol_cG < pol_cY[4] && pol_cG > 0 && pol_aS) ? pol_cG : pol_cY[4]; if (pol_cY[0].toLowerCase().indexOf('polyad_extendbanner') > 0 && pol_cY[1].toLowerCase() == 'http://cp.polyad.net') { pol_dt = pol_dt.concat('<IFRAME MARGINWIDTH="0" ALLOWTRANSPARENCY="true" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no" '); pol_dt = pol_dt.concat(' WIDTH="').concat(pol_cY[3]).concat('" HEIGHT="').concat(pol_cY[4]).concat('" '); pol_dt = pol_dt.concat(' SRC="').concat(pol_aZ).concat('/Script/ExtendBanner/').concat(pol_k(pol_cY[2].split(',')[12])).concat('.htm"></IFRAME>'); } else { if (pol_h(pol_cY[0], 4).toLowerCase() == '.swf') { pol_dt = pol_dt.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(pol_cu).concat(' height=').concat(pol_ct).concat('>'); pol_dt = pol_dt.concat('<param name="movie" value="').concat(pol_dq).concat('">'); pol_dt = pol_dt.concat('<param name="AllowScriptAccess" value="always">'); pol_dt = pol_dt.concat('<param name="quality" value="High">'); pol_dt = pol_dt.concat('<param name="wmode" value="transparent">'); pol_dt = pol_dt.concat('<param name="FlashVars" value="').concat('link=').concat(escape(pol_m(pol_cY[2].substring(pol_cY[2].lastIndexOf(',') + 2), pol_cY[1], false))).concat('&zoneid=').concat(pol_cs).concat('&actionTag=').concat(escape(pol_aE)).concat('">'); pol_dt = pol_dt.concat('<embed src="').concat(pol_dq).concat('" FlashVars="').concat('link=').concat(escape(pol_m(pol_cY[2].substring(pol_cY[2].lastIndexOf(',') + 2), pol_cY[1], false))).concat('&zoneid=').concat(pol_cs).concat('&actionTag=').concat(escape(pol_aE)).concat('" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" AllowScriptAccess="always" width=').concat(pol_cu).concat(' height=').concat(pol_ct).concat('>'); pol_dt = pol_dt.concat('</object>'); } else { if (pol_cY[1] != '') { pol_dt = '<img src="'.concat(pol_dq).concat('" onClick="return pol_K(\'').concat(pol_cY[1]).concat('\', ').concat(pol_cY[2]).concat(', 1)" style="cursor:pointer;" border=0 width=').concat(pol_cu).concat(' height=').concat(pol_ct).concat('>'); } else { pol_dt = '<img src="'.concat(pol_dq).concat('" border=0 width=').concat(pol_cu).concat(' height=').concat(pol_ct).concat('>'); } } } return pol_dt; }; cpmst_adlistshow.prototype.pol_bb = function(pol_cY) { var pol_aR = false; var pol_ci; if (this.pol_dv == 8) { pol_ci = pol_cY[9]; } else { pol_ci = pol_cY[6]; } if (pol_ci == 3 && this.pol_aT < 4) pol_aR = true; else if (pol_ci == this.pol_aT || pol_ci == 0) pol_aR = true; if (typeof (PAGE_FOLDER) != 'undefined') { if (PAGE_FOLDER == 9998) if (pol_cY[1].indexOf('http://www.nguoinemngon.vn') >= 0) { if (window.location.href.indexOf("c=17") > 0) { return true } else { return false } } } var pol_dP = pol_cY[2].lastIndexOf(','); var pol_dM = parseInt(pol_cY[2].substr(pol_dP + 2)); if (pol_dM == 4648) { if (typeof (RelatedFolder) != 'undefined') { if (RelatedFolder == 1) return false; return true; } } if (pol_dM == 4649) { if (typeof (PAGE_FOLDER) != 'undefined') { if (PAGE_FOLDER == 1) return false; return true; } } if (typeof (TOPIC_ID) != 'undefined') { if (pol_cY[0].toLowerCase().indexOf('topic') > -1) { var pol_aD = pol_cY[0].split("_"); if (pol_aD.length > 0) pol_aD = pol_aD[0].split("+"); if (pol_aD.length > 1) { for (var i = 1; i < pol_aD.length; i++) { if (TOPIC_ID == pol_aD[i]) { return true; } } return false; } } } if (pol_aR && this.pol_dv == 7) { pol_aR = false; if (typeof (pol_bZ) == 'undefined') return; var pol_bY = new Date(pol_cY[7]); var pol_ca = new Date(pol_cY[8]); var pol_cj = (pol_bZ.getTime() - pol_bY.getTime()) / 1000; var pol_cp = (pol_ca.getTime() - pol_bZ.getTime()) / 1000; if (pol_cj < 5 * 86400 && pol_cj >= 0 && pol_cp > 5 * 86400 && pol_cp >= 0) { pol_aR = true; } } return pol_aR; }; function pol_M() { return (Math.random() * 10000) - 5000; }; function pol_L(pol_dO, pol_ea, pol_dW, pol_dU, pol_eb, pol_dK, pol_dZ, pol_dQ, pol_dL) { if (typeof (pol_dL) == 'undefined') { pol_dL = false; } var pol_di = '/Library/Common/PopupUnder.Asp?vImage='; if (window.location.href.toLowerCase().indexOf("") > -1) { pol_di = '/Library/Popup.Aspx?vImage='; } else if (window.location.href.toLowerCase().indexOf("") > -1) { pol_di = '/Library/Popup.Aspx?vImage='; } else if (window.location.href.toLowerCase().indexOf("") > -1) { pol_di = '/Library/Common/PopupUnder.Asp?vImage='; } else if (window.location.href.toLowerCase().indexOf("ngoisao.net") > -1) { pol_di = '/Library/PopupUnder.Asp?vImage='; } if (pol_dL) { var pol_dj = open(pol_di.concat(escape(pol_dO)).concat('&vLink=').concat(escape(pol_ea)).concat('&vTitle=').concat(escape(pol_dW)), 'Popup_'.concat(pol_g(pol_dW, ' ', '_')), 'status=no,resizable=no,scrollbars='.concat(pol_dU).concat(',toolbar=no,location=no,fullscreen=no,titlebar=no,height=').concat(pol_dK).concat(',').concat('width=').concat(pol_eb).concat(',').concat('top=').concat(0).concat(',').concat('left=').concat(0)); var pol_ap = pol_ea; window.focus(); if (pol_dj) { pol_dj.blur() }; return pol_dj; } else { return open(pol_di.concat(escape(pol_dO)).concat('&vLink=').concat(escape(pol_ea)).concat('&vTitle=').concat(escape(pol_dW)), 'Popup_'.concat(pol_g(pol_dW, ' ', '_')), 'status=no,resizable=no,scrollbars=no,toolbar=no,location=no,fullscreen=no,titlebar=yes,height='.concat(pol_dK).concat(',').concat('width=').concat(pol_eb).concat(',').concat('top=').concat(pol_dZ).concat(',').concat('left=').concat(pol_dQ)); } }; function pol_K(vLink, pol_dV, pol_dT, pol_dU, pol_dY, pol_dR, pol_dJ, pol_dX, pol_dH, pol_dK, pol_eb, pol_dZ, pol_dQ, pol_dM, pol_dI) { var pol_ds = (typeof (vLink.href) == 'undefined') ? vLink : vLink.href; pol_dT = 1; pol_dU = 1; pol_dV = 1; pol_dY = 1; pol_dR = 1; pol_dX = 1; pol_dK = 600; pol_eb = 800; pol_ec = ''; pol_ec = pol_ec.concat('status=').concat((pol_dV) ? 'yes' : 'no').concat(','); pol_ec = pol_ec.concat('resizable=').concat((pol_dT) ? 'yes' : 'no').concat(','); pol_ec = pol_ec.concat('scrollbars=').concat((pol_dU) ? 'yes' : 'no').concat(','); pol_ec = pol_ec.concat('toolbar=').concat((pol_dY) ? 'yes' : 'no').concat(','); pol_ec = pol_ec.concat('location=').concat((pol_dR) ? 'yes' : 'no').concat(','); pol_ec = pol_ec.concat('fullscreen=').concat((pol_dJ) ? 'yes' : 'no').concat(','); pol_ec = pol_ec.concat('titlebar=').concat((pol_dX) ? 'yes' : 'no').concat(','); pol_ec = pol_ec.concat('height=').concat(pol_dK - 140).concat(','); pol_ec = pol_ec.concat('width=').concat(pol_eb).concat(','); if (pol_dH) { pol_ec = pol_ec.concat('top=').concat((screen.height - pol_dK) / 2).concat(','); pol_ec = pol_ec.concat('left=').concat((screen.width - pol_eb) / 2); } else { pol_ec = pol_ec.concat('top=').concat(pol_dZ).concat(','); pol_ec = pol_ec.concat('left=').concat(pol_dQ); } if (typeof (pol_dI) == 'undefined') { pol_dI = 0; } if (typeof (pol_dM) == 'undefined') { pol_dM = 0; } if (pol_dI) { pol_ds = pol_m(pol_dM, pol_ds, true); } open(pol_ds, '_blank', pol_ec); if (typeof (vLink.href) != 'undefined') { return false; } }; function pol_m(pol_dM, vLink, pol_dS) { var pol_dw = pol_E(); if (vLink == '') return ''; if (pol_dS == true) { return pol_aY.concat('&b=').concat(pol_dM).concat('&s=').concat(pol_dw).concat('&l=').concat(escape(vLink)).concat('&r=').concat(Math.random()); } else { return pol_aY.concat('&b=').concat(pol_dM).concat('&s=').concat(pol_dw).concat('&l=').concat(escape(vLink)); } }; function pol_l(pol_dM) { return pol_aX.concat('&b=').concat(pol_dM).concat('&r=').concat(Math.random()); }; function pol_c(pol_bX, type, eY) { if (typeof (eY) == 'undefined') { eY = 0 }; var pol_dx, pol_dy; if (type == 1) { pol_dx = document.body.clientWidth - 115; } else { pol_dx = 5; } if (type == 2) { pol_dy = document.body.clientHeight; } else { pol_dy = 0; } if (document.body.clientWidth < 980) { pol_dx = -115 }; window.pol_dz = function(pol_cg, type, eY) { var pol_dx, pol_dy; var pol_cW = (navigator.appName.indexOf("Netscape") != -1); if (type == 1) { pol_dx = document.body.clientWidth - 115; } else { pol_dx = 5; } if (document.body.clientWidth < 980) { pol_cg.style.display = 'none'; } else { pol_cg.style.display = ''; if (document.documentElement && document.documentElement.scrollTop) var pol_dh = pol_cW ? pageYOffset : document.documentElement.scrollTop; else if (document.body) var pol_dh = pol_cW ? pageYOffset : document.body.scrollTop; if (type == 2) { pol_dy = document.body.clientHeight - 183; } else { if (document.body.scrollTop > 71) { pol_dy = 3 } else { pol_dy = 71 - document.body.scrollTop }; } pol_cg.y += (pol_dh + pol_dy - pol_cg.y) / 8; pol_cg.style.left = pol_dx; pol_cg.style.top = pol_cg.y + eY; } setTimeout(function() { pol_dz(pol_cg, type, eY) }, 15); }; var pol_cg = pol_G(pol_bX); if (!pol_cg) return; pol_cg.x = pol_dx; pol_cg.y = pol_dy; pol_dz(pol_cg, type, eY); }; function pol_G(pol_cM) { if (document.getElementById) { m = document.getElementById(pol_cM) } else if (document.all) { m = document.all[pol_cM] } else if (document.layers) { m = document[pol_cM] } return m; }; function pol_J(pol_cY, pol_df) { var p = pol_df ? pol_df.slice(0) : [0, 0]; while (pol_cY) { if (pol_cY.id.toUpperCase().indexOf("DVSCROLL") != -1) { pol_cY = pol_cY.offsetParent; continue; } p[0] += pol_cY.offsetLeft; p[1] += pol_cY.offsetTop; if (pol_cY.tagName.toUpperCase() == "BODY") break; pol_cY = pol_cY.offsetParent; } return p; }; function pol_I(pol_cY, pol_df) { var p = pol_df ? pol_df.slice(0) : [0, 0]; while (pol_cY) { p[0] += pol_cY.offsetLeft; p[1] += pol_cY.offsetTop; if (pol_cY.tagName.toUpperCase() == "BODY") break; pol_cY = pol_cY.offsetParent; } return p; }; function pol_k(pol_co) { while (pol_co.charCodeAt(0) <= 32) { pol_co = pol_co.substr(1); } while (pol_co.charCodeAt(pol_co.length - 1) <= 32) { pol_co = pol_co.substr(0, pol_co.length - 1); } return pol_co; }; function pol_e(pol_dA, n) { if (n <= 0) return ""; else if (n > String(pol_dA).length) return pol_dA; else return String(pol_dA).substring(0, n); }; function pol_h(pol_dA, n) { if (n <= 0) return ""; else if (n > String(pol_dA).length) return pol_dA; else { var pol_ck = String(pol_dA).length; return String(pol_dA).substring(pol_ck, pol_ck - n); } }; function pol_g(pol_co, pol_dF, pol_dG) { var i = 0, pol_cX = '', j = pol_dF.length; while (i < pol_co.length) { if (pol_co.substr(i, j) == pol_dF) { pol_cX += pol_dG; i += j } else { pol_cX += pol_co.charAt(i); i++; } } return pol_cX; }; cpmst_adlistshow.prototype.pol_br = function(type) { if (!pol_G("CurrentBrowserWidth")) document.write('<input type="hidden" id="CurrentBrowserWidth" value="" />'); if (!pol_G("ShowBackground")) document.write('<input type="hidden" id="ShowBackground" value="1" />'); if (!pol_G("divSlideResultLeft")) document.write('<div id="divSlideResultLeft" style="background-repeat:no-repeat;background-position:right top;over-flow:hidden;cursor:pointer;text-align:right;padding:0px;position: fixed!important;position: absolute; /*ie6 and above*/;left: 0px; top: 0px;overflow:hidden;"></div>'); if (!pol_G("divSlideResultRight")) document.write('<div id="divSlideResultRight" style="background-repeat:no-repeat;over-flow:hidden;cursor:pointer;text-align:left;padding:0px;position: fixed!important; position: absolute; /*ie6 and above*/;right: 0px; top: 0px;overflow:hidden;"></div>'); if (pol_G("CurrentBrowserWidth").value == '') pol_G("CurrentBrowserWidth").value = 0; if (type == 0) { pol_dP = this.pol_cJ[0][2].lastIndexOf(','); pol_dM = this.pol_cJ[0][2].substr(pol_dP + 2); pol_ds = pol_m(pol_dM, this.pol_cJ[0][1], true); pol_aI = this.pol_cJ[0][2].split(","); pol_dr = this.pol_cJ[0][0]; } else if (type == 1) { pol_dP = this.pol_cJ[0][2].lastIndexOf(','); pol_dM = this.pol_cJ[0][2].substr(pol_dP + 2); pol_ds = pol_m(pol_dM, this.pol_cJ[0][1], true); pol_aI = this.pol_cJ[0][2].split(","); pol_dr = this.pol_cJ[0][0]; } pol_W(type, pol_ds, pol_dr, pol_dM, this.pol_cJ[0][1]); }; var pol_cx = true; var pol_cy = true; function pol_W(type, pol_ds, pol_dr, pol_cq, pol_cI) { var clientHeight = 0; var clientWidth = 0; var pol_aU = 1000; var pol_cm = true; clientHeight = pol_x(); clientWidth = pol_y(); if (document.getElementById("divMove") != null) { pol_aU = parseInt(pol_G("divMove").style.width.replace("px", "")); } else if (document.getElementById("global") != null) { pol_aU = parseInt(pol_G("global").style.width.replace("px", "")); } else if (document.getElementById("wrapHome") != null) { pol_aU = parseInt(pol_G("wrapHome").style.width.replace("px", "")); } if (clientWidth > pol_aU) { if (pol_h(pol_dr, 4).toLowerCase() == '.swf') pol_cm = false; if (clientWidth != pol_G("CurrentBrowserWidth").value) { pol_cx = true; pol_cy = true; if (parseInt(pol_G("CurrentBrowserWidth").value) < pol_aU) pol_cm = true; } if (pol_G("divSlideResultLeft").innerHTML == "" && pol_h(pol_dr, 4).toLowerCase() == '.swf') { pol_cx = true; pol_cm = true; } if (pol_G("divSlideResultRight").innerHTML == "" && pol_h(pol_dr, 4).toLowerCase() == '.swf') { pol_cy = true; pol_cm = true; } var pol_aE = pol_l(pol_cq); var pol_dt = ""; var pol_dq = (pol_e(pol_dr, 7).toLowerCase() == 'http://') ? pol_dr : pol_aW.concat(pol_dr); var pol_de = (clientWidth - pol_aU) / 2; if (pol_cx) { pol_G("divSlideResultLeft").style.left = "0px"; pol_G("divSlideResultLeft").style.width = pol_de + "px"; pol_cx = pol_cm; } if (pol_G("ShowBackground")) { if (pol_G("ShowBackground").value == 1) { pol_G("divSlideResultLeft").style.height = clientHeight + "px"; } else { pol_G("divSlideResultLeft").style.height = "0px"; } } else { pol_G("divSlideResultLeft").style.height = clientHeight + "px"; } if (pol_cy) { pol_G("divSlideResultRight").style.width = pol_de + "px"; pol_G("divSlideResultRight").style.left = pol_de + pol_aU + "px"; pol_cy = pol_cm; } if (pol_G("ShowBackground")) { if (pol_G("ShowBackground").value == 1) { pol_G("divSlideResultRight").style.height = clientHeight + "px"; } else { pol_G("divSlideResultRight").style.height = "0px"; } } else { pol_G("divSlideResultRight").style.height = clientHeight + "px"; } var br = navigator.appVersion; if (type == 0) { if (pol_cx) { pol_cx = false; if (pol_h(pol_dr, 4).toLowerCase() == '.swf') { pol_dt = pol_dt.concat('<div style="float:right;">').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="220" height="900">'); pol_dt = pol_dt.concat('<param name="movie" value="').concat(pol_dq).concat('">'); pol_dt = pol_dt.concat('<param name="AllowScriptAccess" value="always">'); pol_dt = pol_dt.concat('<param name="quality" value="High">'); pol_dt = pol_dt.concat('<param name="wmode" value="transparent">'); pol_dt = pol_dt.concat('<param name="FlashVars" value="').concat('link=').concat(escape(pol_ds)).concat('&zoneid=').concat(pol_cq).concat('&actionTag=').concat(escape(pol_aE)).concat('">'); pol_dt = pol_dt.concat('<embed src="').concat(pol_dq).concat('" FlashVars="').concat('link=').concat(escape(pol_ds)).concat('&zoneid=').concat(pol_cq).concat('&actionTag=').concat(escape(pol_aE)).concat('" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" AllowScriptAccess="always" width="220" height="900">'); pol_dt = pol_dt.concat('</object>').concat('</div>'); pol_G("divSlideResultLeft").innerHTML = pol_dt; } else { pol_G("divSlideResultLeft").style.backgroundColor = "transparent"; pol_G("divSlideResultLeft").style.backgroundImage = "url('" + pol_dq + "')"; pol_G("divSlideResultLeft").style.width = pol_de + "px"; pol_G("divSlideResultLeft").style.height = clientHeight + "px"; pol_G("divSlideResultLeft").style.cursor = "hand"; if (pol_cI.length != 0) { if (br.indexOf("MSIE") != -1) { pol_G("divSlideResultLeft").onclick = function() { window.open(pol_ds); }; } else { pol_G("divSlideResultLeft").setAttribute("onclick", "javascript:window.open('" + pol_ds + "');"); } } } } } else if (type == 1) { if (pol_cy) { pol_cy = false; if (pol_h(pol_dr, 4).toLowerCase() == '.swf') { pol_dt = pol_dt.concat('<div style="float:left;">').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="220" height="900">'); pol_dt = pol_dt.concat('<param name="movie" value="').concat(pol_dq).concat('">'); pol_dt = pol_dt.concat('<param name="AllowScriptAccess" value="always">'); pol_dt = pol_dt.concat('<param name="quality" value="High">'); pol_dt = pol_dt.concat('<param name="wmode" value="transparent">'); pol_dt = pol_dt.concat('<param name="FlashVars" value="').concat('link=').concat(escape(pol_ds)).concat('&zoneid=').concat(pol_cq).concat('&actionTag=').concat(escape(pol_aE)).concat('">'); pol_dt = pol_dt.concat('<embed src="').concat(pol_dq).concat('" FlashVars="').concat('link=').concat(escape(pol_ds)).concat('&zoneid=').concat(pol_cq).concat('&actionTag=').concat(escape(pol_aE)).concat('" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" AllowScriptAccess="always" width="220" height="900">'); pol_dt = pol_dt.concat('</object>').concat('</div>'); pol_G("divSlideResultRight").innerHTML = pol_dt; } else { pol_G("divSlideResultRight").style.width = pol_de + "px"; pol_G("divSlideResultRight").style.height = clientHeight + "px"; pol_G("divSlideResultRight").style.backgroundColor = "transparent"; pol_G("divSlideResultRight").style.backgroundImage = "url('" + pol_dq + "')"; pol_G("divSlideResultRight").style.cursor = "hand"; if (pol_cI.length != 0) { if (br.indexOf("MSIE") != -1) { pol_G("divSlideResultRight").onclick = function() { window.open(pol_ds); }; } else { pol_G("divSlideResultRight").setAttribute("onclick", "javascript:window.open('" + pol_ds + "');"); } } } } } } else { pol_G("divSlideResultLeft").innerHTML = ""; pol_G("divSlideResultRight").innerHTML = ""; pol_G("divSlideResultRight").style.backgroundImage = ""; pol_G("divSlideResultLeft").style.backgroundImage = ""; } pol_G("CurrentBrowserWidth").value = clientWidth; if (type == 0) { a = setTimeout('pol_W("' + type + '","' + pol_ds + '","' + pol_dr + '","' + pol_cq + '","' + pol_cI + '")', 100); } else if (type == 1) { b = setTimeout('pol_W("' + type + '","' + pol_ds + '","' + pol_dr + '","' + pol_cq + '","' + pol_cI + '")', 100); } }; var pol_aN; cpmst_adlistshow.prototype.pol_bp = function() { document.write('<table align=center ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0>'); this.pol_bL(this.pol_cJ, 0); document.write('</table>'); }; cpmst_adlistshow.prototype.pol_bL = function(pol_cY) { if (pol_cY.length <= 0) return; if (pol_G("ShowBackground")) pol_G("ShowBackground").value = 0; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; document.write('<tr><td>'); document.write('<DIV id="', pol_cq, '_position" style="position:relative;overflow:hidden;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;"></DIV>'); document.write('<DIV id="', pol_cq, '" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:0px;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;">'); document.write('</DIV>'); document.write('<input type="hidden" id="', pol_cq, '_direction" value="', this.direction, '">'); document.write('<input type="hidden" id="', pol_cq, '_status" value="0">'); document.write('</td></tr>'); var pol_aF = this; setTimeout(function() { pol_aF.pol_bM(pol_cY) }, 300); }; cpmst_adlistshow.prototype.pol_bM = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; var pol_dt = ''; if (pol_cY[0][3] == 1000 && pol_cY[0][4] == 400) { pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="position:absolute;top:-75px;left:-510px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); } else { pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); } pol_dt = pol_dt.concat(pol_n(pol_cY[0], this.pol_cH, this.pol_cG, false, pol_cq)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq).innerHTML = pol_dt; pol_R(pol_cq, true); if (this.pol_dn && pol_cY.length > 1) setTimeout(function() { pol_q(pol_cY, 0, pol_cq, pol_bT, pol_cH, pol_cG, 1) }, pol_bT); }; function pol_q(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG, type) { if (typeof (type) == 'undefined') type = 1; if (pol_G(pol_aL + '_status').value == '0') { if (index == pol_cY.length - 1) { index = 0; } else { index++; } if (type == 1) { var pol_dt = ''; if (pol_cY[index][3] == 1000 && pol_cY[index][4] == 400) { pol_dt = pol_dt.concat('<DIV id="').concat(pol_aL).concat('_child" style="position:absolute;top:-75px;left:-510px;width:').concat(pol_cY[index][3]).concat('px;height:').concat(pol_cY[index][4]).concat('px;">'); } else { pol_dt = pol_dt.concat('<DIV id="').concat(pol_aL).concat('_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:').concat(pol_cY[index][3]).concat('px;height:').concat(pol_cY[index][4]).concat('px;">'); } pol_dt = pol_dt.concat(pol_n(pol_cY[index], pol_cH, pol_cG, false, pol_aL)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_aL).innerHTML = pol_dt; clearTimeout(pol_aN); pol_R(pol_aL, true); } } setTimeout(function() { pol_q(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG, type) }, pol_bT); }; function pol_R(id, pol_cc) { var pol_cF = 0; if (document.getElementById(id + '_child') != null) pol_cF = parseInt(pol_G(id + '_child').offsetWidth); if (id == 'LargeLogo1' && pol_cF != 1000) { pol_Q(id, pol_cc, 1); pol_aN = setTimeout(function() { pol_R(id, false) }, 100); return; } var pol_cf = true; if (pol_G(id + '_direction')) { direction = pol_G(id + '_direction').value; } else { direction = 0; } if (pol_G(id) && pol_G(id + '_position')) { var pol_cK = 0; if (typeof (window.innerWidth) == 'number') { pol_cK = window.innerWidth; pol_cK = (pol_cK - 1017) / 2; } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) { pol_cK = document.documentElement.clientWidth; pol_cK = (pol_cK - 1002) / 2; } var pol_as = pol_J(pol_G(id + '_position'))[1]; var pol_ar = pol_J(pol_G(id + '_position'))[0]; var pol_at = parseInt(pol_G(id + '_position').offsetWidth); var pol_aq = parseInt(pol_G(id + '_position').offsetHeight); var pol_ai = parseInt(pol_G(id).offsetWidth); var pol_ah = parseInt(pol_G(id).offsetHeight); if (pol_ah > pol_aq) { pol_G(id).style.left = pol_cK + 'px'; pol_G(id).style.top = pol_as - 75 + 'px'; pol_G(id + '_child').style.left = "0px"; pol_G(id + '_child').style.top = "0px"; } else { pol_G(id).style.left = pol_ar - pol_ai + pol_at + 'px'; pol_G(id).style.top = pol_as + 'px'; } } pol_aN = setTimeout(function() { pol_R(id, false) }, 100); }; function cpmst_expandselfbannerfull(pol_aL, pol_cH, pol_cG) { if (pol_G("ShowBackground")) { pol_G("ShowBackground").value = 1; pol_G("divSlideResultLeft").style.height = pol_x() + "px"; pol_G("divSlideResultRight").style.height = pol_x() + "px"; } pol_G(pol_aL).style.zIndex = "99999"; pol_G(pol_aL + '_status').value = 1; if (pol_G(pol_aL + '_position')) { pol_G(pol_aL).style.height = pol_cG + 'px'; pol_G(pol_aL).style.width = pol_cH + 'px'; var pol_cK = 0; var pol_as = pol_J(pol_G(pol_aL + '_position'))[1]; if (typeof (window.innerWidth) == 'number') { pol_cK = window.innerWidth; } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) { pol_cK = document.documentElement.clientWidth; } pol_cK = (pol_cK - 1018) / 2; pol_G(pol_aL).style.left = pol_cK + "px"; pol_G(pol_aL + "_child").style.left = "0px"; return; } }; function cpmst_collapselfbannerfull(pol_aL, pol_cH, pol_cG) { pol_G(pol_aL).style.zIndex = "100"; pol_G(pol_aL + '_status').value = 0; pol_G(pol_aL).style.width = pol_cH + "px"; pol_G(pol_aL).style.height = pol_cG + "px"; var pol_as = pol_J(pol_G(pol_aL + '_position'))[1]; var pol_ar = pol_J(pol_G(pol_aL + '_position'))[0]; pol_G(pol_aL + "_child").style.top = "-75px"; pol_G(pol_aL + "_child").style.left = "-510px"; pol_G(pol_aL).style.left = pol_ar + "px"; pol_G(pol_aL).style.top = pol_as + "px"; if (pol_G("ShowBackground")) { pol_G("ShowBackground").value = 0; pol_G("divSlideResultLeft").style.height = "0px"; pol_G("divSlideResultRight").style.height = "0px"; } }; cpmst_adlistshow.prototype.pol_bs = function(pol_cY) { document.write('<table align=center ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0>'); this.pol_bO(this.pol_cJ, 0); document.write('</table>'); }; cpmst_adlistshow.prototype.pol_bO = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_dq = (pol_e(pol_cY[0], 7).toLowerCase() == 'http://') ? pol_cY[0] : pol_aW.concat(pol_cY[0]); var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cu = (pol_cH < pol_cY[3] && pol_cH > 0 && pol_aS) ? pol_cH : pol_cY[3]; var pol_ct = (pol_cG < pol_cY[4] && pol_cG > 0 && pol_aS) ? pol_cG : pol_cY[4]; var pol_aE = pol_l(pol_cY[2].substring(pol_cY[2].lastIndexOf(',') + 2)); var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; var pol_dt = ''; document.write('<tr><td>'); document.write('<DIV id="', pol_cq, '" style="position:absolute;overflow:hidden;width:207px;height:14px;z-index:10001;">'); pol_dt = pol_dt.concat('<object id="SpecialFlashBanner" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" border="0" width="450" height="450">'); pol_dt = pol_dt.concat('<param name="movie" value="').concat(pol_cY[0]).concat('">'); pol_dt = pol_dt.concat('<param name="AllowScriptAccess" value="always">'); pol_dt = pol_dt.concat('<param name="quality" value="High">'); pol_dt = pol_dt.concat('<param name="wmode" value="transparent">'); pol_dt = pol_dt.concat('<param name="FlashVars" value="').concat('zoneid=').concat(pol_cq).concat('&actionTag=').concat(escape(pol_aE)).concat('">'); pol_dt = pol_dt.concat('<embed src="').concat(pol_cY[0]).concat('" FlashVars="').concat('zoneid=').concat(pol_cq).concat('&actionTag=').concat(escape(pol_aE)).concat('" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" name="SpecialFlashBanner" AllowScriptAccess="always" width="350" height="350">'); pol_dt = pol_dt.concat('</object>'); document.write(pol_dt); document.write('</DIV>'); document.write('<input type="hidden" id="', pol_cq, '_status" value="0">'); document.write('</td></tr>'); window.onresize = function() { pol_ax(); }; window.onload = function() { pol_ax(); } }; function pol_i() { var pol_dk = window.innerWidth != null ? window.innerWidth : document.body != null ? document.body.clientWidth : null; var pol_ce = pol_F("SpecialFlashBanner"); pol_ce.pol_ay("/:pagewidth", pol_dk); }; function pol_F(pol_cL) { if (window.document[pol_cL]) { return window.document[pol_cL]; } if (navigator.appName.indexOf("Microsoft Internet") == -1) { if (document.embeds && document.embeds[pol_cL]) return document.embeds[pol_cL]; } else { return document.getElementById(pol_cL); } }; var pol_cw = false; function cpmst_showInnerPopupBanner(pol_dN, pol_ds, pol_cH, pol_cG, type) { if (typeof (type) == 'undefined') type = 0; if (!pol_cw) { var pol_cP = pol_y(); var pol_cN = pol_x(); var pol_cO = pol_f(); var pol_bV = document.createElement('div'); pol_bV.setAttribute('id', 'hideshow'); pol_bV.style.visibility = "hidden"; pol_bV.style.position = "absolute"; pol_bV.style.width = pol_cP + "px"; pol_bV.style.height = pol_cO + "px"; pol_bV.style.top = "0px"; pol_bV.style.left = "0px"; pol_bV.style.zIndex = "1000"; pol_bV.style.overflow = "hidden"; document.body.appendChild(pol_bV); var pol_dp = ""; pol_dp = pol_dp.concat('<IFRAME MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no" '); pol_dp = pol_dp.concat(' WIDTH="').concat(pol_cH).concat('" HEIGHT="').concat(pol_cG).concat('" '); pol_dp = pol_dp.concat(' SRC="' + pol_ds + '"></IFRAME>'); var pol_dt = ""; pol_dt = pol_dt.concat('<div id="fade" style="background-color:#000000; overflow:hidden; position: fixed!Important; position:absolute; width:').concat('100%').concat('; filter:alpha(opacity=80); opacity:.80; top:0px; left:0px; z-index:1001; height:').concat(pol_cO).concat("px").concat('" onclick="javascript:pol_H(').concat(pol_dN).concat(')"').concat('>').concat('</div>'); pol_dt = pol_dt.concat('<div id="imgcontent" style="background-color:#DDDDDD;').concat(type == 0 ? 'padding:8px; border: 5px solid #ffffff;' : '').concat('position: fixed!Important; position:absolute; z-index:1002;').concat('width:').concat(pol_cH).concat('px;').concat('">'); pol_dt = pol_dt.concat('<div style="z-index:100;">').concat(pol_dp).concat('</div>'); pol_dt = pol_dt.concat('</div>'); pol_dt = pol_dt.concat('<div id="imgclose" style="').concat(type == 0 ? '' : 'display:none;').concat('background-image:url(http://ngoisao.net/images/icon_close.png); background-repeat: no-repeat; width:28px; height:31px; position: fixed!Important; position:absolute;z-index:1003;cursor:hand;"').concat(' onclick="javascript:pol_H(').concat(pol_dN).concat(')"').concat('>').concat('</div>'); pol_G("hideshow").innerHTML = pol_dt; var pol_dC; var pol_cB; if (type == 0) { if (pol_G("imgcontent").style.position == "absolute") { pol_dC = ((pol_cN / 2) - (pol_cG / 2) + cpmst_scrollTop()) > cpmst_scrollTop() + 15 ? ((pol_cN / 2) - (pol_cG / 2) + cpmst_scrollTop()) : cpmst_scrollTop() + 15; pol_cB = ((pol_cP / 2) - (pol_cH / 2) + pol_N()) > 0 ? ((pol_cP / 2) - (pol_cH / 2) + pol_N()) : 10; } else { pol_dC = ((pol_cN / 2) - (pol_cG / 2)) > 15 ? ((pol_cN / 2) - (pol_cG / 2)) : 15; pol_cB = ((pol_cP / 2) - (pol_cH / 2)) > 0 ? ((pol_cP / 2) - (pol_cH / 2)) : 10; } } else { if (pol_G("imgcontent").style.position == "absolute") { pol_dC = cpmst_scrollTop(); pol_cB = (pol_cP - pol_cH) / 2; } else { pol_dC = 0; pol_cB = (pol_cP - pol_cH) / 2; } } pol_G("imgcontent").style.top = "".concat(pol_dC).concat("px"); pol_G("imgcontent").style.left = "".concat(pol_cB).concat("px"); pol_G("imgclose").style.top = "".concat(pol_dC - 15).concat("px"); pol_G("imgclose").style.left = "".concat(pol_cB + 14 + pol_cH).concat("px"); pol_O(pol_dN); pol_cw = true; } else { pol_O(pol_dN); } setTimeout('pol_a("' + pol_cP + '","' + pol_cN + '","' + pol_cH + '","' + pol_cG + '","' + type + '")', 100); }; function pol_a(pol_aQ, pol_aP, pol_cH, pol_cG, type) { var pol_cH = parseInt(pol_cH); var pol_cG = parseInt(pol_cG); var pol_aQ = parseInt(pol_aQ); var pol_aP = parseInt(pol_aP); var pol_cP = pol_y(); var pol_cN = pol_x(); var type = parseInt(type); var pol_dC; var pol_cB; if ((pol_cP != pol_aQ || pol_cN != pol_aP) && document.getElementById("imgcontent") != null && document.getElementById("imgclose") != null) { if (type == 0) { if (pol_G("imgcontent").style.position == "absolute") { pol_dC = ((pol_cN / 2) - (pol_cG / 2) + cpmst_scrollTop()) > cpmst_scrollTop() + 15 ? ((pol_cN / 2) - (pol_cG / 2) + cpmst_scrollTop()) : cpmst_scrollTop() + 15; pol_cB = ((pol_cP / 2) - (pol_cH / 2) + pol_N()) > 0 ? ((pol_cP / 2) - (pol_cH / 2) + pol_N()) : 10; } else { pol_dC = ((pol_cN / 2) - (pol_cG / 2)) > 15 ? ((pol_cN / 2) - (pol_cG / 2)) : 15; pol_cB = ((pol_cP / 2) - (pol_cH / 2)) > 0 ? ((pol_cP / 2) - (pol_cH / 2)) : 10; } } else { if (pol_G("imgcontent").style.position == "absolute") { pol_dC = cpmst_scrollTop(); pol_cB = (pol_cP - pol_cH) / 2; } else { pol_dC = 0; pol_cB = (pol_cP - pol_cH) / 2; } } pol_G("imgcontent").style.top = "".concat(pol_dC).concat("px"); pol_G("imgcontent").style.left = "".concat(pol_cB).concat("px"); pol_G("imgclose").style.top = "".concat(pol_dC - 15).concat("px"); pol_G("imgclose").style.left = "".concat(pol_cB + 14 + pol_cH).concat("px"); } if (document.getElementById("imgcontent") != null && document.getElementById("imgclose") != null) setTimeout('pol_a("' + pol_cP + '","' + pol_cN + '","' + pol_cH + '","' + pol_cG + '","' + type + '")', 100); }; function pol_O(pol_dN) { pol_G('hideshow').style.visibility = 'visible'; }; function pol_H(pol_dN) { pol_G('hideshow').style.visibility = 'hidden'; var pol_dg = pol_G("hideshow"); document.body.removeChild(pol_dg); pol_cw = false; }; cpmst_adlistshow.prototype.pol_bc = function() { document.write('<table align=center ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0>'); this.pol_bw(this.pol_cJ, 0); document.write('</table>'); }; cpmst_adlistshow.prototype.pol_bw = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; document.write('<tr><td>'); document.write('<DIV id="', pol_cq, '_position" style="position:relative;overflow:hidden;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;"></DIV>'); document.write('<DIV id="', pol_cq, '" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:-1000px;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;">'); document.write('</DIV>'); document.write('<input type="hidden" id="', pol_cq, '_direction" value="', this.direction, '">'); document.write('<input type="hidden" id="', pol_cq, '_status" value="0">'); document.write('</td></tr>'); var pol_aF = this; if (window.addEventListener) window.addEventListener("load", function() { pol_aF.pol_bx(pol_cY) }, false); else if (window.attachEvent) window.attachEvent("onload", function() { pol_aF.pol_bx(pol_cY) }); else if (document.getElementById) setTimeout(function() { pol_aF.pol_bx(pol_cY) }, 500); }; cpmst_adlistshow.prototype.pol_bx = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; var pol_dt = ''; if (pol_cY[0][3] == 1440 && pol_cY[0][4] == 900) { pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="position:absolute;top:-162px;left:-962px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); } else { pol_dt = pol_dt.concat('<DIV id="').concat(pol_cq).concat('_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:').concat(pol_cY[0][3]).concat('px;height:').concat(pol_cY[0][4]).concat('px;">'); } pol_dt = pol_dt.concat(pol_n(pol_cY[0], this.pol_cH, this.pol_cG, false, pol_cq)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq).innerHTML = pol_dt; cpmst_stayfloatdivExpandFullScreen(pol_cq, pol_cY[0][3], true); if (this.pol_dn && pol_cY.length > 1) setTimeout(function() { pol_r(pol_cY, 0, pol_cq, pol_bT, pol_cH, pol_cG, 1) }, pol_bT); }; function pol_r(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG, type) { if (typeof (type) == 'undefined') type = 1; if (pol_G(pol_aL + '_status').value == '0') { if (index == pol_cY.length - 1) { index = 0; } else { index++; } if (type == 1) { var pol_dt = ''; if (pol_cY[index][3] == 1440 && pol_cY[index][4] == 900) { pol_dt = pol_dt.concat('<DIV id="').concat(pol_aL).concat('_child" style="position:absolute;top:-162px;left:-962px;width:').concat(pol_cY[index][3]).concat('px;height:').concat(pol_cY[index][4]).concat('px;">'); } else { pol_dt = pol_dt.concat('<DIV id="').concat(pol_aL).concat('_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:').concat(pol_cY[index][3]).concat('px;height:').concat(pol_cY[index][4]).concat('px;">'); } pol_dt = pol_dt.concat(pol_n(pol_cY[index], pol_cH, pol_cG, false, pol_aL)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_aL).innerHTML = pol_dt; pol_T(pol_aL, pol_cY[index][3]); } } setTimeout(function() { pol_r(pol_cY, index, pol_aL, pol_bT, pol_cH, pol_cG, type) }, pol_bT); }; function pol_T(id, pol_cF) { pol_D(id); }; function cpmst_stayfloatdivExpandFullScreen(id, pol_cF, pol_cc) { if (document.getElementById(id + '_child') != null) pol_cF = parseInt(pol_G(id + '_child').offsetWidth); if (id == 'VBannerShared' && pol_cF != 1440) { pol_Q(id, pol_cc, 1); setTimeout(function() { cpmst_stayfloatdivExpandFullScreen(id, pol_cF, false) }, 100); return; } var pol_cf = true; if (pol_G(id + '_direction')) { direction = pol_G(id + '_direction').value; } else { direction = 0; } if (pol_G(id) && pol_G(id + '_position')) { var pol_cK = 0; pol_cK = pol_y(); pol_cK = (pol_cF - pol_cK + 22) / 2; var pol_as = pol_J(pol_G(id + '_position'))[1]; var pol_ar = pol_J(pol_G(id + '_position'))[0]; var pol_at = parseInt(pol_G(id + '_position').offsetWidth); var pol_aq = parseInt(pol_G(id + '_position').offsetHeight); var pol_ai = parseInt(pol_G(id).offsetWidth); var pol_ah = parseInt(pol_G(id).offsetHeight); if (pol_ah > pol_aq && pol_G(id + '_status').value == '1') { pol_G(id).style.left = -1 * pol_cK + 'px'; pol_G(id).style.top = '0px'; pol_G(id + '_child').style.left = "0px"; pol_G(id + '_child').style.top = "0px"; } else { pol_G(id).style.left = pol_ar - pol_ai + pol_at + 'px'; pol_G(id).style.top = pol_as + 'px'; } } pol_bP = setTimeout(function() { cpmst_stayfloatdivExpandFullScreen(id, pol_cF, false) }, 100); }; function cpmst_expandfullscreen(pol_aL, pol_cH, pol_cG) { pol_G(pol_aL).style.zIndex = "99999"; pol_G(pol_aL + '_status').value = 1; if (pol_G(pol_aL + '_position')) { pol_G(pol_aL).style.height = pol_cG + 'px'; pol_G(pol_aL).style.width = pol_cH + 'px'; var pol_cK = 0; pol_cK = pol_y(); pol_cK = (pol_cH - pol_cK + 22) / 2; pol_G(pol_aL).style.left = -1 * pol_cK + "px"; pol_G(pol_aL).style.top = "0px"; pol_G(pol_aL + "_child").style.left = "0px"; pol_G(pol_aL + "_child").style.top = "0px"; return; } }; function cpmst_collapfullscreen(pol_aL, pol_cH, pol_cG) { pol_G(pol_aL).style.width = pol_cH + "px"; pol_G(pol_aL).style.height = pol_cG + "px"; var pol_as = pol_J(pol_G(pol_aL + '_position'))[1]; var pol_ar = pol_J(pol_G(pol_aL + '_position'))[0]; if (pol_aL == 'LEADER_BOARD') { pol_G(pol_aL + "_child").style.top = "-4px"; pol_G(pol_aL + "_child").style.left = "-472px"; } else { pol_G(pol_aL + "_child").style.top = "-162px"; pol_G(pol_aL + "_child").style.left = "-962px"; } pol_G(pol_aL).style.left = pol_ar + "px"; pol_G(pol_aL).style.top = pol_as + "px"; pol_G(pol_aL + "_status").value = 0; }; function cpmst_expandextendbanner(pol_aL) { if (document.getElementById(pol_aL + "_status") != null) { pol_G(pol_aL + "_status").value = 1; } }; function cpmst_collapextendbanner(pol_aL) { if (document.getElementById(pol_aL + "_status") != null) { pol_G(pol_aL + "_status").value = 0; } }; cpmst_adlistshow.prototype.pol_bg = function() { this.pol_bA(this.pol_cJ, 0); pol_t(this.pol_cQ, this.pol_cH); }; cpmst_adlistshow.prototype.pol_bA = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = (this.pol_cH < pol_cY[0][3] && this.pol_cH > 0) ? this.pol_cH : pol_cY[0][3]; var pol_cG = (this.pol_cG < pol_cY[0][4] && this.pol_cG > 0) ? this.pol_cG : pol_cY[0][4]; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; document.write('<DIV id="', pol_cq, '_position" style="position:absolute; right:0px; top:0px; overflow:hidden;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;"></DIV>'); document.write('<DIV id="', pol_cq, '" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:-1000px;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;">'); document.write('</DIV>'); document.write('<input type="hidden" id="', pol_cq, '_direction" value="', this.direction, '">'); document.write('<input type="hidden" id="', pol_cq, '_status" value="0">'); var pol_aF = this; if (window.addEventListener) window.addEventListener("load", function() { pol_aF.pol_bE(pol_cY) }, false); else if (window.attachEvent) window.attachEvent("onload", function() { pol_aF.pol_bE(pol_cY) }); else if (document.getElementById) setTimeout(function() { pol_aF.pol_bE(pol_cY) }, 500); }; function pol_t(pol_aL, pol_cH) { var pol_aU = 1000; if (document.getElementById("divMove") != null) { pol_aU = parseInt(pol_G("divMove").style.width.replace("px", "")); } else if (document.getElementById("global") != null) { pol_aU = parseInt(pol_G("global").style.width.replace("px", "")); } else if (document.getElementById("wrapHome") != null) { pol_aU = parseInt(pol_G("wrapHome").style.width.replace("px", "")); } var clientWidth = 0; clientWidth = pol_y(); pol_aU = pol_aU + 2 * pol_cH; if (clientWidth > pol_aU) { pol_G(pol_aL).style.display = "block"; } else { pol_G(pol_aL).style.display = "none"; } setTimeout(function() { pol_t(pol_aL, pol_cH) }, 100); }; cpmst_adlistshow.prototype.pol_bd = function() { if (this.pol_cJ.length <= 0) return; if (this.pol_cJ[0].length <= 0) return; var pol_dq = (pol_e(this.pol_cJ[0][0], 7).toLowerCase() == 'http://') ? this.pol_cJ[0][0] : pol_aW.concat(this.pol_cJ[0][0]); document.write('<style type="text/css">'); document.write("body{margin:0px; padding:0px 0px 60px;background:#FFFFFF url('" + pol_dq + "') no-repeat fixed center 0px;}"); document.write(".divFixed {position:absolute; top: expression(0+((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+'px'); left: expression(0+((e=document.documentElement.scrollLeft)?e:document.body.scrollLeft)+'px');} }"); document.write(".divFixed_R {position:absolute; top: expression(0+((e=document.documentElement.scrollTop)?e:document.body.scrollTop)+'px'); right: expression(0+((e=document.documentElement.scrollLeft)?e:document.body.scrollLeft)+'px');} }"); document.write(".divFixedBg_IE {z-index: 5000;cursor:pointer; background:#FFFFFF;opacity:0.4;filter:alpha(opacity = 0);}"); document.write(".divFixedBg_RIE{z-index: 5000;cursor:pointer; background:#FFFFFF;opacity:0.4;filter:alpha(opacity = 0);}"); document.write(".divFixedBg_IE6 {z-index: 5000;cursor:pointer;}"); document.write(".divFixedBg_RIE6{z-index: 5000;cursor:pointer;}"); document.write('</style>'); document.write(' <div id="divResult"></div>'); pol_X(this.pol_cJ); }; function pol_X(pol_cY) { if (pol_cY.length <= 0) return; var pol_dP = pol_cY[0][2].lastIndexOf(','); var pol_dM = pol_cY[0][2].substr(pol_dP + 2); var pol_ds = pol_m(pol_dM, pol_cY[0][1], true); var pol_dq = (pol_e(pol_cY[0][0], 7).toLowerCase() == 'http://') ? pol_cY[0][0] : pol_aW.concat(pol_cY[0][0]); var clientWidth = 0; clientWidth = pol_y(); var clientHeight = 0; clientHeight = pol_x(); if (clientWidth > 1024) { var br = navigator.appVersion; var pol_de = 0; pol_de = (clientWidth - 1000) / 2; if (br.match("MSIE")) { pol_de = (clientWidth - 980) / 2; if (br.match("MSIE 6") || br.match("MSIE 5")) { pol_G("divResult").innerHTML = "<div onclick=javascript:window.open('" + pol_ds + "') class='divFixed divFixedBg_IE6' id='divL' style='width:" + pol_de + "px;height:" + clientHeight + "px;'></div>"; pol_G("divResult").innerHTML += "<div onclick=javascript:window.open('" + pol_ds + "') class='divFixed_R divFixedBg_RIE6' id='divR' style='width:" + pol_de + "px;height:" + clientHeight + "px;'></div>"; } else { pol_G("divResult").innerHTML = "<div onclick=javascript:window.open('" + pol_ds + "')  id='divL' style='position: fixed!Important; position:absolute; z-index: 5000;cursor:pointer; background:#FFFFFF;opacity:0.4;filter:alpha(opacity = 0); width:" + pol_de + "px;height:" + clientHeight + "px;'></div>"; pol_G("divResult").innerHTML += "<div onclick=javascript:window.open('" + pol_ds + "') id='divR' style='position: fixed!Important; position:absolute; z-index: 5000;cursor:pointer; background:#FFFFFF;opacity:0.4;filter:alpha(opacity = 0); width:" + pol_de + "px;height:" + clientHeight + "px;'></div>"; } if (pol_G("divL").style.position == 'fixed') { pol_G("divL").style.top = "0px"; pol_G("divL").style.left = "0px"; } else { pol_G("divL").style.top = cpmst_scrollTop() + "px"; pol_G("divL").style.left = pol_N() + "px"; } if (pol_G("divR").style.position == 'fixed') { pol_G("divR").style.top = "0px"; pol_G("divR").style.right = "0px"; } else { pol_G("divR").style.top = cpmst_scrollTop() + "px"; pol_G("divR").style.right = pol_N() + "px"; } } else { pol_de = (clientWidth - 996) / 2; pol_G("divResult").innerHTML = "<div id='divL' onclick=javascript:window.open('" + pol_ds + "') style='position: fixed!Important; position:absolute; float: left; left:0px; top: 0px; cursor:pointer; background-color:transparent; width:" + pol_de + "px;height:" + clientHeight + "px;'></div>"; pol_G("divResult").innerHTML += "<div id='divR' onclick=javascript:window.open('" + pol_ds + "') style='position: fixed!Important; position:absolute; float: right; right:0px; top:0px; cursor:pointer; background-color:transparent; width:" + pol_de + "px;height:" + clientHeight + "px;'></div>"; } } else { pol_G("divResult").innerHTML = ""; } window.onresize = function() { pol_X(pol_cY) }; window.onscroll = function() { pol_u() }; }; function pol_u() { if (document.getElementById("divL") != null) { if (pol_G("divL").style.position == 'absolute') { pol_G("divL").style.top = cpmst_scrollTop() + "px"; pol_G("divL").style.left = pol_N() + "px"; } } if (document.getElementById("divR") != null) { if (pol_G("divR").style.position == 'absolute') { pol_G("divR").style.top = cpmst_scrollTop() + "px"; pol_G("divR").style.right = pol_N() + "px"; } } }; cpmst_adlistshow.prototype.pol_be = function() { if (this.pol_cJ.length <= 0) return; var pol_cH = (this.pol_cH < this.pol_cJ[0][3] && this.pol_cH > 0) ? this.pol_cH : this.pol_cJ[0][3]; var pol_cG = (this.pol_cG < this.pol_cJ[0][4] && this.pol_cG > 0) ? this.pol_cG : this.pol_cJ[0][4]; var pol_cq = ''.concat(this.pol_cQ); document.write('<div id="', pol_cq, '" style="bottom:0px; width:', this.pol_cH, 'px;height:', this.pol_cG, 'px;z-index:7000;right:0px;position:fixed!Important;position:absolute;top:expression(eval((document.documentElement.scrollTop? document.documentElement.scrollTop : document.body.scrollTop) + (document.documentElement.clientHeight? document.documentElement.clientHeight : document.body.clientHeight)-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0))); clip:rect(auto, auto, auto, auto)">'); document.write(pol_n(this.pol_cJ[0], this.pol_cH, this.pol_cG, false, pol_cq)); document.write('</div>'); if (pol_G(pol_cq).style.position == 'fixed') { pol_G(pol_cq).style.top = "auto"; pol_G(pol_cq).style.bottom = "0px"; pol_G(pol_cq).style.right = "0px"; } }; function pol_C(pol_aL) { if (document.getElementById(pol_aL) != null) { if (pol_G(pol_aL).style.position == 'fixed') { pol_G(pol_aL).style.top = "auto"; pol_G(pol_aL).style.bottom = "0px"; pol_G(pol_aL).style.right = "0px"; } } }; function cpmst_collapballonbanner(pol_aL, pol_cH, pol_cG) { pol_G(pol_aL).style.zIndex = "0"; var pol_aa = parseInt(pol_G(pol_aL).offsetHeight); var pol_ad = parseInt(pol_G(pol_aL).offsetWidth); var pol_ac = (pol_aa - pol_cG) + 'px'; var pol_dm = pol_ad + 'px'; var pol_aM = pol_aa + 'px'; pol_G(pol_aL).style.clip = 'rect(' + pol_ac + ',' + pol_dm + ',' + pol_aM + ',0px)'; }; function cpmst_expandballonbanner(pol_aL, pol_cH, pol_cG) { pol_G(pol_aL).style.zIndex = "99999"; var pol_aa = parseInt(pol_G(pol_aL).offsetHeight); var pol_ad = parseInt(pol_G(pol_aL).offsetWidth); var pol_ac = (pol_aa - pol_cG) + 'px'; var pol_dm = pol_ad + 'px'; var pol_aM = pol_aa + 'px'; pol_G(pol_aL).style.clip = 'rect(' + pol_ac + ',' + pol_dm + ',' + pol_aM + ',0px)'; }; function pol_d(pol_cn, pol_cq) { if (!pol_cn) { setTimeout(function() { if (pol_G(pol_cq)) pol_G(pol_cq).style.display = "none"; }, 100); } }; var pol_aJ = 0; var pol_aK; function cpmst_scrollbanner(pol_bQ, pol_cs, pol_cb) { if (pol_G(pol_cs + "_PositionStatus").style.position == "absolute") { if (pol_G(pol_cs + "_FirstTime").value == "0") { clearTimeout(pol_aK); pol_aK = setTimeout(function() { pol_U(pol_cs); }, 500); pol_G(pol_cs + "_FirstTime").value = "1"; } return; } if (pol_x() <= pol_G(pol_cs).offsetHeight) { if (pol_bQ > parseInt(pol_G(pol_cs + "_CurValue").value)) { if (pol_aJ != 0 && pol_aJ != 2) pol_aJ = 0; if (pol_G(pol_cs).style.top == "0px" && pol_aJ != 1) { pol_G(pol_cs).style.top = cpmst_scrollTop() + pol_x() - pol_G(pol_cs).offsetHeight + "px"; pol_G(pol_cs).style.position = "absolute"; pol_aJ = 1; } if (cpmst_scrollTop() + pol_x() - pol_G(pol_cs).offsetHeight - pol_G(pol_cs + "_position").offsetTop >= 0) { if (pol_aJ != 2) { if (pol_G(pol_cs + "_PositionStatus").style.position == "fixed") { pol_G(pol_cs).style.top = pol_x() - pol_G(pol_cs).offsetHeight + "px"; pol_G(pol_cs).style.position = "fixed"; pol_aJ = 2; } else { pol_G(pol_cs).style.top = cpmst_scrollTop() + pol_x() - pol_G(pol_cs).offsetHeight + "px"; pol_G(pol_cs).style.position = "absolute"; } } } else { pol_G(pol_cs).style.top = ""; pol_G(pol_cs).style.position = "absolute"; pol_aJ = 0; } if (cpmst_scrollTop() - pol_G(pol_cb).offsetTop + pol_x() >= 0) { pol_G(pol_cs).style.top = pol_G(pol_cb).offsetTop - pol_G(pol_cs).offsetHeight + "px"; pol_G(pol_cs).style.position = "absolute"; } } else if (pol_bQ < parseInt(pol_G(pol_cs + "_CurValue").value)) { if (pol_aJ != 4 && pol_aJ != 5) pol_aJ = 3; if (pol_G(pol_cs + "_PositionStatus").style.position == "fixed") { if (pol_G(pol_cs).style.top != "0px" && pol_aJ != 4) { pol_G(pol_cs).style.top = cpmst_scrollTop() + pol_x() - pol_G(pol_cs).offsetHeight + "px"; pol_G(pol_cs).style.position = "absolute"; pol_aJ = 4; } } else { if (pol_G(pol_cs).offsetTop >= cpmst_scrollTop() && pol_aJ != 4) { pol_G(pol_cs).style.top = cpmst_scrollTop() + pol_x() - pol_G(pol_cs).offsetHeight + "px"; pol_G(pol_cs).style.position = "absolute"; pol_aJ = 4; } } if (cpmst_scrollTop() <= pol_G(pol_cs).offsetTop) { if (pol_G(pol_cs + "_PositionStatus").style.position == "fixed") { if (pol_aJ != 5) { pol_G(pol_cs).style.top = "0px"; pol_G(pol_cs).style.position = "fixed"; pol_aJ = 5; } } else { pol_G(pol_cs).style.top = cpmst_scrollTop() + "px"; pol_G(pol_cs).style.position = "absolute"; } } if (cpmst_scrollTop() <= pol_G(pol_cs + "_position").offsetTop) { pol_G(pol_cs).style.top = ""; pol_G(pol_cs).style.position = "absolute"; } if (cpmst_scrollTop() - pol_G(pol_cb).offsetTop + pol_x() >= 0) { pol_G(pol_cs).style.top = pol_G(pol_cb).offsetTop - pol_G(pol_cs).offsetHeight + "px"; pol_G(pol_cs).style.position = "absolute"; } } } else { if (pol_bQ > parseInt(pol_G(pol_cs + "_CurValue").value)) { if (pol_aJ != 0 && pol_aJ != 2) pol_aJ = 0; if (cpmst_scrollTop() >= pol_G(pol_cs).offsetTop) { if (pol_G(pol_cs + "_PositionStatus").style.position == "fixed") { if (pol_aJ != 2) { pol_G(pol_cs).style.top = "0px"; pol_G(pol_cs).style.position = "fixed"; pol_aJ = 2; } } else { pol_G(pol_cs).style.top = cpmst_scrollTop() + "px"; pol_G(pol_cs).style.position = "absolute"; } } if (cpmst_scrollTop() - pol_G(pol_cb).offsetTop + pol_G(pol_cs).offsetHeight > 0) { pol_G(pol_cs).style.top = pol_G(pol_cb).offsetTop - pol_G(pol_cs).offsetHeight + "px"; pol_G(pol_cs).style.position = "absolute"; pol_aJ = 0; } } else if (pol_bQ < parseInt(pol_G(pol_cs + "_CurValue").value)) { if (pol_aJ != 4 && pol_aJ != 5) pol_aJ = 3; if (cpmst_scrollTop() <= pol_G(pol_cs).offsetTop) { if (pol_G(pol_cs + "_PositionStatus").style.position == "fixed") { if (pol_aJ != 4) { pol_G(pol_cs).style.top = "0px"; pol_G(pol_cs).style.position = "fixed"; pol_aJ = 4; } } else { pol_G(pol_cs).style.top = cpmst_scrollTop() + "px"; pol_G(pol_cs).style.position = "absolute"; pol_aJ = 4; } } if (cpmst_scrollTop() <= pol_G(pol_cs + "_position").offsetTop) { pol_G(pol_cs).style.top = ""; pol_G(pol_cs).style.position = "absolute"; pol_aJ = 0; } } } pol_G(pol_cs + "_CurValue").value = cpmst_scrollTop(); if (pol_G(pol_cs + "_FirstTime").value == "0") { clearTimeout(pol_aK); pol_aK = setTimeout(function() { pol_U(pol_cs); }, 500); pol_G(pol_cs + "_FirstTime").value = "1"; } }; cpmst_adlistshow.prototype.pol_bm = function() { document.write('<table align=center ', (this.pol_cH > 0) ? 'width='.concat(this.pol_cH) : '', ' cellspacing=0 cellpadding=0 border=0>'); this.pol_bH(this.pol_cJ); document.write('</table>'); }; cpmst_adlistshow.prototype.pol_bH = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cH = this.pol_cH; var pol_cG = this.pol_cG; var pol_cE = 120; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; document.write('<tr><td>'); document.write('<DIV id="', pol_cq, '_position" style="position:relative;overflow:hidden;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;">'); document.write('<DIV id="', pol_cq, '_first_position" style="position:relative;overflow:hidden;width:'.concat(pol_cH), 'px;height:'.concat(pol_cE), 'px;"></DIV>'); document.write('<div style="clear:both;padding-top:3px"></div>'); document.write('<DIV id="', pol_cq, '_second_position" style="position:relative;overflow:hidden;width:'.concat(pol_cH), 'px;height:'.concat(pol_cE), 'px;"></DIV>'); document.write('</DIV>'); document.write('<DIV id="', pol_cq, '" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:0px;width:'.concat(pol_cH), 'px;height:'.concat(pol_cG), 'px;"></DIV>'); document.write('<DIV id="', pol_cq, '_first" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:0px;width:'.concat(pol_cH), 'px;height:'.concat(pol_cE), 'px;"></DIV>'); document.write('<div style="clear:both;padding-top:3px"></div>'); document.write('<DIV id="', pol_cq, '_second" style="position:absolute;overflow:hidden;z-index:100;top:0px;left:0px;width:'.concat(pol_cH), 'px;height:'.concat(pol_cE), 'px;"></DIV>'); document.write('<input type="hidden" id="', pol_cq, '_direction" value="', this.direction, '">'); document.write('<input type="hidden" id="', pol_cq, '_status" value="0">'); document.write('<input type="hidden" id="', pol_cq, '_first_direction" value="', this.direction, '">'); document.write('<input type="hidden" id="', pol_cq, '_first_status" value="0">'); document.write('<input type="hidden" id="', pol_cq, '_second_direction" value="', this.direction, '">'); document.write('<input type="hidden" id="', pol_cq, '_second_status" value="0">'); document.write('</td></tr>'); var pol_aF = this; if (window.addEventListener) window.addEventListener("load", function() { pol_aF.pol_bI(pol_cY) }, false); else if (window.attachEvent) window.attachEvent("onload", function() { pol_aF.pol_bI(pol_cY) }); else if (document.getElementById) setTimeout(function() { pol_aF.pol_bI(pol_cY) }, 500); }; cpmst_adlistshow.prototype.pol_bI = function(pol_cY) { if (pol_cY.length <= 0) return; var pol_cq = ''.concat(this.pol_cQ); var pol_bT = this.pol_bR; var pol_dt = ''; var pol_aO = 0; if (pol_cY[0].length > 7) { if (pol_cY[0][7] != 0) { pol_G(pol_cq + '_first').style.display = ''; pol_G(pol_cq).style.display = 'none'; pol_dt = '<DIV id="'.concat(pol_cq).concat('_first_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:'.concat(pol_cY[0][3]), 'px;height:'.concat(pol_cY[0][4]), 'px;">'); pol_dt = pol_dt.concat(pol_n(pol_cY[0], pol_cY[0][3], pol_cY[0][4], false, pol_cq + '_first')); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq + '_first').innerHTML = pol_dt; pol_Q(pol_cq + '_first', true); pol_aO = 1; if (pol_cY.length > 1) { if (pol_cY[1].length > 7) { if (pol_cY[1][7] != 0) { pol_G(pol_cq + '_second').style.display = ''; pol_G(pol_cq).style.display = 'none'; pol_dt = '<DIV id="'.concat(pol_cq).concat('_second_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:'.concat(pol_cY[1][3]), 'px;height:'.concat(pol_cY[1][4]), 'px;">'); pol_dt = pol_dt.concat(pol_n(pol_cY[1], pol_cY[1][3], pol_cY[1][4], false, pol_cq + '_second')); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq + '_second').innerHTML = pol_dt; pol_Q(pol_cq + '_second', true); pol_aO = 2; } } } if (pol_aO == 1) { pol_G(pol_cq + '_second').style.display = ''; pol_G(pol_cq).style.display = 'none'; pol_dt = '<DIV id="'.concat(pol_cq).concat('_second_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:300px;height:120px;">'); pol_dt = pol_dt.concat(pol_j(pol_cq, 'lhqc_vne_300x120(1).swf', 300, 120)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq + '_second').innerHTML = pol_dt; pol_Q(pol_cq + '_second', true); pol_aO = 2; } } } if (pol_aO == 0) { pol_G(pol_cq + '_second').style.display = 'none'; pol_G(pol_cq + '_first').style.display = 'none'; pol_G(pol_cq).style.display = ''; pol_dt = '<DIV id="'.concat(pol_cq).concat('_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:'.concat(pol_cY[0][3]), 'px;height:'.concat(pol_cY[0][4]), 'px;">'); pol_dt = pol_dt.concat(pol_n(pol_cY[0], pol_cY[0][3], pol_cY[0][4], false, pol_cq)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq).innerHTML = pol_dt; pol_Q(pol_cq + '_first', false); pol_Q(pol_cq + '_second', false); pol_Q(pol_cq, true); } if (pol_aO == 1) { pol_Q(pol_cq + '_second', false); pol_Q(pol_cq, false); } else if (pol_aO == 2) { pol_Q(pol_cq, false); } if (pol_aO == 0 || pol_aO == 1) { if (this.pol_dn && pol_cY.length > 1) setTimeout(function() { pol_s(pol_cY, 0, pol_cq, pol_bT) }, pol_bT); } else { if (this.pol_dn && pol_cY.length > 2) setTimeout(function() { pol_s(pol_cY, 1, pol_cq, pol_bT) }, pol_bT); } }; function pol_s(pol_cY, index, pol_aL, pol_bT) { if (pol_G(pol_aL + '_status').value == '0' && pol_G(pol_aL + '_first_status').value == '0' && pol_G(pol_aL + '_second_status').value == '0') { if (index == pol_cY.length - 1) { index = 0; } else { index++; } var pol_aO = 0; var pol_dt = ''; if (pol_cY[index].length > 7) { if (pol_cY[index][7] != 0) { pol_G(pol_aL + '_first').style.display = ''; pol_G(pol_aL).style.display = 'none'; pol_dt = '<DIV id="'.concat(pol_aL).concat('_first_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:'.concat(pol_cY[index][3]), 'px;height:'.concat(pol_cY[index][4]), 'px;">'); pol_dt = pol_dt.concat(pol_n(pol_cY[index], pol_cY[index][3], pol_cY[index][4], false, pol_aL + '_first')); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_aL + '_first').innerHTML = pol_dt; pol_D(pol_aL + '_first'); pol_aO = 1; if (pol_cY.length > index + 1) { if (pol_cY[index + 1].length > 7) { if (pol_cY[index + 1][7] != 0) { pol_G(pol_aL + '_second').style.display = ''; pol_G(pol_aL).style.display = 'none'; pol_dt = '<DIV id="'.concat(pol_aL).concat('_second_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:'.concat(pol_cY[index + 1][3]), 'px;height:'.concat(pol_cY[index + 1][4]), 'px;">'); pol_dt = pol_dt.concat(pol_n(pol_cY[index + 1], pol_cY[index + 1][3], pol_cY[index + 1][4], false, pol_aL + '_second')); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_aL + '_second').innerHTML = pol_dt; pol_D(pol_aL + '_second'); pol_aO = 2; index = index + 1; } } } if (pol_aO == 1) { pol_G(pol_aL + '_second').style.display = ''; pol_G(pol_aL).style.display = 'none'; pol_dt = '<DIV id="'.concat(pol_aL).concat('_second_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:300px;height:120px;">'); pol_dt = pol_dt.concat(pol_j(pol_aL, 'lhqc_vne_300x120(1).swf', 300, 120)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_cq + '_second').innerHTML = pol_dt; pol_D(pol_aL + '_second'); pol_aO = 2; } } } if (pol_aO == 0) { pol_G(pol_aL + '_second').style.display = 'none'; pol_G(pol_aL + '_first').style.display = 'none'; pol_G(pol_aL).style.display = ''; pol_dt = '<DIV id="'.concat(pol_aL).concat('_child" style="overflow:hidden;position:absolute;top:0px;left:0px;width:'.concat(pol_cY[index][3]), 'px;height:'.concat(pol_cY[index][4]), 'px;">'); pol_dt = pol_dt.concat(pol_n(pol_cY[index], pol_cY[index][3], pol_cY[index][4], false, pol_aL)); pol_dt = pol_dt.concat('</DIV>'); pol_G(pol_aL).innerHTML = pol_dt; pol_D(pol_aL); } } setTimeout(function() { pol_s(pol_cY, index, pol_aL, pol_bT) }, pol_bT); }; function cpmst_expandfullpage(pol_dN, pol_ds, pol_cH, pol_cG) { pol_G(pol_dN + '_status').value = 1; var pol_as = pol_J(pol_G(pol_dN + '_position'))[1]; var pol_cP = pol_y(); var pol_ar = (pol_cP / 2) - (pol_cH / 2); var pol_bW = document.createElement('div'); pol_bW.setAttribute('id', pol_dN + '_showbanner'); pol_bW.style.position = "absolute"; pol_bW.style.width = pol_cH + "px"; pol_bW.style.height = pol_cG + "px"; pol_bW.style.top = pol_as + "px"; pol_bW.style.left = pol_ar + "px"; pol_bW.style.zIndex = "99999"; pol_bW.style.overflow = "hidden"; document.body.appendChild(pol_bW); var br = navigator.appVersion; if (br.indexOf("MSIE") != -1) { pol_bW.onmouseout = function() { cpmst_collapfullpage(pol_dN); }; } else { pol_bW.setAttribute("onmouseout", "javascript:cpmst_collapfullpage('" + pol_dN + "');"); } var pol_dt = ""; pol_dt = pol_dt.concat('<IFRAME MARGINWIDTH="0" MARGINHEIGHT="0" ALLOWTRANSPARENCY="true" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING="no" '); pol_dt = pol_dt.concat(' WIDTH="').concat(pol_cH).concat('" HEIGHT="').concat(pol_cG).concat('" '); pol_dt = pol_dt.concat(' SRC="' + pol_ds + '"></IFRAME>'); pol_G(pol_dN + '_showbanner').innerHTML = pol_dt; setTimeout(function() { pol_V(pol_dN, pol_cH) }, 100); return; }; function pol_V(pol_dN, pol_cH) { if (pol_G(pol_dN + '_position')) { var pol_as = pol_J(pol_G(pol_dN + '_position'))[1]; var pol_cP = pol_y(); var pol_ar = (pol_cP / 2) - (pol_cH / 2); if (pol_G(pol_dN + '_showbanner')) { pol_G(pol_dN + '_showbanner').style.top = pol_as + "px"; pol_G(pol_dN + '_showbanner').style.left = pol_ar + "px"; setTimeout(function() { pol_V(pol_dN, pol_cH) }, 100); } } }; function cpmst_collapfullpage(pol_dN) { pol_G(pol_dN + '_status').value = 0; pol_G(pol_dN + '_showbanner').style.visibility = 'hidden'; var pol_dg = pol_G(pol_dN + '_showbanner'); document.body.removeChild(pol_dg); }; function pol_j(pol_dc, pol_cZ, pol_dd, pol_da) { var pol_do = ''; pol_do = pol_do.concat('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" WIDTH="').concat(pol_dd).concat('" HEIGHT="').concat(pol_da).concat('" ID="').concat(pol_dc).concat('" >'); pol_do = pol_do.concat('	<PARAM NAME="movie" VALUE="').concat('http://').concat(pol_cZ).concat('">'); pol_do = pol_do.concat('	<PARAM NAME="AllowScriptAccess" VALUE="always">'); pol_do = pol_do.concat('	<PARAM NAME="quality" VALUE="high">'); pol_do = pol_do.concat('	<PARAM NAME="bgcolor" VALUE="#FFFFFF">'); pol_do = pol_do.concat('	<PARAM NAME="wmode" VALUE="transparent">'); pol_do = pol_do.concat('	<EMBED src="').concat('http:///').concat(pol_cZ).concat('" quality="high" bgcolor="#FFFFFF" WIDTH="').concat(pol_dd).concat('" HEIGHT="').concat(pol_da).concat('" NAME="').concat(pol_dc).concat('" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" wmode="transparent" AllowScriptAccess="always" >'); pol_do = pol_do.concat('</OBJECT>'); return pol_do; }; function pol_y() { return pol_B(window.innerWidth ? window.innerWidth : 0, document.documentElement ? document.documentElement.clientWidth : 0, document.body ? document.body.clientWidth : 0); }; function pol_x() { return pol_B(window.innerHeight ? window.innerHeight : 0, document.documentElement ? document.documentElement.clientHeight : 0, document.body ? document.body.clientHeight : 0); }; function pol_N() { return pol_B(window.pageXOffset ? window.pageXOffset : 0, document.documentElement ? document.documentElement.scrollLeft : 0, document.body ? document.body.scrollLeft : 0); }; function cpmst_scrollTop() { return pol_B(window.pageYOffset ? window.pageYOffset : 0, document.documentElement ? document.documentElement.scrollTop : 0, document.body ? document.body.scrollTop : 0); }; function pol_B(pol_cU, pol_cS, pol_cR) { var pol_cT = pol_cU ? pol_cU : 0; if (pol_cS && (!pol_cT || (pol_cT > pol_cS))) pol_cT = pol_cS; return pol_cR && (!pol_cT || (pol_cT > pol_cR)) ? pol_cR : pol_cT; }; function pol_f() { if (window.innerHeight && window.scrollMaxY) { pol_ee = window.innerHeight + window.scrollMaxY; pol_ed = window.innerWidth + window.scrollMaxX; } else if (document.body.scrollHeight > document.body.offsetHeight) { pol_ee = document.body.scrollHeight; pol_ed = document.body.scrollWidth; } else { pol_ee = document.body.offsetHeight; pol_ed = document.body.offsetWidth; } return pol_ee; } 
