/*
 K?t h?p Javascript và Flash d? t?o banner qu?ng cáo hi?u ?ng l?t trang.
 B?n dã download file t? website Di?n dàn Tin h?c Vi?t Nam www.diendantinhoc.vn
 M?i b?n tham gia th?o lu?n và trao d?i v? Tin h?c t?i Di?n dàn.
 [Vun d?y ki?n th?c - Ð?p d?y chuyên môn]
*/

var esel = new Object();
// ---------------------------------------------------------  THAY Ð?I Ð?A CH? ÐÍCH
esel.ad_url = escape('http://biquyetthanhcong.net/forum/showthread.php?t=4912');     // Nh?p vào d?a ch? mà b?n mu?n tr? d?n sau khi click vô qu?ng cáo
// ---------------------------------------------------------  END TARGET URL

esel.small_path = 'http://biquyetthanhcong.net/swf/s.swf';		//    du?ng d?n file flash mép gi?y (nh?)
esel.small_image = escape('http://biquyetthanhcong.net/swf/a.swf');	//   du?ng d?n hình ?nh n?m du?i mép gi?y (khi chua rê chu?t)
esel.big_path = 'http://biquyetthanhcong.net/swf/b.swf';				//   du?ng d?n file flash lúc kéo mép gi?y
esel.big_image = escape('http://biquyetthanhcong.net/swf/c.jpg');     //   du?ng d?n file qu?ng cáo chính


// KHÔNG ch?nh gì thêm ? du?i này---------------FINISHED----STOP---------------------------------------------------

esel.small_width = '100';
esel.small_height = '100';
esel.small_params = 'ico=' + esel.small_image;
esel.big_width = '650';
esel.big_height = '650';
esel.big_params = 'big=' + esel.big_image + '&ad_url=' + esel.ad_url;
function sizeup987(){
	document.getElementById('eselcornerBig').style.top = '0px';
	document.getElementById('eselcornerSmall').style.top = '-1000px';
}
function sizedown987(){
	document.getElementById("eselcornerSmall").style.top = "0px";
	document.getElementById("eselcornerBig").style.top = "-1000px";
}
esel.putObjects = function () {
document.write('<div id="eselcornerSmall" style="position:absolute;width:'+ esel.small_width +'px;height:'+ esel.small_height +'px;z-index:9999;right:0px;top:0px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="eselcornerSmallObject" width="'+esel.small_width+'" height="'+esel.small_height+'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ esel.small_path +'?'+ esel.small_params +'"/>');
document.write(' <param name="wmode" value="transparent" />');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+esel.small_params+'"/>');
document.write('<embed src="'+ esel.small_path + '?' + esel.small_params +'" name="eselcornerSmallObject" wmode="transparent" quality="high" width="'+ esel.small_width +'" height="'+ esel.small_height +'" flashvars="'+ esel.small_params +'" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div></script>');
document.write('<div id="eselcornerBig" style="position:absolute;width:'+ esel.big_width +'px;height:'+ esel.big_height +'px;z-index:9999;right:0px;top:0px;">');
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="eselcornerBigObject" width="'+ esel.big_width +'" height="'+ esel.big_height +'">');
document.write(' <param name="allowScriptAccess" value="always"/> ');
document.write(' <param name="movie" value="'+ esel.big_path +'?'+ esel.big_params +'"/>');
document.write(' <param name="wmode" value="transparent"/>');
document.write(' <param name="quality" value="high" /> ');
document.write(' <param name="FlashVars" value="'+ esel.big_params +'"/>');
document.write('<embed src="'+ esel.big_path + '?' + esel.big_params +'" id="eselcornerBigEmbed" name="eselcornerBigObject" wmode="transparent" quality="high" width="'+ esel.big_width +'" height="'+ esel.big_height +'" flashvars="'+ esel.big_params +'" swliveconnect="true" allowscriptaccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
setTimeout('document.getElementById("eselcornerBig").style.top = "-1000px";',1000);
}
esel.putObjects();