﻿//读cookie
function cookie3(m,n)
{
	if(n==null)n="t3u3inc"
	var a,b,c,d,e,f;
	e=document.cookie+''
	e=e.toLowerCase().split(";")
	for(d=0;d<e.length;d++)
	{
		f=e[d].split(n)
		if(f.length<2)continue
		a=e[d].split("&")
		for(b=0;b<a.length;b++)
		{
			c=a[b].split("=")
			if(c.length==3)
			{
				if(c[1]==m)return c[2]
			}
			else if(c.length==2)
			{
				if(c[0]==m)return c[1]
			}
		}
	}
	return ""
}

//m并非gt3格式，用`分隔的参数
function f23(n,m1)
{
	clearInterval(f23.runcc)
	f23.runcc=setTimeout("f23.run=false",5000)

	if(n==null)
	{
		if(f23.run)return
		//非工作状态，处理未完成的工作
		for(var x=0;x<f23.queue.length;x++)
		{
			if(f23.queue[x]!=null)
			{
				n=f23.queue[x]
				if(n.charAt(0)=="-")
				{
					f23.queue[x]=null
					eval(n.substring(1))
					setTimeout("f23()",1)
					return
				}
				break
			}
		}
		if(n==null)return
	}
	else
	{
		f23.queue[f23.queue.length]=n
		if(f23.run)return
	}
	var b=n.split("^")
	if(top.A.nav!="fx" && event!=null)f23.eventclient=event.clientX+"-"+event.clientY
	if(eval("f23."+b[0]+"==null"))
	{
		f23.run=true
		var t=f23.path+"4fun"
		if(String(location).indexOf(top.A.jspath)!=-1 && m1!=1)t="/4fun/4fun"
		if(m1==1)t="5inc/"
		t+=b[0]+".js"
		if(Gt3(m1,"ty")=="x")
		{
			eval(U(t),"tyx")
			return
		}
		Uj(t)
	}
	else eval("f23."+b[0]+"()")
}


//v2005-11-30-1
function Gt(a,n,c,d)//内容 标号 起始号
{
	if(c==null)c=0
	if(d!=null)a=a.split("`")
	for(var x=c;x<a.length;x++)
	{
		if(a[x].substr(0,2)==n)
		{
			return a[x].substring(2)
		}
	}
	if(n=="08" && d==null)return Gt(a,"18",c)
	return ""
}

//内容，标识，分隔符
function Gt3(a,n,f)
{
	a=String(a)
	if(f==null)f="`"
	var b=a.indexOf(f+n)
	if(b==-1)return ""
	a=a.substring(b+3)
	b=a.indexOf(f)
	if(b==-1)return a
	return a.substring(0,b)
}



//类型，插入的数据，Gt数据
function Gt3save(f,n,a)
{
	var b=a.indexOf("`"+f)
	if(b==-1)
	{
		if(n=="")return a
		return a+"`"+f+n
	}
	var a1=a.substr(0,b)
	var a2=a.substring(b+3)
	b=a2.indexOf("`")
	if(b==-1)a2=""
	else a2=a2.substring(b)
	if(n=="")return a1+a2
	return a1+"`"+f+n+a2
}


