
(function(_Z,_l,_g,_Y,_r,_v,_x,_z,_o,_P,_k,_4,_p,_$,_q,_X,_R,_E,_C,_7,_j,_t,_8,_w,_U,_b,_D,_9,_B,_K,_f,_i,_O,_n,_V,_u,_L,_3,_s,_A,_2,_e,_6,_N,_c,_H,_d,_h,_Q,_I,_G,_m){(function(L,E,I){if(typeof(L[E])==_8)L[E]={NS:I,author:_z,version:_X};return I;})(window,_e,function(){ 
	var C,N,L,E,I; 
	C=arguments,N=C[0],L=C.callee; 
	if(!N)return L; 
	E=typeof(N); 
	if(E==_P){ 
		N=lJSF[N]={}; 
	} else if(E!=_K && E!=_9){ 
		return L; 
	} 
	E=(C.length-1)/2; 
	for(I=1;I<=E;I++)N[C[I]]=C[I+E]; 
	return L; 
})(lJSF,_n,_q,_f,_r,_H,_6,  
(function(L,E,I){ 
	I={userAgent:L,appName:E,isW3C:(document.getElementById?true:false)}; 
	I.isOP=L.indexOf(_i)!= -1; 
	I.isIE= !I.isOP && (L.indexOf(_A)!=-1) && (L.indexOf(_o)==-1); 
	I.isIE6=I.isIE && (L.indexOf(_t)!=-1); 
	I.isNS6= (E==_l) && I.isW3C; 
	I.isGecko = L.indexOf(_L)!= -1; 
	I.isFF = I.isNS6 && L.indexOf(_m)!= -1; 
	I.isGC = I.isGecko && L.indexOf(_s)!= -1; 
	I.isSF = !I.isGC && I.isGecko && L.indexOf(_x)!= -1; 
	return I; 
})(navigator.userAgent.toLowerCase(),navigator.appName), 
{ 
	has:function(id){ 
		return document.getElementById(id)?true:false; 
	}, 
	id: function(o){ 
		o=typeof(o)==_P?document.getElementById(o): o; 
		try {return o;} finally {o=null;} 
	} 
}, 
{ 
	size	: function(el){ 
		return {width:el.offsetWidth,height:el.offsetHeight}; 
	} 
},  
{ 
	line: function(x,b,c,d){ return c*x/d + b;} 
}, 
{}, 
{})(lJSF.DOM,_G,_R,_E, 
(function(L,E){ 
	return function(t,a,s,p,w){   
		var e = document.createElement(t); 
		if(!(p=L(p)))p=document.body;    
			w===0?p.insertBefore(e,p.firstChild):p.appendChild(e);    
		E(e,a); 
		E(e.style,s); 
		try{return e;} finally {e=null;} 
	}; 
})(lJSF.DOM.id,function(e,o){ 
	if(o && typeof(o)==_K){ 
		for(var x in o)e[x]=o[x]; 
	} 
}), 
(function($){  
	return function (L,E,I){ 
		if(E){ 
			var t=typeof(E); 
			if(t==_P){ 
				if(typeof(I)!=_8){ 
					if((L=$(L)))L[E]=I; 
				} else { 
					if(!(L=$(L)))return null; 
					return L[E]; 
				} 
			} else if(t==_K){ 
				if((L=$(L))){ 
					for(x in E)L[x]=E[x]; 
				} 
			} 
		} 
		return arguments.callee; 
	}; 
})(lJSF.DOM.id), 
(function($){ 
	return function(L,E,I){ 
		if(E){ 
			var t=typeof(E),x; 
			if(t==_P){ 
				if(typeof(I)!=_8){ 
					if((L=$(L)))L.style[E]=I; 
				} else { 
					if(!(L=$(L)))return null; 
					return L.style[E]; 
				} 
			} else if(t==_K){ 
				if((L=$(L))){ 
					L=L.style; 
					for(x in E)L[x]=E[x];  
				} 
			} 
		} 
		return arguments.callee; 
	}; 
})(lJSF.DOM.id))(lJSF.POS,_c,_j,_V, 
function(W){ 
	W= W?W:self; 
	var w=0,h=0; 
	if(W.innerHeight){ 
		w=W.innerWidth; 
		h=W.innerHeight; 
	} else if(W.document.documentElement && W.document.documentElement.clientWidth){ 
		w=W.document.documentElement.clientWidth; 
		h=W.document.documentElement.clientHeight; 
	} else if(W.document.body.clientHeight){ 
		w=W.document.body.clientWidth; 
		h=W.document.body.clientHeight; 
	} 
	return {width:w,height:h}; 
}, 
function(W){  
	W=W||self; 
	var sX,sY,pW,pH,wW,wH; 
	if(W.innerHeight && W.scrollMaxY){ 
		sX=W.document.body.scrollWidth; 
		sY=W.innerHeight + W.scrollMaxY; 
	} else if(W.document.body.scrollHeight > W.document.body.offsetHeight){ 
		sX=W.document.body.scrollWidth; 
		sY=W.document.body.scrollHeight; 
	} else { 
		sX=W.document.body.offsetWidth; 
		sY=W.document.body.offsetHeight;  
	} 
	if(W.innerHeight){ 
		wW=W.innerWidth; 
		wH=W.innerHeight; 
	} else if(W.document.documentElement && W.document.documentElement.clientHeight){ 
		wW=W.document.documentElement.clientWidth; 
		wH=W.document.documentElement.clientHeight; 
	} else if(W.document.body){ 
		wW=W.document.body.clientWidth; 
		wH=W.document.body.clientHeight; 
	} 
	pH=sY < wH ? wH : sY; 
	pW=sX < wW ? wW : sX; 
	return {width:pW,height:pH}; 
}, 
function(W){ 
	W= W?W:self; 
	var x=0,y=0,r={}; 
	if(W.document.documentElement){  
		x=W.document.body.scrollLeft + W.document.documentElement.scrollLeft; 
		y=W.document.body.scrollTop + W.document.documentElement.scrollTop; 
	} else if(W.pageXOffset){  
		x=W.pageXOffset; 
		y=W.pageYOffset; 
	} else if(W.document.body.scrollLeft >= 0){ 
		x=W.document.body.scrollLeft; 
		y=W.document.body.scrollTop; 
	} 
	return {top:y,left:x}; 
})(lJSF.Tween,_g, 
function (t, b, c, d) { 
	return -c *(t/=d)*(t-2) + b; 
})(lJSF.Class,_Q, 
function(freq,onframe,onstart,onstop){ 
	this.onframe = onframe || function(){}; 
	this.onstart = onstart || function(){}; 
	this.onstop = onstop || function(){}; 
	this.freq = freq || 36; 
})(lJSF.Class.Timer.prototype,_4,_Y,_p,  
function(time,onframe,onstart,onstop){ 
	if(this._timer)return; 
	time = time || 7200;  
	var ME = this;  
	var evt = { 
		startTime : new Date(),  
		times : 0,  
		fps : this.freq,  
		total:this.freq * time, 
		duration : time * 1000  
	}; 
	onframe=typeof(onframe)==_9?onframe:this.onframe; 
	onstart=typeof(onstart)==_9?onstart:this.onstart; 
	onstart(evt); 
	this._timer = setInterval( 
		function(){ 
			++evt.times; 
			evt.currentTime = new Date();  
			evt.timeLine = evt.currentTime - evt.startTime;  
			evt.process = (evt.timeLine / evt.duration); 
			if(evt.process > 1.0000) evt.process = 1.0000;  
			evt.frame = Math.round(evt.total * evt.process);  
			evt.process = evt.process.toFixed(7);  
			if(evt.process >= 1){ 
				evt.process=1.00; 
				onframe(evt); 
				if(typeof(onstop)==_9){ 
					ME.stop(function(){ 
						onstop(evt); 
					}); 
				} else { 
					ME.stop(); 
				} 
			} else { 
				onframe(evt); 
			} 
		},Math.round(1000/this.freq) 
	); 
}, 
function(onstop){ 
    if(this._timer){ 
        clearInterval(this._timer); 
        delete this._timer; 
    } 
	if(typeof(onstop)==_9){ 
		onstop(); 
	} else { 
		this.onstop(); 
	} 
}, 
function(dur){ 
    if(this._timer)this.stop(); 
    this.start(dur); 
})(lJSF.APP,_v, 
{ 
	$	: lJSF.DOM.id, 
	HASH:{} 
})(lJSF.APP.fixedBox,_$,_7,_O, 
(function(L,E,I,Timer){ 
	var bv=L.BV,ce=E.create,$=E.id,isIE=bv.isIE,H=I.HASH; 
	return function(Id,style,config,content){ 
		if(style && typeof(style)==_K){ 
			H[Id]={isbusy:false,closed:true}; 
			var h=H[Id]; 
			config=config?config:{}; 
			(function(H,C,A,F){ 
				var i=0,l=A.length,k; 
				for(; i<l;i++) { 
					k=A[i]; 
					if(typeof(C[k])==_9){ 
						H[k]=C[k]; 
					} else { 
						H[k]=F; 
					} 
				} 
			})(h,config,[_k,_C,_2,_u],new Function(_d)); 
			h.Timer=new Timer(20,function(evt){ 
				h.onframe(Id,h,evt); 
			},function(){ 
				h.isbusy=true; 
				h.onstart(Id,h); 
			},function(){ 
				h.isbusy=false; 
				h.onend(Id,h); 
		}); 
			if(isIE){ 
				var sc=L.POS.scroll,cs=L.POS.client,pg=L.POS.page; 
				var ch,ht,bot=0,tp=0,fixed,resize; 
				if(_N in style){ 
					tp=parseInt(style.top); 
					h.fixed=fixed=function(){ 
						$(Id).style.top=(sc().top+tp)+_Z; 
					}; 
				} else if(_b in style){ 
					bot=parseInt(style.bottom); 
					ch=cs().height; 
					window.onresize=function(){ 
						ch=cs().height; 
						fixed(); 
					}; 
					h.fixed=fixed=function(){ 
						$(Id).style.top=(sc().top+(ch-bot-parseInt($(Id).style.height)))+_Z; 
					}; 
				} 
				style.position=_w; 
				delete style[_b]; 
				window.onscroll=fixed; 
			} else { 
				style.position=_B; 
				h.fixed=function(){}; 
			} 
			ce(_I,{id:Id,innerHTML:_3+Id+_D},style); 
			if(typeof(content)==_P)I.content(Id,content); 
			h.fixed(); 
		} 
		return I; 
	}; 
})(lJSF,lJSF.DOM,lJSF.APP.fixedBox,lJSF.Class.Timer), 
(function(L,E,I){ 
	var bv=L.BV,ce=E.create; 
	return function(Id,content){ 
		E.attribute(Id+_h,{innerHTML:content.split(_U).join(Id)}); 
		return I; 
	}; 
})(lJSF,lJSF.DOM,lJSF.APP.fixedBox), 
(function(L,E,I){ 
	var bv=L.BV,ce=E.create,H=I.HASH; 
	return function(Id){ 
		if(Id in H){ 
			var h=H[Id]; 
			if(h.isbusy)return I; 
			h.isbusy=true; 
			if(h.closed){ 
				h.onframe=h.onopen; 
			} else { 
				h.onframe=h.onclose; 
			} 
			h.closed=!h.closed; 
			h.Timer.start(0.5); 
		} 
		return I; 
	}; 
})(lJSF,lJSF.DOM,lJSF.APP.fixedBox));})("px","Netscape","easeOut","stop","Tween","fixedBox","safari","CNLEI","omniweb","string","onopen","start","restart","build","DOM","2.0.1.09071311","attribute","style","onclose","content","page","msie 6","undefined","absolute","{_BOX_ID_}","bottom",'_inner">loading...</div>',"function","fixed","object","POS","opera","exchange","BV","scroll","onend","gecko",'<div id="',"chrome","msie","onstart","lJSF","APP","top","client","Class","","_inner","Timer","div","create","firefox");

