?? splitter.js
字號:
?if(!window.Discuz_Utils_Loaded){window.cart_browser_agt=(navigator==null||navigator.userAgent==null)?'':navigator.userAgent.toLowerCase();window.cart_browser_app=(navigator==null||navigator.appVersion==null)?'':navigator.appVersion;window.cart_browser_major=parseInt(cart_browser_app);window.cart_browser_opera=cart_browser_agt.indexOf('opera')!=-1;window.cart_browser_ie=!cart_browser_opera&&(cart_browser_agt.indexOf('msie')!=-1);window.cart_browser_iemac=cart_browser_ie&&(cart_browser_agt.indexOf('mac')!=-1);window.cart_browser_safari=cart_browser_agt.indexOf('safari')!=-1;window.cart_browser_safari1point3plus=cart_browser_safari&&(cart_browser_agt.indexOf('safari/125.')==-1)&&(cart_browser_agt.indexOf('safari/85.')==-1);window.cart_browser_konqueror=cart_browser_agt.indexOf('konqueror')!=-1;window.cart_browser_mozilla=!cart_browser_ie&&!cart_browser_opera&&((cart_browser_agt.indexOf('netscape')!=-1)||(cart_browser_agt.indexOf('mozilla')!=-1))&&(cart_browser_major>=5);window.cart_browser_ie3=cart_browser_ie&&(cart_browser_major<4);window.cart_browser_ie4=cart_browser_ie&&(cart_browser_major==4)&&(cart_browser_agt.indexOf("msie 4")!=-1);window.cart_browser_ie5point5=cart_browser_ie&&(cart_browser_major==4)&&(cart_browser_agt.indexOf("msie 5.5")!=-1);window.cart_browser_ie5=cart_browser_ie&&(cart_browser_major==4)&&(cart_browser_agt.indexOf("msie 5")!=-1)&&!cart_browser_ie5point5;window.cart_browser_ie5point5plus=cart_browser_ie&&!cart_browser_ie3&&!cart_browser_ie4&&!cart_browser_ie5;window.cart_browser_transitions=cart_browser_ie5point5plus&&(cart_browser_agt.indexOf('nt 4')==-1);window.cart_browser_ie6plus=cart_browser_ie&&!cart_browser_ie3&&!cart_browser_ie4&&!cart_browser_ie5&&!cart_browser_ie5point5;window.cart_browser_shadows=cart_browser_ie6plus;window.cart_browser_n6=(cart_browser_agt.indexOf('netscape6')!=-1);window.cart_browser_slides=!cart_browser_konqueror&&!cart_browser_n6;window.cart_browser_overlays=cart_browser_ie5point5plus;window.cart_browser_hideselects=cart_browser_ie&&!cart_browser_iemac;window.cart_browser_addeventhandlers=!cart_browser_iemac;window.cart_browser_contextmenus=cart_browser_addeventhandlers;window.cart_browser_noncustomcontextmenus=cart_browser_contextmenus&&!cart_browser_opera&&!cart_browser_safari;window.cart_browser_expandonclick=cart_browser_addeventhandlers;window.cart_browser_recyclegroups=!cart_browser_n6&&!cart_browser_iemac;window.cart_activexenabled=null;window.cart_browser_backcompatie=cart_browser_ie&&(!cart_browser_ie6plus||document.compatMode=="BackCompat");window.cart_browser_backcompatopera=cart_browser_opera&&document.compatMode=="QuirksMode";window.cart_browser_backcompat=cart_browser_backcompatie||cart_browser_backcompatopera;window.cart_slideframeduration=30;window.Discuz_CheckActiveX=function(){try{document.body.filters;return true;}catch(dummy){return false;};};window.qzAfx=function(qzgx){return cart_browser_ie?qzAev(qzgx):qzAdx(qzgx);};window.qzAfw=function(qzgx){return cart_browser_ie?qzAeu(qzgx):qzAdw(qzgx);};window.qzAev=function(qzgx){return(cart_browser_iemac?qzAds(qzgx):cart_browser_ie4?qzwk(qzgx):qzrp(qzgx));};window.qzAeu=function(qzgx){return(cart_browser_iemac?qzAdr(qzgx):cart_browser_ie4?qzwc(qzgx):qzqw(qzgx));};window.qzrp=function(qzgx){var x=0;while(qzgx.offsetParent!=null){x+=qzgx.offsetLeft;if(qzgx.offsetParent.tagName!="TABLE"&&qzgx.offsetParent.tagName!="TD"&&qzgx.offsetParent.tagName!="TR"&&qzgx.offsetParent.currentStyle!=null){var qzyj=parseInt(qzgx.offsetParent.currentStyle.borderLeftWidth);if(!isNaN(qzyj)){x+=qzyj;};};if(qzgx.offsetParent.tagName=="TABLE"&&qzgx.offsetParent.border>0){x+=1;};qzgx=qzgx.offsetParent;};if(document.compatMode=="CSS1Compat"&&qzgx==document.body){var qzAao=parseInt(qzgx.currentStyle.marginLeft);if(!isNaN(qzAao)){x+=qzAao;};};return x;};window.qzqw=function(qzgx){var y=0;while(qzgx.offsetParent!=null){y+=qzgx.offsetTop;if(qzgx.offsetParent.tagName!="TABLE"&&qzgx.offsetParent.tagName!="TD"&&qzgx.offsetParent.tagName!="TR"&&qzgx.offsetParent.currentStyle!=null){var qzza=parseInt(qzgx.offsetParent.currentStyle.borderTopWidth);if(!isNaN(qzza)){y+=qzza;};};if(qzgx.offsetParent.tagName=="TABLE"&&qzgx.offsetParent.border>0){y+=1;};qzgx=qzgx.offsetParent;};if(document.compatMode=="CSS1Compat"&&qzgx==document.body){var qzAbn=parseInt(qzgx.currentStyle.marginTop);if(!isNaN(qzAbn)){y+=qzAbn;};};return y;};window.qzwk=function(qzgx){var x=0;while(qzgx!=document.body){x+=qzgx.offsetLeft;qzgx=qzgx.offsetParent;};return x;};window.qzwc=function(qzgx){var y=0;while(qzgx!=document.body){y+=qzgx.offsetTop;qzgx=qzgx.offsetParent;};return y;};window.qzAds=function(qzgx){var x=0;while(qzgx.offsetParent!=document.body){x+=qzgx.offsetLeft;qzgx=qzgx.offsetParent;};x+=(qzgx.offsetLeft+qzAfq());return x;};window.qzAdr=function(qzgx){var y=0;while(qzgx.offsetParent!=document.body){y+=qzgx.offsetTop;qzgx=qzgx.offsetParent;};y+=(qzgx.offsetTop+qzAew());return y;};window.qzAfq=function(){if(qzgi==null){if(!document.getElementById("cart_pgmrgmsr")){qzfr();};qzgi=-document.all["cart_pgmrgmsr"].offsetLeft;};return qzgi;};window.qzAew=function(){if(qzgh==null){if(!document.all["cart_pgmrgmsr"]){qzfr();};qzgh=-document.all["cart_pgmrgmsr"].offsetTop;};return qzgh;};window.qzfr=function(){document.body.insertAdjacentHTML('beforeEnd','<div id="cart_pgmrgmsr" style="position:absolute;left:0;top:0;z-index:-1000;visibility:hidden">*</div>');};window.qzAdx=function(qzcg){var x=0;do{if(qzcg.style.position=='absolute'){return x+qzcg.offsetLeft;}else{x+=qzcg.offsetLeft;if(qzcg.offsetParent){if(qzcg.offsetParent.tagName=='TABLE'&&!cart_browser_safari&&!cart_browser_konqueror){if(parseInt(qzcg.offsetParent.border)>0){x+=1;};};};};}while((qzcg=qzcg.offsetParent));return(cart_browser_konqueror?x+qzvl():x);};window.qzAdw=function(qzcg){var y=0;do{if(qzcg.style.position=='absolute'){return y+qzcg.offsetTop;}else{y+=qzcg.offsetTop;if(qzcg.offsetParent){if(qzcg.offsetParent.tagName=='TABLE'&&!cart_browser_safari&&!cart_browser_konqueror){if(parseInt(qzcg.offsetParent.border)>0){y+=1;};};};};}while((qzcg=qzcg.offsetParent));return(cart_browser_konqueror?y+qzun():y);};window.qzvl=function(){if(qzgi==null){qzgi=qzqv();};return qzgi;};window.qzun=function(){if(qzgh==null){qzgh=qzqq();};return qzgh;};window.qzqv=function(){if(!isNaN(parseInt(document.body.style.marginLeft))){return parseInt(document.body.style.marginLeft);};if(!isNaN(parseInt(document.body.style.margin))){return parseInt(document.body.style.margin);};if(!isNaN(parseInt(document.body.leftMargin))){return parseInt(document.body.leftMargin);};return 10;};window.qzqq=function(){if(!isNaN(parseInt(document.body.style.marginTop))){return parseInt(document.body.style.marginTop);};if(!isNaN(parseInt(document.body.style.margin))){return parseInt(document.body.style.margin);};if(!isNaN(parseInt(document.body.topMargin))){return parseInt(document.body.topMargin);};return 10;};window.qzgi=null;window.qzgh=null;window.cart_slidetype_none=0;window.cart_slidetype_exponentialaccelerate=1;window.cart_slidetype_exponentialdecelerate=2;window.qzAam=3;window.cart_slidetype_quadraticaccelerate=4;window.cart_slidetype_quadraticdecelerate=5;window.Discuz_SlidePortionCompleted=function(qzcp,qzwa,qzeb){if(qzeb==cart_slidetype_none||qzcp>=qzwa){return 1;};var qzAcy=(qzeb==cart_slidetype_exponentialaccelerate)||(qzeb==cart_slidetype_quadraticaccelerate);if(qzAcy){qzcp=qzwa-qzcp;};var qzqo=qzcp/qzwa,qzAan;switch(qzeb){case qzAam:qzAan=qzqo;break;case cart_slidetype_exponentialdecelerate:case cart_slidetype_exponentialaccelerate:qzAan=1-Math.pow(1/300,qzqo);break;case cart_slidetype_quadraticdecelerate:case cart_slidetype_quadraticaccelerate:qzAan=Math.pow(qzqo,2);break;};if(qzAcy){qzAan=1-qzAan;};return Math.min(Math.max(0,qzAan),1);};window.qzyh=0;window.qzvy=1;window.qzum=2;window.qzyg=3;window.qzts=4;window.qzsg=5;window.qztw=6;window.qzsq=7;window.qzsp=8;window.qzrt=9;window.qzul=10;window.qztr=11;window.qztq=12;window.qzsf=13;window.qzuk=14;window.qztp=15;window.qzuj=16;window.qzvx=17;window.qzvw=18;window.qzui=19;window.qzuh=20;window.qztv=21;window.qzvv=22;window.Discuz_EffectiveTransitionString=function(qzAgm,qzzm){switch(qzAgm){case qzyh:return null;case qzvy:return qzzm;case qzum:return'progid:DXImageTransform.Microsoft.RandomDissolve()';case qzyg:return'progid:DXImageTransform.Microsoft.Fade()';case qzts:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=CIRCLE)';case qzsg:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=CIRCLE,motion=in)';case qztw:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=CROSS)';case qzsq:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=CROSS,motion=in)';case qzsp:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=DIAMOND)';case qzrt:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=DIAMOND,motion=in)';case qzul:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=PLUS)';case qztr:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=PLUS,motion=in)';case qztq:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=SQUARE)';case qzsf:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=SQUARE,motion=in)';case qzuk:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=STAR)';case qztp:return'progid:DXImageTransform.Microsoft.Iris(irisStyle=STAR,motion=in)';case qzuj:return'progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=20)';case qzvx:return'progid:DXImageTransform.Microsoft.Wheel(spokes=2)';case qzvw:return'progid:DXImageTransform.Microsoft.Wheel(spokes=8)';case qzui:return'progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1)';case qzuh:return'progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0,motion=reverse)';case qztv:return'progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=0)';case qzvv:return'progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse)';};return null;};window.qqDb=function(qzm,qg16){var qzhz,qzzt=qzm.GetProperty('Target');if(!qzzt){qzzt=qg16.DefaultTarget;};var sPostId=qzm.PostBackID;if(!sPostId&&qzm.ID){sPostId='p_'+qzm.ID;};if(sPostId&&(qzm.AutoPostBackOnSelect||(qzm.GetProperty&&qzm.GetProperty('AutoPostBackOnSelect')))){var qzAgp="__doPostBack('"+qg16.ControlId+"','"+sPostId+"')";if(qzm.ClientSideCommand){qg16.ExecutingClientSideCommand=qzm.ClientSideCommand;qzhz="if(eval("+qg16.ClientControlId+".ExecutingClientSideCommand)) {"+qzAgp+";}";}else{qzhz=qzAgp+";";};}else if(qzm.ClientSideCommand){qzhz=qzm.ClientSideCommand;}else if(qzm.NavigateUrl){if(!qzzt){qzhz="document.location.href = '"+Discuz_ConvertUrl(qg16.BaseUrl,qzm.NavigateUrl,qg16.ApplicationPath)+"'";}else{qzhz="window.open('"+Discuz_ConvertUrl(qg16.BaseUrl,qzm.NavigateUrl,qg16.ApplicationPath)+"', '"+qzzt+"')";};}else{qzhz='';};if(qg16.MultiPageId){var sPageViewId;if(qzm.PageViewId){sPageViewId=qzm.PageViewId;}else if(qzm.GetProperty){sPageViewId=qzm.GetProperty('PageViewId');};if(sPageViewId){qzhz=qg16.MultiPageId+".SetPageId('"+sPageViewId+"');"+qzhz;}else{var qqWb=false;if(qg16.qzea){for(var qzba=0;qzba<qg16.qzea.length;qzba++){if(qg16.qzea[qzba].GetProperty('PageViewId')){qqWb=true;break;};};}else{};if(!qqWb){qzhz=qg16.MultiPageId+".SetPageIndex("+qzm.StorageIndex+");"+qzhz;};};};return qzhz;};window.Discuz_CommandNavigatesAway=function(jsCommand){return(jsCommand.indexOf('__doPostBack')!=-1)||(jsCommand.indexOf('document.location.href')!=-1);};window.Discuz_AddEventHandler=function(qzcg,eventName,handler){if(!window.cart_browser_addeventhandlers){return false;};if(qzcg.attachEvent){return qzcg.attachEvent("on"+eventName,handler);}else if(qzcg.addEventListener){qzcg.addEventListener(eventName,handler,false);return true;};return false;};window.Discuz_RemoveEventHandler=function(qzcg,eventName,handler){if(!window.cart_browser_addeventhandlers){return false;};if(qzcg.detachEvent){return qzcg.detachEvent("on"+eventName,handler);}else if(qzcg.removeEventListener){qzcg.removeEventListener(eventName,handler,false);return true;};return false;};window.Discuz_GetAdjustedHeight=function(domObj,height){if(!domObj){return(height?height:0);};if(!height&&height!=0){height=domObj.offsetHeight;};if(cart_browser_ie&&domObj.currentStyle){var currentStyle=domObj.currentStyle;if(currentStyle){var heightAdjustment=0;heightAdjustment+=isNaN(parseInt(currentStyle.borderTopWidth))?0:parseInt(currentStyle.borderTopWidth);heightAdjustment+=isNaN(parseInt(currentStyle.borderBottomWidth))?0:parseInt(currentStyle.borderBottomWidth);heightAdjustment+=isNaN(parseInt(currentStyle.paddingTop))?0:parseInt(currentStyle.paddingTop);heightAdjustment+=isNaN(parseInt(currentStyle.paddingBottom))?0:parseInt(currentStyle.paddingBottom);height-=heightAdjustment;};}else if(document.defaultView&&document.defaultView.getComputedStyle){var currentStyle=document.defaultView.getComputedStyle(domObj,'');if(currentStyle){var heightAdjustment=0;heightAdjustment+=currentStyle.getPropertyValue("border-top-width")?parseInt(currentStyle.getPropertyValue("border-top-width")):0;heightAdjustment+=currentStyle.getPropertyValue("border-bottom-width")?parseInt(currentStyle.getPropertyValue("border-bottom-width")):0;heightAdjustment+=currentStyle.getPropertyValue("padding-top")?parseInt(currentStyle.getPropertyValue("padding-top")):0;heightAdjustment+=currentStyle.getPropertyValue("padding-bottom")?parseInt(currentStyle.getPropertyValue("padding-bottom")):0;height-=heightAdjustment;};};return height;};window.Discuz_GetAdjustedWidth=function(domObj,width){if(!domObj){return(width?width:0);};if(!width&&width!=0){width=domObj.offsetWidth;};if(cart_browser_ie&&domObj.currentStyle){var currentStyle=domObj.currentStyle;if(currentStyle){var widthAdjustment=0;widthAdjustment+=isNaN(parseInt(currentStyle.borderLeftWidth))?0:parseInt(currentStyle.borderLeftWidth);widthAdjustment+=isNaN(parseInt(currentStyle.borderRightWidth))?0:parseInt(currentStyle.borderRightWidth);widthAdjustment+=isNaN(parseInt(currentStyle.paddingLeft))?0:parseInt(currentStyle.paddingLeft);widthAdjustment+=isNaN(parseInt(currentStyle.paddingRight))?0:parseInt(currentStyle.paddingRight);width-=widthAdjustment;};}else if(document.defaultView&&document.defaultView.getComputedStyle){var currentStyle=document.defaultView.getComputedStyle(domObj,'');if(currentStyle){var widthAdjustment=0;widthAdjustment+=currentStyle.getPropertyValue("border-left-width")?parseInt(currentStyle.getPropertyValue("border-left-width")):0;widthAdjustment+=currentStyle.getPropertyValue("border-right-width")?parseInt(currentStyle.getPropertyValue("border-right-width")):0;widthAdjustment+=currentStyle.getPropertyValue("padding-left")?parseInt(currentStyle.getPropertyValue("padding-left")):0;widthAdjustment+=currentStyle.getPropertyValue("padding-right")?parseInt(currentStyle.getPropertyValue("padding-right")):0;width-=widthAdjustment;};};return width;};window.Discuz_CancelEvent=function(qzim){if(document.all){if(!qzim){qzim=event;};qzim.cancelBubble=true;qzim.returnValue=false;}else if(qzim){qzim.preventDefault();qzim.stopPropagation();};return false;};window.Discuz_IsMouseOnObject=function(qzbc,x,y){var qzAjp=qzAfx(qzbc)-window.document.body.scrollLeft+1,qzAkv=qzAfw(qzbc)-window.document.body.scrollTop+1,qzAln=qzAjp+qzbc.offsetWidth-1,qzAku=qzAkv+qzbc.offsetHeight-1;return((x>qzAjp)&&(x<qzAln)&&(y>qzAkv)&&(y<qzAku));};window.Discuz_RemoveValueFromArray=function(array,value){for(var qzba=0;qzba<array.length;qzba++){if(array[qzba]==value){Discuz_RemovePositionFromArray(array,qzba);};};};window.Discuz_RemovePositionFromArray=function(array,position){if(array.length>0){for(var qzba=position;qzba<array.length-1;qzba++){array[qzba]=array[qzba+1];};array.length--;};};window.Discuz_AddElementToArray=function(array,qzcg,position){if(position==null){position=array.length;};array.length++;for(var qzba=array.length-2;qzba>=position;qzba--){array[qzba+1]=array[qzba];};array[position]=qzcg;};window.Discuz_FindInArray=function(array,item){for(var qzba=0;qzba<array.length;qzba++){if(array[qzba]==item){return qzba;};};return null;};window.FindPropertyValueInStorageArray=function(array,qqGt){for(var qzba=0;qzba<array.length;qzba+=2){if(array[qzba]==qqGt){return qzba+1;};};return null;};window.FindPropertyIndexInStorageArray=function(array,qqGz){for(var qzba=0;2*qzba<array.length;qzba++){if(array[2*qzba]==qqGz){return qzba;};};return null;};window.Discuz_Quote=function(str){if(str==null){return'null';}else{return'\''+str+'\'';};};window.Discuz_Contains=function(qzvj,qzqm){if(qzqm==null||qzvj==null){return false;};if(cart_browser_ie){return qzvj.contains(qzqm);};if(qzqm==qzvj){return true;}while(qzqm.parentNode){qzqm=qzqm.parentNode;if(qzqm==qzvj){return true;};};return false;};window.Discuz_ToElement=function(event){if(event==null){return null;};if(cart_browser_ie){return event.toElement;};if(event.type=='mouseover'){return event.target;};if(event.type=='mouseout'){return event.relatedTarget;};return null;};window.Discuz_FromElement=function(event){if(event==null){return null;};if(event.fromElement!=null){return event.fromElement;};if(event.type=='mouseover'){return event.relatedTarget;};if(event.type=='mouseout'){return event.target;};return null;};window.Discuz_IsStray=function(qzcg){while(qzcg!=null&&qzcg!=document.documentElement){qzcg=qzcg.parentNode;};return qzcg!=document.documentElement;};window.Discuz_IsUrlAbsolute=function(url){if(url==null){return false;};for(var qzba=0;qzba<Discuz_IsUrlAbsolute.AbsolutePrefixes.length;qzba++){if(url.substring(0,Discuz_IsUrlAbsolute.AbsolutePrefixes[qzba].length)==Discuz_IsUrlAbsolute.AbsolutePrefixes[qzba]){return true;};};return false;};Discuz_IsUrlAbsolute.AbsolutePrefixes=['/','about:','file:///','ftp://','gopher://','http://','https://','javascript:','mailto:','news:','res://','telnet://','view-source:'];window.Discuz_ConvertUrl=function(baseUrl,url,appPath){if(appPath&&url.indexOf('~')==0){if(appPath.charAt(appPath.length-1)=='/'){appPath=appPath.substring(0,appPath.length-1);};url=url.replace(/\~/,appPath);};if(!baseUrl){return url;}else if(Discuz_IsUrlAbsolute(url)){return url;}else{return[baseUrl,url].join('');};};window.Discuz_InstantiateClientTemplate=function(qg34,Parent,DataItem){var arChunks=qg34.split("##");for(var qzba=1;qzba<arChunks.length;qzba+=2){arChunks[qzba]=eval(arChunks[qzba]);};return arChunks.join('');};window.qqGp=function(qqGk,storageArray){var object=new qqGk();for(var qzba=0;qzba<object.qqGr.length;qzba+=2){object[object.qqGr[qzba]]=null;};for(var qzba=0;qzba<object.TransitoryProperties.length;qzba+=2){object[object.TransitoryProperties[qzba]]=null;};for(var qzba=0;qzba<storageArray.length;qzba+=2){var qqGt=2*storageArray[qzba],qqGy=storageArray[qzba+1],qqGz=object.qqGr[qqGt],qqGj=object.qqGr[qqGt+1];object[qqGz]=qqGj?qqGp(qqGj,qqGy):qqGy;};var qqGm=arguments.length-2;for(var qzba=0;qzba<qqGm&&qzba<object.TransitoryProperties.length;qzba++){var qqGz=object.TransitoryProperties[qzba];object[qqGz]=arguments[2+qzba];};return object;};window.Discuz_SetProperties=function(qzgx,nameValueArray){while(!nameValueArray[nameValueArray.length-1]){nameValueArray.length--;};for(var qzba=0;qzba<nameValueArray.length;qzba++){qzgx[nameValueArray[qzba][0]]=nameValueArray[qzba][1];};};window.Discuz_CalculateProperties=function(sourceObject,propertyNameList,destinationObject){if(destinationObject==null){destinationObject=sourceObject;};for(var qqGz in propertyNameList){destinationObject[qqGz]=sourceObject.GetProperty(qqGz);};};window.Discuz_ElementContainer=function(parentElement,qzmp,qzdx){this.ParentElement=parentElement!=null?parentElement:Discuz_ElementContainer.CreateParentContainerElement();this.qzpz=new Array();this.qzdx=(qzdx!=null&&qzdx>0)?qzdx:Discuz_ElementContainer.DefaultCapacityIncrement;this.qzse=this.ParentElement.childNodes.length;qzmp=(qzmp!=null&&qzmp>0)?qzmp:Discuz_ElementContainer.DefaultInitialCapacity;this.qzyc(qzmp);this.qzcw=0;};window.Discuz_ElementContainer.DefaultInitialCapacity=12;window.Discuz_ElementContainer.DefaultCapacityIncrement=4;window.Discuz_ElementContainer.CreateParentContainerElement=function(){var bodyOrForm=(document.forms!=null&&document.forms[0]!=null&&document.forms[0].parentNode!=null&&document.forms[0].parentNode.tagName=='BODY')?document.forms[0]:document.getElementsByTagName('BODY')[0],containerElement;if(window.cart_browser_iemac){containerElement=bodyOrForm.appendChild(document.createElement('span'));}else{containerElement=bodyOrForm.insertBefore(document.createElement('span'),bodyOrForm.firstChild);};if(window.cart_browser_opera){containerElement.style.position='absolute';containerElement.style.left='0px';containerElement.style.top='0px';};return containerElement;};window.Discuz_ElementContainer.prototype.qzyc=function(qzdx){if(qzdx==null||qzdx<=0){qzdx=this.qzdx;};var qzAji=this.qzse,qzAjh=this.qzpz.length=this.qzse+=qzdx;for(var qzba=qzAji;qzba<qzAjh;qzba++){this.qzpz[qzba]=this.ParentElement.appendChild(document.createElement('div'));this.qzpz[qzba].ContainerIndex=qzba;this.qzpz[qzba].style.position='absolute';this.qzpz[qzba].style.zIndex=-999;this.qzpz[qzba].style.left='0px';this.qzpz[qzba].style.top='0px';};};window.Discuz_ElementContainer.prototype.Add=function(htmlMarkup){if(this.qzcw>=this.qzse){this.qzyc();};this.qzpz[this.qzcw].style.visibility='hidden';this.qzpz[this.qzcw].innerHTML=htmlMarkup;this.qzpz[this.qzcw]['taken']=true;var qzAfs=this.qzpz[this.qzcw].firstChild;qzAfs.ContainerIndex=this.qzcw;for(var qzba=this.qzcw+1;qzba<this.qzse;qzba++){if(!this.qzpz[qzba]['taken']){this.qzcw=qzba;break;};};if(this.qzcw<this.qzse&&this.qzpz[this.qzcw]['taken']){this.qzcw=this.qzse;};return qzAfs;};window.Discuz_ElementContainer.prototype.Remove=function(index){if(index<0||this.qzse<=index){return;};this.qzpz[index].innerHTML='';this.qzpz[index]['taken']=false;if(index<this.qzcw){this.qzcw=index;};};window.Discuz_ElementContainer.prototype.Clear=function(){var slotElements=this.ParentElement.childNodes;for(var qzba=0;qzba<slotElements.length;qzba++){slotElements[qzba].innerHTML='';slotElements[qzba].ContainerIndex=qzba;slotElements[qzba].style.position='absolute';slotElements[qzba].style.zIndex=-999;slotElements[qzba].style.left='0px';slotElements[qzba].style.top='0px';slotElements[qzba]['taken']=false;};this.qzcw=0;};window.Discuz_Hashtable=function(){};Discuz_Hashtable.prototype.Count=function(){var qzba=0;for(qztk in this){qzba++;};return qzba-1;};window.Discuz_ClientStateControls=[];window.Discuz_FormSubmitPrepare=function(){for(var qzba=0;qzba<Discuz_ClientStateControls.length;qzba++){if(Discuz_ClientStateControls[qzba].SaveData){Discuz_ClientStateControls[qzba].SaveData();};};};window.Discuz_FormSubmitHandler=function(qzim){Discuz_FormSubmitPrepare();if(Discuz_OldSubmitHandler){return Discuz_OldSubmitHandler(qzim);};};window.Discuz_DoPostBack=function(arg1,arg2){Discuz_FormSubmitPrepare();Discuz_OldDoPostBack(arg1,arg2);};window.Discuz_HookFormSubmitAttempts=0;window.Discuz_HookFormSubmit=function(){if(Discuz_HookFormSubmitAttempts>10){return;};Discuz_HookFormSubmitAttempts++;if(window.RuntimeVersion){if(!(Sys&&Sys.WebForms&&Sys.WebForms.PageRequestManager)){setTimeout('Discuz_HookFormSubmit()',250);return;};}else{if(!window.__doPostBack){setTimeout('Discuz_HookFormSubmit()',100);return;};};if(document.forms[0]&&document.forms[0].onsubmit!=Discuz_FormSubmitHandler){window.Discuz_OldSubmitHandler=document.forms[0].onsubmit;document.forms[0].onsubmit=Discuz_FormSubmitHandler;};if(window.__doPostBack&&window.__doPostBack!=Discuz_DoPostBack){window.Discuz_OldDoPostBack=window.__doPostBack;window.__doPostBack=Discuz_DoPostBack;};};setTimeout('Discuz_HookFormSubmit()',100);window.Discuz_Utils_Loaded=true;};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -