function asp (code, size_info, resize_url)
{
var now = new Date;
var today;
today = now.getYear();
if((now.getMonth()+1) < 10)
today += '0';
today += now.getMonth()+1;
if(now.getDate() < 10)
today += '0';
today += now.getDate();
today = parseInt(today);
/*
if(today >= 20080623)
{
return;
}
*/
var now_url = location.href;
var now_siteurl= escape(document.location.href);
var page_width = 0;
if(resize_url)
{
var param = '&resize_url='+resize_url;
}
switch (size_info)
{
case 1:
page_width = 600;
break;
case 2:
page_width = 850;
break;
case 3:
page_width = 780;
break;
}
document.write("");
asp_game_iframe.location.href = 'http://asp.gameangel.com/asp/?url='+now_url+'&uniq_code='+code+param+'&asp_url='+now_siteurl+'&type='+size_info;
/*
if(size_info=="1")
{
document.write("");
asp_game_iframe.location.href = 'http://asp.gameangel.com/asp/?url='+now_url+'&uniq_code='+code+param+'&asp_url='+now_siteurl;
}
else if(size_info=="2")
{
document.write("");
asp_game_iframe.location.href='http://asp.gameangel.com/asp/gameangel.php?url='+now_url+'&uniq_code='+code+param+'&asp_url='+now_siteurl;
}
else if(size_info=="3")
{
document.write("");
asp_game_iframe.location.href='http://asp.gameangel.com/asp/asp.php?url='+now_url+'&uniq_code='+code+param+'&asp_url='+now_siteurl;
}
*/
}