/*参数设置*/
if(c_w_cbd==undefined){
   //边框颜色
   var c_w_cbd="#99b7ff";
}
if(c_w_cbg==undefined){
   //背景颜色
   var c_w_cbg="#edf7ff";
}
if(c_w_cbk==undefined){
   //关键词标识色  
   var c_w_cbk="#FFFF33";
}

var host = document.domain;
var url = document.location;
var sh=host;//真实主机
var hs=host.split(".");
if(hs.length>2)//大于2防止.com.cn这样域名出错,此为是为了获取真正域名
{
	var hl1=hs[hs.length-1];
	var hl2=hs[hs.length-2];
	var hl3=hs[hs.length-3];
		
	if(hl2=="com" || hl2=="net" || hl2=="org" || hl2=="gov"  || hl2=="info" || hl2=="cc" || hl2=="tv" || hl2=="ac" || hl2=="mil" || hl2=="edu" )//域名尾缀倒数第二个为这些域名，表示二级域名，例a.com.cn
	{
		sh=hl3+"."+hl2+"."+hl1;
	}
	else if(hl1=="com" || hl1=="net" || hl1=="org" || hl1=="gov"  || hl1=="info" || hl1=="cc" || hl1=="tv" || hl1=="ac" || hl1=="mil" || hl1=="edu" )//域名尾缀倒数第一个为这些域名，表示一级域名，例a.com
	{
		sh=hl2+"."+hl1;
	}
	else if(hs.length>3)//大于3的，只取a.com.cn这种域名
	{
		sh=hl3+"."+hl2+"."+hl1;
	}
	else
	{
		 sh=host;
	}
}

