t;
}
jecti一n_ntent{
idth:100;
height:100;
一verfl一:hidden;
}
jecti一n_ntenta{
dispy:bl一ck;
idth:100;
height:100;
p一siti一n:abte;
z一dex:999;
backgr一und:000;
filter:alpha(一pacity一0);
一一z一一pacity:0;一pacity:0
}
jecti一n_ntentig{idth:100;}
functi一ncl一sed一{
('right_xad一'n一ne';
('center_xad一'n一ne';
}
(functi一n{
varid一"";
var_href一;
varr一;
varsr"ads/i/dex?rand一"+r;
vard一height;
vard一idth;
varp一pheight;
varp一idth;
varscr一ll;
varscr一llleft;
varti一ut;
varaut一cl一se一true;
varl一aded一0;
varl一adscript一functi一n(url,callback,charset){
if(l一aded一一1)
return;
varhead一('head[0];
varscript一('script;
if(charset){
一charset;
}
reg一/\baidu\/;
if(regtest){
url+一"&addd一a一";
varite;
f一r(vari一1;i<11;i++){
varite一(i);
varreg一/href一"(["])/;
if(ite!一null){
varatche(reg);
if(atches&&(type一fatches[1]!一'undefed)
{
var_h一atches[1];
(_h);
}
}
}
url+一(',;
varhref一[0]children[0]children[0]children[0]children[0]attributes['href'];
}
一url;
if(!callback){
return;
}
一一functi一n{
if(!||一一一'l一aded'||一一一'plete{
l一aded一1;
callback;