﻿//Left
function adsleft1()
{
	var adsleft1 = '<iframe height="150" rel="nofollow" frameborder="0" width="180" scrolling="no" ALLOWTRANSPARENCY="true" src="'+imageHome+'/ad/if/lienket180x150.htm"></iframe><br />';
	document.write(adsleft1);
}
function adsleft2()
{
	var adsleft2 = "<br /><a href='http://forextrainingblog.info/click/click.php?id=5' target='_blank'><img src='http://sieumua.com/quangcao/forex.gif' alt='make money easy' width='180' height='150' border='0' alt='Dành cho quảng cáo' /></a><br /><a href='http://getfreesoftwares.com' target='_blank'><img src='http://sieumua.com/quangcao/soft180x150.gif' width='180' height='150' border='0' alt='Download hàng triệu game và phần mềm miễn phí' /></a><br /><a href='http://sieumua.com/forumdisplay.php?f=9' target='_blank'><img src='"+imageHome+"/ad/ad/mobile300x250.gif' width='180' height='150' border='0' alt='Điện thoại giá rẻ' /></a>";
	document.write(adsleft2);
}
//Right
function adsright1()
{
	adsright1 = "";
	adsright1 += "<!-- Begin VietAd -->";
	adsright1 += '<script language="javascript" type="text/javascript">';
	adsright1 += "var vietad_zoneId      = 'va_8D424E71F62F31E1';";
	adsright1 += "var vietad_titleColor  = '000000';";
	adsright1 += "var vietad_desColor    = '000000';";
	adsright1 += "var vietad_linkColor   = '000000';";
	adsright1 += "var vietad_bgColor     = '000000';";
	adsright1 += "var vietad_borderColor = '000000';";
	adsright1 += "var vietad_width       = '300';";
	adsright1 += "var vietad_height      = '250';";
	adsright1 += "var vietad_sizeId      = '13';";
	adsright1 += "var vietad_typeId      = '3';";  
	adsright1 += "</script>";
	adsright1 += '<script type="text/javascript" src="http://embed.vietad.vn/MagicBanner.js"></script>';
	adsright1 += "<!-- End: VietAd -->";
	document.write(adsright1);
}
function adsright2()
{
	var adsright2 = "<a href='http://sieumua.com/forumdisplay.php?f=43' target='_blank' rel='nofollow'><img src='"+imageHome+"/ad/ad/trangsuc300x100.gif' width='300' height='100' border='0' /></a><br /></br />";
	document.write(adsright2);
}
//Main
function adsmain1()
{
	document.write('<div style="text-align:left"><strong>Thông báo: </strong>Do video được lấy <b>tự động</b> từ <b>youtube.com</b> nên trong quá trình sử dụng nếu mọi người bắt gặp những video xấu mà chúng tôi chưa lọc hết thì hãy báo cáo những video đó cho chúng tôi để loại bỏ kịp thời. Hiện nay chúng tôi đang tiến hành lọc bỏ tự động 100% các nội dung không phù hợp để đảm bảo VGT lành mạnh và đơn thuần chỉ phục vụ giải trí.</div><br />');
}
function adsmain2()
{
	document.write('<iframe height="60" rel="nofollow" frameborder="0" width="468" scrolling="no" ALLOWTRANSPARENCY="true" src="'+imageHome+'/ad/if/lienket468x60.htm"></iframe>');
}
function adsmain3()
{
	document.write('<br /><div class="borderwrap" width="100%"><div style="padding:5px 7px 5px 7px; text-align: right"><form method="get" action="'+ipb_var_video_url+'"><input type="hidden" name="CODE" id="CODE" value="02" /><input name="search" type="text" class="q" style="height:17px; width:300px;" maxlength="255" id="search" onfocus="this.value=\'\'" value="Nh&#7853;p t&#7915; kh&#243;a Video muốn t&#236;m ki&#7871;m..."/>&nbsp;<input type="submit" class="go" style="height:22px; width:70px;" value="Tìm kiếm" name="submit" id="submit"/></form></div></div>');
}
//Play
function adsplay1()
{
	//document.write('<object width="425" height="100"><a href="http://chodientu.vn" title="Tài trợ bởi Chợ Điện Tử - Ebay"></a><param name="movie" value="http://widget.adnet.vn/AdnetWidget.swf?widgetWidth=420&widgetHeight=100&firstBgColor=6194689&itemBackColor=16777215&widgetType=2&titleColor=0&descColor=0&priceColor=16711680&id=17514&widgetTheme=1&widgetSize=3"/><param name="allowScriptAccess" value="sameDomain" /><embed src="http://widget.adnet.vn/AdnetWidget.swf?widgetWidth=420&widgetHeight=100&firstBgColor=6194689&itemBackColor=16777215&widgetType=2&titleColor=0&descColor=0&priceColor=16711680&id=17514&widgetTheme=1&widgetSize=3" width="425" height="100" type="application/x-shockwave-flash" allowScriptAccess="sameDomain"></embed></object>');
}
function adsplay2()
{
	//document.write('<a href="http://advertise.cybermedia.com.vn/Traffic.aspx?mdl=373&dl=92" title="Upload ảnh Xuân, nhận ngay lộc Xuân nè…" target="_blank"><img src="http://img.vietgiaitri.com/uploads/pic20/VietGiaiTri.Com-1-1267158719.png" width="468" border="0" alt="Upload ảnh Xuân, nhận ngay lộc Xuân nè…"/></a>');
	document.write('<a href="http://www.vietgiaitri.com/category/trac-nghiem/" target="_blank" title="Trắc nghiệm"><img alt="Trắc nghiệm" src="http://pagead2.googlesyndication.com/pagead/imgad?id=CIKl5IPmiaXHLxDYBRhaKAEyCDbHphgdzfiVQPDApofrJA" border="0" width="468" height="60" /></a><br />');
}
function adsplay3()
{
	document.write('<br /><div class="borderwrap" width="100%"><div style="padding:5px 7px 5px 7px; text-align: right"><form method="get" action="'+ipb_var_video_url+'"><input type="hidden" name="CODE" id="CODE" value="02" /><input name="search" type="text" class="q" style="height:17px; width:300px;" maxlength="255" id="search" onfocus="this.value=\'\'" value="Nh&#7853;p t&#7915; kh&#243;a Video muốn t&#236;m ki&#7871;m..."/>&nbsp;<input type="submit" class="go" style="height:22px; width:70px;" value="Tìm kiếm" name="submit" id="submit"/></form></div></div>');
}
//Home
function adshome1()
{
	document.write('<div style="text-align:left"><strong>Thông báo: </strong>Do video được lấy <b>tự động</b> từ <b>youtube.com</b> nên trong quá trình sử dụng nếu mọi người bắt gặp những video xấu mà chúng tôi chưa lọc hết thì hãy báo cáo những video đó cho chúng tôi để loại bỏ kịp thời. Hiện nay chúng tôi đang tiến hành lọc bỏ tự động 100% các nội dung không phù hợp để đảm bảo VGT lành mạnh và đơn thuần chỉ phục vụ giải trí.</div><br />');
}
function adshome2()
{
	document.write('<iframe height="60" rel="nofollow" frameborder="0" width="468" scrolling="no" ALLOWTRANSPARENCY="true" src="'+imageHome+'/ad/if/lienket468x60.htm"></iframe><br /><br />');
}
function adshome3()
{
	document.write('<div class="borderwrap" width="100%"><div style="padding:5px 7px 5px 7px; text-align: right"><form method="get" action="'+ipb_var_video_url+'"><input type="hidden" name="CODE" id="CODE" value="02" /><input name="search" type="text" class="q" style="height:17px; width:300px;" maxlength="255" id="search" onfocus="this.value=\'\'" value="Nh&#7853;p t&#7915; kh&#243;a Video muốn t&#236;m ki&#7871;m..."/>&nbsp;<input type="submit" class="go" style="height:22px; width:70px;" value="Tìm kiếm" name="submit" id="submit"/></form></div></div>');
}