//处理用于分割的字符，改`和^为4xvu和4xvz，
function V3(n)
{
	if(n==null)return ""
	n=n.replace(/`/g,"3xvU")
	n=n.replace(/<\/textarea/gi,"&lt;/textarea")
	return n.replace(/\^/g,"3xvZ")
}


//处理用于分割的字符，还原成`和^，同时处理<符号
function V(n,m)
{
	if(n==null)return "";n=n.replace(/(3xvU)/g,"`")
	n=n.replace(/(3xvZ)/g,"^")
	if(m==1)return n
	return n.replace(/</g,"&lt;")
}

function ran(){var d=new Date()//随机数
	return d.getDate()*24*3600+d.getHours()*3600+d.getMinutes()*60+d.getSeconds()}
function trim5(n){return n.replace(/(^\s+)|\s+$/g,"")}

var buffermemory
function bm(name3,v)
{

}



//载取一定长度的字符(一个中文为两个长度)
function xLength(m,n)//字符 长度
{
	if(m==null || m=="")return ""
	var s=m.replace(/([^\x00-\xff])/g,"\x00$1");
	return (s.length<=n)?m:s.substring(0,n-3).replace(/\x00/g,'')+"...";
}

f23.Optionv_A=new Array()
f23.optionv=function(m,n)//
{
	n=String(n)
	var d=f23.Optionv_A[m]
	if(d==null)
	{
		d=U("5pro/ttt.b.aspx?b=list&g=`ssid3="+m+"`tboption5`tyo`011`081","`tyx").split("^")
		if(d.length==1)d[1]=""
		d=d[1]
		f23.Optionv_A[m]=d
	}
	if(n.length==1)n="#"+n
	return V(Gt3(d,n))
}



function _____(){}//■〓  〓■■■■■www.3http.com■■■■■■\\
function S(n)
{
	var a=S.s[n]
	if(a==null)a=""
	return a
}
s=new Array()
s[0]="#CCCCCC"	//表格标题颜色
s[1]="#f7f7f7"	//表格普色
s[2]="#e7e7e7"	//表格浓色
s[3]="#666666"	//表格边框颜色
s[4]="#aaaaaa"	//文字颜色淡
s[5]="#006060"	//文字颜色普（基本文字颜色）"
s[6]="#000000"	//文字颜色浓
s[9]="#CCCCFF"	//滚条颜色
s[10]="#FF0000"	//突出的字体颜色
s[18]=""	//标题栏
s[19]=""	//贴子内容标题栏的背景
s[11]="#ffffff"//body
S.s=s

function _____(){}//■〓 top3 〓■■■■■www.3http.com■■■■■■\\


function gfS(n)
{
	var a=String(eval(n))	
	if(n.indexOf(".")==-1)return a+"\r\n"
	return n+"=function"+a.substring(a.indexOf("("))+"\r\n"
}


function top3(n,m)
{
	if(m==null)m=""
	var t=gfS('f23')+gfS('U')+gfS('f23.UE')+gfS('U.s')+gfS('U.s2')+gfS('U.end')
	+gfS('Uj')+gfS('Gt')+gfS('Gt3')+gfS('searchName')+gfS('f23.mmout')+gfS('f23.mmover')
	+gfS('f23.findXY')+gfS('f23.mm')+gfS('f23.mmdh')+gfS('f23.DN3')
	+gfS('f23.fund')+gfS('f23.TB')+gfS('Gt3save')
	+"run1=top.top3.run1;run2=top.top3.run2;function M(n){f23('m^'+n)};f23.fund();"	
	if(n==2)
	{
		t+=gfS('f23.run2')+m+";f23.run2();"
	}
	else
	{
		t+=gfS('f23.run1')+m+";f23.run1();"
	}
	return t
}

f23.fund=function()
{
	f23.queue=new Array()//工作队列
	f23.fun=""
	f23.path=top.f23.path
	f23.oid=0
	f23.sn="`ur"+searchName("j")
	f23.sn=f23.sn.replace(/%60/gi,"`")
	//if(top.A.test==null)window.onerror=function(){return true}
	if(top.A.nav=="fx")f23("firefox","tyx")
	var t='<div id="f23_mm_div" onmouseout=f23.mmout() onmouseover=f23.mmover() style="position:absolute;width:160px;z-index:10;"></div>'
	+'<div id=html5plus style="position:absolute;width:1px;height:1px;z-index:9;left:0px;top:0px">&nbsp;</div>'
	document.write(t)
}


top3.run1=function(){}
top3.run2=function(){}

function U(m,n,s,b)
{
	if(m.substr(0,5)=="5pro/")
	{
		var a=top.document.f23path2
		if(a!=null)m=a+m
	}
	if(f23.XH==null){f23.XH=new Array();f23.XH2=new Array()}
	if(n==null)n=""
	n="`kk"+n
	var a=f23.XH.length
	
	if(top.A.nav=="ie")f23.XH[a]=new ActiveXObject("Microsoft.XMLHTTP")//MSXML2.XMLHTTP.3.0
	else f23.XH[a]=new XMLHttpRequest()
	var ty=Gt3(n,"ty")
	var yy=true
	var d=new Date()
	var f=d.getDay()*86400+d.getHours()*3600+d.getMinutes()*60+d.getSeconds()
	if(Gt3(n,"nr")==2)f=2
	if(m.indexOf("?")!=-1)m+="&x="+f
	else m+="?x="+f
	if(ty!="x")f23.XH[a].onreadystatechange=function(){f23.UE(a,m,n)}
	if(top.A.test)f23.XH2[a]=[m,n,b,s]	
	if(b!=null)
	{
		if(m.indexOf("?")<0)m+="?"
		else m+="&"
		m+="b="+encodeURIComponent(b)
	}
	if(s==null)
	{
		if(ty=="x")yy=false
		f23.XH[a].open("GET",m, yy)
		f23.XH[a].send(null)
		if(!yy)return f23.UE(a,m,n,s,f23.XH[a].responseText,1)
		return
	}
	for(var x=0;x<s.length;x+=2)
	{
		s[x]="&"+s[x]+"="
		s[x+1]=encodeURIComponent(s[x+1])
	}
	s=s.join("").substring(1)
	f23.XH[a].open("POST",m,yy)
	f23.XH[a].setRequestHeader("Content-Length",s.length)
	f23.XH[a].setRequestHeader("CONTENT-TYPE","application/x-www-form-urlencoded")
	f23.XH[a].send(s)
	if(!yy)f23.UE(a,m,n,s,f23.XH[a].responseText,1)
}


f23.UE=function(a,m,n,s,b,r)
{
	switch(f23.XH[a].readyState)
	{
	case 1:
		if(Gt3(n,"ns")!=2)U.s()
		break;
	case 4:
		b=f23.XH[a].responseText
		b=b.replace("&lt;","<")
		if(b.indexOf("^")==-1 && b.length>40 && b.indexOf(">")!=-1 && n.indexOf("`er2")==-1)
		{
			f23("test^`ty2`id"+a)
		}
		U.end()
		break;
	default:
		return
	}
	if(b==null)return
	if(b.substring(0,4)=="f23 ")
	{
		f23(b.substring(4))
		b=""
	}
	else if(r==null)
	{
		var k=Gt3(n,"kk")
		if(m.indexOf("?k=")!=-1 || m.indexOf("&k=")!=-1)
		{
			var a1=m.replace("?k=","&k=")+"&"
			var a2=a1.indexOf("&k=")
			k=a1.substring(a2+3,a1.indexOf("&",a2+2))
		}
		if(k=="")K3(b,n)
		else eval(k+"(b,n)")
	}
	if(top.A.test)
	{
		f23.XH2[a][4]=b		
	}
	f23.XH[a]=null
	return b
}


 U.s=function()
{
	if(!document.body)return
	var t
	if(f23.UE.html==null)
	{
		t='<table id=us5h style="position:absolute;width:100px;height:12px;z-index:1;left:316px;top:-100px;" border=1 height=6 cellpadding=0 cellspacing=0 bordercolor='+top.S(2)+'><tr>'
		+'<td width=20></td>'
		+'<td width=20></td>'
		+'<td width=20></td>'
		+'<td width=20></td>'
		+'<td width=20></td>'
		+'</tr></table>'
		document.body.insertAdjacentHTML("afterBegin",t)
		f23.UE.html=1
	}
	us5h.style.display=""
	U.ss=0
	U.rn=1
	clearTimeout(U.st)
	U.st=setTimeout("U.s2()",1000)
}



 U.s2=function()
{
	var a=U.ss-1
	if(U.ss>4)U.ss=0
	if(U.ss==0)a=4
	us5h.cells[a].bgColor=""
	us5h.cells[U.ss].bgColor=top.S(10)
	U.ss+=1
	if(U.rn==1)U.st=setTimeout("U.s2()",200)
	a=document.body.clientHeight+document.body.scrollTop-30
	if(us5h.style.top!=a)us5h.style.top=a
}

 U.end=function()
{
	U.rn=null
	clearTimeout(U.st)
	if(f23.UE.html==1)us5h.style.display="none"
}



function Uj(m)
{
	f23.oid++
	var a="f23_js_"+f23.oid
	var obj=document.createElement("script");
	obj.src=m;
	obj.id=a
	document.documentElement.firstChild.appendChild(obj);
	setTimeout(a+".outerHTML=''",9999)
}






function searchName(n,m)
{
	var b,a="&"+location.search.substr(1)
	if(m!=null)a="&"+m.location.search.substr(1)
	b=a.indexOf("&"+n+"=")
	if(b<0)return ""
	a=a.substring(b+2+n.length)
	b=a.indexOf("&")
	if(b<0)return a
	return a.substring(0,b)
}


 f23.mmout=function()
{
	window.clearTimeout(f23.mmtime)
	f23.mmtime=window.setTimeout("f23_mm_div.style.display='none'",250)
}


 f23.mmover=function()
{
	window.clearTimeout(f23.mmtime)
	f23_mm_div.style.display=""
}

f23.findXY=function(obj)
{
	if(obj==null)obj=f23.thisobj
	var o=obj,x=0,y=0
	while(o!=null && o.tagName.toUpperCase()!="BODY")
	{
		x+=o.offsetLeft;
		y+=o.offsetTop;
		o=o.offsetParent;
	}
	return [x,y]
}


f23.mm=function(m)
{
	var a,b,c,h
	if(m==null)m=f23.mmm
	else f23.mmm=m

	a=eval(Gt3(m,"ht"))
	if(a!=f23.mmhtm)
	{
		f23.mmhtm=a
		f23_mm_div.innerHTML=a
	}

	a=Gt3(m,"wi")
	if(a=="")a=300
	f23_mm_div.style.width=a

	a=Gt3(m,"he")
	if(a=="")a=50
	f23_mm_div.style.height=a

	a=Gt3(m,"le")
	b=a.charAt(0)
	a=parseInt(a.substring(1))

	if(b=="s")c=document.body.scrollLeft+a
	else if(b=="e")c=document.body.scrollLeft+a+event.clientX
	else if(b=="t"){h=f23.findXY();c=h[0]+a}
	else c=a
	if(f23_mm_div.style.left!=c)f23_mm_div.style.left=c

	a=Gt3(m,"to")
	b=a.charAt(0)
	a=parseInt(a.substring(1))
	if(b=="s")c=document.body.scrollTop+a
	else if(b=="e")c=document.body.scrollTop+a+parseInt(event.clientY)
	else if(b=="t"){if(h==null)h=f23.findXY();c=h[1]+a}
	else c=a
	if(f23_mm_div.style.top!=c)f23_mm_div.style.top=c
	window.clearTimeout(f23.mmtime)
	f23_mm_div.style.display=""
}


f23.mmdh=function()
{
	t="<table width=100% bgcolor="+top.S(1)+" border=1 cellpadding=4 cellspacing=0 bordercolor="+top.S(4)+"><tr><td>"
	+"<table width=100% cellpadding=2 cellspacing=0>"
	d=top.A.URLdata.split("^")
	var m=0
	for(x=0;x<d.length;x++)
	{
		a=d[x].split("`")
		if(a[1]==null)continue
		if(a[2]==null)a[2]=""
		if(a[2].indexOf("{n}")!=-1)continue
		m++
		if(m%4==1)t+="<tr align=center>"
		a=d[x].split("`")
		t+="<td><a href=# onclick=top.g3('"+a[0]+"')>"+a[1]+"</a>"
		+"</td></td>"

		if(m%4==0)t+="</tr>"
	}
	t+="</tr><tr><td colspan=4 bgColor="+top.S(3)+"></td></tr>"
	a=top.typeV2()
	a=a.split("`")
	m=0
	for(var x=0;x<a.length;x++)
	{
		if(a[x]=="")continue
		m++
		if(m%4==1)t+="<tr align=center>"
		t+="<td><a href=# onclick=top.g3('listtype',"+a[x]+")>"+top.typeV(a[x])+"</a></td>"
		if(m%4==0)t+="</tr>"
	}

	t+="</table></td></tr></table>"
	f23.topmmhtm=t
	f23.mm("`htf23.topmmhtm`toe3`les30`wi350")
}




f23.TB=function(m)
{
	var a=99
	if(Gt3(f23.sn,"tw")==1)a=100
	var t='<table id=tb5h border=0 cellpadding=0 cellspacing=0 width='+a+'%>'
	+'<tr><td id=html23a></td></tr>'
	+'<tr><td id=html23b></td></tr>'
	+'<tr><td id=html23c></td></tr>'
	+'<tr><td id=html23d></td></tr>'
	+'<tr><td id=html23e></td></tr>'
	+'<tr><td></td></tr></table>'
	if(m==1)return t
	document.write(t)
}



f23.run2=function()
{
	t='<link href="'+top.A.apath+'5.css" rel="stylesheet" type="text/css">'
	+'<div id=html5plus style="position:absolute;width:10px;height:10px;z-index:9;left:-100px;">&nbsp;</div>'
	+'<div ondblclick=f23("test") style="position:absolute;width:16px;height:10px;z-index:9;left:120px;top:0px">&nbsp; &nbsp; &nbsp;</div>'
	if(top.A.test)
	{
		t+='<style>.cccc{color:#aaaaaa;text-align:center;display:block}</style>'
	}

	a=Gt3(f23.sn,"ur")
	if(a!="")
	{
		t+='<script src='+top.jsps(f23.path,a)+'></'+'script>'
	}

	if(parent.f23!=null)
	{
		a=parent.f23.data5j3
		if(a!=null)
		{
			t+=a
			parent.f23.data5j3=null
		}
	}
	document.write(t)
	if(parent.f23!=null)
	{
		a=parent.f23.data5js
		if(a!=null)eval(a)
	}
}


function button3(g)
{
	var t1=Gt3(g,"01")
	var w=Gt3(g,"w3")
	if(w=="")
	{
		var s=t1.replace(/<[a-z \/]+>/gi,"");
		s=s.replace(/([^\x00-\xff])/g,"aa");
		w=s.length*6+10
	}
	var t='<span style="width:'+w+';height:21;background-color:;"'
	+' onmouseover=\'this.style.backgroundColor="#333333";this.style.color="#ffffff"\' onmouseout=\'this.style.backgroundColor="";this.style.color=""\'>'
	+'<span style="width:'+w+';height:21;line-height:21px;text-align:center;cursor:hand" '
	+"onclick="+Gt3(g,"ck")+">"+t1+'</span></span>'
	return t
}


function _____(){}//■〓  〓■■■■■www.3http.com■■■■■■\\

f23.queue=new Array()//工作队列
f23.fun=""
f23.path="5inc/"
f23.oid=0
A={}
A.apath="5inc/"	//管理所在的图片目录 admin pic
A.jspath='3http-com'
if(String(location).indexOf(A.jspath)!=-1)A.apath=document.f23path+"web/"
A.test=String(location).indexOf("?test")!=-1
A.nav="ie"
if(String(navigator.userAgent).indexOf("Gecko")!=-1)A.nav="fx"
if(A.nav=="fx")f23("firefox","tyx")
if(top!=self)
{
	//eval(top3(2))
	f23.fund()
	f23.run2()
}

 
 
