var retInDialogErrParttern=/^\[errcode:([\-]?[0-9]+)\]:((.|\n)*)/;
jQuery.extend({
	dealWithRetInDialog:function(resp,bReturndetail,errFadeOut){
		var retcode=parseInt(resp.substring(0,1));
		var retinfo=resp.substring(1,resp.length);
		var msg='<span class="';
		var retObj=({
			code:retcode,info:retinfo,'errcode':-999
		}
		);
		var timeOut=3000;
		if(retcode!=1){
			timeOut=($.isempty(errFadeOut)?8000:(errFadeOut==-1?null:errFadeOut));
			retinfo=retInDialogErrParttern.exec(retinfo);
			msg+='msgerr';
			if(retinfo!=null&&retinfo.length==4){
				retObj.errcode=parseInt(retinfo[1]);
				retObj.info=retinfo[2]
			}
		}
		else{
			msg+='msgok'
		}
		msg+='">'+retObj.info+'</span>';
		notifyReponseBar(msg,timeOut);
		return(($.isempty(bReturndetail)||bReturndetail==false)?retcode:retObj)
	}
	,processBlock:function(elename){
		$('#zealHoverPopupBox').hide();
		var pHolder=null;
		if($.isempty(elename)){
			elename='document.body';
			pHolder=$(document.body)
		}
		else{
			elename='#'+elename;
			pHolder=$(elename);
			elename="'"+elename+"'"
		}
		pHolder.block('<div><img src="'+g_baseUrls.resImg+'loading2.gif" width="24" height="24" align="absmiddle" /> 处理中 ...　<span class="pointer closebtn" title="取消操作" onclick="$('+elename+').unblock();">　　　</span></div>',{
			border:'1px solid #F8D0D9',background:'#FBE8ED',color:'#E34D72',padding:'4px'
		}
		);
		pHolder=null
	}
}
);
jQuery.fn.extend({
	DynamicSelectBox:function(attrs){
		attrs=$.extend({
			trievent:'click',closeonblur:false,closeonmouseout:false,title:'项',source:'',width:$(this).width(),height:100,loadingClass:'ac_loading',boxClass:'autocompleter',selectClass:'selectAutocompleter',inputHandlerName:$(this).attr('id'),inputHandlerValue:$(this).attr('id')+'_HDValue',selectHandlerName:$(this).attr('id')+'_DSBox',zindex:30001,onselect:null,onunselect:null,bmulti:false,useSameDSBox:false,seperator:',',hAlignment:0,vAlignment:0,barheight:22,arrowCurp:-1,showresetbtn:true,overflow:'hidden',ckevnt:{
				type:'click'
			}
			,dosuggest:false
		}
		,attrs);
		if($.isempty(attrs.source)){
$(this).click(function(){
	try{
		notifyReponseBar(attrs.title+'项没有指定可用数据源')
	}
	catch(e){
	}
}
);
return
}
var mergeWords=function(oldval,addval){
addval=$.trim(addval);
if(!addval){
	return oldval
}
else if(!attrs.bmulti)return addval;
var words=oldval.split(attrs.seperator);
var result=[];
var bfound=false;
$.each(words,function(i,value){
	if($.trim(value))result[i]=$.trim(value);
	if(result[i]==addval)bfound=true
}
);
if(!bfound)result[result.length]=addval;
return result.join(attrs.seperator)
};
var removeWords=function(oldval,addval){
addval=$.trim(addval);
if(!addval){
	return oldval
}
else if(!attrs.bmulti)return'';
var words=oldval.split(attrs.seperator);
var result=[];
$.each(words,function(i,value){
	if($.trim(value)!=addval)result[result.length]=$.trim(value)
}
);
return result.join(attrs.seperator)
};
var refreshSelection=function(ret){
var strs='';
var vals='';
if($.isempty(ret[0]))ret[0]='';
if(attrs.bmulti){
$('#'+attrs.selectHandlerName+' > div > ul > li > input[@type=checkbox][@checked]').each(function(){
	if(strs.length>0)strs+=attrs.seperator;
	strs+=$(this).parent().attr('dat');
	if(vals.length>0)vals+=attrs.seperator;
	vals+=$(this).parent().attr('rel')
}
)
}
else{
strs=ret[1];
vals=ret[0]
}
$('#'+attrs.inputHandlerName).val(strs);
$('#'+attrs.inputHandlerValue).val(vals);
attrs.blurforme=false
};
var doCloseDSBoxup=function(event){
if(!$.isempty(attrs.blurforme)&&attrs.blurforme)return;
$(document).unbind('keydown',dsbKeydownEvnt);
$('#'+attrs.selectHandlerName).fadeOut("fast");
if(!$.isempty(event)&&event.type!='blur'){
attrs.flagOnRecoverFoc=true;
$('#'+attrs.inputHandlerName).focus();
attrs.flagOnRecoverFoc=false
}
};
var doRealCloseDsBox=function(event){
attrs.blurforme=false;
doCloseDSBoxup(event)
};
if(!attrs.onselect)attrs.onselect=function(pli,ret){
if(attrs.bmulti){
$('input[@type="checkbox"]',pli).attr("checked",true)
}
refreshSelection(ret)
};
if(!attrs.onunselect)attrs.onunselect=function(pli,ret){
if(attrs.bmulti){
$('input[@type="checkbox"]',pli).attr("checked",false)
}
refreshSelection(ret)
};
if(!attrs.useSameDSBox||$('#'+attrs.selectHandlerName+' > div > ul > li').length<1){
var initDivContent='';
initDivContent+='<div id="'+attrs.selectHandlerName+'" style="position: absolute; z-index: '+attrs.zindex+'; display: none;" class="'+attrs.boxClass+'">';
initDivContent+='<div style="overflow: '+attrs.overflow+';" id="'+attrs.selectHandlerName+'_CtLiSt"><ul style="margin: 0;padding: 0; list-style: none; z-index: '+(attrs.zindex+1)+';"></ul></div><div class="resetClear"></div>';
initDivContent+='<div class="dsbtitlebar" style="height: '+attrs.barheight+'px; line-height: '+attrs.barheight+'px;">';
initDivContent+='<div class="floatL left resetbtn" style="padding-left:2px;height: '+attrs.barheight+'px; line-height: '+attrs.barheight+'px;" title="清除当前所有选定项" id="'+attrs.selectHandlerName+'_ClearAll"></div>';
initDivContent+='<div class="floatR closebtn" title="关闭下拉框" id="'+attrs.selectHandlerName+'_ClsBtn" style="height: '+attrs.barheight+'px; line-height: '+attrs.barheight+'px;"></div>';
initDivContent+='</div>';
initDivContent+='</div>';
$('*',$('#'+attrs.selectHandlerName)).unbind();
$('#'+attrs.selectHandlerName).remove();
$(document.body).append(initDivContent)
}
var dsbKeydownEvnt=function(e){
var bup=$.isKeyTrigger(e,38,false);
var bdown=$.isKeyTrigger(e,40,false);
var bok=$.isKeyTrigger(e,13,false);
var besc=$.isKeyTrigger(e,27,false);
if(!bup&&!bdown&&!bok&&!besc)return;
if(window.event){
window.event.returnValue=false
}
else{
e.preventDefault()
}
if(besc){
doRealCloseDsBox(attrs.ckevnt);
return
}
var lis=$('#'+attrs.selectHandlerName+' > div > ul > li');
if(bok){
lis.eq(attrs.arrowCurp).click();
return
}
var loopcnt=0;
if(bdown){
do{
	attrs.arrowCurp+=1;
	if(attrs.arrowCurp<0||attrs.arrowCurp>=lis.length){
		attrs.arrowCurp=0;
		loopcnt++
	}
}
while(lis.eq(attrs.arrowCurp).is(':hidden')&&loopcnt<2)
}
else if(bup){
do{
	attrs.arrowCurp-=1;
	if(attrs.arrowCurp<0||attrs.arrowCurp>=lis.length){
		attrs.arrowCurp=lis.length-1;
		loopcnt++
	}
}
while(lis.eq(attrs.arrowCurp).is(':hidden')&&loopcnt<2)
}
var hdler=$('#'+attrs.selectHandlerName+'_CtLiSt');
var ps={
};
var cliheight=lis.removeClass(attrs.selectClass).eq(attrs.arrowCurp).addClass(attrs.selectClass).position(ps).height();
var cstop=hdler.scrollTop();
if(ps.top<cstop||ps.top>=cstop+hdler.height()-cliheight){
hdler.scrollTop(ps.top)
}
};
var showOutSelBox=function(){
if(!$.isempty(attrs.flagOnRecoverFoc)&&attrs.flagOnRecoverFoc)return;
var pos=$('#'+attrs.inputHandlerName).alignOffset(attrs);
$('#'+attrs.selectHandlerName).mousedown(function(){
	attrs.blurforme=true
}
).css({
	top:pos.top,left:pos.left,width:attrs.width,height:attrs.height,'z-index':attrs.zindex
}
).fadeIn("fast").children('div').slice(0,1).height((attrs.height-attrs.barheight-2));
if(attrs.showresetbtn){
	$('#'+attrs.selectHandlerName+'_ClearAll').show()
}
else{
	$('#'+attrs.selectHandlerName+'_ClearAll').hide()
}
if(attrs.closeonmouseout){
	$('#'+attrs.selectHandlerName+'_ClsBtn').hide()
}
else{
	$('#'+attrs.selectHandlerName+'_ClsBtn').show()
}
var rebindDSBoxEvent=function(){
	$('*',$('#'+attrs.selectHandlerName)).unbind();
	$('#'+attrs.selectHandlerName+'_ClsBtn').click(doRealCloseDsBox);
	if(attrs.closeonmouseout){
$('#'+attrs.selectHandlerName).hover(function(){
}
,doRealCloseDsBox)
}
$('#'+attrs.selectHandlerName+'_ClearAll').click(function(){
$('#'+attrs.selectHandlerName+' > div > ul > li > input[@type=checkbox]').each(function(){
	this.checked=false
}
);
refreshSelection(['',''])
}
);
var li=$('#'+attrs.selectHandlerName+' > div > ul > li');
li.hover(function(){
	$(this).addClass(attrs.selectClass);
	attrs.arrowCurp=$.toNumber($(this).attr('value'))
}
,function(){
	$(this).removeClass(attrs.selectClass)
}
).click(function(e){
	if(window.event){
		window.event.returnValue=false;
		window.event.cancelBubble=true
	}
	else{
		e.preventDefault();
		e.stopPropagation()
	}
	attrs.onselect($(this),[$(this).attr('rel'),$(this).attr('dat')]);
	doRealCloseDsBox(attrs.ckevnt)
}
);
if(attrs.bmulti){
	var initIds=[];
	try{
		initIds=$.trim($('#'+attrs.inputHandlerValue).val()).split(attrs.seperator)
	}
	catch(e){
	}
$('> input:checkbox',li).click(function(e){
	if(window.event){
		window.event.cancelBubble=true
	}
	else{
		e.stopPropagation()
	}
	if(this.checked)attrs.onselect($(this).parent(),[0,0]);
	else attrs.onunselect($(this).parent(),[0,0])
}
).each(function(){
	for(var j=0;j<initIds.length;j++){
		if($.trim(initIds[j])==$(this).parent().attr('rel')){
			$(this).attr('checked','checked');
			return
		}
	}
	$(this).attr('checked',false)
}
).show()
}
else{
$('> input:checkbox',li).hide()
}
li=null;
attrs.arrowCurp=-1;
$(document).unbind('keydown',dsbKeydownEvnt).keydown(dsbKeydownEvnt)
};
rebindDSBoxEvent();
if($('#'+attrs.selectHandlerName+' > div > ul > li').length<=0){
$('#'+attrs.inputHandlerName).addClass(attrs.loadingClass);
var initJSONDataToList=function(data){
$('#'+attrs.inputHandlerName).removeClass(attrs.loadingClass);
var content='';
for(var i=0;i<data.length;i++){
	content+='<li rel="'+data[i][0]+'" dat="'+data[i][1]+'" value="'+i+'"><input type="checkbox" class="checkbox" /> ';
	content+='<span style="width:*;">'+data[i][1]+'</span>';
	if(data[i].length>=3)content+='<span>'+data[i][2]+'</span>';
	content+='</li>'
};
$('#'+attrs.selectHandlerName+' > div > ul').html(content);
rebindDSBoxEvent()
};
if(typeof attrs.source=="object"){
initJSONDataToList(attrs.source)
}
else{
$.getJSON(attrs.source,null,initJSONDataToList)
}
}
};
$(this).blur(function(e){
	if(!attrs.closeonblur)return;
setTimeout(function(){
	doCloseDSBoxup(e)
}
,300)
}
).click(showOutSelBox);
if(attrs.trievent!='click'){
$(this).bind(attrs.trievent,showOutSelBox)
}
if(!attrs.bmulti&&attrs.dosuggest){
$(this).keyup(function(){
	var items=$('#'+attrs.selectHandlerName+' > div > ul > li');
	if(items.length<=0){
		return
	}
	var keyword=$(this).val();
items.each(function(i){
	if($(this).attr('dat').indexOf(keyword)>=0||$(this).attr('rel')==keyword){
		$(this).show()
	}
	else{
		$(this).hide()
	}
}
)
}
)
}
}
}
);
var g_notifyTimer=null;
var g_notifyDivname='#responsebar';
function closeNotifyBar(){
	if(g_notifyDivname=='#responsebar')$('#respHolder').fadeOut('slow');
	else $(g_notifyDivname).fadeOut('slow')
}
function notifyReponseBar(str,autoFadeOut){
	try{
		if(!$.isempty(g_notifyTimer)){
			clearTimeout(g_notifyTimer);
			g_notifyTimer=null
		}
		var pDiv=$(g_notifyDivname);
		str='<div class="oneresp" title="'+(new Date()).getTime()+'">'+str+'</div>';
		pDiv.html(str);
		g_lastResponseTime=(new Date()).getTime();
		pDiv.fadeIn();
		pDiv=null
	}
	catch(e){
	}
	if(!$.isempty(autoFadeOut)){
		g_notifyTimer=setTimeout(closeNotifyBar,autoFadeOut)
	}
}

