﻿//启用代码域名个数
var domainnums=1;
theDomain = new Array();
theDomain[0] = "c.at98.com";
if (domainnums>1)
{
var rands = Math.round(Math.random()*domainnums);
while (rands >(domainnums-1)) {
   rands = Math.round(Math.random()*domainnums);
}
}else{rands=0;}
if (rands==""){rands=0}
var codedomain=theDomain[rands];

//注意：各位站长不要更改代码，否则一经发现视为作弊处理！

var from_url = document.referrer;
var location_url=window.location.href;
from_url=escape(from_url);
location_url=escape(location_url);
var a_s  = at98_subid;
var a_u  = at98_id.split("|")[0];
var a_d  = at98_id.split("|")[1];
var a_a1 = at98_id.split("|")[2];
var a_a2 = at98_id.split("|")[3];
var a_p1 = at98_id.split("|")[4];
var a_p2 = at98_id.split("|")[5];
var a_t1 = at98_ty.split("|")[0];
var a_t2 = at98_ty.split("|")[1];
var a_w  = at98_sz.split("|")[0];
var a_h  = at98_sz.split("|")[1];
var a_f  = "c.aspx";
var a_as = "";
if ((a_a2=="0")||(a_a2.indexOf(",")>0))
{a_f="w.aspx";}
if (a_a2.indexOf(",")>0)
{a_as=a_a2;a_a2="0";}


var srcurl="http://"+codedomain+"/"+a_f+"?u="+a_u+"&w="+a_w+"&h="+a_h+"&d="+a_d+"&s="+a_s+"&a1="+a_a1+"&a2="+a_a2+"&as="+a_as+"&t1="+a_t1+"&t2="+a_t2+"&p1="+a_p1+"&p2="+a_p2+"&f_url="+from_url+"&l_url="+location_url
document.writeln("<iframe id='at_c' name='at_c' src='"+srcurl+"' width='"+a_w+"' height='"+a_h+"' marginwidth=0 marginheight=0  scrolling=no border=0 frameborder=0></iframe>");

//alert(srcurl);
//document.write(srcurl);
srcurl="";
