
var FBrowser=new Object();
FBrowser.isIE=((navigator.userAgent.indexOf('MSIE')==-1)?false:true);
FBrowser.isIE7=((FBrowser.isIE&&window.XMLHttpRequest)?true:false);
FBrowser.isIE6=((FBrowser.isIE&&!window.XMLHttpRequest&&window.ActiveXObject)?true:false);
FBrowser.isFirefox=((navigator.userAgent.indexOf('Firefox')==-1)?false:true);
FBrowser.isOpera=((navigator.userAgent.indexOf('Opera')==-1)?false:true);
String.prototype.lTrim=function(){return this.replace(/^\s*/,"");}
String.prototype.rTrim=function(){return this.replace(/\s*$/,"");}
String.prototype.trim=function(){return this.rTrim().lTrim();}
String.prototype.hasChinese=function(){return/[^\x00-\xff]/g.test(this);}
Array.prototype.exist=function(v){
var c=this.length;
for(var i=0;i<c;i++){
if(this[i]==v)return true;}
return false;}
window.clearRunInterval=window.clearInterval;
window.clearRunTimeout=window.clearTimeout;
window.setRunTimeout=function(fn,dt){
if(typeof(fn)!='function')return false;
var p=new Array();
var c=arguments.length;
if(c>2){
for(var i=2;i<c;i++)p[i-2]=arguments[i];}
var f=function(){fn.apply(null,p)}
return window.setTimeout(f,dt);}
window.setRunInterval=function(fn,dt){
if(typeof(fn)!='function')return false;
var p=new Array();
var c=arguments.length;
if(c>2){
for(var i=2;i<c;i++)p[i-2]=arguments[i];}
var f=function(){fn.apply(null,p)}
return window.setInterval(f,dt);}
function Fid(id){
return document.getElementById(id);}
function Fname(name){
return document.getElementsByName(name);}
function FtagName(name){
return document.getElementsByTagName(name);}
function Fempty(v){return((""==v||undefined==v||null==v)?true:false);}
function FxmlEncode(s){
return s.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\'/g,"&apos;").replace(/\"/g,"&quot;");}
function FgetURLArgs(){
var q=location.search.substring(1).replace("&amp;","&").split("&");
var p=new Object();
var c=q.length;
for(var i=0;i<c;i++){
var pos=q[i].indexOf('=');
if(-1==pos)continue;
p[q[i].substring(0,pos)]=unescape(q[i].substring(pos+1));}
return p;}
function FisTagName(e,tagName){
return((e.tagName.toUpperCase()==tagName.toUpperCase())?true:false);}
function FaddOptionToSelect(id,txt,v,selected){
var e=Fid(id);
if(Fempty(e)||!FisTagName(e,'select'))return false;
var s=((undefined==selected||true!=selected)?false:true);
e.options[e.options.length]=new Option(txt,v,s,false);
return true;}
function FclearOptionsOfSelect(id){
var e=Fid(id);
if(Fempty(e)||!FisTagName(e,'select'))return false;
var p=e.options;
var c=p.length;
for(var i=c;i>=0;i--)
p[i]=null;}
function FsetValuesOfSelect(id,v,stat){
var e=Fid(id);
if(Fempty(e)||!FisTagName(e,'select'))return false;
if(typeof(v)!='Array'&&!Fempty(v))v=new Array(v);
var p=e.options;
var c=p.length;
for(var i=0;i<c;i++){
p[i].selected=false;
if(Fempty(v))
p[i].selected=stat;
else if(v.exist(p[i].value))
p[i].selected=stat;}}
function FgetValuesOfSelect(id){
var e=Fid(id);
if(Fempty(e)||!FisTagName(e,'select'))return null;
var v=new Array();
var p=e.options;
var c=p.length;
for(var i=0,j=0;i<c;i++){
if(true==p[i].selected)
v[j++]=p[i].value;}
return((1==v.length)?v[0]:v)}
function FsetValuesOfCheckbox(name,v,stat){
var e=Fname(name);
if('Array'!=typeof(v)&&!Fempty(v))v=new Array(v);
var c=e.length;
for(var i=0;i<c;i++){
if(Fempty(e[i])||!FisTagName(e[i],'checkbox'))continue;
e[i].checked=false;
if(Fempty(v))
e[i].checked=stat;
else if(v.exist(e[i].value))
e[i].checked=stat;}}
function FgetValuesOfCheckbox(name){
var e=Fname(name);
var v=new Array();
var c=e.length;
for(var i=0;i<c;i++){
if(Fempty(e[i])||!FisTagName(e[i],'checkbox'))continue;
if(e[i].checked==true)
v[v.length]=e[i].value;}
return v;}
function FsetValueOfRadio(name,v){
var e=Fname(name);
var c=e.length;
for(var i=0;i<c;i++){
if(Fempty(e[i])||!FisTagName(e[i],'radio'))continue;
if(e[i]==v)e[i].checked=true;}}
function FgetValueOfRadio(name){
var e=Fname(name);
var c=e.length;
for(var i=0;i<c;i++){
if(!FisTagName(e[i],'radio'))continue;
if(e[i].checked==true)return e[i].value;}
return null;}
function FgetCookie(name){
var r=new RegExp("(^|;|\\s+)"+name+"=([^;]*)(;|$)");
var m=document.cookie.match(r);
return(!m?"":m[2]);}
function FaddCookie(name,v,path,expire,domain){
var s=name+"="+escape(v);
if(!Fempty(path))path="/";
if(expire>0){
var d=new Date();
d.setTime(d.getTime+expire*1000);
if(!Fempty(domain))
s=s+"; path="+path+"; domain="+domain+" expire="+d.toGMTString();
else
s=s+"; path="+path+"; expire="+d.toGMTString();}
document.cookie=s;}
function FdeleteCookie(name,domain){
if(!Fempty(domain))
document.cookie=name+"=;path=/;domain="+domain+";expires="+(new Date(0)).toGMTString();
else
document.cookie=name+"=;path=/;expires="+(new Date(0)).toGMTString();}
function Fcookie(document,name,hours,path,domain,secure){
this.$document=document;
this.$name=name;
if(hours)
this.$expiration=new Date((new Date()).getTime()+hours*3600000);
else this.$expiration=null;
if(path)this.$path=path;else this.$path=null;
if(domain)this.$domain=domain;else this.$domain=null;
if(secure)this.$secure=true;else this.$secure=false;}
Fcookie.prototype.store=function(){
var cookieval="";
for(var prop in this){
if((prop.charAt(0)=='$')||((typeof this[prop])=='function'))
continue;
if(cookieval!="")cookieval+='&';
cookieval+=prop+':'+escape(this[prop]);}
var cookie=this.$name+'='+cookieval;
if(this.$expiration)
cookie+='; expires='+this.$expiration.toGMTString();
if(this.$path)cookie+='; path='+this.$path;
if(this.$domain)cookie+='; domain='+this.$domain;
if(this.$secure)cookie+='; secure';
this.$document.cookie=cookie;}
Fcookie.prototype.load=function(){
var allcookies=this.$document.cookie;
if(allcookies=="")return false;
var start=allcookies.indexOf(this.$name+'=');
if(start==-1)return false;
start+=this.$name.length+1;
var end=allcookies.indexOf(';',start);
if(end==-1)end=allcookies.length;
var cookieval=allcookies.substring(start,end);
var a=cookieval.split('&');
for(var i=0;i<a.length;i++)
a[i]=a[i].split(':');
for(var i=0;i<a.length;i++){
this[a[i][0]]=unescape(a[i][1]);}
return true;}
Fcookie.prototype.remove=function(){
var cookie=this.$name+'=';
if(this.$path)cookie+='; path='+this.$path;
if(this.$domain)cookie+='; domain='+this.$domain;
cookie+='; expires=Fri, 02-Jan-1970 00:00:00 GMT';
this.$document.cookie=cookie;}
function FgetEventTarget(evt){
return evt.target||evt.srcElement;}
function FgetEvent(evt){
return(!evt)?window.event:evt;}
function FisLeftKeyDown(evt){
return(((evt.which)&&(evt.which==1))||((evt.button)&&(evt.button==1)));}
function FaddEvent(e,evt,fn,isID){
if(isID==true)e=Fid(e);
if(!Fempty(e.attachEvent)&&(typeof(e.attachEvent)=="function"||typeof(e.attachEvent)=="object"))
e.attachEvent("on"+evt,fn);
else if(!Fempty(e.addEventListener)&&(typeof(e.addEventListener)=="function"||typeof(e.addEventListener)=="object"))
e.addEventListener(evt,fn,false);}
function FremoveEvent(e,evt,fun,isID){
if(isID==true)e=Fid(e);
if(!Fempty(e.detachEvent)&&(typeof(e.detachEvent)=="function"||typeof(e.detachEvent)=="object"))
e.detachEvent("on"+evt,fun);
else if(!Fempty(e.removeEventListener)&&(typeof(e.removeEventListener)=="function"||typeof(e.removeEventListener)=="object"))
e.removeEventListener(evt,fun,false);}
function FstopEventTransfer(evt){
if(evt.preventDefault){
evt.stopPropagation();
evt.preventDefault();}else{
evt.returnValue=false;
evt.cancelBubble=true;}}
function FstopObjectEventTransfer(e,evts){
if(Fempty(e)||Fempty(evts))return;
var l=evts.split(",");
var c=l.length;
for(var i=0;i<c;i++){
var evt=l[i].trim();
if(Fempty(evt))continue;
var fn=function(event){event=FgetEvent(event);FstopEventTransfer(event);}
FaddEvent(e,evt,fn);}}
function FsetEventCapture(target){
if(target.setCapture)
target.setCapture();
else{
if(!FBrowser.isFirefox&&document.captureEvents)
document.captureEvents(Event.MouseMove|Event.MouseUp);}}
function FreleaseEventCapture(target){
if(target.releaseCapture)
target.releaseCapture();
else{
if(!FBrowser.isFirefox&&document.releaseEvents)
document.releaseEvents(Event.MouseMove|Event.MouseUp);}}
function FgetWindowSize(){
if(FBrowser.isOpera)
return{width:document.body.clientWidth,height:document.body.clientHeight};
else
return{width:document.documentElement.clientWidth,height:document.documentElement.clientHeight};}
function FgetPageSize(){
return{width:document.documentElement.scrollWidth,height:document.documentElement.scrollHeight};}
function FgetScrollPostion(){
return{left:document.documentElement.scrollLeft,top:document.documentElement.scrollTop};}
function FgetPointerPostion(evt){
if(evt.pageX||evt.pageY)return{x:evt.pageX,y:evt.pageY};
return{x:evt.clientX+document.documentElement.scrollLeft-document.documentElement.clientLeft,y:evt.clientY+document.documentElement.scrollTop-document.documentElement.clientTop};}
function FgetPostion(e,isID){
if(isID==true)e=Fid(e);
var left=0,top=0,w=e.offsetWidth,h=e.offsetHeight;
do{
top+=e.offsetTop||0;
left+=e.offsetLeft||0;
e=e.offsetParent;}while(e);
return{x:left,y:top,width:w,height:h};}
function FsetPostion(e,x,y,w,h,isID){
if(isID==true)e=Fid(e);
var s=e.style;
if(s.position=="absolute"){
s.left=x+"px";
s.top=y+"px";}else if(s.position=="relative"){
var p=FgetPostion(e.offsetParent);
s.left=(x-p.x)+"px";
s.top=(y-p.y)+"px";}
if(w>=0)s.width=w+"px";
if(h>=0)s.height=h+"px";}
function FgetOffsetPostion(e1,e2){
var p1=FgetPostion(e1);
var p2=FgetPostion(e2);
return{x:(p1.x-p2.x),y:(p1.y-p2.y)};}
function FsetOffsetPostion(e1,e2,x,y,isID){
if(isID==true){
e1=Fid(e1);
e2=Fid(e2);}
var p=FgetPostion(e2);
FsetPostion(e1,x+p.x,y+p.y);}
function FsetOffsetPostionByRate(e1,e2,nx,ny,isID){
if(isID==true){
e1=Fid(e1);
e2=Fid(e2);}
var s1=FgetPostion(e1);
var s2=FgetPostion(e2);
FsetPostion(e1,(s2.x+(s2.width-s1.width)/nx),(s2.y+(s2.height-s1.height)/ny),-1,-1);}
function FsetOffsetWindowPostion(e,x,y,isID){
if(isID==true)e=Fid(e);
var p=FgetScrollPostion();
FsetPostion(e,x+p.left,y+p.top,-1,-1);}
function FsetOffsetWindowPostionByRate(e,nx,ny,isID){
if(isID==true)e=Fid(e);
var s=FgetWindowSize();
FsetOffsetWindowPostion(e,(s.width-e.offsetWidth)/nx,(s.height-e.offsetHeight)/ny);}
function FhasSameParent(e1,e2,isID){
if(isID==true){
e1=Fid(e1);
e2=Fid(e2);}
if(Fempty(e1)||Fempty(e2))return false;
return(e1.parentNode==e2.parentNode);}
function FsetStyleFloat(e,v,isID){
if(isID==true)e=Fid(e);
var s=e.style;
if(s.styleFloat!=undefined)
s.styleFloat=v;
else
s.cssFloat=v;}
function FgetAttr(e,isID,name){
if(isID==true)e=Fid(e);
return e.getAttribute(name);}
function FisSameUrl(u1,u2){
if(u1==u2)return true;
var d1=document.location.host;
var d2=d1;
var re=/^(http:\/\/([^\/]+))?(\/[\S]*)$/i;
var p1=u1.match(re);
if(!Fempty(p1)&&!Fempty(p1[2]))d1=p1[2];
var p2=u2.match(re);
if(!Fempty(p2[2]))d2=p2[2];
return((d1==d2&&p1[3]==p2[3])?true:false);}
function FloadJS(url,sucfn,failfn){
var l=FtagName('script');
for(var i=0;i<l.length;i++){
if(l[i].src&&FisSameUrl(l[i].src,url))return;}
var js=document.createElement("script");
js.type="text/javascript";
js.src=url;
var h=FtagName('HEAD').item(0);
h.appendChild(js);
if(FBrowser.isIE){
js.onreadystatechange=function(){
if(this.readyState.toLowerCase()!="complete"&&this.readyState.toLowerCase()!="loaded")
return;
if(this.$funExeced!=true&&!Fempty(sucfn)&&'function'==typeof(sucfn)){
this.$funExeced=true;
sucfn();
h.removeChild(js);}}}else if(FBrowser.isOpera){
if(!Fempty(sucfn)&&'function'==typeof(sucfn))
sucfn();
h.removeChild(js);}else{
js.onload=function(){
if(!Fempty(sucfn)&&'function'==typeof(sucfn))
sucfn();
h.removeChild(js);}}
js.onerror=function(){
h.removeChild(js);
if(!Fempty(failfn)&&'function'==typeof(failfn))
failfn();}}
function FstartDrag(evt,wid){
function FDrag(et){
et=FgetEvent(et);
if(!FisLeftKeyDown(et))return;
var pw=Fid(wid);
if(Fempty(pw.$clientX))pw.$clientX=et.clientX;
if(Fempty(pw.$clientY))pw.$clientY=et.clientY;
var sp=FgetScrollPostion();
var x=pw.offsetLeft+et.clientX-pw.$clientX+sp.left-pw.$scrollLeft;
var y=pw.offsetTop+et.clientY-pw.$clientY+sp.top-pw.$scrollTop;
if(x<=0)x=0;
if(y<=0)y=0;
var ps=pw.style;
ps.left=x+"px";
ps.top=y+"px";
pw.$scrollTop=sp.top;
pw.$scrollLeft=sp.left;
pw.$clientX=et.clientX;
pw.$clientY=et.clientY;
FstopEventTransfer(et);
return false;}
function FstopDrag(et){
et=FgetEvent(et);
var ph=Fid(wid+"_head");
var pw=Fid(wid);
pw.style.zIndex=pw.$zIndex;
FremoveEvent(document,'mousemove',FDrag);
FremoveEvent(document,'mouseup',FstopDrag);
ph.onmousemove=null;
ph.onmouseup=null;
FreleaseEventCapture(ph);
FstopEventTransfer(et);
return false;}
evt=FgetEvent(evt);
if(!FisLeftKeyDown(evt))return;
var w=Fid(wid);
var h=Fid(wid+"_head");
var s=w.style;
var p=FgetScrollPostion();
w.$scrollTop=p.top;
w.$scrollLeft=p.left;
w.$clientX=evt.clientX;
w.$clientY=evt.clientY;
w.$zIndex=s.zIndex;
s.zIndex=999;
FsetEventCapture(h);
FaddEvent(document,'mousemove',FDrag);
FaddEvent(document,'mouseup',FstopDrag);
h.onmouseup=FstopDrag;
h.onmousemove=FDrag;
FstopEventTransfer(evt);
return false;}
function FenableDrag(wid){
var w=Fid(wid),h=Fid(wid+"_head");
if(w.style.position!="absolute")return;
h.onmousedown=function(evt){FstartDrag(evt,wid);};}
function FgetProvince(){
var p=new Array();
p[0]='不限';
p[11]='北京';
p[31]='上海';
p[44]='广东';
p[34]='安徽';
p[50]='重庆';
p[35]='福建';
p[46]='海南';
p[13]='河北';
p[41]='河南';
p[23]='黑龙江';
p[42]='湖北';
p[43]='湖南';
p[62]='甘肃';
p[45]='广西';
p[52]='贵州';
p[22]='吉林';
p[36]='江西';
p[32]='江苏';
p[21]='辽宁';
p[15]='内蒙古';
p[64]='宁夏';
p[63]='青海';
p[37]='山东';
p[14]='山西';
p[61]='陕西';
p[51]='四川';
p[12]='天津';
p[54]='西藏';
p[65]='新疆';
p[53]='云南';
p[33]='浙江';
p[71]='台湾';
p[81]='香港';
p[82]='澳门';
return p;}
function FgetCity(id){
var c=new Array();
c[0]=new Array();
c[11]=new Array();
c[12]=new Array();
c[13]=new Array();
c[14]=new Array();
c[15]=new Array();
c[21]=new Array();
c[22]=new Array();
c[23]=new Array();
c[31]=new Array();
c[32]=new Array();
c[33]=new Array();
c[34]=new Array();
c[35]=new Array();
c[36]=new Array();
c[37]=new Array();
c[41]=new Array();
c[42]=new Array();
c[43]=new Array();
c[44]=new Array();
c[45]=new Array();
c[46]=new Array();
c[50]=new Array();
c[51]=new Array();
c[52]=new Array();
c[53]=new Array();
c[54]=new Array();
c[61]=new Array();
c[62]=new Array();
c[63]=new Array();
c[64]=new Array();
c[65]=new Array();
c[71]=new Array();
c[81]=new Array();
c[82]=new Array();
c[0][0]='不限';
var b=c[11];
b[1100]='不限';
b[1101]='东城';
b[1102]='西城';
b[1103]='崇文';
b[1104]='宣武';
b[1105]='朝阳';
b[1106]='丰台';
b[1107]='石景山';
b[1108]='海淀';
b[1109]='门头沟';
b[1111]='房山';
b[1112]='通州';
b[1113]='顺义';
b[1121]='昌平';
b[1124]='大兴';
b[1126]='平谷';
b[1127]='怀柔';
b[1128]='密云';
b[1129]='延庆';
b=c[12];
b[1200]='不限';
b[1201]='和平';
b[1202]='河东';
b[1203]='河西';
b[1204]='南开';
b[1205]='河北';
b[1206]='红桥';
b[1207]='塘沽';
b[1208]='汉沽';
b[1209]='大港';
b[1210]='东丽';
b[1211]='西青';
b[1212]='津南';
b[1213]='北辰';
b[1221]='宁河';
b[1222]='武清';
b[1223]='静海';
b[1224]='宝坻';
b[1225]='蓟县';
b=c[13];
b[1300]='不限';
b[1301]='石家庄';
b[1302]='唐山';
b[1303]='秦皇岛';
b[1304]='邯郸';
b[1305]='邢台';
b[1306]='保定';
b[1307]='张家口';
b[1308]='承德';
b[1309]='沧州';
b[1310]='廊坊';
b[1311]='衡水';
b=c[14];
b[1400]='不限';
b[1401]='太原';
b[1402]='大同';
b[1403]='阳泉';
b[1404]='长治';
b[1405]='晋城';
b[1406]='朔州';
b[1407]='晋中';
b[1408]='运城';
b[1409]='忻州';
b[1410]='临汾';
b[1411]='吕梁';
b=c[15];
b[1500]='不限';
b[1501]='呼和浩特';
b[1502]='包头';
b[1503]='乌海';
b[1504]='赤峰';
b[1505]='通辽';
b[1506]='鄂尔多斯';
b[1507]='呼伦贝尔';
b[1508]='巴彦淖尔';
b[1509]='乌兰察布';
b[1522]='兴安';
b[1525]='锡林郭勒';
b[1529]='阿拉善';
b=c[21];
b[2100]='不限';
b[2101]='沈阳';
b[2102]='大连';
b[2103]='鞍山';
b[2104]='抚顺';
b[2105]='本溪';
b[2106]='丹东';
b[2107]='锦州';
b[2108]='营口';
b[2109]='阜新';
b[2110]='辽阳';
b[2111]='盘锦';
b[2112]='铁岭';
b[2113]='朝阳';
b[2114]='葫芦岛';
b=c[22];
b[2200]='不限';
b[2201]='长春';
b[2202]='吉林';
b[2203]='四平';
b[2204]='辽源';
b[2205]='通化';
b[2206]='白山';
b[2207]='松原';
b[2208]='白城';
b[2224]='延边';
b=c[23];
b[2300]='不限';
b[2301]='哈尔滨';
b[2302]='齐齐哈尔';
b[2303]='鸡西';
b[2304]='鹤岗';
b[2305]='双鸭山';
b[2306]='大庆';
b[2307]='伊春';
b[2308]='佳木斯';
b[2309]='七台河';
b[2310]='牡丹江';
b[2311]='黑河';
b[2312]='绥化';
b[2327]='大兴安岭';
b=c[31];
b[3100]='不限';
b[3101]='黄浦';
b[3102]='南区';
b[3103]='卢湾';
b[3104]='徐汇';
b[3105]='长宁';
b[3106]='静安';
b[3107]='普陀';
b[3108]='闸北';
b[3109]='虹口';
b[3110]='杨浦';
b[3112]='闵行';
b[3113]='宝山';
b[3114]='嘉定';
b[3115]='浦东新区';
b[3116]='金山';
b[3117]='松江';
b[3125]='南汇';
b[3126]='奉贤';
b[3129]='青浦';
b[3130]='崇明';
b=c[32];
b[3200]='不限';
b[3201]='南京';
b[3202]='无锡';
b[3203]='徐州';
b[3204]='常州';
b[3205]='苏州';
b[3206]='南通';
b[3207]='连云港';
b[3208]='淮安';
b[3209]='盐城';
b[3210]='扬州';
b[3211]='镇江';
b[3212]='泰州';
b[3213]='宿迁';
b=c[33];
b[3300]='不限';
b[3301]='杭州';
b[3302]='宁波';
b[3303]='温州';
b[3304]='嘉兴';
b[3305]='湖州';
b[3306]='绍兴';
b[3307]='金华';
b[3308]='衢州';
b[3309]='舟山';
b[3310]='台州';
b[3311]='丽水';
b=c[34];
b[3400]='不限';
b[3401]='合肥';
b[3402]='芜湖';
b[3403]='蚌埠';
b[3404]='淮南';
b[3405]='马鞍山';
b[3406]='淮北';
b[3407]='铜陵';
b[3408]='安庆';
b[3410]='黄山';
b[3411]='滁州';
b[3412]='阜阳';
b[3413]='宿州';
b[3414]='巢湖';
b[3415]='六安';
b[3416]='亳州';
b[3417]='池州';
b[3418]='宣城';
b=c[35];
b[3500]='不限';
b[3501]='福州';
b[3502]='厦门';
b[3503]='莆田';
b[3504]='三明';
b[3505]='泉州';
b[3506]='漳州';
b[3507]='南平';
b[3508]='龙岩';
b[3509]='宁德';
b=c[36];
b[3600]='不限';
b[3601]='南昌';
b[3602]='景德镇';
b[3603]='萍乡';
b[3604]='九江';
b[3605]='新余';
b[3606]='鹰潭';
b[3607]='赣州';
b[3608]='吉安';
b[3609]='宜春';
b[3610]='抚州';
b[3611]='上饶';
b=c[37];
b[3700]='不限';
b[3701]='济南';
b[3702]='青岛';
b[3703]='淄博';
b[3704]='枣庄';
b[3705]='东营';
b[3706]='烟台';
b[3707]='潍坊';
b[3708]='济宁';
b[3709]='泰安';
b[3710]='威海';
b[3711]='日照';
b[3712]='莱芜';
b[3713]='临沂';
b[3714]='德州';
b[3715]='聊城';
b[3716]='滨州';
b[3717]='菏泽';
b=c[41];
b[4100]='不限';
b[4101]='郑州';
b[4102]='开封';
b[4103]='洛阳';
b[4104]='平顶山';
b[4105]='安阳';
b[4106]='鹤壁';
b[4107]='新乡';
b[4108]='焦作';
b[4109]='濮阳';
b[4110]='许昌';
b[4111]='漯河';
b[4112]='三门峡';
b[4113]='南阳';
b[4114]='商丘';
b[4115]='信阳';
b[4116]='周口';
b[4117]='驻马店';
b[4118]='济源';
b=c[42];
b[4200]='不限';
b[4201]='武汉';
b[4202]='黄石';
b[4203]='十堰';
b[4205]='宜昌';
b[4206]='襄樊';
b[4207]='鄂州';
b[4208]='荆门';
b[4209]='孝感';
b[4210]='荆州';
b[4211]='黄冈';
b[4212]='咸宁';
b[4213]='随州';
b[4228]='恩施';
b[4229]='仙桃';
b[4230]='潜江';
b[4231]='天门';
b[4232]='神农架';
b=c[43];
b[4300]='不限';
b[4301]='长沙';
b[4302]='株洲';
b[4303]='湘潭';
b[4304]='衡阳';
b[4305]='邵阳';
b[4306]='岳阳';
b[4307]='常德';
b[4308]='张家界';
b[4309]='益阳';
b[4310]='郴州';
b[4311]='永州';
b[4312]='怀化';
b[4313]='娄底';
b[4331]='湘西';
b=c[44];
b[4400]='不限';
b[4401]='广州';
b[4402]='韶关';
b[4403]='深圳';
b[4404]='珠海';
b[4405]='汕头';
b[4406]='佛山';
b[4407]='江门';
b[4408]='湛江';
b[4409]='茂名';
b[4412]='肇庆';
b[4413]='惠州';
b[4414]='梅州';
b[4415]='汕尾';
b[4416]='河源';
b[4417]='阳江';
b[4418]='清远';
b[4419]='东莞';
b[4420]='中山';
b[4451]='潮州';
b[4452]='揭阳';
b[4453]='云浮';
b=c[45];
b[4500]='不限';
b[4501]='南宁';
b[4502]='柳州';
b[4503]='桂林';
b[4504]='梧州';
b[4505]='北海';
b[4506]='防城港';
b[4507]='钦州';
b[4508]='贵港';
b[4509]='玉林';
b[4510]='百色';
b[4511]='贺州';
b[4512]='河池';
b[4513]='来宾';
b[4514]='崇左';
b=c[46];
b[4600]='不限';
b[4601]='海口';
b[4602]='三亚';
b[4603]='五指山';
b[4604]='琼海';
b[4605]='儋州';
b[4606]='文昌';
b[4607]='万宁';
b[4608]='东方';
b=c[50];
b[5000]='不限';
b[5001]='万州';
b[5002]='涪陵';
b[5003]='渝中';
b[5004]='大渡口';
b[5005]='江北';
b[5006]='沙坪坝';
b[5007]='九龙坡';
b[5008]='南岸';
b[5009]='北碚';
b[5010]='万盛';
b[5011]='双桥';
b[5012]='渝北';
b[5013]='巴南';
b[5021]='长寿';
b[5022]='綦江';
b[5023]='潼南';
b[5024]='铜梁';
b[5025]='大足';
b[5026]='荣昌';
b[5027]='璧山';
b[5028]='梁平';
b[5029]='城口';
b[5030]='丰都';
b[5031]='垫江';
b[5032]='武隆';
b[5033]='忠县';
b[5034]='开县';
b[5035]='云阳';
b[5036]='奉节';
b[5037]='巫山';
b[5038]='巫溪';
b[5039]='黔江';
b[5040]='石柱';
b[5041]='秀山';
b[5042]='酉阳';
b[5043]='彭水';
b[5081]='江津';
b[5082]='合川';
b[5083]='永川';
b[5084]='南川';
b=c[51];
b[5100]='不限';
b[5101]='成都';
b[5103]='自贡';
b[5104]='攀枝花';
b[5105]='泸州';
b[5106]='德阳';
b[5107]='绵阳';
b[5108]='广元';
b[5109]='遂宁';
b[5110]='内江';
b[5111]='乐山';
b[5113]='南充';
b[5114]='眉山';
b[5115]='宜宾';
b[5116]='广安';
b[5117]='达州';
b[5118]='雅安';
b[5119]='巴中';
b[5120]='资阳';
b[5132]='阿坝';
b[5133]='甘孜';
b[5134]='凉山';
b=c[52];
b[5200]='不限';
b[5201]='贵阳';
b[5202]='六盘水';
b[5203]='遵义';
b[5204]='安顺';
b[5222]='铜仁';
b[5223]='黔西南';
b[5224]='毕节';
b[5226]='黔东南';
b[5227]='黔南';
b=c[53];
b[5300]='不限';
b[5301]='昆明';
b[5303]='曲靖';
b[5304]='玉溪';
b[5305]='保山';
b[5306]='昭通';
b[5307]='丽江';
b[5308]='思茅';
b[5309]='临沧';
b[5323]='楚雄';
b[5325]='红河';
b[5326]='文山';
b[5328]='西双版纳';
b[5329]='大理';
b[5331]='德宏';
b[5333]='怒江傈';
b[5334]='迪庆';
b=c[54];
b[5400]='不限';
b[5401]='拉萨';
b[5421]='昌都';
b[5422]='山南';
b[5423]='日喀则';
b[5424]='那曲';
b[5425]='阿里';
b[5426]='林芝';
b=c[61];
b[6100]='不限';
b[6101]='西安';
b[6102]='铜川';
b[6103]='宝鸡';
b[6104]='咸阳';
b[6105]='渭南';
b[6106]='延安';
b[6107]='汉中';
b[6108]='榆林';
b[6109]='安康';
b[6110]='商洛';
b=c[62];
b[6200]='不限';
b[6201]='兰州';
b[6202]='嘉峪关';
b[6203]='金昌';
b[6204]='白银';
b[6205]='天水';
b[6206]='武威';
b[6207]='张掖';
b[6208]='平凉';
b[6209]='酒泉';
b[6210]='庆阳';
b[6211]='定西';
b[6212]='陇南';
b[6229]='临夏';
b[6230]='甘南';
b=c[63];
b[6300]='不限';
b[6301]='西宁';
b[6321]='海东';
b[6322]='海北';
b[6323]='黄南';
b[6325]='海南';
b[6326]='果洛';
b[6327]='玉树';
b[6328]='海西';
b=c[64];
b[6400]='不限';
b[6401]='银川';
b[6402]='石嘴山';
b[6403]='吴忠';
b[6404]='固原';
b[6405]='中卫';
b=c[65];
b[6500]='不限';
b[6501]='乌鲁木齐';
b[6502]='克拉玛依';
b[6521]='吐鲁番';
b[6522]='哈密';
b[6523]='昌吉';
b[6527]='博尔塔拉';
b[6528]='巴音郭楞';
b[6529]='阿克苏';
b[6530]='克孜勒苏';
b[6531]='喀什';
b[6532]='和田';
b[6540]='伊犁';
b[6542]='塔城';
b[6543]='阿勒泰';
b[6544]='石河子';
b[6545]='阿拉尔';
b[6546]='图木舒克';
b[6547]='五家渠';
b=c[71];
b[7100]='不限';
b[7101]='台北市';
b[7102]='高雄市';
b[7103]='基隆市';
b[7104]='台中市';
b[7105]='台南市';
b[7106]='新竹市';
b[7107]='嘉义市';
b[7108]='台北县';
b[7109]='宜兰县';
b[7110]='新竹县';
b[7111]='桃园县';
b[7112]='苗栗县';
b[7113]='台中县';
b[7114]='彰化县';
b[7115]='南投县';
b[7116]='嘉义县';
b[7117]='云林县';
b[7118]='台南县';
b[7119]='高雄县';
b[7120]='屏东县';
b[7121]='台东县';
b[7122]='花莲县';
b[7123]='澎湖县';
b=c[81];
b[8100]='不限';
b[8101]='中西区';
b[8102]='东区';
b[8103]='九龙城区';
b[8104]='观塘区';
b[8105]='南区';
b[8106]='深水区';
b[8107]='湾仔区';
b[8108]='黄大仙区';
b[8109]='油尖旺区';
b[8110]='离岛区';
b[8111]='葵青区';
b[8112]='北区';
b[8113]='西贡区';
b[8114]='沙田区';
b[8115]='屯门区';
b[8116]='大埔区';
b[8117]='荃湾区';
b[8118]='元朗区';
b=c[82];
b[8200]='不限';
b[8201]='花地玛堂区';
b[8202]='圣安多尼堂区';
b[8203]='大堂区';
b[8204]='望德堂区';
b[8205]='风顺堂区';
b[8206]='嘉模堂区';
b[8207]='圣方济各堂区';
return c[id];}
function FvaildateUin(uin){
var R=/^[1-9]\d{4,11}$/;
return R.test(uin);}
function FgetUin(){
var uin=parseInt(FgetCookie("zzpaneluin"));
if(FvaildateUin(uin))return uin;
var R=/^o(0)*/;
uin=FgetCookie("uin");
uin=parseInt(uin.replace(R,''));
return((FvaildateUin(uin))?uin:false)}
function FisLogon(){
var uin=FgetUin();
return(uin==false)?false:true;}
function logOffQzone(){
var cookieQq=new Array('uin','skey','zzpaneluin','zzpanelkey','URL_PTLOGIN','verifysession','nick');
var cookieQzone=new Array('logon_cookie','PortalInfo','qzone_city_key','portal_info');
for(i in cookieQq){
if(i!='exist'){
FdeleteCookie(cookieQq[i],'qq.com');}}
for(i in cookieQzone){
if(i!='exist'){
FdeleteCookie(cookieQzone[i],'qzone.qq.com');}}
location.reload();}
function openQzone(){
var uin=FgetUin();
var openUrl="http://user.qzone.qq.com/"+uin;
openUrl=Fid('safe').checked?openUrl+'/?safe=1':openUrl;
window.open(openUrl);}
var portalAdvIsPoll=true;
var portalAdvSelected=Math.floor(Math.random()*10)%5+1;
function showPortalAdvTab(n){
var portalAdvUrl=new Array('http://adsview.qq.com/adsview?c=qzone&l=Qzone_1&log=off','http://adsview.qq.com/adsview?c=qzone&l=Qzone_2&log=off','http://adsview.qq.com/adsview?c=qzone&l=Qzone_3&log=off','http://adsview.qq.com/adsview?c=qzone&l=Qzone_4&log=off','http://adsview.qq.com/adsview?c=qzone&l=Qzone_5&log=off');
var e=Fid('flashpop');
try{
e.filters[0].Apply();}catch(e){}
for(var j=1;j<=5;j++){
var adv=Fid("adv_"+j);
var n_adv=Fid("adv_num"+j);
if(Fempty(adv.src)&&j==n)
adv.src=portalAdvUrl[j-1];
if(FBrowser.isFirefox)
adv.style.visibility=((j==n)?"visible":"hidden");
else
adv.style.display=((j==n)?"block":"none");
n_adv.style.backgroundColor=((j==n)?"#f60":"#000");}
try{
e.filters[0].play();}catch(except){}
var next=n%5+1;
var next_adv=Fid("adv_"+next);
if(Fempty(next_adv.src))
next_adv.src=portalAdvUrl[next-1];}
function portalPollAd(){
var s='';
var portalAdvUrl=new Array('http://adsview.qq.com/adsview?c=qzone&l=Qzone_1&log=off','http://adsview.qq.com/adsview?c=qzone&l=Qzone_2&log=off','http://adsview.qq.com/adsview?c=qzone&l=Qzone_3&log=off','http://adsview.qq.com/adsview?c=qzone&l=Qzone_4&log=off','http://adsview.qq.com/adsview?c=qzone&l=Qzone_5&log=off');
var adv_url=new Array('','','','','');
adv_url[portalAdvSelected-1]="src='"+portalAdvUrl[portalAdvSelected-1]+"'";
if(FBrowser.isFirefox){
for(var i=1;i<=5;i++)
s+='<iframe id="adv_'+i+'" style="position:absolute;visibility:hidden;" width=290 height=177 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 scrolling=no '+adv_url[i-1]+' ></iframe>';}else{
for(var i=1;i<=5;i++)
s+='<iframe id="adv_'+i+'" style="display:none;" width=290 height=177 marginwidth=0 marginheight=0 hspace=0 vspace=0 frameborder=0 '+adv_url[i-1]+' scrolling=no></iframe>';}
var adv_e=Fid('flashpop');
adv_e.innerHTML=s;
s='';
for(var i=1;i<=5;i++){
var color="#000000";
if(i==portalAdvSelected)
color="#f60";
s+='<span id="adv_num'+i+'" onmouseover="showPortalAdvTab('+i+');portalAdvIsPoll=false" onmouseout="portalAdvIsPoll=true;" style="background-color: '+color+';">'+i+'</span>';}
var act_e=Fid('ads_action');
act_e.innerHTML=s;}
function portalPollAdvPlay(){
if(portalAdvIsPoll){
showPortalAdvTab(portalAdvSelected);
portalAdvSelected=portalAdvSelected%5+1;}
setTimeout("portalPollAdvPlay()",5000);}
var darenIsPoll=true;
var darenSelected=0;
function showDarenTab(n){
n=parseInt(n);
if(n<0||n>6)index=0;
for(var i=0;i<=6;i++){
if(n==i){
Fid("p"+i).style.display="block";
Fid("lbl_p"+i).className="nonce";}else{
Fid("p"+i).style.display="none";
Fid("lbl_p"+i).className="";}}}
function setDarenPollStat(s){
darenIsPoll=s;}
function darenTabPlay(){
if(darenIsPoll){
darenSelected=darenSelected%7;
showDarenTab(darenSelected);
darenSelected++;}
if((darenSelected%7)==1)
setTimeout("darenTabPlay()",5000);
else
setTimeout("darenTabPlay()",4000);}
function initProvince(pid,cid){
var p=FgetProvince();
var l=p.length;
FclearOptionsOfSelect(pid);
for(k in p)
if(k!='exist'&&typeof(p[k])=='string'&&k!=0)
FaddOptionToSelect(pid,p[k],k);
var fn=function(){initCity(pid,cid)};
FaddEvent(pid,'change',fn,true);}
function initCity(pid,cid){
var p=FgetValuesOfSelect(pid);
if(Fempty(p))p=11;
var c=FgetCity(p);
FclearOptionsOfSelect(cid);
for(k in c)
if(k!='exist'&&typeof(c[k])=='string')
FaddOptionToSelect(cid,c[k],k);}
var photoIsPoll=true;
var photoSelected=0;
function showPhotoTab(n){
n=parseInt(n);
n=(n<0||n>3)?0:n;
for(var i=0;i<=3;i++){
if(n==i){
Fid("photo"+i).style.display="block";
Fid("photo_menu"+i).className="nonce";}
else{
Fid("photo"+i).style.display="none";
Fid("photo_menu"+i).className="";}}}
function setPhotoPoll(v){
photoIsPoll=v;}
function playPhotoPoll(){
if(photoIsPoll){
photoSelected=photoSelected%4;
showPhotoTab(photoSelected);
photoSelected++;}
if((photoSelected%4)==1)
setTimeout("playPhotoPoll()",4500);
else
setTimeout("playPhotoPoll()",3500);}
function getInfoSucc(){
var portal_info='';
for(i in portal_user){
portal_info+='|'+i+'^'+escape(portal_user[i]);}
portal_info='expire^'+Math.floor((new Date().getTime()/1000))+portal_info;
FaddCookie('portal_info',portal_info);
portalLoginRender(portal_user);
portalHead();
return true;}
function getInfoFail(){
alert('系统繁忙，获取登录信息失败，请稍后再试。');}
function portalLoginRender(user){
if(user.state=='undefined'||user.state==0){
getInfoFail();}
if(user.state==1){
alert('您的登录已经失效，请重新登录。');}
if(user.state==2){
Fid('logo_apply').src='http://qqspace-av.qq.com/10000/11/00/';
Fid('qzone_login').style.display='none';
Fid('qzone_apply').style.display='block';}
if(user.state==3){
Fid('nickname').innerHTML=user.nickname.substr(0,10);
Fid('yellow').style.display=(user.yellow==1)?'inline':'none';
Fid('logo_login').src='http://qqspace-av.qq.com/'+user.uin+'/11/00/';
Fid('day_count').innerHTML=user.day_count;
Fid('all_count').innerHTML=user.all_count;
Fid('gardener_name').innerHTML=user.gardener_name;
Fid('qzone_login').style.display='none';
Fid('qzone_info').style.display='block';}
return true;}
function portalLogin(){
var uin=FgetUin();
if(!uin)return false;
var portal_info=FgetCookie('portal_info');
if(portal_info){
var user=new Object();
var portal_info=unescape(portal_info);
var tmp_user=portal_info.split('|');
for(i in tmp_user){
if(!isNaN(i)){
var tmp_item=tmp_user[i].split('^');
user[tmp_item[0]]=unescape(tmp_item[1]);}}
if(user.uin==uin){
return portalLoginRender(user);
return true;}
else{
FdeleteCookie('portal_info');}}
if(!portal_info||user.uin!=uin){
FloadJS('http://php.qzone.qq.com/index.php?mod=portal&act=ini',getInfoSucc,getInfoFail);}
return false;}
function portalHead(){
var uin=FgetUin();
var login_nickname='';
if(uin){
var portal_reg=/\|nickname\^([^\|]*)\|/i;
var cookie_str=unescape(document.cookie);
var nickname_arr=cookie_str.match(portal_reg);
login_nickname=(nickname_arr==null||nickname_arr[1].length==0)?uin:unescape(nickname_arr[1]);}
if(login_nickname>0||login_nickname.length>1){
Fid('login_nickname').innerHTML=login_nickname;
Fid('logout_span').style.display='inline';
Fid('login_span').style.display='none';}
else{
Fid('logout_span').style.display='none';
Fid('login_span').style.display='inline';}
return true;}
function qq_login_form(aid){
var encjs="http://qzone.qq.com/js/ps1.js";
var dflt_css="http://qzone.qq.com/js/login.css";
var re_aid=/\d+/;
if(!re_aid.test(aid))return;
var argv=arguments;
var re_url=/^(https?:\/\/)?([a-z]([a-z0-9\-]*\.)+qq\.com)(\/[a-z0-9_\-\.~]+)*(\/([a-z0-9_\-\.]*)(\?[a-z0-9+_\-\.%=&amp;]*)?)?(#[a-z][a-z0-9_]*)?$/i;
if(argv[1])
r_url=argv[1];
else
r_url=window.location;
if(!re_url.test(r_url))
r_url='http://qzone.qq.com';
if(argv[2]&&re_url.test(argv[2]))
fp_val=argv[2];
else
fp_val='loginerroralert';
var re_tgt=/^[a-z0-9_\-]+$/i;
if(argv[3]&&re_tgt.test(argv[3]))
target_win=argv[3];
else
target_win="_self";
if(argv[4]&&re_url.test(argv[2]))
css_url=argv[4];
else
css_url=dflt_css;
css_obj=Fid('login_css');
if(!css_obj){
var css_obj=document.createElement('link');
css_obj.id='login_css';
css_obj.rel='stylesheet';
css_obj.type='text/css';
css_obj.media='screen';
css_obj.href=css_url;
document.body.appendChild(css_obj);}
var login_container=Fid('login_container');
if(!login_container){
var encScript=document.createElement('script');
encScript.src=encjs;
encScript.type="text/javascript";
document.body.appendChild(encScript);
var e=document.createElement('div');
e.id='login_container';
e.style.display='none';
e.style.position="absolute";
var s='';
if(navigator.userAgent.indexOf('MSIE')!=-1)s+='<iframe id="mask_iframe"></iframe>';
s+='<div id="login_container_head">';
s+='<h4>请您登录</h4>';
s+='<span id="close" onclick="javascript:hiddenLoginWnd(\'hide\');"><span class="none">关闭</span></span>';
s+='</div>';
s+='<div id="login_form">';
s+='<form id="user_login" name="user_login" action="http://ptlogin2.qq.com/login" method="post" enctype="application/x-www-form-urlencoded" target="'+target_win+'" autocomplete="off" onSubmit="javascript:return process(user_login);">';
s+='<input type="hidden" name="h" value="1" />';
s+='<input type="hidden" name="u1" value="'+r_url+'" />';
s+='<input type="hidden" name="ep" value="" />';
s+='<input type="hidden" name="fp" value="'+fp_val+'" />';
s+='<input type="hidden" name="tm" value="31313437373631393337" />';
s+='<input type="hidden" name="type" value="" />';
s+='<input type="hidden" name="aid" value="'+aid+'" />';
s+='<ul>';
s+='<li>';
s+='<span>登录名：</span>';
s+='<label accesskey="u" for="u">';
s+='<input id="u" name="u" tabindex="u" type="text" style="font-size:12px;color:#bcbcbc;ime-mode:disabled;" value="QQ号码或Email帐号" onfocus="javascript:swapUserInput();" onblur="javascript:swapUserInput();" />*';
s+='</label>';
s+='</li>';
s+='<li>';
s+='<span>密　码：</span>';
s+='<label accesskey="p" for="p">';
s+='<input id="p" name="p" tabindex="p" type="password" />*';
s+='</label>';
s+='<p><a href="http://service.qq.com/psw/mo.shtml?psw_cs.htm" target="_blank" tabindex="-1" >忘了密码？</a></p>';
s+='</li>';
s+='<li>';
s+='<span class="code_span">验证图片：</span>';
s+='<img id="loginVerifyImg" src="http://ptlogin2.qq.com/getimage?aid='+aid+'&'+Math.random()+'" width="130" height="53" />';
s+='<p><a href="javascript:_nchangeImg('+aid+');" tabindex="-1">看不清,换一张</a></p>';
s+='</li>';
s+='<li>';
s+='<span>附加字符：</span>';
s+='<label accesskey="v" for="vrfycode">';
s+='<input id="vrfycode" name="verifycode" type="text" class="verifycode" maxlength="4" style="ime-mode:disabled;" />*';
s+='</label>';
s+='<p>请输入上图中字符，大小写忽略</p>';
s+='</li>';
s+='<li>';
s+='<input name="imageField" type="submit" class="bt_login" value="登　　录" border="0">';
s+='</li>';
s+='</ul>';
s+='</form>';
s+='</div>';
e.innerHTML=s;
document.body.appendChild(e);
FenableDrag('login_container');}else{
_nchangeImg(aid);}
try{
var useruin=FgetCookie('saveduin');
if(useruin)
document.user_login.u.value=useruin;}catch(er){}
showLoginWnd();}
function showLoginWnd(){
var e=Fid('login_container');
e.style.display="block";
FsetOffsetWindowPostionByRate(e,2,4);}
function hiddenLoginWnd(){
var e=Fid('login_container');
e.style.display="none";}
function _nchangeImg(aid){
var img=Fid("loginVerifyImg");
img.src="http://ptlogin2.qq.com/getimage?aid="+aid+"&"+Math.random();
var ctrl=Fid("code");
if(!Fempty(ctrl))
ctrl.focus();}
function swapUserInput(){
var u=Fid('u');
if(u.value=='QQ号码或Email帐号'){
u.value='';
u.style.fontSize='14px';
u.style.color='#666666';}else if(u.value==''){
u.value='QQ号码或Email帐号';
u.style.fontSize='12px';
u.style.color='#bcbcbc';}}
function CheckForm(){
var u=Fid('u');
var re_uin=/^[1-9]{1}\d{4,9}$/;
var re_email=/^[a-z0-9_\-]+(\.[_a-z0-9\-]+)*@([_a-z0-9\-]+\.)+([a-z]{2}|aero|arpa|biz|com|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel)$/i;
if(!re_uin.test(u.value)&&!re_email.test(u.value)){
alert("登录名必须为QQ号码或Email帐号");
u.focus();
u.select();
return false;}
FaddCookie("saveduin",u.value);
var p=Fid('p');
if(p.value==""){
alert("您还没有输入密码!");
p.focus();
p.select();
return false;}
var vcode=Fid('vrfycode');
if(vcode.value.length!=4){
alert("请正确填写验证字符！");
vcode.focus();
vcode.select();
return false;}
return true;}
function process(form){
if(!CheckForm())return false;
preprocess(form);
document.user_login.imageField.disabled=true;
return true;}
