//////// ! 首頁廣告位 ! ////////////
function ad_index_468x60_1()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/TWDJ.gif" width="468" height="60" border="0" /></a><img src="/skin/index/images/adright.gif" alt="台灣電音" />');
}
function ad_index_468x60_2()
{
document.write('<a href="http://iplaycool.co.cc/shop" target="_blank"><img src="/skin/index/images/banner/iplay.gif" width="468" height="60" border="0" /></a><img src="/skin/index/images/adright.gif" alt="i玩酷PlayCooL官方網站" />');
}
function ad_index_468x60_3()
{
document.write('<a href="http://iplaycool.co.cc/bbs" target="_blank"><img src="http://iplaycool.myweb.hinet.net/ipcmusic.gif" width="468" height="60" border="0" /></a><img src="/skin/index/images/adright.gif" alt="台灣電音" />');
}
function ad_index_468x60_4()
{
document.write('/');
}
function ad_index_220x125_1()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/banner/Services.gif" width="220" height="125" border="0"></a>');
}
function ad_index_740x80_1()
{
document.write('/');
}
function ad_index_740x80_2()
{
document.write('/');
}
function ad_index_990x200_1()
{
document.write('/');
}

//////// ! 分類首頁廣告位 ! ////////////
function ad_sort_468x60_1()
{
document.write('<a href="http://iplaycool.co.cc/shop" target="_blank"><img src="/skin/index/images/468x60/iplay.gif" width="468" height="60" border="0" /></a><img src="/skin/index/images/adright.gif" alt="台灣電音" />');
}
function ad_sort_468x60_2()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/TWDJ.gif" width="468" height="60" border="0" /></a><img src="/skin/index/images/adright.gif" alt="台灣電音" />');
}
function ad_sort_468x60_3()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/djtwjb.gif" width="468" height="60" border="0" /></a><img src="/skin/index/images/adright.gif" alt="台灣電音" />');
}
function ad_sort_740x60_1()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/banner/big001.gif" width="740" height="60" border="0" /></a>');
}

//////// ! 分類名單廣告位 ! ////////////

function ad_sort_list_740x145_1()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/banner/haofate.gif" width="740" height="145" border="0"></a>');
}
function ad_sort_list_468x60_1()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/TWDJ.gif" width="468" height="60" border="0" /></a><img src="/skin/index/images/adright.gif" alt="台灣電音" />');
}
//////// ! 播放頁廣告位 ! ////////////
function ad_play_300x300_1()
{
document.write('<a href="/user/login.asp" target="_blank"><img src="/skin/index/images/play1.gif" border="0" /></a>');
}
function ad_play_300x300_2()
{
document.write('<a href="/user/login.asp" target="_blank"><img src="/skin/index/images/play2.gif" border="0" /></a>');
}
function ad_play_300x300_3()
{
document.write('<a href="/user/login.asp" target="_blank"><img src="/skin/index/images/play2.gif" border="0" /></a>');
}
function ad_play_300x300_4()
{
document.write('<a href="http://www.facebook.com/twdj.net" target="_blank"><img height=300 src="/facebook/fans.jpg" width=300 border="0"></a>');
}
function ad_play_light_400x300_2()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/light.gif" border="0" /></a>');
}

//////// ! 站內通用廣告位 ! ////////////
function ad_exp_left_145x125_1()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/banner/Services.gif" border="0" /></a>');
}
function ad_exp_left_220x160_2()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/banner/services24h.gif" border="0" /></a>');
}
function ad_exp_left_220x160_3()
{
document.write('<a href="/user/login.asp"><img src="/skin/index/images/banner/Services.gif" border="0" /></a>');

}
//////////////////////////////////////////////////////////////////////////////////
function goad(){  
var Then = new Date()   
Then.setTime(Then.getTime() + 24*60*60*1000)  
var cookieString = new String(document.cookie)  
var cookieHeader = "Cookie1="   
var beginPosition = cookieString.indexOf(cookieHeader)  
if (beginPosition != -1){   
} else   
{ document.cookie = "Cookie1=Filter;expires="+ Then.toGMTString()   
document.write('<bgsound src="twdj.mp3" loop=1>');     
}  
}goad();