var rf=document.referrer;
var kw='';
if(1==1)//if(rf!='')//如果引用不为空
{
	kw=gs("wd",rf);
	if(kw==''){
	   kw=gs("q",rf);
	}
	if(kw==''){
	   kw=gs("word",rf);
	}
	if(kw==''){
	   kw=gs("query",rf);
	}
	if(kw==''){
	   kw=gs("search",rf);
	}
	if(kw==''){
	   kw=gs("keyword",rf);
	}
	if(kw==''){
	   kw=gs("kw",rf);
	}
	if(kw==''){
	   kw=gs("w",rf);
	}
	if(kw==''){
	   kw=gs("p",rf);
	}
}
else
{
	kw=document.title;
}


if(kw!=''){
	document.write('<style type="text/css">\
	#ws_Ad_BOX a img {border:none;}\
		div.ws_Ad_BUTTONS {position:absolute;top:15px;right:15px;}\
		div.ws_Ad_BUTTONS img {cursor:pointer;}\
		</style>\
	');
	lJSF.NS(window,"_ws_Ad_",lJSF.APP.fixedBox);
	(function(lDOM,lPOS,lTw){
		var BoxId="ws_Ad_BOTTOM_";
		var RootUrl="http://www.yesbtob.com/InSiteSearch.net/";
		var RootImgUrl="http://www.yesbtob.com/InSiteSearch.net/";
		var contenId="ws_Ad_content_box";
		var maxWth=278;//广告最大宽度
		var minHth=100;//最小高度
		var maxHth=432;//最大高度
		var bdWth=10;//上下边线等偏移总量
		var offHth=minHth-maxWth;
		var content=[];
		content.push('<div id="ws_Ad_Popwin" style="border:1px solid '+c_w_cbd+';padding:3px;background:'+c_w_cbg+';"><div style="padding:2px 2px 0 2px;width:'+(maxWth-12)+'px"><iframe src="'+RootUrl+'Search/?url='+escape(url)+'&kw='+kw+'&bg='+c_w_cbg.slice(1)+'&bk='+c_w_cbk.slice(1)+'&sh='+escape(sh)+'" frameborder="0" scrolling="no" id="'+contenId+'" style="height:'+(maxHth-bdWth)+'px;width:'+(maxWth-bdWth)+'px;"></iframe></div>');
		content.push('<div class="ws_Ad_BUTTONS" id="{_BOX_ID_}_c_buttons" style="position:absolute;top:6px;left:0px;width:14px;text-align:left;z-index:9999" onclick="close_ws_Adw()"><img src="'+RootImgUrl+'close.gif" height=16 width=16 border=0></div><div class="ws_Ad_BUTTONS" id="{_BOX_ID_}_buttons" style="width:14px;position:absolute;top:6px;right:5px;"> ');
		content.push('<img style="border:0;cursor:pointer" id="{_BOX_ID_}_handle" src="'+RootImgUrl+'btn_up.gif" onmousemove="_ws_Ad_.exchange(\''+BoxId+'\')" />');
	content.push('</div></div>');
		content=content.join("").split('{_BOX_ID_}').join(BoxId);
		function init(){


			_ws_Ad_.build(BoxId,{
				left:"10px",	
				bottom:"0px",
				width:"278px",
				height:"100px",
				zIndex:9999,
				overflow:"hidden",
				background:"transparent"
			},{
				onopen:function(id,h,evt){
					lDOM.style(id,{
						height:Math.round(lTw(evt.frame,60,312,10))+'px'
					});
					h.fixed();
				},
				onclose:function(id,h,evt){
					lDOM.style(id,{
						height:Math.round(lTw(evt.frame,372,-312,10))+'px'
					});
					h.fixed();

				},
				onstart:function(id,h){
					if(!h.closed){
						lDOM.attribute("ws_Ad_content_box",{className:""});
					}
				},
				onend:function(id,h){
					if(h.closed){
						lDOM.attribute("ws_Ad_content_box",{className:"closed"});
						lDOM.attribute(id+"_handle",{src:RootImgUrl+"btn_up.gif",title:""});
					} else {
						
						lDOM.attribute(id+"_handle",{src:RootImgUrl+"btn_down.gif",title:""});
					}
				}
			},content);
		}
		if(!lJSF.BV.isIE){
			init();
		} else {
			if (document.readyState=="complete"){
				init();
			} else {
				document.onreadystatechange=function(){
					 if(document.readyState=="complete")init();
				}
			}
		}
	})(lJSF.DOM,lJSF.POS,lJSF.Tween.easeOut);

}
function close_ws_Adw(){
	document.getElementById("ws_Ad_Popwin").style.display="none"
}

function gc(n){
        var arg=n+"=";
        var alen=arg.length;
        var clen=document.cookie.length;
        var i=0;
        while(i<clen){
        var j=i+alen;
        if(document.cookie.substring(i,j)==arg) return gv(j);
        i=document.cookie.indexOf(" ",i)+1;
        if(i==0)        break;
        }
        return -1;
}

function gv(of){
        var es = document.cookie.indexOf(";",of);
        if(es==-1) es=document.cookie.length;
        return unescape(document.cookie.substring(of,es));
}
function gs(name,urls) 
{
   var reg = new RegExp("(^|\\?|&)"+ name +"=([^&]*)(\\s|&|$)", "i");
   if (reg.test(urls)) return RegExp.$2.replace(/\+/g, " "); 
   return ""; 
 }
