window.baidu=window.baidu||{version:"1-0-0",emptyFn:function(){}};baidu.cookie=baidu.cookie||{isValidKey:function(A){return(new RegExp('^[^\\x00-\\x20\\x7f\\(\\)<>@,;:\\\\\\"\\[\\]\\?=\\{\\}\\/\\u0080-\\uffff]+\x24')).test(A)}};baidu.cookie.getRaw=function(B){if(!baidu.cookie.isValidKey(B)){return null}var C=new RegExp("(^| )"+B+"=([^;]*)(;|\x24)");var A=C.exec(document.cookie);if(A){return A[2]||null}return null};baidu.cookie.setRaw=function(C,D,B){if(!baidu.cookie.isValidKey(C)){return false}B=B||{};var A;switch(typeof (B.expires)){case"number":A=new Date();A.setTime(A.getTime()+B.expires);break;case"object":if(B.expires instanceof Date){A=B.expires}}document.cookie=C+"="+D+(B.path?"; path="+B.path:"")+(A?"; expires="+A.toGMTString():"")+(B.domain?"; domain="+B.domain:"")+(B.secure?"; secure":"");return true};baidu.url=baidu.url||{};baidu.string=baidu.string||{};baidu.string.escapeReg=function(A){return String(A).replace(new RegExp("([.*+?^=!:\x24{}()|[\\]/\\\\])","g"),"\\\x241")};baidu.isString=function(A){return(typeof A=="object"&&A&&A.constructor==String)||typeof A=="string"};baidu.url.parseQuery=function(G,K){if(K){var I=new RegExp("(^|&|\\?|#)"+baidu.string.escapeReg(K)+"=([^&]*)(&|\x24)","");var H=G.match(I);if(H){return H[2]}}else{if(G){G=G.substr(G.indexOf("?")+1,G.length);var E=G.split("&");var F={},C=[],B,A,J;for(var D=0;D<E.length;D++){B=E[D].split("=");A=B[0],J=B[1];if(A===""){continue}if(typeof F[A]=="undefined"){F[A]=J}else{if(baidu.isString(F[A])){continue}else{F[A].push(J)}}}return F}}return null};baidu.swf=baidu.swf||{};baidu.swf.getVersion=function(){var E=navigator;if(E.plugins&&E.mimeTypes.length){var A=E.plugins["Shockwave Flash"];if(A&&A.description){return A.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s)+r/,".")+".0"}}else{if(window.ActiveXObject&&!window.opera){for(var B=10;B>=2;B--){try{var D=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+B);if(D){return B+".0.0";break}}catch(C){}}}}};baidu.swf.createHTML=function(P){P=P||{};var H=baidu.swf.getVersion(),O=1;var F=P.ver||"6.0.0",E,C;if(H){H=H.split(".");F=F.split(".");for(var D=0;D<3;D++){E=parseInt(H[D],10);C=parseInt(F[D],10);if(C<E){break}else{if(C>E){O=0;break}}}}else{O=0}if(!O){return""}var J=P.vars;var D,B,G,N;var I=["classid","codebase","id","width","height","align"];P.align=P.align||"middle";P.classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000";P.codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0";P.movie=P.url||"";delete P.vars;delete P.url;if(baidu.isString(J)){P.flashvars=J}else{var L=[];for(B in J){N=J[B];if(N){L.push(B+"="+encodeURIComponent(N))}}P.flashvars=L.join("&")}var K=["<object "];for(D=0,G=I.length;D<G;D++){N=I[D];K.push(" ",N,'="',P[N],'"')}K.push(">");var A={wmode:1,scale:1,quality:1,play:1,loop:1,menu:1,salign:1,bgcolor:1,base:1,allowscriptaccess:1,allownetworking:1,allowfullscreen:1,seamlesstabbing:1,devicefont:1,swliveconnect:1,flashvars:1,movie:1};for(B in P){N=P[B];if(A[B]&&N){K.push('<param name="'+B+'" value="'+N+'" />')}}P.src=P.movie;P.name=P.id;delete P.id;delete P.movie;delete P.classid;delete P.codebase;P.type="application/x-shockwave-flash";P.pluginspage="http://www.macromedia.com/go/getflashplayer";K.push("<embed");var M;for(B in P){N=P[B];if(N){if((new RegExp("^salign\x24","i")).test(B)){M=N;continue}K.push(" ",B,'="',N,'"')}}if(M){K.push(' salign="',M,'"')}K.push("></embed></object>");return K.join("")};baidu.swf.create=function(A,D){A=A||{};var B=baidu.swf.createHTML(A);var C=true;if(D&&baidu.isString(D)){D=document.getElementById(D)}if(B.length<=0){B=A.errorMessage||"";C=false}if(D){D.innerHTML=B}else{document.write(B)}return C};baidu.swf.getMovie=function(A){return document[A]||window[A]};
SWFObject_baidu=function(a,b){this.cid=b;this.swfId=a.id;this.options=a;this.asObjects={};this.onLoadInit=function(){};SWFObject_baidu.instances[this.swfId]=this};SWFObject_baidu.prototype.load=function(){baidu.swf.create(this.options,this.cid)};SWFObject_baidu.prototype.getASObject=function(a){return this.asObjects[a.asoId]};SWFObject_baidu.prototype.registerASObject=function(c){var b=c.asoId;var a=this.swfId;return this.asObjects[b]=new ASObject_baidu({asoId:b,swfId:a})};SWFObject_baidu.prototype.getASObjectProperty=function(a){if(this.swf==null){this.swf=document[this.swfId]||window[this.swfId]}return this.swf.getASObjectProperty(a)};SWFObject_baidu.prototype.setASObjectProperty=function(a){if(this.swf==null){this.swf=document[this.swfId]||window[this.swfId]}this.swf.setASObjectProperty(a)};SWFObject_baidu.prototype.callASObjectMethod=function(a){if(this.swf==null){this.swf=document[this.swfId]||window[this.swfId]}return this.swf.callASObjectMethod(a)};SWFObject_baidu.instances={};SWFObject_baidu.getSWFObject=function(a){return SWFObject_baidu.instances[a.swfId]};SWFObject_baidu.dispatchASObjectEvent=function(e){var d=e.swfId;var c=e.asoId;var f=e.type;var g=e.data;var a=SWFObject_baidu.getSWFObject({swfId:d});var b=(c==undefined)?a:a.getASObject({asoId:c});var h="on"+f.substr(0,1).toUpperCase()+f.substr(1);if(b[h]!=null){b[h](g)}};SWFObject_baidu.registerASObject=function(d){var c=d.swfId;var b=d.asoId;var a=SWFObject_baidu.getSWFObject(d);a.registerASObject(d)};ASObject_baidu=function(a){this.swfId=a.swfId;this.asoId=a.asoId;this.swfObject=SWFObject_baidu.getSWFObject(a);if(ASObject_baidu.instances[this.swfId]==null){ASObject_baidu.instances[this.swfId]={}}ASObject_baidu.instances[this.swfId][this.asoId]=this};ASObject_baidu.prototype.get=function(a){return this.swfObject.getASObjectProperty({asoId:this.asoId,property:a})};ASObject_baidu.prototype.set=function(b,a){this.swfObject.setASObjectProperty({asoId:this.asoId,property:b,value:a})};ASObject_baidu.prototype.call=function(b,a){return this.swfObject.callASObjectMethod({asoId:this.asoId,method:b,parameters:a})};ASObject_baidu.instances={};window.baiduLS=window.baiduLS||{version:"1-0-0"};baiduLS.localStorage=baiduLS.localStorage||{onLoadInit:function(){}};baiduLS.localStorage.load=function(a,c){baiduLS.localStorage.so=new SWFObject_baidu(a,c);var b=baiduLS.localStorage.so;b.onLoadInit=function(d){baiduLS.localStorage.ao=b.asObjects.localStorage;if(baiduLS.localStorage.onLoadInit){baiduLS.localStorage.onLoadInit()}};b.load()};baiduLS.localStorage.read=function(b,a){return baiduLS.localStorage.ao.call("read",[b,a])};baiduLS.localStorage.write=function(c,a,b){return baiduLS.localStorage.ao.call("write",[c,a,b])};baiduLS.localStorage.remove=function(b,a){return baiduLS.localStorage.ao.call("remove",[b,a])};baiduLS.localStorage.clear=function(a){return baiduLS.localStorage.ao.call("clear",[a])};
var BaiduBridgePigeon;(function(){var INIT_HEAD_SHORT=31;var INIT_HEAD_LONG=60;var INIT_HEAD_FUCK=76;var INPUT_WIDTH_FLOAT=192;var INPUT_WIDTH_GROUP=238;var BODY_HEIGHT_FLOAT=242;var BODY_HEIGHT_GROUP=244;var OUTLINE_WIDTH_FLOAT=236;var OUTLINE_WIDTH_GROUP=348;var OUTLINE_HEIGHT_FLOAT=304;var OUTLINE_HEIGHT_GROUP=324;var COLOR_BLACK="rgb(0,0,0)";var COLOR_DARK="rgb(102,102,102)";var COLOR_GRAY="rgb(153,153,153)";var COLOR_LIGHT="rgb(204,204,204)";var SUBMIT_ACTION="?module=default&controller=index&action=doMess";var QUIRKS=(document.compatMode=="CSS1Compat"?false:true);var IS_IE=/msie (\d+)/.exec(navigator.userAgent.toLowerCase());var IE6_PLUS=IS_IE&&parseInt(IS_IE[1])>6;var CHINESE={TITLE:"欢迎给我们留言",TEXT:"留言内容",SEND:"发送",RIGHT_TIP:"百度提供技术支持",NAME:"姓名",PHONE:"电话%bd_bp_sp%请输入您的电话号码",ADDRESS:"地址",EMAIL:"邮箱%bd_bp_sp%请输入合法邮箱名",SELECT:"请选择",TIP_DEFAULT:"最多100个字符",TIP_MESS:"请在此输入留言内容，我们会尽快与您联系。",ERR_NOT_NULL:"不能为空",ERR_NOT_SELECTED:"未选择有效的值",ERR_TEXT_TOO_LONG:"不能超过500个字符",ERR_ITEM_TOO_LONG:"不能超过100个字符",ERR_TITLE:"对不起，您提交的留言存在以下错误：",ERR_NUMBER_ONLY:"应当全部由数字组成",ERR_EMAIL_STYLE:"不是标准邮箱格式",SUCCESS:"留言成功！谢谢您，我们会尽快与您联系！",FAILED:"对不起！您的网络存在异常，为了确保留言发送成功请稍后再试一次！"},ENGLISH={TITLE:"Send message to us",TEXT:"Contents",SEND:"Send",RIGHT_TIP:"Powered by Baidu",NAME:"Name",PHONE:"Tel%bd_bp_sp%Leave us your telephone number",ADDRESS:"Address",EMAIL:"Email%bd_bp_sp%Leave us your email",SELECT:"Please Select ",TIP_DEFAULT:"Less than 100 chars",TIP_MESS:"Leave us your message，we will contact you as soon as possible！",ERR_NOT_NULL:" is necessary",ERR_NOT_SELECTED:" is not correctly selected",ERR_TEXT_TOO_LONG:" should be less than 500 chars",ERR_ITEM_TOO_LONG:" should be less than 100 chars",ERR_TITLE:"Sorry, some errors exist in your submition:",ERR_NUMBER_ONLY:" should be numbers",ERR_EMAIL_STYLE:" is illegal",SUCCESS:"Thank You! We have received your message and will respond promptly",FAILED:"Opps！The Operation Failed Due to Network or Other Communication Problems"},KEY_TO_SAVE=["bd_bp_messText","bd_bp_messName","bd_bp_messPhone","bd_bp_messAddress","bd_bp_messEmail"],EXTRAL_KEY="bd_bp_extral_",TEXT;var tmpParent,tmpNode,tmpColorList={},itemCounter=0,tmpTips={},scrolled=0,defaultICounter=0;var sendTimer=false;var born=function(json,element,clear){itemCounter=0;tmpTips={};TEXT=(json.language-0)?ENGLISH:CHINESE;var html=[],tmpColor;html[html.length]='<div id="%Baidu_Bridge_Pigeon%" style="'+(clear?"":"z-index:2147483647;");html[html.length]=json.messType?('width:'+OUTLINE_WIDTH_FLOAT+'px;bottom:'+(clear==1?'38px;':'0px;')+(json.position?"right":"left")+(clear==1?":17px;":":0px;")):((clear?"":"display:none;")+'width:'+OUTLINE_WIDTH_GROUP+'px;height:'+OUTLINE_HEIGHT_GROUP+'px;top:50%;left:50%;margin-left:-'+(OUTLINE_WIDTH_GROUP/2)+'px;margin-top:-'+(OUTLINE_HEIGHT_GROUP/2)+'px;');html[html.length]='">';html[html.length]='<div id="%Bd_BP_2Px%" class="%bd_bp_bg%" style="background-color:'+json.backgroundColor+'">&nbsp;</div>';html[html.length]='<div id="%Bd_BP_1Px%" class="%bd_bp_bg%" style="background-color:'+json.backgroundColor+'">&nbsp;</div>';html[html.length]='<div class="bd_bp_pigeon %bd_bp_bg%" style="background-color:'+json.backgroundColor+'">';html[html.length]='	<div id="%Bd_BP_Title%" class="%bd_bp_bg%" style="background-color:'+json.backgroundColor+';">';html[html.length]='<div id="%Bd_BP_TitleText%" class="%bd_bp_bg%" style="color:'+BaiduBridgePigeon.getHeadColor(json.backgroundColor)+'">'+TEXT.TITLE+'</div>';html[html.length]='<a id="%Bd_BP_Close%" hideFocus="true" href="#"></a>';html[html.length]='	<div class="bd_bp_clear_all"></div></div>';html[html.length]='	<div id="%Bd_BP_Body%" style="max-height:'+(json.messType?BODY_HEIGHT_FLOAT:BODY_HEIGHT_GROUP)+'px;_height:expression((this.clientHeight>='+(json.messType?BODY_HEIGHT_FLOAT:BODY_HEIGHT_GROUP)+')?\''+(json.messType?BODY_HEIGHT_FLOAT:BODY_HEIGHT_GROUP)+'\':\'auto\');zoom:1;">';html[html.length]='		<iframe onload="javascript:BaiduBridgePigeon.succeed();" id="%Bd_BP_Iframe%" name="%Bd_BP_Iframe%" style="display:none;"></iframe>';html[html.length]='		<form id="%Bd_BP_Form%" target="%Bd_BP_Iframe%" accept-charset="utf-8" method="post" '+(clear?"":'action="'+BD_BRIDGE_ROOT+SUBMIT_ACTION+"&siteid="+BD_BRIDGE_DATA.siteid+'"')+'>';if(!clear){html[html.length]='		<input type="hidden" name="bd_bp_title" value="'+BD_BRIDGE_DATA.title+'"/>';html[html.length]='		<input type="hidden" name="bd_bp_referer" value="'+BD_BRIDGE_DATA.referrer+'"/>';html[html.length]='		<input type="hidden" name="bd_bp_tick" id="%Bd_BP_Tick%" value="'+(new Date()).getTime()+'"/>'}html[html.length]=buildOrgans(json);html[html.length]='		</form>';html[html.length]='	</div>';html[html.length]='	<div class="%bd_bp_border%" id="%Bd_BP_Foot%" style="border-top:1px solid '+json.backgroundColor+';background-color:'+(tmpColor=BaiduBridgePigeon.getClothColor(json.backgroundColor))+';padding:0 '+(json.messType?"8px":"27px 0 8px")+';">';html[html.length]='		<div id="%Bd_BP_CopyRight%" style="float:'+(json.messType?"right":"left")+'">';html[html.length]='			<a hideFocus="true" title="前往百度商桥" href="http://qiao.baidu.com" target="_blank" id="%Bd_BP_Cr_Icon%" style="border:1px solid '+BaiduBridgePigeon.getClothColor(tmpColor)+';"><div id="%Bd_BP_CRIRed%" title="前往百度商桥"></div><div id="%Bd_BP_CRIBlue%" title="前往百度商桥"></div></a>';html[html.length]='			<span id="%Bd_BP_Cr_Text%" style="color:'+BaiduBridgePigeon.getTipColor(json.backgroundColor)+'">'+TEXT.RIGHT_TIP+'</span>';html[html.length]='		</div>';html[html.length]='		<a hideFocus="true" href="#" id="%Bd_BP_Send%" style="float:'+(json.messType?"left":"right")+'">'+TEXT.SEND+'</a>';html[html.length]='		<div class="bd_bp_clear_all"></div>';html[html.length]='	</div>';html[html.length]='</div>';html[html.length]='</div>';element.innerHTML=doReplace(html.join(""));if(!clear)lockPosition(json.messType);if(clear!=1)document.getElementById(BaiduBridgePigeon.ID.CLOSE_BTN).onclick=BaiduBridgePigeon.close;if(!clear)document.getElementById(BaiduBridgePigeon.ID.SEND_BTN).onclick=BaiduBridgePigeon.send};var doReplace=function(s){return s.replace(/%Bd_BP_Close%/g,BaiduBridgePigeon.ID.CLOSE_BTN).replace(/%Baidu_Bridge_Pigeon%/g,BaiduBridgePigeon.ID.PIGEON).replace(/%Bd_BP_Send%/g,BaiduBridgePigeon.ID.SEND_BTN).replace(/%Bd_BP_Extral%/g,BaiduBridgePigeon.ID.EXTRAL_ITEMS).replace(/%Bd_BP_Title%/g,BaiduBridgePigeon.ID.TITLE).replace(/%Bd_BP_TitleText%/g,BaiduBridgePigeon.ID.TITLE_TEXT).replace(/%Bd_BP_Alert_%/g,BaiduBridgePigeon.ID.NECESSARY).replace(/%Bd_BP_Item_%/g,BaiduBridgePigeon.ID.ITEM_WRAP).replace(/%Bd_BP_Div_%/g,BaiduBridgePigeon.ID.ITEM_BORDER).replace(/%Bd_BP_Span_%/g,BaiduBridgePigeon.ID.ITEM_T_HEAD).replace(/%Bd_BP_Input_%/g,BaiduBridgePigeon.ID.ITEM_INPUT).replace(/%Bd_BP_Form%/g,BaiduBridgePigeon.ID.FORM).replace(/%Bd_BP_Body%/g,BaiduBridgePigeon.ID.PIGEON_BODY).replace(/%Bd_BP_Foot%/g,BaiduBridgePigeon.ID.PIGEON_FOOT).replace(/%Bd_BP_Iframe%/g,BaiduBridgePigeon.ID.IFRAME).replace(/%Bd_BP_Cr_Icon%/g,BaiduBridgePigeon.ID.CR_ICON).replace(/%Bd_BP_Cr_Text%/g,BaiduBridgePigeon.ID.CR_TEXT).replace(/%Bd_BP_1Px%/g,BaiduBridgePigeon.ID.ONE_PX).replace(/%Bd_BP_2Px%/g,BaiduBridgePigeon.ID.TWO_PX).replace(/%Bd_BP_CopyRight%/g,BaiduBridgePigeon.ID.COPY_RIGHT).replace(/%Bd_BP_CRIRed%/g,BaiduBridgePigeon.ID.CRI_RED).replace(/%Bd_BP_CRIBlue%/g,BaiduBridgePigeon.ID.CRI_BLUE).replace(/%Bd_BP_Tick%/g,BaiduBridgePigeon.ID.TICK).replace(/%bd_bp_border%/g,BaiduBridgePigeon.CLASS.BORDER).replace(/%bd_bp_bg%/g,BaiduBridgePigeon.CLASS.BACKGROUND).replace(/%bd_bp_cloth%/g,BaiduBridgePigeon.CLASS.CLOTH)};var clearTips=function(force){var input;for(var i=0;i<itemCounter;++i){input=document.getElementById(BaiduBridgePigeon.ID.ITEM_INPUT+i);if(!input.style.color.match(/(rgb\(0.*\))|(\s*#0+)/)||force){if(input.tagName.toLowerCase()=="select"){if(input.style.color.match(/(rgb\(0.*\))|(\s*#0+)/)&&IS_IE&&!IE6_PLUS)continue;input.options[0].value=tmpTips[i];input.options[0].innerHTML=tmpTips[i];input.selectedIndex=0;input.style.color=COLOR_LIGHT}else{input.value=tmpTips[i];input.style.color=COLOR_LIGHT}}}};var validateEmail=function(data){return(data.match(/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/))};var trim=function(s){var trimer=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+\x24)","g");return s.replace(trimer,"")};var encodeHTML=function(s){return s.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/</g,"&lt;").replace(/>/g,"&gt;")};var decodeHTML=function(s){return s.replace(/&gt;/g,">").replace(/&lt;/g,"<").replace(/&quot;/g,'"').replace(/&amp;/g,"&")};var decodeData=function(items){items=eval(items);for(var i=0,len=items.length;i<len;++i){items[i].key=decodeHTML(items[i].key);if(items[i].subItems)for(var j=0,_len=items[i].subItems.length;j<_len;++j){items[i].subItems[j]=decodeHTML(items[i].subItems[j])}}return items};var lockPosition=function(type){var mess=document.getElementById(BaiduBridgePigeon.ID.PIGEON);lockPosition.scroll=function(){if(!IS_IE||(IE6_PLUS&&!QUIRKS)){return}var page=!QUIRKS?document.documentElement:document.body;if(type){mess.style.top=page.clientHeight-mess.clientHeight+page.scrollTop+"px"}else{mess.style.top=parseInt(page.clientHeight/2)+page.scrollTop+"px"}};if(!IS_IE||(IE6_PLUS&&!QUIRKS)){mess.style.position="fixed"}else{lockPosition.scroll();window.attachEvent("onscroll",lockPosition.scroll);window.attachEvent("onresize",lockPosition.scroll)}};var stopDefault=function(e){var e=e||window.event;if(!e)return;if(e.preventDefault){e.preventDefault()}else{e.returnValue=false}};var buildMess=function(messType,type){var result=[];result[result.length]='<div>';result[result.length]=messType?'<span id="%Bd_BP_Span_%'+(itemCounter)+'" style="display:none;">'+TEXT.TEXT+'</span>\n			<textarea name="'+KEY_TO_SAVE[itemCounter]+'" id="%Bd_BP_Input_%'+(itemCounter)+'" onFocus="javascript:BaiduBridgePigeon.focusHandler(this);" onBlur="javascript:BaiduBridgePigeon.blurHandler(this);" class="bd_bp_mess" style="width:'+INPUT_WIDTH_FLOAT+'px;">'+TEXT.TIP_MESS+'</textarea>':'<div class="bd_bp_0_head" id="%Bd_BP_Span_%'+(itemCounter)+'">'+TEXT.TEXT+'</div>\n			<textarea name="'+KEY_TO_SAVE[itemCounter]+'" id="%Bd_BP_Input_%'+(itemCounter)+'" onFocus="javascript:BaiduBridgePigeon.focusHandler(this);" onBlur="javascript:BaiduBridgePigeon.blurHandler(this);" class="bd_bp_mess" style="width:'+INPUT_WIDTH_GROUP+'px;">'+TEXT.TIP_MESS+'</textarea>';result[result.length]='<span class="bd_bp_alert" id="%Bd_BP_Alert_%'+itemCounter+'" style="display:'+(type?"":"none")+'">*</span><div class="bd_bp_clear_all"></div>';result[result.length]='</div>';tmpTips[itemCounter++]=TEXT.TIP_MESS;return result.join("")};var buildItem=function(messType,type,key,subItems){if(!key||key=="")return;var result=[],isSelect=subItems&&((subItems instanceof Array)||((typeof subItems).toLowerCase=="array")),tip=isSelect?('-'+TEXT.SELECT+encodeHTML(key)+'-'):(key.split(/%bd_bp_sp%/)[1]||TEXT.TIP_DEFAULT);key=key.split(/%bd_bp_sp%/)[0];result[result.length]='<div id="%Bd_BP_Item_%'+itemCounter+'" style="margin:8px 0 0 0;'+((type==2)?"display:none":"")+'">';var width=getTextWidth(key,"Arial"),isTextArea=false;if(itemCounter>=KEY_TO_SAVE.length){if(!isSelect&&width>60){isTextArea=true;var tmpWidth=getTextWidth(key.slice(5),"Arial");key=trim(key.slice(0,5).concat(" ").concat(key.slice(5)));width=getTextWidth(key.slice(0,5),"Arial");width=(tmpWidth>width)?tmpWidth:width}}if(messType){if(isSelect){result[result.length]='<div id="%Bd_BP_Div_%'+(itemCounter)+'" class="bd_bp_item" style="border-right:0;"><span id="%Bd_BP_Span_%'+(itemCounter)+'" class="bd_bp_1_head" style="border-right:0;">'+encodeHTML(key)+'</span></div>';result[result.length]='<select name="'+(KEY_TO_SAVE[itemCounter]||EXTRAL_KEY+(itemCounter-defaultICounter))+'" id="%Bd_BP_Input_%'+(itemCounter)+'" '+(IS_IE?"onfocusin":"onfocus")+'="BaiduBridgePigeon.focusHandler(this);" onBlur="javascript:BaiduBridgePigeon.blurHandler(this);" class="bd_bp_select" style="width:'+(INPUT_WIDTH_FLOAT-width-7)+'px;">';result[result.length]='<option selected="true" value='+tip+'>'+tip+'</option>';for(var i=0,len=subItems.length;i<len;++i){result[result.length]='<option value="'+encodeHTML(subItems[i])+'">'+encodeHTML(subItems[i])+'</option>'}result[result.length]="</select>"}else{result[result.length]='<div id="%Bd_BP_Div_%'+(itemCounter)+'" class="bd_bp_item" '+((isTextArea)?('style="height:40px;"'):'')+'><span id="%Bd_BP_Span_%'+(itemCounter)+'" class="bd_bp_1_head" style='+((isTextArea)?('"width:'+((width-0)+((IS_IE&&QUIRKS)?9:0))+'px;'):'"')+'height:40px;">'+encodeHTML(key)+'</span>';if(isTextArea){result[result.length]='<textarea name="'+(KEY_TO_SAVE[itemCounter]||EXTRAL_KEY+(itemCounter-defaultICounter))+'" onFocus="javascript:BaiduBridgePigeon.focusHandler(this);" onBlur="javascript:BaiduBridgePigeon.blurHandler(this);" id="%Bd_BP_Input_%'+(itemCounter)+'" class="bd_bp_0_input" style="height:36px;width:'+(INPUT_WIDTH_FLOAT-width-9)+'px;'+((itemCounter==2||itemCounter==4)?'ime-mode:disabled;':"")+'">'+tip+'</textarea></div>'}else{result[result.length]='<input name="'+(KEY_TO_SAVE[itemCounter]||EXTRAL_KEY+(itemCounter-defaultICounter))+'" value="'+tip+'" onFocus="javascript:BaiduBridgePigeon.focusHandler(this);" onBlur="javascript:BaiduBridgePigeon.blurHandler(this);" id="%Bd_BP_Input_%'+(itemCounter)+'" class="bd_bp_0_input" maxlength="100" type="text" style="width:'+(INPUT_WIDTH_FLOAT-width-9)+'px;'+((itemCounter==2||itemCounter==4)?'ime-mode:disabled;':"")+'"/></div>'}}}else{if(subItems&&((subItems instanceof Array)||((typeof subItems).toLowerCase=="array"))){result[result.length]='<span id="%Bd_BP_Span_%'+(itemCounter)+'" class="bd_bp_0_head">'+encodeHTML(key)+'</span>';result[result.length]='<select name="'+(KEY_TO_SAVE[itemCounter]||EXTRAL_KEY+(itemCounter-defaultICounter))+'" id="%Bd_BP_Input_%'+(itemCounter)+'" '+(IS_IE?"onfocusin":"onfocus")+'="BaiduBridgePigeon.focusHandler(this);" onBlur="javascript:BaiduBridgePigeon.blurHandler(this);" class="bd_bp_select" style="width:'+(INPUT_WIDTH_GROUP+((QUIRKS)?0:2))+'px;">';result[result.length]='<option selected="true" value="-'+TEXT.SELECT+encodeHTML(key)+'-">-'+TEXT.SELECT+encodeHTML(key)+'-</option>';for(var i=0,len=subItems.length;i<len;++i){result[result.length]='<option value="'+encodeHTML(subItems[i])+'">'+encodeHTML(subItems[i])+'</option>'}result[result.length]="</select>"}else{result[result.length]='<span id="%Bd_BP_Span_%'+(itemCounter)+'" class="bd_bp_0_head">'+encodeHTML(key)+'</span>';if(isTextArea){result[result.length]='<textArea name="'+(KEY_TO_SAVE[itemCounter]||EXTRAL_KEY+(itemCounter-defaultICounter))+'" id="%Bd_BP_Input_%'+(itemCounter)+'" onFocus="javascript:BaiduBridgePigeon.focusHandler(this);" onBlur="javascript:BaiduBridgePigeon.blurHandler(this);" class="bd_bp_1_input" style="height:40px;width:'+INPUT_WIDTH_GROUP+'px;'+((itemCounter==2||itemCounter==4)?'ime-mode:disabled;':"")+'">'+tip+'</textArea>'}else{result[result.length]='<input name="'+(KEY_TO_SAVE[itemCounter]||EXTRAL_KEY+(itemCounter-defaultICounter))+'" value="'+tip+'" id="%Bd_BP_Input_%'+(itemCounter)+'" onFocus="javascript:BaiduBridgePigeon.focusHandler(this);" onBlur="javascript:BaiduBridgePigeon.blurHandler(this);" class="bd_bp_1_input" maxlength="100" type="text" style="width:'+INPUT_WIDTH_GROUP+'px;'+((itemCounter==2||itemCounter==4)?'ime-mode:disabled;':"")+'"/>'}}}result[result.length]='<span id="%Bd_BP_Alert_%'+itemCounter+'" class="bd_bp_alert"'+((type==1)?"":'style="display:none')+'">*</span><div class="bd_bp_clear_all"></div></div>';tmpTips[itemCounter++]=tip;return result.join("")};var buildOrgans=function(json){var html=[];html[html.length]=buildMess(json.messType,1);html[html.length]=buildItem(json.messType,json.messItemName,TEXT.NAME);html[html.length]=buildItem(json.messType,json.messItemPhone,TEXT.PHONE);html[html.length]=buildItem(json.messType,json.messItemAddress,TEXT.ADDRESS);html[html.length]=buildItem(json.messType,json.messItemEmail,TEXT.EMAIL);defaultICounter=itemCounter;html[html.length]='<div id="%Bd_BP_Extral%">';html[html.length]=BaiduBridgePigeon.buildExtralItems(json.messType,eval(json.extraMessItems));html[html.length]='</div>';return html.join("")};var getTextWidth=function(text,fontFamily){if(!tmpParent){tmpParent=document.createElement("div");tmpParent.style.overflow="hidden";tmpParent.style.width="0px";tmpParent.style.position="relative";tmpNode=document.createElement("div");tmpNode.style.position="absolute";tmpNode.style.whiteSpace="nowrap";tmpNode.style.fontSize="12px";tmpNode.style.padding="0";tmpNode.style.margin="0";tmpNode.style.fontWeight="normal";if(fontFamily)tmpNode.style.fontFamily=fontFamily}document.body.appendChild(tmpParent);tmpParent.appendChild(tmpNode);tmpNode.innerHTML=encodeHTML(text);var result=tmpParent.scrollWidth;document.body.removeChild(tmpParent);return result};var hslToRgb=function(hue,saturation,lum){var red,green,blue;if(lum==0.0){red=0;green=0;blue=0}else{var i=Math.floor(hue*6);var f=(hue*6)-i;var p=lum*(1-saturation);var q=lum*(1-(saturation*f));var t=lum*(1-(saturation*(1-f)));switch(i){case 1:red=q;green=lum;blue=p;break;case 2:red=p;green=lum;blue=t;break;case 3:red=p;green=q;blue=lum;break;case 4:red=t;green=p;blue=lum;break;case 5:red=lum;green=p;blue=q;break;case 6:case 0:red=lum;green=t;blue=p;break}}return{r:red,g:green,b:blue}};var rgbToHsl=function(red,green,blue){var max=Math.max(Math.max(red,green),blue);var min=Math.min(Math.min(red,green),blue);var hue;var saturation;var lum=max;if(min==max){hue=0;saturation=0}else{var delta=(max-min);saturation=delta/max;if(red==max){hue=(green-blue)/delta}else if(green==max){hue=2+((blue-red)/delta)}else{hue=4+((red-green)/delta)}hue/=6;if(hue<0){hue+=1}if(hue>1){hue-=1}}return{h:hue,s:saturation,l:lum}};var rgbToHex=function(r,g,b,includeHash){r=Math.round(r*255);g=Math.round(g*255);b=Math.round(b*255);if(includeHash==undefined){includeHash=true}r=r.toString(16);if(r.length==1){r='0'+r}g=g.toString(16);if(g.length==1){g='0'+g}b=b.toString(16);if(b.length==1){b='0'+b}return((includeHash?'#':'')+r+g+b).toUpperCase()};var hexToRgb=function(hex_string,default_){if(default_==undefined){default_=null}if(hex_string.substr(0,1)=='#'){hex_string=hex_string.substr(1)}var r;var g;var b;if(hex_string.length==3){r=hex_string.substr(0,1);r+=r;g=hex_string.substr(1,1);g+=g;b=hex_string.substr(2,1);b+=b}else if(hex_string.length==6){r=hex_string.substr(0,2);g=hex_string.substr(2,2);b=hex_string.substr(4,2)}else{return default_}r=parseInt(r,16);g=parseInt(g,16);b=parseInt(b,16);if(isNaN(r)||isNaN(g)||isNaN(b)){return default_}else{return{r:r/255,g:g/255,b:b/255}}};BaiduBridgePigeon=function(json,element,clear,needDecode){if(!(json&&element))return;BaiduBridgePigeon.close=function(e){stopDefault(e);if(e){if(e.stopPropagation)e.stopPropagation();else e.cancelBubble=true}if(json.messType){BaiduBridgePigeon.scroll(e)}else{BaiduBridgePigeon.hide()}};if(needDecode){json.extraMessItems=decodeData(json.extraMessItems)}born(json,element,clear)};BaiduBridgePigeon.ID={PIGEON:"BaiduBridgePigeon",CLOSE_BTN:"BdBPClose",SEND_BTN:"BdBPSend",EXTRAL_ITEMS:"BdBPExtral",TITLE_TEXT:"BdBPTitleText",TITLE:"BdBPTitle",NECESSARY:"BdBPAlert_",ITEM_WRAP:"BdBPItem_",ITEM_BORDER:"BdBPDiv_",ITEM_T_HEAD:"BdBPSpan_",ITEM_INPUT:"BdBPInput_",FORM:"BdBPForm",IFRAME:"BdBPIframe",PIGEON_FOOT:"BdBPFoot",PIGEON_BODY:"BdBPBody",CR_TEXT:"BdBPCrText",CR_ICON:"BdBPCrIcon",ONE_PX:"BdBPOnePx",TWO_PX:"BdBPTwoPx",COPY_RIGHT:"BdBPCopyRight",CRI_RED:"BdBPCrIconRed",CRI_BLUE:"BdBPCrIconBlue",TICK:"BdBPTick"};BaiduBridgePigeon.CLASS={BORDER:"bd_bp_border",BACKGROUND:"bd_bp_bg"};BaiduBridgePigeon.getHeadColor=function(color){var rgb=(tmpColorList[color]&&tmpColorList[color].rgb)?tmpColorList[color].rgb:(tmpColorList[color]={},tmpColorList[color].rgb=hexToRgb(color));var hsl=(tmpColorList[color]&&tmpColorList[color].hsl)?tmpColorList[color].hsl:(tmpColorList[color]={},tmpColorList[color].hsl=rgbToHsl(rgb.r,rgb.g,rgb.b));return(1-hsl.l+hsl.s<0.3)?"#000":"#fff"};BaiduBridgePigeon.getClothColor=function(color){var rgb=(tmpColorList[color]&&tmpColorList[color].rgb)?tmpColorList[color].rgb:(tmpColorList[color]={},tmpColorList[color].rgb=hexToRgb(color));var hsl=(tmpColorList[color]&&tmpColorList[color].hsl)?tmpColorList[color].hsl:(tmpColorList[color]={},tmpColorList[color].hsl=rgbToHsl(rgb.r,rgb.g,rgb.b));rgb=hslToRgb(hsl.h,hsl.s/2,1-(1-hsl.l)/5);return rgbToHex(rgb.r,rgb.g,rgb.b)};BaiduBridgePigeon.getTipColor=function(color){var rgb=(tmpColorList[color]&&tmpColorList[color].rgb)?tmpColorList[color].rgb:(tmpColorList[color]={},tmpColorList[color].rgb=hexToRgb(color));var hsl=(tmpColorList[color]&&tmpColorList[color].hsl)?tmpColorList[color].hsl:(tmpColorList[color]={},tmpColorList[color].hsl=rgbToHsl(rgb.r,rgb.g,rgb.b));rgb=hslToRgb(0,0,((hsl.l<0.15||hsl.l>0.6)?1-hsl.l:hsl.l));return rgbToHex(rgb.r,rgb.g,rgb.b)};BaiduBridgePigeon.buildExtralItems=function(messType,items,needDecode){itemCounter=defaultICounter;if(!(items instanceof Array||(typeof items).toLowerCase=="array"))return;if(needDecode){decodeData(items)}var result=[];for(var i=0,len=items.length;i<len;++i){result[result.length]=buildItem(messType,((items[i].necessity-0)?1:0),items[i].key,items[i].subItems)}return doReplace(result.join(""))};BaiduBridgePigeon.focusHandler=function(tar){var id=tar.id.match(/\d+/),tagName=tar.tagName.toLowerCase(),elem;if(elem=document.getElementById(BaiduBridgePigeon.ID.ITEM_BORDER+id)){elem.style.borderColor=COLOR_GRAY}if(elem=document.getElementById(BaiduBridgePigeon.ID.ITEM_T_HEAD+id)){elem.style.borderColor=COLOR_GRAY;elem.style.color=COLOR_BLACK}tar.style.borderColor=COLOR_GRAY;if((tagName=="input"||tagName=="textarea")&&!tar.style.color.match(/(rgb\(0.*\))|(\s*#0+)/)){tar.value=""}tar.style.color=COLOR_BLACK};BaiduBridgePigeon.blurHandler=function(tar){var id=tar.id.match(/\d+/),tagName=tar.tagName.toLowerCase(),elem;if(elem=document.getElementById(BaiduBridgePigeon.ID.ITEM_BORDER+id)){elem.style.borderColor=COLOR_LIGHT}if(elem=document.getElementById(BaiduBridgePigeon.ID.ITEM_T_HEAD+id)){elem.style.borderColor=COLOR_LIGHT;elem.style.color=COLOR_DARK}tar.style.borderColor=COLOR_LIGHT;if((tagName=="input"||tagName=="textarea")&&(tar.value=="")){tar.style.color=COLOR_LIGHT;tar.value=tmpTips[id]}else if(tagName=="select"&&tar.selectedIndex==0){tar.style.color=COLOR_LIGHT}};BaiduBridgePigeon.show=function(){document.getElementById(BaiduBridgePigeon.ID.PIGEON).style.display="block"};BaiduBridgePigeon.hide=function(){document.getElementById(BaiduBridgePigeon.ID.PIGEON).style.display="none"};BaiduBridgePigeon.close={};BaiduBridgePigeon.scroll=function(e){var e=e||window.event,mess=document.getElementById(BaiduBridgePigeon.ID.PIGEON),clostBtn=document.getElementById(BaiduBridgePigeon.ID.CLOSE_BTN);if(e){if(e.stopPropagation)e.stopPropagation();else e.cancelBubble=true}if(!scrolled){scrolled=1;OUTLINE_HEIGHT_FLOAT=document.getElementById(BaiduBridgePigeon.ID.PIGEON).clientHeight;mess.style.height="26px";mess.style.cursor="pointer";clostBtn.style.backgroundPosition="-11px 12px";document.getElementById(BaiduBridgePigeon.ID.PIGEON_FOOT).style.display="none";document.getElementById(BaiduBridgePigeon.ID.PIGEON_BODY).style.display="none";mess.onclick=BaiduBridgePigeon.scroll}else{scrolled=0;document.getElementById(BaiduBridgePigeon.ID.PIGEON_FOOT).style.display="block";document.getElementById(BaiduBridgePigeon.ID.PIGEON_BODY).style.display="block";mess.style.height=OUTLINE_HEIGHT_FLOAT+"px";mess.style.cursor="default";clostBtn.style.backgroundPosition="1px 12px";mess.onclick=""}lockPosition.scroll&&lockPosition.scroll()};BaiduBridgePigeon.send=function(e){stopDefault(e);if(e){if(e.stopPropagation)e.stopPropagation();else e.cancelBubble=true}var errors=[TEXT.ERR_TITLE],i,tmpNode,tmpTitle,tmpTagName,tmpValue;for(i=0;i<itemCounter;++i){tmpNode=document.getElementById(BaiduBridgePigeon.ID.ITEM_INPUT+i);tmpTitle=document.getElementById(BaiduBridgePigeon.ID.ITEM_T_HEAD+i).innerHTML;tmpValue=trim(tmpNode.value);tmpTagName=tmpNode.tagName.toLowerCase();if(!tmpNode.style.color.match(/(rgb\(0.*\))|(\s*#0+)/)&&document.getElementById(BaiduBridgePigeon.ID.NECESSARY+i).style.display!="none"){errors.push("\t"+decodeHTML(tmpTitle)+(tmpTagName=="select"?TEXT.ERR_NOT_SELECTED:TEXT.ERR_NOT_NULL))}else if(tmpTagName=="textarea"&&tmpNode.value.length>(i==0?500:100)){errors.push("\t"+tmpTitle+(i==0?TEXT.ERR_TEXT_TOO_LONG:TEXT.ERR_ITEM_TOO_LONG))}else if(i==4&&tmpNode.style.color.match(/(rgb\(0.*\))|(\s*#0+)/)&&!validateEmail(tmpValue)){errors.push("\t"+tmpTitle+TEXT.ERR_EMAIL_STYLE)}if(!tmpNode.style.color.match(/(rgb\(0.*\))|(\s*#0+)/)){if(tmpNode.tagName.toLowerCase()=="select"){tmpNode.options[0].value="";tmpNode.options[0].innerHTML=""}else{tmpNode.value=""}}}if(errors.length>1){alert(errors.join("\n"));clearTips();return}else{document.getElementById(BaiduBridgePigeon.ID.TICK).value=(new Date()).getTime();var tmpCharset=false;if(IS_IE){tmpCharset=document.charset;document.charset="utf-8"}document.getElementById(BaiduBridgePigeon.ID.FORM).submit();if(IS_IE){document.charset=tmpCharset}document.getElementById(BaiduBridgePigeon.ID.SEND_BTN).onclick="";BaiduBridgePigeon.close(e);sendTimer=setTimeout(BaiduBridgePigeon.fail,3000)}};BaiduBridgePigeon.succeed=function(){if(!sendTimer)return;clearTimeout(sendTimer);sendTimer=false;document.getElementById(BaiduBridgePigeon.ID.IFRAME).src="about:blank";document.getElementById(BaiduBridgePigeon.ID.SEND_BTN).onclick=BaiduBridgePigeon.send;clearTips(1)};BaiduBridgePigeon.fail=function(){document.getElementById(BaiduBridgePigeon.ID.SEND_BTN).onclick=BaiduBridgePigeon.send;sendTimer=false;clearTips()}})();
var BDBridgeLib={G:function(el){return document.getElementById(el)},loadScript:function(id,url){var head=document.getElementsByTagName("head")[0];if(BDBridgeLib.G(id)){head.removeChild(BDBridgeLib.G(id))}var script=document.createElement("script");script.setAttribute("type","text/javascript");script.setAttribute("language","javascript");script.setAttribute("id",id);script.setAttribute("src",url);script.setAttribute("charset","UTF-8");head.appendChild(script)},loadCss:function(url){var css=document.createElement("link");css.setAttribute("rel","stylesheet");css.setAttribute("type","text/css");css.setAttribute("href",url);document.getElementsByTagName("head")[0].appendChild(css)},getRandom:function(min,max){return Math.floor(Math.random()*(max-min)+min)},bind:function(el,type,listener){if(window.addEventListener){el.addEventListener(type,listener,false)}else{el.attachEvent("on"+type,listener)}},stopDefault:function(e){var e=e||window.event;if(e.preventDefault){e.preventDefault()}else{e.returnValue=false}},trim:function(str){var trimer=new RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+\x24)","g");return str.replace(trimer,"")},domReady:(function(){var readyBound=false,readyList=[],DOMContentLoaded;if(document.addEventListener){DOMContentLoaded=function(){document.removeEventListener('DOMContentLoaded',DOMContentLoaded,false);ready()}}else if(document.attachEvent){DOMContentLoaded=function(){if(document.readyState==='complete'){document.detachEvent('onreadystatechange',DOMContentLoaded);ready()}}};var ready=function(){if(!ready.isReady){ready.isReady=true;for(var i=0,j=readyList.length;i<j;i++){readyList[i]()}}};var doScrollCheck=function(){try{document.documentElement.doScroll("left")}catch(e){setTimeout(doScrollCheck,1);return}ready()};function bindReady(){if(readyBound){return}readyBound=true;if(document.readyState==='complete'){ready.isReady=true}else{if(document.addEventListener){document.addEventListener('DOMContentLoaded',DOMContentLoaded,false);window.addEventListener('load',ready,false)}else if(document.attachEvent){document.attachEvent('onreadystatechange',DOMContentLoaded);window.attachEvent('onload',ready);var toplevel=false;try{toplevel=window.frameElement==null}catch(e){}if(document.documentElement.doScroll&&toplevel){doScrollCheck()}}}};bindReady();return function(callback){ready.isReady?callback():readyList.push(callback)}})()};BDBridgeLib.ie=/msie (\d+)/.exec(navigator.userAgent.toLowerCase());BDBridgeLib.ie6plus=BDBridgeLib.ie&&parseInt(BDBridgeLib.ie[1])>6;BDBridgeLib.onQuirkMode=document.compatMode=="CSS1Compat"?false:true;if(BDBridgeLib.ie&&!BDBridgeLib.ie6plus){try{document.execCommand("BackgroundImageCache",false,true)}catch(e){}}function bridgeIconLoaded(){BDBridge.createInvite()}function bridgeIconClick(groupid,groupname){document.getElementById(BDBridge.containerId).onmouseup=function(){BDBridge.accept(false,groupid,groupname)}}function bridgeIconStretch(width,height){var wrap=BDBridgeLib.G(BDBridge.containerId);wrap.style.width=width+"px";wrap.style.height=height+"px";baidu.swf.getMovie("BDBridgeIcon").setAttribute("width",width);baidu.swf.getMovie("BDBridgeIcon").setAttribute("height",height);BDBridge.__setPosition()}function bridgeInviteLoaded(){BDBridge.createSwf()}function bridgeInviteStretch(width,height){baidu.swf.getMovie("BDBridgeInvite").setAttribute("width",width);baidu.swf.getMovie("BDBridgeInvite").setAttribute("height",height);BDBridgeLib.G("BDBridgeInviteWrap").style.width=width+"px";BDBridgeLib.G("BDBridgeInviteWrap").style.height=height+"px";BDBridgeLib.G("BDBridgeInviteWrap").style.marginLeft=-Math.ceil(width/2)+"px";BDBridgeLib.G("BDBridgeInviteWrap").style.marginTop=-Math.ceil(height/2)+"px";if(BD_BRIDGE_INVITE_CONFIG.head.show!=2&&BD_BRIDGE_INVITE_CONFIG.mode==2&&!BDBridge.chatRender){BDBridge.__createChatBox();BDBridge.chatRender=true}if(BD_BRIDGE_INVITE_CONFIG.mode==2){BDBridgeLib.G("BDBridgeChatBox").style.display="block"}}function bridgeInviteOpen(){var groupid=BDBridge.inviteGroupId;var groupname=BDBridge.inviteGroupName;if(groupid==""){var g=BDBridge.__getRandomGroup();groupid=g.groupid;groupname=g.groupname}(document.getElementById("BDBridgeNewWrap")||document.getElementById("BDBridgeWrap")).onmouseup=function(){BDBridge.accept(false,groupid,groupname)}}function bridgeInviteClose(){BDBridge.ignore()}var BDBridge={inviteTimer0:null,inviteTimer1:null,inviteTimer2:null,intervalTimer:null,inviteSubid:"",inviteGroupId:"",inviteGroupName:"",inviteRendered:false,containerId:"",bridgeHTML:'<div id="BDBridgeIconWrap"></div>                        <div id="BDBridgeInviteWrap"></div>                        <div id="BDBridgeLS"></div>                        <div id="BDBridgeMess"></div>',__formatIcon:function(){BD_BRIDGE_ICON_CONFIG.special=BDBRIDGE_ICON_SPECIAL[BD_BRIDGE_ICON_CONFIG.special];BD_BRIDGE_ICON_CONFIG.background.url="";BD_BRIDGE_ICON_CONFIG.background.color=BD_BRIDGE_ICON_CONFIG.special.bg;BD_BRIDGE_ICON_CONFIG.head.url="";BD_BRIDGE_ICON_CONFIG.head.width=BD_BRIDGE_ICON_CONFIG.special.w;BD_BRIDGE_ICON_CONFIG.head.height=BD_BRIDGE_ICON_CONFIG.special.h;BD_BRIDGE_ICON_CONFIG.button.url="";BD_BRIDGE_ICON_CONFIG.button.color=BD_BRIDGE_ICON_CONFIG.special.btn;BD_BRIDGE_ICON_CONFIG.button.text=BD_BRIDGE_ICON_CONFIG.special.txt},__formatInvite:function(){BD_BRIDGE_INVITE_CONFIG.special=BDBRIDGE_INVITE_SPECIAL[BD_BRIDGE_INVITE_CONFIG.special];BD_BRIDGE_INVITE_CONFIG.mode=2},bind:function(){BDBridgeLib.bind(window,"unload",BDBridge.leave);BDBridgeLib.bind(window,"load",BDBridge.compat)},compat:function(){if(BDBridgeLib.ie&&BDBridgeLib.G("spanThemeBegin")){BDBridgeLib.G("BDBridgeWrap").innerHTML="";BDBridge.createIcon()}},init:function(){if(typeof BD_BRIDGE_ICON_CONFIG.special=="undefined"){BD_BRIDGE_ICON_CONFIG.special=0}if(typeof BD_BRIDGE_INVITE_CONFIG.special=="undefined"){BD_BRIDGE_INVITE_CONFIG.special=0}if(BD_BRIDGE_ICON_CONFIG.flow==2){BDBridge.__formatIcon()}if(BD_BRIDGE_INVITE_CONFIG.head.show==2){BDBridge.__formatInvite()}BDBridge.bind();BDBridgeLib.loadCss(BD_BRIDGE_ROOT+"css/bw.css");BDBridge.createIcon();if(BD_BRIDGE_ICON_CONFIG.background.url!=""){BD_BRIDGE_ICON_CONFIG.background.url+="?_t="+(new Date()).getTime().toString()}if(BD_BRIDGE_INVITE_CONFIG.background.url!=""){BD_BRIDGE_INVITE_CONFIG.background.url+="?_t="+(new Date()).getTime().toString()}if(BD_BRIDGE_INVITE_CONFIG.head.url!=""){BD_BRIDGE_INVITE_CONFIG.head.url+="?_t="+(new Date()).getTime().toString()}if(window.opera){window.scroll(0,0)}},createIcon:function(){var div=document.createElement("div");div.id=BDBridgeLib.G("BDBridgeWrap")?"BDBridgeNewWrap":"BDBridgeWrap";BDBridgeLib.domReady(function(){div.innerHTML=BDBridge.bridgeHTML;document.body.appendChild(div);if(BD_BRIDGE_ICON_CONFIG.flow==0){if(BDBridgeLib.G("BDBridgeFixedWrap")){BDBridge.containerId="BDBridgeFixedWrap"}else{return}}else{BDBridge.containerId="BDBridgeIconWrap"}baidu.swf.create({id:"BDBridgeIcon",url:BD_BRIDGE_ROOT+"swf/icon.swf",width:"2",height:"2",wmode:"transparent",ver:"9.0.0",allowscriptaccess:"always"},BDBridge.containerId);BDBridgeLib.G("BDBridgeLS").style.background="#eee"})},createInvite:function(){baidu.swf.create({id:"BDBridgeInvite",url:BD_BRIDGE_ROOT+"swf/invite.swf",width:"2",height:"2",wmode:"transparent",ver:"9.0.0",allowscriptaccess:"always"},"BDBridgeInviteWrap");BDBridgeLib.G("BDBridgeLS").style.background="#ccc"},createSwf:function(){BDBridge.ls=baiduLS.localStorage;BDBridge.lsId="bridge";BDBridge.lsKey={bid:BD_BRIDGE_DATA.siteid+"bid24",data:BD_BRIDGE_DATA.siteid+"data",last:BD_BRIDGE_DATA.siteid+"last",show:BD_BRIDGE_DATA.siteid+"show",instance:BD_BRIDGE_DATA.siteid+"instance",chat:BD_BRIDGE_DATA.siteid+"chat",startload:BD_BRIDGE_DATA.siteid+"startload"};BDBridge.ls.onLoadInit=function(){BDBridge.__enter()};BDBridge.ls.load({id:"BDBridgeSwf",width:2,height:2,url:BD_BRIDGE_ROOT+"swf/local_storage.swf",wmode:"transparent",allowscriptaccess:"always"},"BDBridgeLS");BDBridgeLib.G("BDBridgeLS").style.background="#fff"},__getCproSrc:function(url){var src1=baidu.url.parseQuery(url,"word");var src2=baidu.url.parseQuery(url,"u");if(src1!=null&&src2==null){url=src1}else if(src1==null&&src2!=null){url=src2}else{return""}url=url.replace(/%3A/gi,":").replace(/%2F/gi,"\/").replace(/%3F/gi,"\?");url=url.replace(/(((http|https):\/\/)?[\w\.-]+)(\/|\?)?\S*/i,"$1");if(url.search(/^(http|https):\/\//i)==-1){url="http://"+url}return url},entered:false,__enter:function(){if(!BDBridge.entered){if(BDBridge.ls.read(BDBridge.lsId,BDBridge.lsKey.bid)==null){BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.bid,"")}BD_BRIDGE_DATA.bid=BDBridge.ls.read(BDBridge.lsId,BDBridge.lsKey.bid);BD_BRIDGE_DATA.bid=BD_BRIDGE_DATA.bid!=null?BD_BRIDGE_DATA.bid:"";BD_BRIDGE_DATA.location=window.location.href;BD_BRIDGE_DATA.title=document.title.substring(0,100).replace(/\r|\n/g,"");var r=(document.referrer.indexOf("cpro.baidu.com")==-1)?document.referrer:BDBridge.__getCproSrc(document.referrer);var new_r=r;var h=window.location.host;if(new_r==""){baidu.cookie.setRaw("BRIDGE_R",new_r)}else{if(new_r.indexOf(h)==-1){baidu.cookie.setRaw("BRIDGE_R",new_r)}else{new_r=baidu.cookie.getRaw("BRIDGE_R");if(new_r==null){new_r=r}}}BD_BRIDGE_DATA.referrer=new_r;var se=["baidu.com","baidu.com","google.com","google.cn","bing.com","search.live.com","search.yahoo.com","one.cn.yahoo.com","sogou.com","gougou.com","youdao.com","soso.com","zhongsou.com","search.114.vnet.cn"];var sw=["wd","word","q","q","q","q","p","p","query","search","q","w","w","kw"];var coding=["gbk","gbk","utf8","utf8","utf8","utf8","utf8","utf8","gbk","utf8","utf8","gbk","gbk","gbk"];BD_BRIDGE_DATA.word="";BD_BRIDGE_DATA.coding="";for(var i=0,l=se.length;i<l;i++){if(r.indexOf(se[i])==-1){continue}else{BD_BRIDGE_DATA.word=baidu.url.parseQuery(r,sw[i]);BD_BRIDGE_DATA.word=BD_BRIDGE_DATA.word!=null?BD_BRIDGE_DATA.word:"";BD_BRIDGE_DATA.coding=coding[i];break}}BD_BRIDGE_DATA.bdclkid=baidu.url.parseQuery(window.location.href,"bdclkid");BD_BRIDGE_DATA.bdclkid=BD_BRIDGE_DATA.bdclkid!=null?BD_BRIDGE_DATA.bdclkid:"";var param="Enter.php?callback=BDBridge.handleEnter&siteid="+BD_BRIDGE_DATA.siteid+"&bid="+BD_BRIDGE_DATA.bid+"&referrer="+encodeURIComponent(BD_BRIDGE_DATA.referrer)+"&word="+encodeURIComponent(BD_BRIDGE_DATA.word)+"&coding="+BD_BRIDGE_DATA.coding+"&bdclkid="+BD_BRIDGE_DATA.bdclkid+"&title="+encodeURIComponent(BD_BRIDGE_DATA.title)+"&t="+(new Date()).getTime().toString();BDBridgeLib.loadScript("BDBridgeSendData",BD_BRIDGE_RCV_ROOT+param);BDBridge.entered=true}else{BDBridge.__renderIcon()}},handleEnter:function(data){if(BDBridge.ls.read(BDBridge.lsId,BDBridge.lsKey.last)==null){BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.last,(new Date()).getTime())}if((new Date()).getTime()-BDBridge.ls.read(BDBridge.lsId,BDBridge.lsKey.last)>1800*1000){BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.instance,0)}BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.last,(new Date()).getTime());if(baidu.cookie.getRaw("BRIDGE_REFRESH")==null){if(BD_BRIDGE_INVITE.invitetype==0){baidu.cookie.setRaw("BRIDGE_REFRESH",5000)}else{baidu.cookie.setRaw("BRIDGE_REFRESH",15000)}}BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.bid,data.bid);BD_BRIDGE_DATA.bid=data.bid;BD_BRIDGE_DATA.from=data.from;BD_BRIDGE_DATA.word=data.word;BD_BRIDGE_DATA.wordid=data.wordid;BD_BRIDGE_DATA.wordtype=data.wordtype;BD_BRIDGE_DATA.group=data.group;BD_BRIDGE_ICON_CONFIG.group=BDBridge.__convertGroup(data.group);if(BD_BRIDGE_ICON_CONFIG.group.length==0){return}else{if(BD_BRIDGE_PIGEON_SOUL.disableMess==0&&BD_BRIDGE_PIGEON_SOUL.messType==0){for(var i=0,l=BD_BRIDGE_ICON_CONFIG.group.length;i<l;i++){if(BD_BRIDGE_ICON_CONFIG.group[i].online==0){BD_BRIDGE_ICON_CONFIG.group[i].online=2;BD_BRIDGE_ICON_CONFIG.group[i].id=-1}}BDBridge.__createMess()}BDBridge.__renderIcon();if(BD_BRIDGE_PIGEON_SOUL.disableMess==0&&BD_BRIDGE_PIGEON_SOUL.messType==1){if(BD_BRIDGE_PIGEON_SOUL.messFloatType==0){if(BDBridge.onlineGroup.length==0){BDBridge.__createMess()}}else{BDBridge.__createMess()}}}if(data.saved==1){if(baidu.cookie.getRaw("BRIDGE_CLOCK")==null){baidu.cookie.setRaw("BRIDGE_CLOCK",(new Date()).getTime())}baidu.cookie.setRaw("BRIDGE_NEED",1);BDBridge.reportTimer=setInterval(BDBridge.__refresh,500)}if(BD_BRIDGE_INVITE.invitetype!=0){if(BD_BRIDGE_INVITE.invitetype==1){if(baidu.cookie.getRaw("BRIDGE_INVITE_1")==null){baidu.cookie.setRaw("BRIDGE_INVITE_1",0)}if(baidu.cookie.getRaw("BRIDGE_INVITE_1")==0){baidu.cookie.setRaw("BRIDGE_INVITE_1",1)}else{return}}BDBridge.intervalTimer=setTimeout(BDBridge.__keepShow,BD_BRIDGE_INVITE.invitetime*1000)}},__createMess:function(){BaiduBridgePigeon(BD_BRIDGE_PIGEON_SOUL,BDBridgeLib.G("BDBridgeMess"),0)},__encodeGroupName:function(){var g=BD_BRIDGE_ICON_CONFIG.group;for(var i=0,n=g.length;i<n;i++){BD_BRIDGE_ICON_CONFIG.group[i].name=BD_BRIDGE_ICON_CONFIG.group[i].name.replace(/\\/g,"\\\\")}},__renderIcon:function(){BDBridge.__encodeGroupName();if(BD_BRIDGE_ICON_CONFIG.flow==2&&typeof BD_BRIDGE_ICON_CONFIG.special!="object"){BDBridge.__formatIcon()}if(BD_BRIDGE_INVITE_CONFIG.head.show==2&&typeof BD_BRIDGE_INVITE_CONFIG.special!="object"){BDBridge.__formatInvite()}baidu.swf.getMovie("BDBridgeIcon").setIcon(BD_BRIDGE_ICON_CONFIG)},__convertGroup:function(group){var l=group.length;var actual=0;var tempId="";var tempName="";var tempIndex="";var flashArray=[];BDBridge.onlineGroup=[];BDBridge.offlineGroup=[];for(var a=0;a<l;a++){if(group[a]["user"].length>0){actual++;tempId=group[a]["groupid"];tempName=group[a]["groupname"];tempIndex=a}}if(actual==0)return flashArray;if(actual==1){var online=0;var user=group[tempIndex]["user"];for(var i=0,n=user.length;i<n;i++){if((user[i]["islogin"]-0)==1){online=1;break}}if(online)BDBridge.onlineGroup.push(tempIndex);else BDBridge.offlineGroup.push(tempIndex);flashArray.push({id:tempId,name:tempName,online:online})}else{for(var i=0;i<l;i++){var user=group[i]["user"];if(user.length!=0){var online=0;for(var j=0,n=user.length;j<n;j++){if((user[j]["islogin"]-0)==1){online=1;break}}if(online)BDBridge.onlineGroup.push(i);else BDBridge.offlineGroup.push(i);flashArray.push({id:group[i]["groupid"],name:group[i]["groupname"],online:online})}}}return flashArray},__setPosition:function(){var icon=BDBridgeLib.G("BDBridgeIconWrap");var invite=BDBridgeLib.G("BDBridgeInviteWrap");switch(BD_BRIDGE_ICON_CONFIG.position){case 0:icon.style.top="0";icon.style.left="auto";icon.style.right="0";icon.style.margin="8px 8px 0 0";break;case 1:icon.style.top="0";icon.style.left="0";icon.style.margin="8px 0 0 8px";break;case 2:icon.style.top="50%";icon.style.left="auto";icon.style.right="0";icon.style.marginRight="8px";icon.style.marginTop=-parseInt(icon.clientHeight/2)+"px";break;case 3:icon.style.top="50%";icon.style.left="0";icon.style.marginLeft="8px";icon.style.marginTop=-parseInt(icon.clientHeight/2)+"px";break;case 4:icon.style.top="auto";icon.style.left="auto";icon.style.bottom="0";icon.style.right="0";icon.style.margin="0 8px 8px 0";break;case 5:icon.style.top="auto";icon.style.bottom="0";icon.style.left="0";icon.style.margin="0 0 8px 8px"}if(!BDBridgeLib.ie||(BDBridgeLib.ie6plus&&!BDBridgeLib.onQuirkMode)){icon.style.position="fixed";invite.style.position="fixed"}else{icon.style.position="absolute";invite.style.position="absolute";BDBridge.scroll();window.attachEvent("onscroll",BDBridge.scroll);window.attachEvent("onresize",BDBridge.scroll)}},scroll:function(){var page=!BDBridgeLib.onQuirkMode?document.documentElement:document.body;var icon=BDBridgeLib.G("BDBridgeIconWrap");var invite=BDBridgeLib.G("BDBridgeInviteWrap");if(BD_BRIDGE_ICON_CONFIG.position==0||BD_BRIDGE_ICON_CONFIG.position==1){icon.style.top=page.scrollTop+"px"}else if(BD_BRIDGE_ICON_CONFIG.position==2||BD_BRIDGE_ICON_CONFIG.position==3){icon.style.top=parseInt(page.clientHeight/2)+page.scrollTop+"px"}else{icon.style.bottom="auto";icon.style.top=page.clientHeight+page.scrollTop-icon.clientHeight+"px"}invite.style.top=parseInt(page.clientHeight/2)+page.scrollTop+"px"},__refresh:function(){if(baidu.cookie.getRaw("BRIDGE_NEED")==1){if((new Date()).getTime()-baidu.cookie.getRaw("BRIDGE_CLOCK")>=baidu.cookie.getRaw("BRIDGE_REFRESH")){var param="Refresh.php?callback=BDBridge.handleRefresh&bid="+BD_BRIDGE_DATA.bid+"&siteid="+BD_BRIDGE_DATA.siteid+"&t="+(new Date()).getTime().toString();BDBridgeLib.loadScript("BDBridgeReport",BD_BRIDGE_RCV_ROOT+param);baidu.cookie.setRaw("BRIDGE_CLOCK",(new Date()).getTime())}}else{clearInterval(BDBridge.reportTimer)}},handleRefresh:function(data){if(data.saved==0){baidu.cookie.setRaw("BRIDGE_NEED",0)}if(BD_BRIDGE_INVITE.invitetype==0){if(baidu.cookie.getRaw("BRIDGE_INVITE_0")==null){baidu.cookie.setRaw("BRIDGE_INVITE_0",0)}if(baidu.cookie.getRaw("BRIDGE_INVITE_0")==0&&data.status==1){BDBridge.inviteSubid=data.subid;var g=BDBridge.__findInGroup(data.subid);BDBridge.inviteGroupId=g.groupid;BDBridge.inviteGroupName=g.groupname;BDBridge.__show();BDBridge.inviteTimer0=setTimeout(BDBridge.__reject,20000)}}},__getRandomGroup:function(){var online=BDBridge.onlineGroup.length;var offline=BDBridge.offlineGroup.length;var index=(online-0!=0)?BDBridge.onlineGroup[BDBridgeLib.getRandom(0,online)]:BDBridge.offlineGroup[BDBridgeLib.getRandom(0,offline)];var group=BD_BRIDGE_DATA.group[index];return{groupid:group.groupid,groupname:group.groupname}},__findInGroup:function(subid){var group=BD_BRIDGE_DATA.group;var groupid="";var groupname="";for(var i=0,l=group.length;i<l;i++){var user=group[i]["user"];var n=user.length;for(var j=0;j<n;j++){if(subid==user[j]["subid"]){groupid=group[i]["groupid"];groupname=group[i]["groupname"];break}}}groupid=(groupid==="")?group[0]["groupid"]:groupid;groupname=(groupname==="")?group[0]["groupname"]:groupname;return({groupid:groupid,groupname:groupname})},accept:function(invite,groupid,groupname){(document.getElementById("BDBridgeNewWrap")||document.getElementById("BDBridgeWrap")).onmouseup=null;document.getElementById(BDBridge.containerId).onmouseup=null;if(groupid==-1){BaiduBridgePigeon.show();return}if(BDBridge.ls.read(BDBridge.lsId,BDBridge.lsKey.instance)==null){BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.instance,0)}if(BDBridge.ls.read(BDBridge.lsId,BDBridge.lsKey.instance)==0){BD_BRIDGE_DATA.tid=groupid;BD_BRIDGE_DATA.type=1;BD_BRIDGE_DATA.subid="";if(invite){var subid=BDBridge.inviteSubid;if(!(subid==="")){BD_BRIDGE_DATA.type=0;BD_BRIDGE_DATA.subid=subid}}BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.startload,(new Date()).getTime().toString());BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.data,BD_BRIDGE_DATA);var param="siteid="+BD_BRIDGE_DATA.siteid+"&groupid="+groupid+"&groupname="+encodeURIComponent(groupname);var left=(window.screen.availWidth-796)/2;var top=(window.screen.availHeight-562)/2;var option="left="+left+",top="+top+",resizable=yes,width=795,height=561";var webim=window.open(BD_BRIDGE_ROOT+"?module=default&controller=webim&action=index&"+param,"",option);webim.focus()}else{BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.show,1)}BDBridge.__hide();clearTimeout(BDBridge.inviteTimer0);clearTimeout(BDBridge.intervalTimer);clearTimeout(BDBridge.inviteTimer1);clearTimeout(BDBridge.inviteTimer2)},ignore:function(){if(BD_BRIDGE_INVITE.invitetype==0){clearTimeout(BDBridge.inviteTimer0);BDBridge.__reject()}else{clearTimeout(BDBridge.inviteTimer1);BDBridge.__autoHide()}},__keepShow:function(){BDBridge.__show();BDBridge.inviteTimer1=setTimeout(BDBridge.__autoHide,20000)},__autoHide:function(){BDBridge.__hide();if(BD_BRIDGE_INVITE.inviterepeat==1){BDBridge.inviteTimer2=setTimeout(BDBridge.__keepShow,30000)}},__reject:function(){baidu.cookie.setRaw("BRIDGE_INVITE_0",1);if(BD_BRIDGE_INVITE.inviterepeat==1){baidu.cookie.setRaw("BRIDGE_INVITE_0",0)}else{baidu.cookie.setRaw("BRIDGE_REFRESH",15000)}var img=new Image();var param="bid="+BD_BRIDGE_DATA.bid+"&siteid="+BD_BRIDGE_DATA.siteid+"&t="+(new Date()).getTime().toString();img.src=BD_BRIDGE_RCV_ROOT+"Reject.php?"+param;BDBridge.__hide()},leave:function(){if(BD_BRIDGE_DATA.bid!=undefined){var img=new Image();var param="bid="+BD_BRIDGE_DATA.bid+"&siteid="+BD_BRIDGE_DATA.siteid+"&t="+(new Date()).getTime().toString();img.onload=function(){};img.src=BD_BRIDGE_RCV_ROOT+"Leave.php?"+param}},__show:function(){baidu.swf.getMovie("BDBridgeInvite").setInvite(BD_BRIDGE_INVITE_CONFIG)},__hide:function(){baidu.swf.getMovie("BDBridgeInvite").setAttribute("width",2);baidu.swf.getMovie("BDBridgeInvite").setAttribute("height",2);if(BD_BRIDGE_INVITE_CONFIG.mode==2&&BDBridgeLib.G("BDBridgeChatBox")){BDBridgeLib.G("BDBridgeChatBox").style.display="none"}BDBridgeLib.G("BDBridgeInviteWrap").style.width="2px";BDBridgeLib.G("BDBridgeInviteWrap").style.height="2px"},defaultTip:"您可直接在这里给我们留言",__createChatBox:function(){var chatBox=document.createElement("div");chatBox.id="BDBridgeChatBox";chatBox.innerHTML='<textarea id="BDBridgeChatArea" style="color:#999">'+BDBridge.defaultTip+'</textarea><a href="#" id="BDBridgeStartChat" hidefocus="true">&nbsp;</a>';var wrap=BDBridgeLib.G("BDBridgeInviteWrap");wrap.style.height="203px";wrap.style.marginTop="-102px";wrap.appendChild(chatBox);var area=BDBridgeLib.G("BDBridgeChatArea");if(BDBridgeLib.ie&&BDBridgeLib.onQuirkMode){chatBox.style.width="313px";chatBox.style.height="62px";area.style.width="258px";area.style.height="35px"}area.onfocus=function(){if(this.value==BDBridge.defaultTip){this.value="";this.style.color="#000"}};area.onblur=function(){if(BDBridgeLib.trim(this.value)==""){this.value=BDBridge.defaultTip;this.style.color="#999"}};BDBridgeLib.G("BDBridgeStartChat").onclick=function(e){BDBridgeLib.stopDefault(e);if(area.style.color=="#999"||area.style.color=="rgb(153, 153, 153)"){area.focus()}else{BDBridge.ls.write(BDBridge.lsId,BDBridge.lsKey.chat,BDBridgeLib.trim(area.value));var groupid=BDBridge.inviteGroupId;var groupname=BDBridge.inviteGroupName;if(groupid==""){var g=BDBridge.__getRandomGroup();groupid=g.groupid;groupname=g.groupname}BDBridge.accept(true,groupid,groupname)}}}};var BDBRIDGE_ICON_SPECIAL=[{head:BD_BRIDGE_ROOT+"res/iconbgspecial/0.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/0_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/0_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/0_mini.swf",x:10,y:60,bg:"#0fb2cf",w:145,h:40,btn:"#daf8f8",txt:"#318f9f"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/1.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/1_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/1_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/1_mini.swf",x:35,y:60,bg:"#3e72af",w:148,h:40,btn:"#e7bee6",txt:"#a564ae"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/2.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/2_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/2_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/2_mini.swf",x:4,y:8,bg:"#8a4910",w:143,h:53,btn:"#e9b180",txt:"#985b24"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/3.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/3_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/3_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/3_mini.swf",x:17,y:98,bg:"#c51700",w:142,h:40,btn:"#fbe9c1",txt:"#ed6a5b"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/4.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/4_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/4_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/4_mini.swf",x:6,y:105,bg:"#732f18",w:142,h:45,btn:"#efc692",txt:"#876252"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/5.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/5_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/5_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/5_mini.swf",x:75,y:153,bg:"#feb0da",w:143,h:60,btn:"#fbe9c1",txt:"#ed6a5b"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/6.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/6_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/6_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/6_mini.swf",x:7,y:245,bg:"#2f1c21",w:142,h:40,btn:"#f1c995",txt:"#734f40"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/7.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/7_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/7_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/7_mini.swf",x:20,y:117,bg:"#66b821",w:143,h:64,btn:"#fbe9c1",txt:"#ed6a5b"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/8.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/8_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/8_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/8_mini.swf",x:13,y:118,bg:"#e7e7e7",w:148,h:56,btn:"#fef7b4",txt:"#5f574f"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/9.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/9_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/9_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/9_mini.swf",x:56,y:86,bg:"#454641",w:143,h:50,btn:"#fbe9c1",txt:"#ed6a5b"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/10.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/10_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/10_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/10_mini.swf",x:62,y:203,bg:"#ec4b96",w:143,h:20,btn:"#ffb7b7",txt:"#9d6980"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/11.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/11_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/11_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/11_mini.swf",x:9,y:136,bg:"#53b2ea",w:142,h:34,btn:"#cceefe",txt:"#1171c8"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/12.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/12_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/12_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/12_mini.swf",x:72,y:85,bg:"#6f9d1f",w:143,h:48,btn:"#d7f2a8",txt:"#5d8958"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/13.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/13_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/13_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/13_mini.swf",x:5,y:114,bg:"#e6224c",w:143,h:26,btn:"#f2d0d3",txt:"#d86767"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/14.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/14_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/14_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/14_mini.swf",x:0,y:60,bg:"#2968af",w:142,h:55,btn:"#c1daf4",txt:"#318f9f"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/15.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/15_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/15_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/15_mini.swf",x:1,y:60,bg:"#af2991",w:142,h:55,btn:"#f7b9d8",txt:"#cd469d"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/16.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/16_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/16_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/16_mini.swf",x:10,y:54,bg:"#6f5915",w:142,h:44,btn:"#d3c188",txt:"#978855"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/17.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/17_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/17_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/17_mini.swf",x:6,y:90,bg:"#c01814",w:146,h:34,btn:"#f9ca94",txt:"#dc9764"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/18.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/18_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/18_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/18_mini.swf",x:11,y:75,bg:"#055f19",w:143,h:39,btn:"#fbe9c1",txt:"#ed6a5b"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/19.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/19_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/19_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/19_mini.swf",x:14,y:120,bg:"#53b2ea",w:142,h:20,btn:"#ffc3bb",txt:"#d3232c"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/20.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/20_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/20_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/20_mini.swf",x:6,y:115,bg:"#c01814",w:142,h:34,btn:"#f9ca94",txt:"#dc9764"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/21.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/21_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/21_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/21_mini.swf",x:24,y:91,bg:"#2aaf0c",w:142,h:46,btn:"#fbe9c1",txt:"#ed6a5b"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/22.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/22_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/22_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/22_mini.swf",x:33,y:77,bg:"#402810",w:143,h:46,btn:"#c0a888",txt:"#49301d"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/23.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/23_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/23_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/23_mini.swf",x:4,y:160,bg:"#1152bf",w:142,h:40,btn:"#a5caff",txt:"#6f5a60"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/24.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/24_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/24_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/24_mini.swf",x:35,y:92,bg:"#cab7f9",w:143,h:48,btn:"#cf6c74",txt:"#d06369"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/25.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/25_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/25_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/25_mini.swf",x:14,y:104,bg:"#0fb2cf",w:142,h:48,btn:"#a8e0f1",txt:"#2e93c2"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/26.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/26_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/26_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/26_mini.swf",x:21,y:104,bg:"#495a38",w:142,h:48,btn:"#d2e8b9",txt:"#6c8156"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/27.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/27_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/27_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/27_mini.swf",x:34,y:84,bg:"#C61700",w:142,h:48,btn:"#FDF9EC",txt:"#EC6B65"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/28.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/28_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/28_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/28_mini.swf",x:43,y:148,bg:"#194431",w:142,h:48,btn:"#e5f6fe",txt:"#1574c8"},{head:BD_BRIDGE_ROOT+"res/iconbgspecial/29.swf",left:BD_BRIDGE_ROOT+"res/iconbgspecial/29_left.png",right:BD_BRIDGE_ROOT+"res/iconbgspecial/29_right.png",mini:BD_BRIDGE_ROOT+"res/iconbgspecial/29_mini.swf",x:40,y:132,bg:"#c61800",w:142,h:48,btn:"#fdf7e9",txt:"#e96757"}];var BDBRIDGE_INVITE_SPECIAL=[{url:BD_BRIDGE_ROOT+"res/invitebgspecial/0.swf",x:17,y:33},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/1.swf",x:25,y:32},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/2.swf",x:8,y:59},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/3.swf",x:74,y:80},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/4.swf",x:11,y:53},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/5.swf",x:29,y:109},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/6.swf",x:24,y:27},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/7.swf",x:186,y:52},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/8.swf",x:0,y:133},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/9.swf",x:45,y:80},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/10.swf",x:39,y:76},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/11.swf",x:10,y:60},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/12.swf",x:5,y:26},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/13.swf",x:100,y:105},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/14.swf",x:107,y:140},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/15.swf",x:72,y:44},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/16.swf",x:25,y:75},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/17.swf",x:56,y:12},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/18.swf",x:0,y:12},{url:BD_BRIDGE_ROOT+"res/invitebgspecial/19.swf",x:0,y:0}];BDBridge.init();
