Array.prototype.indexOf=function(C){var B=-1;for(var A=0;A<this.length;A++){if(this[A]==C){B=A;break}}return B};_=document;_.id=function(A){return this.getElementById(A)};if(window.Node&&window.XMLSerializer){Node.prototype.__defineGetter__("outerHTML",function(){return new XMLSerializer().serializeToString(this)});Node.prototype.__defineSetter__("outerHTML",function(B){var A=document.createRange();A.selectNode(this);var C=A.createContextualFragment(B);this.parentNode.replaceChild(C,this);return B})}String.prototype.trim=function(){var B=this.replace(/^\s+/,"");for(var A=B.length-1;A>=0;A--){if(/\S/.test(B.charAt(A))){B=B.substring(0,A+1);break}}return B};var fwAdd=false,fwEditor=false;var fw={startList:new Array(),onLoadList:new Array(),_ie:
/*@cc_on!@*/
false,__isstr:function(A){return typeof A=="string"},__unbind_test:function(node,type,listener){if(node.removeEventListener){node.removeEventListener(type,listener,false);
/*@cc_on node.detachEvent('on' + type, listener); @*/
}},init:function(){fw.browser()},addStart:function(A){this.startList[this.startList.length]=A},addonLoad:function(A){this.onLoadList[this.onLoadList.length]=A},browser:function(){this.isOpera=this.isSafari=this.isFF=this.isIE=this.isKhtml=this.isAIR=this.isMoz=false;var B=navigator.userAgent;var D=navigator.appVersion;var A=parseFloat(D);if(B.indexOf("Opera")>=0){this.isOpera=A}var C=Math.max(D.indexOf("WebKit"),D.indexOf("Safari"),0);if(C){this.isSafari=parseFloat(D.split("Version/")[1])||(parseFloat(D.substr(C+7))>419.3)?3:2}if(B.indexOf("AdobeAIR")>=0){this.isAIR=1}if(D.indexOf("Konqueror")>=0||this.isSafari){this.isKhtml=A}if(B.indexOf("Gecko")>=0&&!this.isKhtml){this.isMoz=A}if(this.isMoz){this.isFF=parseFloat(B.split("Firefox/")[1])||undefined}if(document.all&&!this.isOpera){this.isIE=parseFloat(D.split("MSIE ")[1])||undefined}},getParam:function(D){var I,H,G,C,E,F,B,A=new Array();I=D.split(";");for(E=0;E<I.length;E++){if(I[E].indexOf(":")>-1){H=I[E].split(":");if(H[1].indexOf(",")>-1){G=H[1].split(",")}else{G=[H[1]]}F=H[0].trim();A[F]=new Array();for(C=0;C<G.length;C++){B=G[C].trim();if(B){A[F][A[F].length]=B}}}}return A},mouse:function(A){if(!A){A=window.event}var C={x:0,y:0};if(A.pageX){C.x=A.pageX;C.y=A.pageY}else{if(A.clientX){C.x=A.clientX+document.body.scrollLeft-document.body.clientLeft;C.y=A.clientY+document.body.scrollTop-document.body.clientTop;if(document.body.parentElement&&document.body.parentElement.clientLeft){var B=document.body.parentElement;C.x+=B.scrollLeft-B.clientLeft;C.y+=B.scrollTop-B.clientTop}}}return C},scrollTop:function(){return self.pageYOffset||(document.documentElement&&document.documentElement.scrollTop)||(document.body&&document.body.scrollTop)},scrollLeft:function(){return self.pageXOffset||(document.documentElement&&document.documentElement.scrollLeft)||(document.body&&document.body.scrollLeft)},getDocumentHeight:function(){return(document.body.scrollHeight>document.body.offsetHeight)?document.body.scrollHeight:document.body.offsetHeight},getDocumentWidth:function(){return(document.body.scrollWidth>document.body.offsetWidth)?document.body.scrollWidth:document.body.offsetWidth},attr:function(B,A){return B.attributes.getNamedItem(A)?B.attributes.getNamedItem(A).value:null},style:function(D,C){if(typeof C=="string"){var A=false;if(C=="opacity"){A=100;if(D.style.opacity){A=D.style.opacity*100}if(D.style.MozOpacity){A=D.style.MozOpacity*100}if(D.style.KhtmlOpacity){A=D.style.KhtmlOpacity*100}if(D.style.filter){A=D.style.filter.match(/opacity=(\d*)/)[1]}}else{if(D&&D.currentStyle){A=D.currentStyle[C]}else{if(document.defaultView&&document.defaultView.getComputedStyle){if(C.match(/[A-Z]/)){C=C.replace(/([A-Z])/g,"-$1").toLowerCase()}A=document.defaultView.getComputedStyle(D,"").getPropertyValue(C)}else{if(D[C]){A=D[C]}}}}return A}else{if(typeof C=="object"){for(var B in C){if(B=="opacity"){if(typeof D.style.opacity!="undefined"){D.style.opacity=(C[B]/100)}if(typeof D.style.MozOpacity!="undefined"){D.style.MozOpacity=(C[B]/100)}if(typeof D.style.KhtmlOpacity!="undefined"){D.style.KhtmlOpacity=(C[B]/100)}if(typeof D.style.filter!="undefined"){D.style.filter="alpha(opacity="+C[B]+")"}}else{D.style[B]=C[B]}}}}},anim:{_d:function(D){if(!D){return}var C={};var B,F,A=0;D.animParam.counter--;for(var E in D.animParam.properties){if(D.animParam.counter){B=D.animParam.properties[E].step;D.animParam.properties[E].cur+=B;C[E]=parseInt(D.animParam.properties[E].cur)+D.animParam.properties[E].unit}else{C[E]=D.animParam.properties[E].end+D.animParam.properties[E].unit}}fw.style(D,C);if(D.animParam.counter){D.anim=setTimeout(function(){fw.anim._d(D)},D.animParam.rate)}else{if(typeof D.animParam.onEnd!="undefined"){D.anim=false;D.animParam.onEnd()}}},p:function(A){obj=A.node;delete (A.node);A.duration=typeof A.duration=="undefined"?1000:A.duration;A.rate=typeof A.rate=="undefined"?50:A.rate;A.easing=typeof A.easing=="undefined"?1:A.easing;A.loop=Math.ceil(A.duration/A.rate);A.counter=A.loop;for(var B in A.properties){if(typeof A.properties[B]!="object"){A.properties[B]={start:parseInt(fw.style(obj,B)),end:A.properties[B],unit:"px"};if(B=="opacity"){A.properties[B].unit=""}}else{if(!A.properties[B].unit){A.properties[B].unit="px";if(B=="opacity"){A.properties[B].unit=""}}}A.properties[B].step=(parseInt(A.properties[B].end)-parseInt(A.properties[B].start))/A.loop;A.properties[B].cur=parseInt(A.properties[B].start)}obj.animParam=A;if(obj.anim){fw.anim.s(obj)}fw.anim._d(obj)},s:function(A){clearTimeout(A.anim);A.anim=false}},bind:function(C,A,B){if(window.addEventListener){C.addEventListener(A,function(D){B(this,D)},false)}else{if(window.attachEvent){C.attachEvent("on"+A,function(D){B(D.srcElement,D)})}else{C.onmouseover=function(D){B(this,D)}}}},htmlToStr:function(A){A=A.replace(/<(\w\w*)(\s?[^>]*)>([^<]*)?(<\/\w\w*>)?/gi,'<span style="color:#0A8DAC">&lt;$1</span><span style="color:#B73D00">$2</span><span style="color:#0A8DAC">&gt;</span><span class="taginner">$3</span><span style="color:#0A8DAC">$4</span>');A=A.replace(/\r/gi,"");A=A.replace(/\n/gi,"<br>");return A},cl:function(A){if(typeof this.consoleDiv=="undefined"){this.consoleDiv=document.createElement("div");document.body.appendChild(this.consoleDiv)}this.consoleDiv.innerHTML+="<div>"+A+"</div>"},coords:function(D){var C=D;var A=h=l=t=0;try{A=C.offsetWidth;h=C.offsetHeight;while(C){l+=C.offsetLeft;t+=C.offsetTop;C=C.offsetParent}}catch(B){}return{x:l,y:t,w:A,h:h}},dump:function(E,A){var D=[];A=typeof A=="undefined"?"":A;for(var B in E){D.push("<li>"+A+"."+B+"=");try{D.push(E[B])}catch(C){D.push('<span style="color: red;">'+C+"</span>")}D.push("</li>")}this.cl(D.join(""))},gallery:{removeSrc:/(.+)\/previe[whd]\d+\/(.+)/g,loadImg:new Image,imgE:null,showFull:false,coord:{},extA:{},extLoad:{},extDiv1:{},extDiv2:{},extImg:{},init:function(){if(document.getElementById("galNoPre")){return}this.extLoad=document.createElement("div");fw.style(this.extLoad,{position:"absolute",display:"none",width:"0px"});this.extDiv1=document.createElement("div");fw.style(this.extDiv1,{position:"absolute",zIndex:"100",display:"none",border:"1px solid #bbbbbb"});this.extDiv2=document.createElement("div");fw.style(this.extDiv2,{position:"relative",border:"10px solid white"});this.extA=document.createElement("a");this.extA.target="_blank";this.extImg=document.createElement("img");this.extImg.style.border="0px";this.extDiv1.appendChild(this.extLoad);document.body.appendChild(this.extDiv1).appendChild(this.extDiv2).appendChild(this.extA).appendChild(this.extImg);fw.bind(this.extImg,"mouseout",function(F,E){var D=fw.gallery;if(D.imgE){D.mouseOut(E)}});fw.bind(this.extImg,"load",function(F,E){var D=fw.gallery;if(F.src.match(D.removeSrc)){return}if(D.extLoad.anim){fw.anim.s(D.extLoad)}fw.style(D.extLoad,{display:"none"});D.loadImg.src=F.src;ww=document.body.clientWidth;wh=document.body.clientHeight;resizeHeight=1;resizeWidth=1;h=D.loadImg.height;w=D.loadImg.width;if(h>wh-40){resizeHeight=(wh-40)/h}if(w>ww-40){resizeWidth=(ww-40)/w}if(resizeHeight<resizeWidth){h=parseInt(h*resizeHeight);w=parseInt(w*resizeHeight)}if(resizeWidth<resizeHeight){w=parseInt(w*resizeWidth);h=parseInt(h*resizeWidth)}fw.anim.p({node:D.extDiv2,duration:100,rate:20,properties:{opacity:100}});fw.anim.p({node:D.extImg,duration:10,rate:2,properties:{opacity:40},onEnd:function(){fw.anim.p({node:D.extDiv1,duration:200,rate:10,easing:2,properties:{left:{start:D.coord.x,end:(ww-w)/2+fw.scrollLeft()-10,unit:"px"},top:{start:D.coord.y,end:(wh-h)/2+fw.scrollTop()-10,unit:"px"},opacity:100}});fw.anim.p({node:D.extImg,duration:200,rate:10,easing:2,properties:{width:{start:D.coord.w,end:w,unit:"px"},height:{start:D.coord.h,end:h,unit:"px"},opacity:100}})}});D.showFull=true});var B=document.getElementsByTagName("img");var C=B.length;var A;for(i=0;i<C;i++){A=B[i];if(A.src.match(this.removeSrc)){A.alt=A.alt.substring(0,1)=="*"?A.alt.substring(1):A.alt;fw.bind(A,"mouseover",function(F,E){var D=fw.gallery;if(D.imgE!=null&&D.imgE.src!=F.src||D.imgE==null){if(D.imgE){D.mouseOutDo()}D.imgE=F;if(D.extLoad.anim){fw.anim.s(D.extLoad)}if(D.extImg.anim){fw.anim.s(D.extImg)}if(D.extDiv1.anim){fw.anim.s(D.extDiv1)}if(D.extDiv2.anim){fw.anim.s(D.extDiv2)}D.coord=fw.coords(F);D.coord.x-=11;D.coord.y-=11;fw.style(D.extDiv2,{opacity:80});fw.style(D.extLoad,{display:"none"});D.extImg.src=F.src;fw.style(D.extImg,{width:D.coord.w+"px",height:D.coord.h+"px",opacity:0});D.extA.href=F.src.replace(D.removeSrc,"$1/$2");fw.style(D.extDiv1,{left:D.coord.x+"px",top:D.coord.y+"px",opacity:0,display:""});fw.anim.p({node:D.extDiv1,duration:500,properties:{opacity:100}});fw.anim.p({node:F,duration:500,rate:20,properties:{opacity:{start:100,end:40}},onEnd:function(){D.extLoad.anim=setTimeout(function(){D.wait()},10);D.extImg.src=F.src.replace(D.removeSrc,"$1/$2")}})}});fw.bind(A,"mouseout",function(E,D){fw.gallery.mouseOut(D)})}}},mouseOutDo:function(){var A=fw.gallery;if(A.imgE){if(A.imgE.anim){fw.anim.s(A.imgE)}var B=parseInt(fw.style(A.imgE,"opacity"));fw.anim.p({node:A.imgE,duration:parseInt(1000/(100-40)*(100-B)),properties:{opacity:{start:B,end:100}}});if(A.extLoad.anim){fw.anim.s(A.extLoad)}if(A.extImg.anim){fw.anim.s(A.extImg)}if(A.extDiv1.anim){fw.anim.s(A.extDiv1)}A.imgE=null}},mouseOut:function(D){var C=fw.gallery;var B=0;var A=fw.mouse(D);c=fw.coords(C.imgE);B+=(A.x-2<=c.x||A.x>=c.x+c.w||A.y-2<=c.y||A.y>=c.y+c.h)?1:0;if(B==1){C.mouseOutDo();if(C.showFull){fw.anim.p({node:C.extDiv1,duration:150,rate:15,properties:{left:C.coord.x,top:C.coord.y,opacity:0},onEnd:function(){fw.style(C.extDiv1,{display:"none"})}});fw.anim.p({node:C.extImg,duration:150,rate:15,properties:{width:C.coord.w,height:C.coord.h}});C.showFull=false}else{fw.anim.p({node:C.extDiv1,duration:500,properties:{opacity:0},onEnd:function(){fw.style(C.extDiv1,{display:"none"})}})}C.imgE=null}},wait:function(){var A=fw.gallery;height=parseInt(A.coord.h/5);fw.style(A.extLoad,{width:A.coord.w+"px",height:"0px",top:"10px",left:"10px",display:"",opacity:0,backgroundColor:"#000",border:"0px none",fontSize:"0px"});fw.anim.p({node:A.extLoad,duration:200,rate:40,properties:{height:{start:0,end:height,unit:"px"},opacity:50},onEnd:function(){fw.anim.p({node:A.extLoad,duration:1000,rate:40,properties:{top:{start:10,end:(A.coord.h+11-height),unit:"px"}},onEnd:function(){fw.anim.p({node:A.extLoad,duration:200,rate:40,properties:{top:(A.coord.h+11),height:0,opacity:0},onEnd:function(){A.wait()}})}})}})}},news:{news:{},firstNews:{},scrollNews:function(){this.news.scrollTop+=1;if(this.news.scrollTop<this.firstNews.scrollHeight){}else{this.news.appendChild(this.firstNews);this.news.scrollTop=0;this.firstNews=this.news.getElementsByTagName("div")[0]}fw.news.news.anim=setTimeout("fw.news.scrollNews()",50)},init:function(){this.news=document.getElementById("newsScroll");if(!this.news){return}fw.style(this.news,{overflow:"hidden"});var A=this.news.getElementsByTagName("a");var B=A.length;for(i=0;i<B;i++){fw.bind(A[i],"mouseover",function(D,C){clearTimeout(fw.news.news.anim)});fw.bind(A[i],"mouseout",function(D,C){fw.news.scrollNews()})}this.firstNews=this.news.getElementsByTagName("div")[0];fw.news.scrollNews()}},tabControl:{base:{},select:"0",getSelect:function(A){return A.id.substr(2)},isSelect:function(A){return fw.tabControl.getSelect(A)==fw.tabControl.select},init:function(){this.base=document.getElementById("tabControl");if(!this.base){return}var E=true;var B=this.base.attributes;for(var G=0;G<B.length;G++){if(B.item(G).name=="param"&&B.item(G).value=="image"){E=false}}B=null;var H,F,G,D;var A=fw.tabControl;D=0;var C=new Array();H=this.base.firstChild;while(H){if(H.nodeType==1){H.id="tabContent"+D;C[D]=H;if(D){fw.style(H,{display:"none"})}for(var G=0;G<H.attributes.length;G++){if(H.attributes.item(G).name=="param"&&H.attributes.item(G).value=="active"){this.select=""+D}}D++}H=H.nextSibling}if(this.select!="0"){fw.style(document.getElementById("tabContent0"),{display:"none"});fw.style(document.getElementById("tabContent"+fw.tabControl.select),{display:""})}H=document.createElement("div");H.id="tabPanel";this.base.insertBefore(H,this.base.firstChild);for(G=0;G<C.length;G++){H.appendChild(C[G])}tabButton=document.createElement("div");tabButton.id="tabButton";this.base.insertBefore(tabButton,this.base.firstChild);for(G=0;G<C.length;G++){F=document.createElement("div");if(E){F.innerHTML=C[G].title}else{F.innerHTML='<input type="button" value=" " class="l" /><input class="t" type="submit" value="'+C[G].title+'" /><input type="button" value=" " class="r" />'}C[G].title="";F.id="tb"+G;F.className=A.isSelect(F)?"tbs":"tb";tabButton.appendChild(F);fw.bind(F,"mouseover",function(J,I){while(!J.id){J=J.parentNode}J.className=A.isSelect(J)?"tbso":"tbo"});fw.bind(F,"mouseout",function(J,I){while(!J.id){J=J.parentNode}J.className=A.isSelect(J)?"tbs":"tb"});fw.bind(F,"click",function(K,J){if(!E){while(!K.id){K=K.parentNode}var I=K.firstChild;while(I){I.blur();I=I.nextSibling}if(A.isSelect(K)){return}}K.className="tbso";document.getElementById("tb"+fw.tabControl.select).className="tb";fw.style(document.getElementById("tabContent"+fw.tabControl.select),{display:"none"});fw.tabControl.select=fw.tabControl.getSelect(K);fw.style(document.getElementById("tabContent"+fw.tabControl.select),{display:""})})}}},stripyTable:{init:function(){var C=document.getElementsByTagName("table");for(var B=0;B<C.length;B++){if(C[B].className.indexOf("stripyTable")>-1){var D=C[B].getElementsByTagName("tr");for(var A=0;A<D.length;A++){D[A].className+=((A%2)==0?"oddRow":"evenRow")}}}}},openingList:{init:function(){var H=document.getElementsByTagName("div");var A=new Array();var G=new Array();for(var D=0;D<H.length;D++){if(H[D].className.indexOf("openingList")>-1){if(fw.attr(H[D],"param")){var B=fw.getParam(fw.attr(H[D],"param"))["tag"][0].toLowerCase();var F=H[D].firstChild;while(F){if(F.nodeName.toLowerCase()==B){A.push(F)}else{if(A.length>G.length){G[A.length-1]=new Array()}if(G.length){G[G.length-1][G[G.length-1].length]=F}}F=F.nextSibling}}}}if(A.length){fw.fwLastOpeningListObj=null}for(var D=0;D<A.length;D++){var C=_.createElement("div");fw.style(C,{display:"none"});A[D].parentNode.insertBefore(C,A[D].nextSibling);for(var E=0;E<G[D].length;E++){C.appendChild(G[D][E])}fw.style(A[D],{cursor:"pointer"});fw.bind(A[D],"mouseover",function(J,I){J.className="openingListOver"});fw.bind(A[D],"mouseout",function(J,I){J.className=""});fw.bind(A[D],"click",function(J,I){if(fw.fwLastOpeningListObj&&fw.fwLastOpeningListObj!=J.nextSibling){fw.fwLastOpeningListObj.style.display="none"}J.nextSibling.style.display=J.nextSibling.style.display=="none"?"":"none";fw.fwLastOpeningListObj=J.nextSibling})}}},textGradient:{init:function(D,C,J){var N,M,H,E,G,S,L="",Q,B=[[],[]],I,K,A;var F=function(V){var T=[0,0,0];if(typeof V=="string"){for(var U=0;U<3;U++){T[U]=parseInt(V.substr(U*2,2),16)}return T}return null};B[0]=F(J[0]);B[1]=F(J[1]);N=document.getElementsByTagName(D);for(var R=0;R<N.length;R++){if(C){if(N[R].className.indexOf(C)==-1){continue}}M=N[R].innerText?N[R].innerText:N[R].textContent;E=this.getList(N[R]);H=0;for(var P=0;P<E.length;P++){G=E[P][0];if(G.nodeType!=3){continue}L="";for(var O=0;O<G.nodeValue.length;O++){Q=E[P][0].nodeValue.charAt(O);if(Q==" "){L+=" ";continue}I=parseInt(B[0][0]+(B[1][0]-B[0][0])*(H/M.length));K=parseInt(B[0][1]+(B[1][1]-B[0][1])*(H/M.length));A=parseInt(B[0][2]+(B[1][2]-B[0][2])*(H/M.length));L+='<span style="color: RGB('+I+","+K+","+A+')">'+Q+"</span>";H++}S=document.createElement("span");S.innerHTML=L;G.parentNode.replaceChild(S,G)}}},getList:function(A,E,F){var D,C;if(typeof E=="undefined"){E=new Array()}if(typeof F=="undefined"){F=0}F++;for(var B=0;B<A.childNodes.length;B++){D=A.childNodes[B];C=E.length;E[C]=new Array();E[C][0]=D;E[C][1]=F;this.getList(D,E,F)}return E}},slideshow:{loadImg:new Image,loadImgTimer:0,path:"",ext:"",count:0,delay:0,duration:0,newimg:"",oldimg:"",isFadeShow:false,showList:new Array,isWork:false,img:null,imgDiv:null,init:function(){var D,E,C,B;this.img=document.getElementById("slideShow");if(!this.img){return}if(this.img.tagName.toLowerCase()!="img"){return}C={param:"",width:0,height:0,src:""};B=0;for(var A=0;A<this.img.attributes.length;A++){if(this.img.attributes.item(A).name=="param"||this.img.attributes.item(A).name=="width"||this.img.attributes.item(A).name=="height"||this.img.attributes.item(A).name=="src"){C[this.img.attributes.item(A).name]=this.img.attributes.item(A).value;B++}}if(B<4){if(C.param&&C.src){this.isFadeShow=true}else{return}}E=C.param.split(";");this.showList=E[0].split(",");if(this.showList.length>1){this.isFadeShow=true}if(this.isFadeShow){D=C.src.match("^(.+/).+.[jpgifn]{3}$");if(!D){return}this.count=0}else{D=C.src.match("^(.+)[0-9]{1,2}.([jpgifn]{3})$");if(!D){return}this.imgDiv=document.createElement("div");fw.style(this.imgDiv,{position:"relative",backgroundRepeat:"no-repeat",width:C.width+"px",height:C.height+"px"});this.img.parentNode.replaceChild(this.imgDiv,this.img);this.imgDiv.appendChild(this.img);this.ext=D[2];this.count=parseInt(E[0])}this.path=D[1];this.duration=parseInt(E[1]);this.delay=parseInt(E[2]);this.oldimg=C.src;this.isWork=true;setTimeout("fw.slideshow.nextSlide()",this.delay);fw.bind(this.loadImg,"load",function(H,G){var F=fw.slideshow;clearTimeout(F.loadImgTimer);if(F.isFadeShow){fw.anim.p({node:F.img,duration:F.duration,rate:20,properties:{opacity:{start:100,end:0}},onEnd:function(){if(F.isWork){F.img.src=F.newimg;fw.anim.p({node:F.img,duration:F.duration,rate:20,properties:{opacity:{start:0,end:100}},onEnd:function(){if(F.isWork){setTimeout("fw.slideshow.nextSlide()",F.delay)}}})}}})}else{F.imgDiv.style.backgroundImage="url("+F.oldimg+")";fw.style(F.img,{opacity:0});F.img.src=F.newimg;fw.anim.p({node:F.img,duration:F.duration,rate:20,properties:{opacity:{start:0,end:100}},onEnd:function(){if(F.isWork){F.oldimg=F.newimg;setTimeout("fw.slideshow.nextSlide()",F.delay)}}})}})},nextSlide:function(){if(!this.isWork){return}if(this.isFadeShow){if(this.count+1<this.showList.length){this.count++}else{this.count=0}this.newimg=this.path+this.showList[this.count]}else{this.newimg=this.path+Math.ceil(Math.random()*this.count)+"."+this.ext}this.loadImg.src=this.newimg;this.loadImgTimer=setTimeout("fw.slideshow.nextSlide()",this.delay*3)},stop:function(){clearTimeout(this.loadImgTimer);this.isWork=false},reloadFade:function(A){this.isWork=true;this.count=0;this.showList=A.split(",");setTimeout("fw.slideshow.nextSlide()",this.delay)}}};DOMLoaded=function(func){var already=false;ready=function(){if(!already){func();already=true}if(fw.onLoadList.length){for(var i=0;i<fw.onLoadList.length;i++){setTimeout(fw.onLoadList[i],1)}}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",ready,false)}if(document.readyState){timer=setInterval(function(){if(/loaded|complete/.test(document.readyState)){clearInterval(timer);ready()}},1);
/*@cc_on @*/
/*@if (@_win32)
	document.write("<script id=__ie_onload defer src=javascript:void(0)>");
	document.write("<\/script>");
	var script = document.getElementById("__ie_onload");
	script.onreadystatechange = function() {
	    if (this.readyState == "complete") {
	        ready();
	    }
	};
	/*@end @*/
}window.onload=function(){ready()}};new DOMLoaded(function(){fw.init();if(window.location.pathname.substr(0,3)!="/ad"){fw.gallery.init();fw.news.init();fw.tabControl.init();fw.stripyTable.init();fw.openingList.init();fw.slideshow.init()}if(fwAdd){fwAdd.init()}if(fwEditor){fwEditor.init()}var B=document.getElementById("forum");if(B){B.innerHTML=B.innerHTML.replace(/(([\w\.]+)?[\w\-]+\.[a-z]{2,3}\/[\w\.\/\-_%&]+)/g,'<noindex><a href="http://$1" rel="nofollow">$1</a></noindex>')}if(fw.startList.length){for(var A=0;A<fw.startList.length;A++){setTimeout(fw.startList[A],1)}}});
