function QueryString(item){
     var sValue=location.search.match(new RegExp("[\?\&]"+item+"=([^\&]*)(\&?)","i"))
     return sValue?sValue[1]:sValue
}
var code = QueryString('adcode');
if(code ==null)
    code = QueryString('code');
if(code !=null && code !='')
    document.write("<script type='text/javascript' src='http://stat.10sea.com/" + code + "/'></script>");