var agt=navigator.userAgent.toLowerCase();var is_major=parseInt(navigator.appVersion);var is_minor=parseFloat(navigator.appVersion);var is_nav=((agt.indexOf("mozilla")!=-1)&&(agt.indexOf("spoofer")==-1)&&(agt.indexOf("compatible")==-1)&&(agt.indexOf("opera")==-1)&&(agt.indexOf("webtv")==-1));var is_nav2=(is_nav&&(is_major==2));var is_nav3=(is_nav&&(is_major==3));var is_nav4=(is_nav&&(is_major==4));var is_nav4up=(is_nav&&(is_major>=4));var is_navonly=(is_nav&&((agt.indexOf(";nav")!=-1)||(agt.indexOf("; nav")!=-1)));var is_nav5=(is_nav&&(is_major==5));var is_nav5up=(is_nav&&(is_major>=5));var is_ie=(agt.indexOf("msie")!=-1);var is_ie3=(is_ie&&(is_major<4));var is_ie4=(is_ie&&(is_major==4)&&(agt.indexOf("msie 5.0")==-1));var is_ie4up=(is_ie&&(is_major>=4));var is_ie5=(is_ie&&(is_major==4)&&(agt.indexOf("msie 5.0")!=-1));var is_ie5up=(is_ie&&!is_ie3&&!is_ie4);var is_ie7=(is_ie&&(is_major==4)&&(agt.indexOf("msie 7.0")!=-1));var is_opera=(!is_ie&&agt.indexOf("opera")!=-1);var is_safari=(agt.indexOf("safari")!=-1);var is_konqueror=(agt.indexOf("konqueror")!=-1);var is_firefox=(agt.indexOf("firefox")!=-1);if(document.all&&!is_ie7){document.write('<style type="text/css"><!-- img{ behavior: url(js/png.htc); } --></style>')}function $(B){return document.getElementById(B)}function $tn(D,B){return D.getElementsByTagName(B)}var rdfw={};Array.prototype.search=function(G){var B=new Array();var E=0;for(var D=0;D<this.length;D++){if((typeof G=="string"&&this[D].indexOf(G)!=-1)||(typeof G=="function"&&this[D]==G)){B[E]=D;E++}}if(E>0){return(B)}return false};Array.prototype.remove=function(B){for(var D=B;this[D+1];D++){this[D]=this[D+1]}this.length=this.length-1};Array.prototype.removeArray=function(D){for(var B=0;B<D.length;B++){this.remove(D[B])}};Array.prototype.pushArray=function(D){for(var B=0;B<D.length;B++){this.push(D[B])}};Array.prototype.rgb2hex=function(){return(rdfw.convertions.colors.rgb2hex(this))};rdfw.event={};rdfw.event.addStacker=function(Obj,eventType){if(Obj[eventType+"_stack"]&&typeof Obj[eventType+"_stack"]=="object"){return true}else{Obj[eventType+"_stack"]=new Array();Obj[eventType]=function(e){var Evt=document.all?window.event:e;var Tgt=document.all?Evt.srcElement:Evt.target;for(var i=0;this["on"+Evt.type+"_stack"][i];i++){if(typeof this["on"+Evt.type+"_stack"][i]=="function"){this["on"+Evt.type+"_stack"][i](Evt,Tgt)}else{eval(this["on"+Evt.type+"_stack"][i])}}};if(!Obj.addEvent||typeof Obj.addEvent!="function"){Obj.addEvent=function(eventType,handler){if(!this[eventType+"_stack"]){return false}if(typeof handler=="function"||typeof handler=="string"){this[eventType+"_stack"].push(handler)}else{if(typeof handler=="object"){this[eventType+"_stack"].pushArray(handler)}}return(handler)};Obj.removeEvent=function(eventType,handler){if(!this[eventType+"_stack"]){return false}if(typeof handler=="function"||typeof handler=="string"){var Elements=this[eventType+"_stack"].search(handler);this[eventType+"_stack"].removeArray(Elements)}}}return true}};rdfw.event.removeStacker=function(D,B){D[B+"_stack"]=false;D[B]=function(){}};String.prototype.hex2rgb=function(){return(rdfw.convertions.colors.hex2rgb(this))};Number.prototype.isInt=function(){if(parseInt(this)==this){return true}else{return false}};if(!rdfw.convertions){rdfw.convertions={}}rdfw.convertions.colors={};rdfw.convertions.colors.toHex=function(B){B=Math.round(Math.min(Math.max(0,B),255));return("0123456789ABCDEF".charAt((B-B%16)/16)+"0123456789ABCDEF".charAt(B%16))};rdfw.convertions.colors.hex2rgb=function(B){if(B.indexOf("#")!=-1){B=B.substr(1)}return([parseInt(B.substr(0,2),16),parseInt(B.substr(2,2),16),parseInt(B.substr(4,2),16)])};rdfw.convertions.colors.rgb2hex=function(B){return(this.toHex(B[0])+this.toHex(B[1])+this.toHex(B[2]))};rdfw.convertions.colors.hsv2hex=function(B){return(this.rgb2hex(this.hsv2rgb(B)))};rdfw.convertions.colors.rgb2hsv=function(I){var B=Math.max(I[0],I[1],I[2]),J=B-Math.min(I[0],I[1],I[2]),G,E,D;if(B!=0){E=Math.round(J/B*100);if(I[0]==B){G=(I[1]-I[2])/J}else{if(I[1]==B){G=2+(I[2]-I[0])/J}else{if(I[2]==B){G=4+(I[0]-I[1])/J}}}var G=Math.min(Math.round(G*60),360);if(G<0){G+=360}}return({0:G?G:0,1:E?E:0,2:Math.round((B/255)*100)})};rdfw.convertions.colors.hsv2rgb=function(L){var K,M,J,I=L[1]/100,D=L[2]/100,E=L[0]/360;if(I>0){if(E>=1){E=0}E=6*E;F=E-Math.floor(E);A=Math.round(255*D*(1-I));M=Math.round(255*D*(1-(I*F)));C=Math.round(255*D*(1-(I*(1-F))));D=Math.round(255*D);switch(Math.floor(E)){case 0:K=D;J=C;M=A;break;case 1:K=M;J=D;M=A;break;case 2:K=A;J=D;M=C;break;case 3:K=A;J=M;M=D;break;case 4:K=C;J=A;M=D;break;case 5:K=D;J=A;M=M;break}return([K?K:0,J?J:0,M?M:0])}else{return([(D=Math.round(D*255)),D,D])}};rdfw.convertions.colors.rgb2cmyk=function(D){var G=1-(D[0]/255),H=1-(D[1]/255),E=1-(D[2]/255),B=Math.min(E,Math.min(H,Math.min(G,1)));G=Math.round((G-B)/(1-B)*100);H=Math.round((H-B)/(1-B)*100);E=Math.round((E-B)/(1-B)*100);B=Math.round(B*100);return([G?G:0,H?H:0,E?E:0,B])};rdfw.convertions.colors.cmyk2rgb=function(H){H[3]=H[3]/100;var E=(1-(H[0]/100*(1-H[3])+H[3]))*255,D=(1-(H[1]/100*(1-H[3])+H[3]))*255,I=(1-(H[2]/100*(1-H[3])+H[3]))*255;return([E,D,I])};rdfw.ajaxRequest=function(E,H,G){var D=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP");var B=G?G:function(){};D.onreadystatechange=function(J){if(D.readyState==4){if(D.status==200){var I={Xml:D.responseXML,Text:D.responseText};B(I)}else{window.status="Ajax Engine error"}}};if(arguments.length==1||!H||H.length==0){D.open("GET",E,true);D.send(null)}else{D.open("POST",E,true);D.setRequestHeader("Content-Type","application/x-www-form-urlencoded");D.send(H)}};rdfw.anims={FxList:new Array()};rdfw.anims.properties={left:"@px",top:"@px",bottom:"@px",right:"@px",width:"@px",height:"@px",maxWidth:"@px",maxHeight:"@px",minWidth:"@px",minHeight:"@px",backgroundColor:"rgb(@, @, @)",backgroundPosition:"@px @px",color:"rgb(@, @, @)",fontSize:"@px",letterSpacing:"@px",lineHeight:"@px",clip:"rect(@px, @px, @px, @px)",margin:"@px @px @px @px",padding:"@px @px @px @px",border:"@px @ rgb(@, @, @) @px @ rgb(@, @, @) @px @ rgb(@, @, @)",borderWidth:"@px @px @px @px",borderStyle:"@ @ @ @",borderColor:"rgb(@, @, @) rgb(@, @, @) rgb(@, @, @) rgb(@, @, @)",zIndex:"@",zoom:"@",fontWeight:"@",textIndent:"@px",opacity:"@"};rdfw.anims.alphaProperty=["opacity"];rdfw.anims.colorProperties=["backgroundColor","color"];rdfw.anims.oneSizeProperties=["width","height","top","left","bottom","right","maxWidth","minWidth","maxHeight","minHeight","textIndent","letterSpacing","lineHeight","zIndex","fontSize","borderWidth"];rdfw.anims.fourSizeProperties=["clip","margin","padding"];rdfw.anims.makeAnim=function(B){B.anim={fps:200,inAnim:false,intervalObj:false,duration:200,coord:{},coords:{},startTimer:false,timeElapsed:false,Fx:"default"};B.onanimstart=function(){};B.onanimplay=function(){};B.onanimstop=function(){};B.onanimfinish=function(){};B.makeAnim=function(E){if(typeof E!="object"){alert("the Element : '"+this.id+"' as wrong coord datas");return false}if(this.anim.inAnim){this.onanimstop();rdfw.anims.stopAnim(this)}else{}for(var G in E){if(G=="opacity"){this.anim.coord["ori_"+G]=rdfw.anims.alphaParser(this);this.anim.coord["goal_"+G]=E[G]}else{this.anim.coord["ori_"+G]=this.style[G];this.anim.coord["goal_"+G]=E[G]}}this.anim.coords=E;this.onanimstart();B.anim.startTimer=new Date().getTime();var D=this;this.anim.intervalObj=setInterval(function(){rdfw.anims.playAnim(D)},1000/this.anim.fps);this.anim.inAnim=true}};rdfw.anims.stopAnim=function(B){clearInterval(B.anim.intervalObj);B.anim.inAnim=false;B.onanimfinish();return B};rdfw.anims.playSet=function(I){if(I.anim.duration<=I.anim.timeElapsed){for(var H in I.anim.coords){if(rdfw.anims.oneSizeProperties.search(H)){this.setValue(I,H,I.anim.coord["goal_"+H].toString())}if(rdfw.anims.colorProperties.search(H)){rdfw.anims.setValue(I,H,rdfw.anims.colorParser(I.anim.coord["goal_"+H]))}if(rdfw.anims.alphaProperty.search(H)){rdfw.anims.setOpacity(I,I.anim.coord["goal_"+H])}if(rdfw.anims.fourSizeProperties.search(H)){var G=new Array();G=rdfw.anims.fourSizeParser(I.anim.coord["goal_"+H]);this.setValue(I,H,G.pregReplace(rdfw.anims.properties[H],"@"))}}return true}else{for(var H in I.anim.coords){if(rdfw.anims.oneSizeProperties.search(H)){var K=rdfw.anims["Fx_"+I.anim.Fx](I.anim.timeElapsed,parseInt(I.anim.coord["ori_"+H]),I.anim.coord["goal_"+H]-parseInt(I.anim.coord["ori_"+H]),I.anim.duration);this.setValue(I,H,Math.round(K).toString())}if(rdfw.anims.colorProperties.search(H)){var D=new Array();var E=rdfw.anims.colorParser(I.anim.coord["ori_"+H]);var G=rdfw.anims.colorParser(I.anim.coord["goal_"+H]);D[0]=rdfw.anims["Fx_"+I.anim.Fx](I.anim.timeElapsed,parseInt(E[0]),G[0]-parseInt(E[0]),I.anim.duration);D[1]=rdfw.anims["Fx_"+I.anim.Fx](I.anim.timeElapsed,parseInt(E[1]),G[1]-parseInt(E[1]),I.anim.duration);D[2]=rdfw.anims["Fx_"+I.anim.Fx](I.anim.timeElapsed,parseInt(E[2]),G[2]-parseInt(E[2]),I.anim.duration);rdfw.anims.setValue(I,H,D)}if(rdfw.anims.alphaProperty.search(H)){var E=I.anim.coord["ori_"+H];var G=I.anim.coord["goal_"+H];var J=rdfw.anims["Fx_"+I.anim.Fx](I.anim.timeElapsed,parseInt(E),G-parseInt(E),I.anim.duration);rdfw.anims.setOpacity(I,Math.round(J))}if(rdfw.anims.fourSizeProperties.search(H)){var E=rdfw.anims.fourSizeParser(I.anim.coord["ori_"+H]);var G=rdfw.anims.fourSizeParser(I.anim.coord["goal_"+H]);var B=new Array();B[0]=Math.round(rdfw.anims["Fx_"+I.anim.Fx](I.anim.timeElapsed,parseInt(E[0]),G[0]-parseInt(E[0]),I.anim.duration));B[1]=Math.round(rdfw.anims["Fx_"+I.anim.Fx](I.anim.timeElapsed,parseInt(E[1]),G[1]-parseInt(E[1]),I.anim.duration));B[2]=Math.round(rdfw.anims["Fx_"+I.anim.Fx](I.anim.timeElapsed,parseInt(E[2]),G[2]-parseInt(E[2]),I.anim.duration));B[3]=Math.round(rdfw.anims["Fx_"+I.anim.Fx](I.anim.timeElapsed,parseInt(E[3]),G[3]-parseInt(E[3]),I.anim.duration));rdfw.anims.setValue(I,H,B.pregReplace(rdfw.anims.properties[H],"@"))}}return false}};rdfw.anims.playAnim=function(B){B.anim.timeElapsed=new Date().getTime()-B.anim.startTimer;if(this.playSet(B)){this.stopAnim(B)}B.onanimplay()};rdfw.anims.setValue=function(B,D,E){if(typeof E=="string"&&rdfw.anims.oneSizeProperties.search(D)){B.style[D]=this.properties[D].replace(/@/g,E)}if(typeof E=="string"&&rdfw.anims.fourSizeProperties.search(D)){B.style[D]=E}if(typeof E=="object"){if(rdfw.anims.colorProperties.search(D)){B.style[D]="#"+E.rgb2hex()}}};rdfw.anims.setOpacity=function(D,B){if(B==100){var E="1"}else{if(B<100){var E="0."+B}}if(B<10){var E="0.0"+B}D.style.opacity=E;D.style.filter="alpha(opacity="+B+");";return true};rdfw.anims.colorParser=function(B){if(B.match(/^#[0-9a-f]{3,6}$/i)){return B.hex2rgb()}return((B=B.match(/(\d+),\s*(\d+),\s*(\d+)/)))?[B[1],B[2],B[3]]:false};rdfw.anims.fourSizeParser=function(B){lol=B.match(/(px)/g);if(lol&&lol.length==1){p=parseInt(B);return([p,p,p,p])}return((B=B.match(/([0-9]+)(([a-z]{2})?)(,?)\s*([0-9]+)(([a-z]{2})?)(,?)\s*([0-9]+)(([a-z]{2})?)(,?)\s*([0-9]+)(([a-z]{2})?)\s*/)))?[B[1],B[5],B[9],B[13]]:false};rdfw.anims.alphaParser=function(B){if(!document.all){if(B.style.opacity===""){return(100)}else{return(parseInt(B.style.opacity*100))}}else{if(B.style.filter===""){return(100)}else{return B.style.filter.match(/alpha\(opacity=(\d+)\)/)[1]}}};rdfw.anims.addFx=function(B,D){this["Fx_"+B]=D;this["FxList"][this.FxList.length]=D};rdfw.anims.removeFx=function(D){var B=this["Fx_"+D];var E=this["FxList"].search(B);this["FxList"].removeArray(E);delete this["Fx_"+D]};rdfw.anims.addFx("default",function(D,G,E,B){return E*D/B+G});rdfw.anims.addFx("cubic",function(D,G,E,B){return E*Math.pow(D/B,3)+G});rdfw.anims.addFx("easeInQuad",function(D,G,E,B){return E*(D/=B)*D+G});rdfw.anims.addFx("easeOutQuad",function(D,G,E,B){return -E*(D/=B)*(D-2)+G});rdfw.anims.addFx("easeInOutQuad",function(D,G,E,B){if((D/=B/2)<1){return E/2*D*D+G}return -E/2*((--D)*(D-2)-1)+G});rdfw.anims.addFx("easeInCubic",function(D,G,E,B){return E*Math.pow(D/B,3)+G});rdfw.anims.addFx("easeOutCubic",function(D,G,E,B){return E*(Math.pow(D/B-1,3)+1)+G});rdfw.anims.addFx("easeInOutCubic",function(D,G,E,B){if((D/=B/2)<1){return E/2*Math.pow(D,3)+G}return E/2*(Math.pow(D-2,3)+2)+G});rdfw.anims.addFx("easeInQuart",function(D,G,E,B){return E*Math.pow(D/B,4)+G});rdfw.anims.addFx("easeOutQuart",function(D,G,E,B){return -E*(Math.pow(D/B-1,4)-1)+G});rdfw.anims.addFx("easeInOutQuart",function(D,G,E,B){if((D/=B/2)<1){return E/2*Math.pow(D,4)+G}return -E/2*(Math.pow(D-2,4)-2)+G});rdfw.anims.addFx("easeInQuint",function(D,G,E,B){return E*Math.pow(D/B,5)+G});rdfw.anims.addFx("easeOutQuint",function(D,G,E,B){return E*(Math.pow(D/B-1,5)+1)+G});rdfw.anims.addFx("easeInOutQuint",function(D,G,E,B){if((D/=B/2)<1){return E/2*Math.pow(D,5)+G}return E/2*(Math.pow(D-2,5)+2)+G});rdfw.anims.addFx("easeInSine",function(D,G,E,B){return E*(1-Math.cos(D/B*(Math.PI/2)))+G});rdfw.anims.addFx("easeOutSine",function(D,G,E,B){return E*Math.sin(D/B*(Math.PI/2))+G});rdfw.anims.addFx("easeInOutSine",function(D,G,E,B){return E/2*(1-Math.cos(Math.PI*D/B))+G});rdfw.anims.addFx("easeInExpo",function(D,G,E,B){return E*Math.pow(2,10*(D/B-1))+G});rdfw.anims.addFx("easeOutExpo",function(D,G,E,B){return E*(-Math.pow(2,-10*D/B)+1)+G});rdfw.anims.addFx("easeInOutExpo",function(D,G,E,B){if((D/=B/2)<1){return E/2*Math.pow(2,10*(D-1))+G}return E/2*(-Math.pow(2,-10*--D)+2)+G});rdfw.anims.addFx("easeInCirc",function(D,G,E,B){return E*(1-Math.sqrt(1-(D/=B)*D))+G});rdfw.anims.addFx("easeOutCirc",function(D,G,E,B){return E*Math.sqrt(1-(D=D/B-1)*D)+G});rdfw.anims.addFx("easeInOutCirc",function(D,G,E,B){if((D/=B/2)<1){return E/2*(1-Math.sqrt(1-D*D))+G}return E/2*(Math.sqrt(1-(D-=2)*D)+1)+G});rdfw.anims.addFx("easeInBounce",function(D,G,E,B){if((D/=B)<(1/2.75)){return E*(7.5625*D*D)+G}else{if(D<(2/2.75)){return E*(7.5625*(D-=(1.5/2.75))*D+0.75)+G}else{if(D<(2.5/2.75)){return E*(7.5625*(D-=(2.25/2.75))*D+0.9375)+G}else{return E*(7.5625*(D-=(2.625/2.75))*D+0.984375)+G}}}return E-easeOutBounce(B-D,0,E,B)+G});rdfw.anims.addFx("easeOutBounce",function(D,G,E,B){if((D/=B)<(1/2.75)){return E*(7.5625*D*D)+G}else{if(D<(2/2.75)){return E*(7.5625*(D-=(1.5/2.75))*D+0.75)+G}else{if(D<(2.5/2.75)){return E*(7.5625*(D-=(2.25/2.75))*D+0.9375)+G}else{return E*(7.5625*(D-=(2.625/2.75))*D+0.984375)+G}}}});rdfw.anims.addFx("easeInOutBounce",function(D,G,E,B){if(D<B/2){return rdfw.anims.Fx_easeInBounce(D*2,0,E,B)*0.5+G}else{return rdfw.anims.Fx_easeOutBounce(D*2-B,0,E,B)*0.5+E*0.5+G}});rdfw.anims.addFx("easeInElastic",function(D,G,E,B){if((D/=B)==1){return G+E}p=B*0.3;s=p/4;return -(E*Math.pow(2,10*(D-=1))*Math.sin((D*B-s)*(2*Math.PI)/p))+G});rdfw.anims.addFx("easeOutElastic",function(D,G,E,B){if((D/=B)==1){return G+E}p=B*0.3;s=p/4;return(E*Math.pow(2,-10*D)*Math.sin((D*B-s)*(2*Math.PI)/p)+E+G)});rdfw.anims.addFx("easeInOutElastic",function(D,G,E,B){if((D/=B/2)==2){return G+E}p=B*(0.3*1.5);s=p/4;if(D<1){return -0.5*(E*Math.pow(2,10*(D-=1))*Math.sin((D*B-s)*(2*Math.PI)/p))+G}return E*Math.pow(2,-10*(D-=1))*Math.sin((D*B-s)*(2*Math.PI)/p)*0.5+E+G});rdfw.anims.addFx("easeInBack",function(D,G,E,B){return E*(D/=B)*D*((1.70158+1)*D-1.70158)+G});rdfw.anims.addFx("easeOutBack",function(D,G,E,B){return E*((D=D/B-1)*D*((1.70158+1)*D+1.70158)+1)+G});rdfw.anims.addFx("easeInOutBack",function(D,G,E,B){s=1.70158;if((D/=B/2)<1){return E/2*(D*D*(((s*=(1.525))+1)*D-s))+G}return E/2*((D-=2)*D*(((s*=(1.525))+1)*D+s)+2)+G});if(typeof deconcept=="undefined"){var deconcept=new Object()}if(typeof deconcept.util=="undefined"){deconcept.util=new Object()}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object()}deconcept.SWFObject=function(O,D,P,G,K,M,I,H,E,N,L){if(!document.createElement||!document.getElementById){return}this.DETECT_KEY=L?L:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(O){this.setAttribute("swf",O)}if(D){this.setAttribute("id",D)}if(P){this.setAttribute("width",P)}if(G){this.setAttribute("height",G)}if(K){this.setAttribute("version",new deconcept.PlayerVersion(K.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion(this.getAttribute("version"),I);if(M){this.addParam("bgcolor",M)}var B=H?H:"high";this.addParam("quality",B);this.setAttribute("useExpressInstall",I);this.setAttribute("doExpressInstall",false);var J=(E)?E:window.location;this.setAttribute("xiRedirectUrl",J);this.setAttribute("redirectUrl","");if(N){this.setAttribute("redirectUrl",N)}};deconcept.SWFObject.prototype={setAttribute:function(B,D){this.attributes[B]=D},getAttribute:function(B){return this.attributes[B]},addParam:function(D,B){this.params[D]=B},getParams:function(){return this.params},addVariable:function(D,B){this.variables[D]=B},getVariable:function(B){return this.variables[B]},getVariables:function(){return this.variables},getVariablePairs:function(){var E=new Array();var D;var B=this.getVariables();for(D in B){E.push(D+"="+B[D])}return E},getSWFHTML:function(){var D="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}D='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';D+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var I=this.getParams();for(var H in I){D+=[H]+'="'+I[H]+'" '}var G=this.getVariablePairs().join("&");if(G.length>0){D+='flashvars="'+G+'"'}D+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}D='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';D+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var E=this.getParams();for(var H in E){D+='<param name="'+H+'" value="'+E[H]+'" />'}var B=this.getVariablePairs().join("&");if(B.length>0){D+='<param name="flashvars" value="'+B+'" />'}D+="</object>"}return D},write:function(D){if(this.getAttribute("useExpressInstall")){var B=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(B)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title)}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var E=(typeof D=="string")?document.getElementById(D):D;E.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(J,I){var G=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var B=navigator.plugins["Shockwave Flash"];if(B&&B.description){G=new deconcept.PlayerVersion(B.description.replace(/([a-z]|[A-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var E=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");for(var D=3;E!=null;D++){E=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+D);G=new deconcept.PlayerVersion([D,0,0])}}catch(H){}if(J&&G.major>J.major){return G}if(!J||((J.minor!=0||J.rev!=0)&&G.major==J.major)||G.major!=6||I){try{G=new deconcept.PlayerVersion(E.GetVariable("$version").split(" ")[1].split(","))}catch(H){}}}return G};deconcept.PlayerVersion=function(B){this.major=parseInt(B[0])!=null?parseInt(B[0]):0;this.minor=parseInt(B[1])||0;this.rev=parseInt(B[2])||0};deconcept.PlayerVersion.prototype.versionIsValid=function(B){if(this.major<B.major){return false}if(this.major>B.major){return true}if(this.minor<B.minor){return false}if(this.minor>B.minor){return true}if(this.rev<B.rev){return false}return true};deconcept.util={getRequestParameter:function(E){var G=document.location.search||document.location.hash;if(G){var D=G.indexOf(E+"=");var B=(G.indexOf("&",D)>-1)?G.indexOf("&",D):G.length;if(G.length>1&&D>-1){return G.substring(G.indexOf("=",D)+1,B)}}return""}};if(Array.prototype.push==null){Array.prototype.push=function(B){this[this.length]=B;return this.length}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;rdfw.layout={Default:"home",defaultPageTitle:"- Realistic-design [ 3D Gallery ] - ",currentLayout:false,currentHash:false,firstLoad:true,PageLoaded:true,changeTimer:false,items:Array(),htmlElement:Array()};rdfw.layout.fixTitle=function(){document.title=this.defaultPageTitle};rdfw.layout.add=function(B){if(typeof B!="object"){return false}this.items[this.items.length]=B;return B};rdfw.layout.addHtmlElement=function(B){this.htmlElement[this.htmlElement.length]=B;return B};rdfw.layout.hideHtmlElements=function(){for(var B=0;this.htmlElement[B];B++){$(this.htmlElement[B]).style.display="none"}return true};rdfw.layout.isLayout=function(B){return(this.items[i].search(B))};rdfw.layout.getLayoutByName=function(B){for(var D=0;this.items[D];D++){if(this.items[D].name==B){return this.items[D]}}return false};rdfw.layout.hashChecker=function(){if(rdfw.layout.PageLoaded&&rdfw.layout.currentHash===false&&location.hash.length==0){rdfw.layout.call(rdfw.layout.Default)}else{if(rdfw.layout.PageLoaded&&location.hash!=rdfw.layout.currentHash){rdfw.layout.call(location.hash.substr(1))}}};rdfw.layout.getVars=function(B){if(!B){var B=this.currentHash.substr(1)}var E=B.split("|");var D=E[0];if(E[1]){return"|"+E[1]}else{return""}};rdfw.layout.getCurrentLayoutName=function(B){if(!B){var B=this.currentHash.substr(1)}if(B.indexOf("|")==-1){return B}else{var D=B.split("|");return D[0]}};rdfw.layout.changeVar=function(J,D,L){var N=J.split("|");var K=N[0];var E=K;if(N[1]){E+="|";var G=N[1].split(",");var M=false;var B=false;for(var H=0;G[H];H++){var I=G[H].split("=");if(I[0]==D||I[0]=="undefined"){I[1]=L;M=true}B=true;if(H>0){E+=","}E+=I[0]+"="+I[1]}if(!M){if(B){E+=","}E+=D+"="+L}}else{E+="|"+D+"="+L}return E};rdfw.layout.removeVar=function(J,D){var M=J.split("|");var K=M[0];var E=K;if(M[1]){E+="|";var G=M[1].split(",");var L=false;var B=false;var M="";for(var H=0;G[H];H++){var I=G[H].split("=");if(I[0]==D||I[0]=="undefined"){continue}B=true;if(M.length>0){M+=","}M+=I[0]+"="+I[1]}}return E+M};rdfw.layout.parseVars=function(D){var H=new Array();var B=D.split("|");if(B[1]){var G=B[1].split(",");for(var E=0;G[E];E++){H[G[E].split("=")[0]]=G[E].split("=")[1]}}return H};rdfw.layout.call=function(D,I){if(!D||(D&&this.currentHash==D)){return false}if(D.indexOf("|")!=-1){var G=D.split("|");var E=G[0];if(G[1]){var B="&"+G[1].replace(/,/g,"&")}else{var B=""}}else{var E=D;var B=""}if(!this.getLayoutByName(E)){return false}var H=this.getLayoutByName(E);if(H!=this.currentLayout){if(this.currentLayout.hide&&typeof this.currentLayout.hide=="function"){this.currentLayout.hide()}this.currentLayout=H;this.hideHtmlElements();H.show()}var J=I?I:H.pagesToCall;rdfw.widgets.mouseLoader.show();rdfw.ajaxRequest("actions/caller.xml.php",J+B,rdfw.layout.getResult);if(document.all&&!is_opera){self.location.hash="#"+D;if(formSender.location.href!="actions/blank.php?page="+this.currentLayout.name+this.getVars(self.location.hash)){formSender.location.href="actions/blank.php?page="+this.currentLayout.name+this.getVars(self.location.hash)}}else{self.location.href="#"+D}this.currentHash="#"+D;this.fixTitle();return true};rdfw.layout.getResult=function(B){var D=B.Xml;Elements.getResponse(D);rdfw.layout.fixTitle();rdfw.widgets.mouseLoader.hide()};var viewer_default={anims:true,container:"divContainer",viewerDefaultWidth:"223px",viewerDefaultHeight:"238px",viewerFlashWidth:"103px"};function viewer(){viewer_default.container==document.body?this.Parent=document.body:this.Parent=$(viewer_default.container);this.imgList=new Array();this.currentImg=false;this.inLoad=false;this.firstLoad=true;this.make();document.viewer=this}viewer.prototype.addImg=function(D,G,B){var E={id:this.imgList.length,path:D,fryv:G?G:false,author:B?B:false};this.imgList[this.imgList.length]=E};viewer.prototype.cleanImgs=function(){this.hideImg();this.imgList=new Array();this.currentImg=false};viewer.prototype.make=function(){this.blackdiv=document.createElement("div");this.blackdiv.className="viewerblackdiv";this.blackdiv.innerHTML="&nbsp;";this.blackdiv.nodeElement=this;this.Parent.appendChild(this.blackdiv);rdfw.anims.makeAnim(this.blackdiv);rdfw.anims.setOpacity(this.blackdiv,0);this.blackdiv.anim.duration="400";this.blackdiv.anim.Fx="easeOutCubic";this.transpdiv=document.createElement("div");this.transpdiv.nodeElement=this;this.transpdiv.className="viewertranspdiv";this.Parent.appendChild(this.transpdiv);this.image=document.createElement("img");this.image.className="viewerImg";this.image.nodeElement=this;this.image.isActive=false;rdfw.anims.makeAnim(this.image);this.image.anim.duration="600";this.image.anim.Fx="easeOutCubic";this.transpdiv.appendChild(this.image);this.mainDiv=document.createElement("div");this.mainDiv.className="viewer";this.mainDiv.nodeElement=this;rdfw.anims.makeAnim(this.mainDiv);rdfw.anims.setOpacity(this.mainDiv,0);this.mainDiv.anim.duration="300";this.mainDiv.anim.Fx="easeOutCubic";this.transpdiv.appendChild(this.mainDiv);this.headerTable=document.createElement("table");this.headerTable.cellSpacing="0";this.headerTable.cellPadding="0";this.headerTable.border="0";this.headerTable.width="100%";this.HTtr=this.headerTable.insertRow(0);this.tdlogo=document.createElement("td");this.tdlogo.width="125";this.HTtr.appendChild(this.tdlogo);this.logo=document.createElement("img");this.logo.className="viewerLogo";this.logo.width="115";this.logo.height="25";this.logo.src="images/viewer/logo.gif";this.tdlogo.appendChild(this.logo);this.tdtext=document.createElement("td");this.tdtext.className="viewerNum";this.tdtext.vAlign="bottom";this.tdtext.align="left";this.tdtext.innerHTML="&nbsp;";this.HTtr.appendChild(this.tdtext);this.tdclose=document.createElement("td");this.tdclose.width="125";this.tdclose.align="right";this.HTtr.appendChild(this.tdclose);this.Close=document.createElement("img");this.Close.nodeElement=this;this.Close.className="viewerClose";this.Close.width="16";this.Close.height="16";this.Close.title="Close";this.Close.src="images/viewer/close_out.gif";this.Close.onmouseover=function(){this.src="images/viewer/close_over.gif"};this.Close.onmouseout=function(){this.src="images/viewer/close_out.gif"};this.Close.onclick=function(){this.nodeElement.close()};this.tdclose.appendChild(this.Close);this.mainDiv.appendChild(this.headerTable);this.flashDiv=document.createElement("div");this.flashDiv.id="viewerLoadingDiv";this.flashDiv.className="viewerflashload";this.flashDiv.nodeElement=this;this.mainDiv.appendChild(this.flashDiv);var B=new SWFObject("images/viewer/loading_viewer.swf","viewerLoading","105","105","8","#FFFFFF");B.addParam("wmode","transparent");B.addParam("id","viewerLoading");B.addParam("name","viewerLoading");B.write("viewerLoadingDiv");this.imgDecaler=document.createElement("div");this.imgDecaler.className="viewerImgDecal";this.imgDecaler.nodeElement=this;rdfw.anims.makeAnim(this.imgDecaler);this.imgDecaler.anim.Fx="easeInOutCubic";this.imgDecaler.anim.duration="1000";this.mainDiv.appendChild(this.imgDecaler);this.bottomDiv=document.createElement("div");this.bottomDiv.className="viewerBottomDiv";this.mainDiv.appendChild(this.bottomDiv);this.imgNDiv=document.createElement("div");this.imgNDiv.className="viewerTzone";this.bottomDiv.appendChild(this.imgNDiv);this.pagerDiv=document.createElement("div");this.pagerDiv.className="viewerPagerDiv";this.bottomDiv.appendChild(this.pagerDiv);this.previous=document.createElement("img");this.previous.nodeElement=this;this.previous.className="viewerPrevious";this.previous.width="20";this.previous.height="17";this.previous.src="images/viewer/previous_out.gif";this.previous.onmouseout=function(){this.src="images/viewer/previous_out.gif"};this.previous.onmouseover=function(){this.src="images/viewer/previous_over.gif"};this.previous.onclick=function(){this.nodeElement.Previous()};this.pagerDiv.appendChild(this.previous);this.courtDiv=document.createElement("div");this.courtDiv.className="viewerCourt";this.pagerDiv.appendChild(this.courtDiv);this.next=document.createElement("img");this.next.nodeElement=this;this.next.className="viewerNext";this.next.width="20";this.next.height="17";this.next.src="images/viewer/next_out.gif";this.next.onmouseout=function(){this.src="images/viewer/next_out.gif"};this.next.onmouseover=function(){this.src="images/viewer/next_over.gif"};this.next.onclick=function(){this.nodeElement.Next()};this.pagerDiv.appendChild(this.next);this.imgHidder=document.createElement("div");this.imgHidder.className="viewerImghidder";this.imgHidder.nodeElement=this;this.imgHidder.onmousemove=function(H){if(this.nodeElement.inLoad){return false}var G=this.nodeElement.mainDiv.offsetLeft+10;var D=this.nodeElement.image.offsetWidth;if(document.all){var E=window.event}else{var E=H}if(document.body&&E.clientX<document.body.offsetWidth/2){if(this.nodeElement.currentImg>0){this.nodeElement.previous.src="images/viewer/previous_over.gif"}this.nodeElement.next.src="images/viewer/next_out.gif"}else{if(this.nodeElement.currentImg+1<this.nodeElement.imgList.length){this.nodeElement.next.src="images/viewer/next_over.gif"}this.nodeElement.previous.src="images/viewer/previous_out.gif"}};this.imgHidder.onclick=function(H){if(this.nodeElement.inLoad){return false}var G=this.nodeElement.mainDiv.offsetLeft+10;var D=this.nodeElement.image.offsetWidth;if(document.all){var E=window.event}else{var E=H}if(document.body&&E.clientX<document.body.offsetWidth/2){this.nodeElement.Previous()}else{this.nodeElement.Next()}};this.imgHidder.onmouseout=function(){this.nodeElement.previous.src="images/viewer/previous_out.gif";this.nodeElement.next.src="images/viewer/next_out.gif"};this.transpdiv.appendChild(this.imgHidder)};viewer.prototype.loadImg=function(B){this.imgNDiv.innerHTML="";this.courtDiv.innerHTML="";this.inLoad=true;this.image.onload=function(){this.nodeElement.hideLoad();var E=this.nodeElement.imgDecaler;if(viewer_default.anims){this.onanimfinish=function(){this.nodeElement.resize();this.nodeElement.inLoad=false};this.style.visibility="hidden";this.style.display="block";E.onanimfinish=function(){var I=this.nodeElement.image.offsetWidth+20;var H=parseInt(this.nodeElement.mainDiv.style.width);this.nodeElement.mainDiv.anim.duration=Math.round(1000-Math.abs(I-H)/2);this.nodeElement.mainDiv.makeAnim({width:I});this.nodeElement.mainDiv.onanimfinish=function(){this.nodeElement.showImg();this.nodeElement.firstLoad=false;this.nodeElement.setImgNb();this.nodeElement.setEnlarge();if(this.nodeElement.currentImg>0){this.nodeElement.showNP(this.nodeElement.previous)}if(this.nodeElement.currentImg+1<this.nodeElement.imgList.length){this.nodeElement.showNP(this.nodeElement.next)}this.onanimfinish=function(){}}};var D=this.offsetHeight+3;var G=parseInt(this.nodeElement.imgDecaler.style.height);this.nodeElement.imgDecaler.anim.duration=Math.round(1000-Math.abs(D-G)/2);this.nodeElement.imgDecaler.makeAnim({height:D})}else{this.style.visibility="hidden";this.style.display="block";this.nodeElement.mainDiv.style.width=(this.offsetWidth+20)+"px";this.nodeElement.imgDecaler.style.height=(this.offsetHeight+3)+"px";this.nodeElement.resize();this.nodeElement.showImg();this.nodeElement.setEnlarge();this.nodeElement.setImgNb();if(this.nodeElement.currentImg>0){this.nodeElement.showNP(this.nodeElement.previous)}if(this.nodeElement.currentImg+1<this.nodeElement.imgList.length){this.nodeElement.showNP(this.nodeElement.next)}this.nodeElement.firstLoad=false;this.nodeElement.inLoad=false}};if(!this.firstLoad){if(viewer_default.anims){this.image.Img=B;this.image.onanimfinish=function(){this.style.left=0;this.style.top=0;this.nodeElement.showLoad();this.src=this.Img};this.image.makeAnim({opacity:0})}else{this.image.Img=B;this.image.style.left=0;this.image.style.top=0;this.showLoad();this.image.src=B;if(this.inLoad){this.image.style.visibility="hidden"}}}else{this.image.src=B}};viewer.prototype.setEnlarge=function(){};viewer.prototype.setImgNb=function(){this.courtDiv.innerHTML=(this.currentImg+1)+" / "+this.imgList.length};viewer.prototype.showLoad=function(){this.flashDiv.style.visibility="visible"};viewer.prototype.hideLoad=function(B){this.flashDiv.style.visibility="hidden"};viewer.prototype.showImg=function(){this.replaceImg();if(viewer_default.anims){rdfw.anims.setOpacity(this.image,0);this.image.style.visibility="visible";this.image.makeAnim({opacity:100})}else{this.image.style.visibility="visible"}};viewer.prototype.replaceImg=function(){this.image.style.top=(this.mainDiv.offsetTop+32)+"px";this.image.style.left=(this.mainDiv.offsetLeft+10)+"px"};viewer.prototype.hideImg=function(){this.image.style.display="none";this.image.isActive=false};viewer.prototype.showNP=function(B){B.style.visibility="visible"};viewer.prototype.hideNP=function(B){B.style.visibility="hidden"};viewer.prototype.show=function(){this.blackdiv.style.display="block";this.transpdiv.style.display="block";this.mainDiv.style.width="223px";this.imgDecaler.style.height="200px";this.setTop(document.documentElement.scrollTop);this.blackdiv.style.top="0";this.transpdiv.style.top=document.documentElement.scrollTop+"px";this.resize();if(viewer_default.anims){this.blackdiv.onanimfinish=function(){var B=this.nodeElement.mainDiv;B.onanimfinish=function(){this.nodeElement.showLoad();this.nodeElement.loadImg(this.nodeElement.imgList[this.nodeElement.currentImg].path)};setTimeout(function(){B.makeAnim({opacity:100})},200);this.onanimfinish=function(){}};this.blackdiv.makeAnim({opacity:45})}else{rdfw.anims.setOpacity(this.blackdiv,45);rdfw.anims.setOpacity(this.mainDiv,100);this.showLoad();this.loadImg(this.imgList[this.currentImg].path)}};viewer.prototype.setTop=function(B){this.blackdiv.style.top=B+"px"};viewer.prototype.hide=function(){this.imgNDiv.innerHTML="";this.courtDiv.innerHTML="";this.imgHidder.style.width="0";this.imgHidder.style.height="0";this.imgHidder.style.left="0";this.imgHidder.style.top="0";this.hideLoad(true);this.hideImg();this.hideNP(this.previous);this.hideNP(this.next);if(viewer_default.anims){this.mainDiv.onanimfinish=function(){this.nodeElement.blackdiv.makeAnim({opacity:0});this.nodeElement.transpdiv.style.display="none";this.onanimfinish=function(){}};this.blackdiv.onanimfinish=function(){this.style.display="none";this.onanimfinish=function(){}};this.mainDiv.makeAnim({opacity:0})}else{this.blackdiv.style.display="none";rdfw.anims.setOpacity(this.mainDiv,0);this.transpdiv.style.display="none"}};viewer.prototype.close=function(){this.hide()};viewer.prototype.resize=function(){this.imgHidder.style.width=this.image.offsetWidth+"px";this.imgHidder.style.height=this.image.offsetHeight+"px";this.imgHidder.style.left=(this.mainDiv.offsetLeft+10)+"px";this.imgHidder.style.top=(this.mainDiv.offsetTop+32)+"px"};viewer.prototype.Previous=function(){if(this.inLoad||this.currentImg==0){return false}this.hideNP(this.previous);this.hideNP(this.next);this.loadImg(this.imgList[this.currentImg-1].path);this.currentImg--};viewer.prototype.Next=function(){if(this.inLoad||this.currentImg+1>=this.imgList.length){return false}this.hideNP(this.previous);this.hideNP(this.next);this.loadImg(this.imgList[this.currentImg+1].path);this.currentImg++};viewer.prototype.setImg=function(B){if(this.imgList.length==0){alert("no image set in the viewer");return false}if(!B){B=0}this.hideImg();if(B.toString().indexOf(".")==-1&&this.imgList[B]){this.currentImg=B}else{if(B.indexOf(".")!=-1){var E=false;for(var D=0;this.imgList[D];D++){if(this.imgList[D]==B){this.currentImg=D;E=true}}if(!E){alert("invalid img, add the image first with the command 'document.viewer.addImg(path)'.");return false}}else{alert("invalid img, add the image first with the command 'document.viewer.addImg(path)'.");return false}}this.show();return true};if(!rdfw.widgets){rdfw.widgets={}}rdfw.widgets.mouseLoader={container:"mouseLoader",picture:"images/structure/loading_mouse.gif",pictureWidth:15,pictureHeight:17,shown:false};document.mouseLoader=rdfw.widgets.mouseLoader;rdfw.widgets.mouseLoader.make=function(){this.mainDiv=document.createElement("div");if(!is_ie){this.mainDiv.style.display="table"}this.mainDiv.style.position="absolute";this.mainDiv.style.top="0";this.mainDiv.style.left="0";this.mainDiv.style.zIndex="200";this.mainDiv.style.visibility="hidden";this.Img=document.createElement("img");this.Img.src=this.picture;this.Img.width=this.pictureWidth;this.Img.height=this.pictureHeight;this.mainDiv.appendChild(this.Img);document.body.appendChild(this.mainDiv)};rdfw.widgets.mouseLoader.setPosition=function(B,D){if(this.mainDiv&&this.shown){el=this.mainDiv;el.style.left=B+"px";el.style.top=D+"px";el.style.visibility="visible"}};rdfw.widgets.mouseLoader.show=function(){this.shown=true};rdfw.widgets.mouseLoader.hide=function(){this.shown=false;this.mainDiv.style.visibility="hidden";this.setPosition(0,0)};rdfw.widgets.mouseLoader.mouseEvent=function(e,t){var decalX=12;var decalY=12;if(rdfw.widgets.mouseLoader&&rdfw.widgets.mouseLoader.shown){rdfw.widgets.mouseLoader.setPosition(e.clientX+2+decalX,e.clientY+2+decalY+eval(document.documentElement.scrollTop))}};rdfw.event.addStacker(window,"onload");rdfw.event.addStacker(document,"onmousemove");window.addEvent("onload",function(){rdfw.widgets.mouseLoader.make()});document.addEvent("onmousemove",rdfw.widgets.mouseLoader.mouseEvent);if(!rdfw.widgets){rdfw.widgets={}}rdfw.widgets.contextual_default={anims:true};rdfw.widgets.contextual={parentObj:document.body,built:false,timeout:false,shown:false};rdfw.widgets.contextual.make=function(){this.mainDiv=document.createElement("div");this.mainDiv.className="contextMainDiv";this.mainDiv.innerHTML="TEXT";if(rdfw.widgets.contextual_default.anims){rdfw.anims.makeAnim(this.mainDiv);this.mainDiv.anim.duration="800";this.mainDiv.anim.Fx="easeOutCubic";rdfw.anims.setOpacity(this.mainDiv,0);this.mainDiv.style.visibility="visible"}document.body.appendChild(this.mainDiv);this.built=true};rdfw.widgets.contextual.move=function(x,y){if(this.mainDiv){if(x+eval(this.mainDiv.offsetWidth)>document.body.clientWidth-10){this.mainDiv.style.left=(x-this.mainDiv.offsetWidth-12)+"px"}else{this.mainDiv.style.left=(document.documentElement.scrollLeft+x)+"px"}if(y+eval(this.mainDiv.offsetHeight)>document.body.clientHeight-10){this.mainDiv.style.top=(y-this.mainDiv.offsetHeight-12)+"px"}else{this.mainDiv.style.top=(document.documentElement.scrollTop+y)+"px"}}};rdfw.widgets.contextual.hide=function(){clearTimeout(rdfw.widgets.contextual.timeout);if(rdfw.widgets.contextual_default.anims){rdfw.anims.setOpacity(this.mainDiv,0)}else{this.mainDiv.style.visibility="hidden"}this.mainDiv.style.display="none";this.shown=false};rdfw.widgets.contextual.show=function(){var B=this.mainDiv;rdfw.widgets.contextual.timeout=setTimeout(function(){B.style.display="block";if(rdfw.widgets.contextual_default.anims){B.makeAnim({opacity:100})}else{B.style.visibility="visible"}rdfw.widgets.contextual.shown=true},400)};rdfw.widgets.contextual.setText=function(B){if(B===false){return false}if(B.indexOf("#")!=-1&&$(B.substr(1))){this.mainDiv.innerHTML=$(B.substr(1)).innerHTML}else{this.mainDiv.innerHTML=B}};rdfw.widgets.contextual.onmove=function(G,D){var E=12;var B=12;if(D.contextual||(typeof D.hasAttribute=="function"&&D.hasAttribute("contextual"))){if(rdfw.widgets.contextual&&rdfw.widgets.contextual.built){if(D.tagName=="INPUT"){B=0}rdfw.widgets.contextual.move(G.clientX+E,G.clientY+B)}}};rdfw.widgets.contextual.onover=function(D,B){if(rdfw.widgets.contextual&&rdfw.widgets.contextual.built){if(B.contextual||(typeof B.hasAttribute=="function"&&B.hasAttribute("contextual"))){rdfw.widgets.contextual.setText(B.getAttribute("contextual"));rdfw.widgets.contextual.show()}}};rdfw.widgets.contextual.onout=function(D,B){if(rdfw.widgets.contextual&&rdfw.widgets.contextual.built){if(B.contextual||(typeof B.hasAttribute=="function"&&B.hasAttribute("contextual"))){rdfw.widgets.contextual.hide()}}};rdfw.event.addStacker(window,"onload");rdfw.event.addStacker(document,"onmouseover");rdfw.event.addStacker(document,"onmouseout");rdfw.event.addStacker(document,"onmousemove");window.addEvent("onload",function(){rdfw.widgets.contextual.make()});document.addEvent("onmouseover",function(D,B){rdfw.widgets.contextual.onover(D,B)});document.addEvent("onmouseout",function(D,B){rdfw.widgets.contextual.onout(D,B)});document.addEvent("onmousemove",function(D,B){rdfw.widgets.contextual.onmove(D,B)});