function initHeaderNavBar(curpos,type){
	var hoverImgs=({
	}
	);
	var swapNavBtns=function(pImg){
		var oldsrc=pImg.attr('src');
		var pos=pImg.attr('pos');
		if(pos==curpos&&pos!='1')return;
		pImg.attr('src',hoverImgs[pos].src);
		hoverImgs[pos].src=oldsrc
	};
$('img[@rel="'+type+'"]').each(function(){
	var pos=$(this).attr('pos');
	var isrc=$(this).attr('src').split('.gif').join('')+'_h.gif';
	if(pos==curpos&&pos!='1'){
		$(this).attr('src',isrc);
		return
	}
	var imgPreloader=new Image();
	imgPreloader.src=isrc;
	hoverImgs[pos]=imgPreloader;
	imgPreloader=null
}
).hover(function(){
	swapNavBtns($(this))
}
,function(){
	swapNavBtns($(this))
}
)
}
var g_brdCkiPrfx='BriddMember_';
var g_brdMmbInfo=null;
function isBldMmbLogin(){
	return g_brdMmbInfo==null?false:true
}
function getCurLogMemNick(){
	return isBldMmbLogin()?g_brdMmbInfo.nick:''
}
function memberLoginInit(){
	var nick=eval(GetCookie(g_brdCkiPrfx+'nick'));
	var hash=GetCookie(g_brdCkiPrfx+'hash');
	var str='';
	if(!nick||!hash){
		str+='您好，请 <a class="link_color" href="'+g_baseUrls.base+'/auth/login">登录</a> 或 <span class="arrToReg"><a href="'+g_baseUrls.base+'/auth/regselect" class="link_color">免费注册</a></span>'
	}
	else{
		var extras=(GetCookie(g_brdCkiPrfx+'extras')||'').split('|');
		var getMmbExtra=function(pos,bdecode,beval){
			if(pos>=extras.length)return'';
			bdecode=bdecode||false;
			beval=beval||false;
			var ret=extras[pos];
			if(bdecode)ret=decodeURIComponent(ret);
			if(beval)ret=eval(ret);
			return ret
		};
		g_brdMmbInfo=({
			"levelid":getMmbExtra(0),"levelname":getMmbExtra(1,true,true),"nick":nick,"uid":GetCookie(g_brdCkiPrfx+'uid')
		}
		);
		var nhour=(new Date()).getHours();
		str+='<span class="bold">'+g_brdMmbInfo.nick+'</span>，'+(nhour>=18||nhour<=4?'晚上':(nhour<=9?'早上':(nhour<=11?'上午':'下午')))+'好！';
		str+='您目前是<span class="titcolor">'+g_brdMmbInfo.levelname+'</span>用户。 ';
		str+='<a href="'+g_baseUrls.base+'/collect/list">我的收藏夹</a>';
		str+=' | <a href="'+g_baseUrls.base+'/auth/logout">退出登录</a>'
	}
	$('#headTopMemberInfoBar').html(str)
}
function searchGo(options){
	if(typeof options!="object")options={
		ti:options
	};
	var url=g_baseUrls.base+'/search/index';
	var params='';
	$.each(options,function(k,v){
		v=v||'';
		if(k=='nm'){
			var patrn=/[\\,\',~,@,#,\s,/]+/;v=v.replace(patrn,'')}switch(k){case'ti':var tif=v.split('_');if(tif[0]=='pairring'){url=g_baseUrls.base+'/pairexstyle/index';if(tif.length>1)v=tif[1];else v=''}if(tif[0]=='GIA'){url=g_baseUrls.base+'/gia/index';v=tif[1]}break;default:;break}params+='/'+k+'/'+encodeURIComponent(v)});document.location.href=url+params}$(document).ready(function($){try{var tmpsource=[];for(var k in g_commonInfos.submarts){tmpsource[tmpsource.length]=[g_baseUrls.base+'/experience/index/location/'+k,g_commonInfos.submarts[k]]}tmpsource[tmpsource.length]=[g_baseUrls.base+'/experience/next','下一家',''];$('a#headTopExpcenterAnchor').DynamicSelectBox({source:tmpsource,boxClass:"deptacpDDS",title:'',selectHandlerName:'headTopExpcenterAnchor_DSBox',height:(18*tmpsource.length+2),width:61,barheight:0,hAlignment:1,closeonmouseout:true,onselect:function(pli,ret){if($.isempty(ret)||$.isempty(ret[0]))return;window.self.document.location.href=ret[0]},showresetbtn:false,bmulti:false});tmpsource=null}catch(e){}try{$('#headSearchTypeTD').DynamicSelectBox({source:([['productname','产 品'],['pairringname','对 戒'],['news','新 闻']]),title:'',selectHandlerName:'headSearchTypeAnchor_DSBox',inputHandlerName:'headSearchTypeName',inputHandlerValue:'headSearchTypeKey',height:60,width:40,barheight:0,hAlignment:0,showresetbtn:false,closeonmouseout:true,onselect:function(pli,ret){if($.isempty(ret)||$.isempty(ret[0]))return;var newbg=1;switch(ret[0]){case'news':newbg=2;break;case'pairringname':newbg=3;break}$('input#headCommSearchKeyword').val('').css('background','transparent url("'+g_baseUrls.resImg+'ww2/search_key_inda_bg'+newbg+'.gif") no-repeat center left');$('input#headSearchTypeName').val(ret[1]);$('input#headSearchTypeKey').val(ret[0])},bmulti:false});$('input#headCommSearchKeyword').focus(function(){$(this).css('background-image','none')}).blur(function(){if($.trim($(this).val())!='')return;var newbg=1;switch($('input#headSearchTypeKey').val()){case'news':newbg=2;break;case'pairringname':newbg=3;break}$(this).css('background','transparent url("'+g_baseUrls.resImg+'ww2/search_key_inda_bg'+newbg+'.gif") no-repeat center left')});$('form#headCommSearchFrm').submit(function(){var keyvalue=$('input#headCommSearchKeyword').val();var patrn=/[\\,\',~,@,#,\s,/]+/;keyvalue=keyvalue.replace(patrn,'');searchGo({searchtype:$('input#headSearchTypeKey').val(),nm:keyvalue});return false})}catch(e){}try{$('img#headServiceAnchor').hover(function(){var pos={};$(this).offset({margin:false,scroll:true,relativeTo:$(document.body)},pos);$('div#headServiceHref').css({top:(pos.top+28),left:(pos.left+1)}).show()},function(){});$('div#headServiceHref').hover(function(){},function(){$(this).hide()})}catch(e){}try{$("form#frmMagazine").submit(function(){$(this).ajaxSubmit({resetForm:false,beforeSubmit:function(){$('#frmMagazine').block()},success:function(resp){try{$('#frmMagazine').unblock();var retcode=$.dealWithRetInDialog(resp,true);if(retcode.code==1){alert('订阅成功')}else{switch(retcode.errcode){case 102:alert('邮箱不能为空');break;case 103:alert('请输入合法的电子邮箱');break;case 105:alert('订阅失败');break;default:alert('操作失败');break}}}catch(e){}}});return false})}catch(e){}try{var pl=$('div#leftbar');var pm=$('div#mainboard');var plh=pl.outerHeight();var pmh=pm.height();if(pmh>plh+12){pl.append('<div class="leftTailReapter" style="height: '+(pmh-plh-12)+'px;"></div>')}}catch(e){}});function openOnlineCustomWin(boffline){boffline=boffline||false;var url='http://csonline.zbird.com/';var param='';var websiteid='LEZ31671888';var lng='cn';if(boffline){url+='LR/SendNote2.aspx?id='+websiteid+'&lng='+lng+'&p='+escape(location.href)}else{url+='LR/Chatpre.aspx?id='+websiteid+'&lng='+lng+'&p='+escape(location.href)+'&r='+escape(document.referrer)}try{var oWindow=window.open(url,'LRWIN_'+websiteid,'toolbar=no,width=630,height=435,resizable=yes,location=no,scrollbars=no,left='+((screen.width-630)/4)+',top='+((screen.height-435)/4));if(oWindow==null){window.location=url;return false}oWindow.focus()}catch(e){window.location=url}return false}(function($){try{var footPtListmap=({cooperate:[{ico:"ico_h01.gif",lnk:"http://www.icbc.com.cn"},{ico:"ico_h13.gif",lnk:"http://www.cmbchina.com"},{ico:"ico_h14.gif",lnk:"http://www.ccb.com"},{ico:"ico_h15.gif",lnk:"http://www.bankcomm.com"},{ico:"ico_h16.gif",lnk:"http://www.cebbank.com"},{ico:"ico_h02.gif",lnk:"http://www.boc.cn"},{ico:"ico_h03.gif",lnk:"http://channely.smg.cn"},{ico:"ico_h06.gif",lnk:"http://www.cnsde.com"},{ico:"ico_h07.gif",lnk:"http://www.cctf.org.cn"},{ico:"ico_h08.gif",lnk:"https://www.cpic.com.cn"},{ico:"ico_h09.gif",lnk:"https://www.alipay.com"},{ico:"ico_h10.gif",lnk:"https://www.99bill.com"},{ico:"ico_h11.gif",lnk:"http://www.ems.com.cn"},{ico:"ico_h12.gif",lnk:"http://www.fedex.com/cn"},{ico:"ico_link02.gif",lnk:"http://www.joy.cn"},{ico:"ico_link03.gif",lnk:"http://www.eachnet.com"},{ico:"ico_link04.gif",lnk:"http://www.taobao.com"},{ico:"ico_link06.gif",lnk:"http://www.qq.com"},{ico:"ico_link07.gif",lnk:"http://www.sina.com.cn"},{ico:"ico_link08.gif",lnk:"http://www.sohu.com"},{ico:"ico_link09.gif",lnk:"http://www.163.com"},{ico:"ico_link10.gif",lnk:"http://www.liba.com"},{ico:"ico_link11.gif",lnk:"http://www.19lou.com"},{ico:"ico_link12.gif",lnk:"http://tuangou.qeeka.com"},{ico:"ico_link13.jpg",lnk:"http://www.55bbs.com"},{ico:"ico_t_gia.gif",lnk:"http://www.gia.edu"},{ico:"ico_t_hrd.gif",lnk:"http://www.hrd.be"},{ico:"ico_t_igi.gif",lnk:"http://www.igiworldwide.com"},{ico:"ico_t_egl.gif",lnk:"http://www.eglusa.com"},{ico:"ico_t_ags.gif",lnk:"http://www.americangemsociety.org"},{ico:"ico_t_pt.gif",lnk:"http://www.preciousplatinum.com.cn"},{ico:"ico_t_ngtc.gif",lnk:"http://www.ngtc.com.cn/"},{ico:"ico_t_nggc.gif",lnk:"http://nggc.simt.com.cn/"}]});var chgCommFooterPartner=function(id){if($.isempty(footPtListmap[id]))return;var lnks=footPtListmap[id];var str='';for(var i=0;i<lnks.length;i++){str+='<li><h1><a target="_blank" href="'+lnks[i].lnk+'"><img src="'+g_baseUrls.resImg+'ww2/footer/'+lnks[i].ico+'" width="80" height="40" border="0" align="texttop" /></a></h1></li>'}$('#styleBottomImgList').html(str);$('#styleBottomScroller').scrollShow({itemSize:{height:40,width:90},view:'#styleBottomViewer',content:'#styleBottomImgList',elements:'h1',wrappers:'link',easing:'backout',navigators:'a[@rel="commFootstylebottomnav"]',navigationMode:'s',circular:true,start:0,jumpStep:7})};$(document).ready(function(){try{if(typeof($.easing.backout)=='undefined'){$.easing.backout=function(x,t,b,c,d){var s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b}}chgCommFooterPartner('cooperate')}catch(e){}})}catch(e){}})($);

