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,b,p,e,k,m,g,f,d,n,l){if(!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(b){this.setAttribute("id",b)}if(p){this.setAttribute("width",p)}if(e){this.setAttribute("height",e)}if(k){this.setAttribute("version",new deconcept.PlayerVersion(k.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(m){this.addParam("bgcolor",m)}var a=f?f:"high";this.addParam("quality",a);this.setAttribute("useExpressInstall",g);this.setAttribute("doExpressInstall",false);var j=(d)?d:window.location;this.setAttribute("xiRedirectUrl",j);this.setAttribute("redirectUrl","");if(n){this.setAttribute("redirectUrl",n)}};deconcept.SWFObject.prototype={setAttribute:function(a,b){this.attributes[a]=b},getAttribute:function(a){return this.attributes[a]},addParam:function(b,a){this.params[b]=a},getParams:function(){return this.params},addVariable:function(b,a){this.variables[b]=a},getVariable:function(a){return this.variables[a]},getVariables:function(){return this.variables},getVariablePairs:function(){var c=new Array();var b;var a=this.getVariables();for(b in a){c.push(b+"="+a[b])}return c},getSWFHTML:function(){var b="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn")}b='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'"';b+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var f=this.getParams();for(var e in f){b+=[e]+'="'+f[e]+'" '}var d=this.getVariablePairs().join("&");if(d.length>0){b+='flashvars="'+d+'"'}b+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX")}b='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'">';b+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var c=this.getParams();for(var e in c){b+='<param name="'+e+'" value="'+c[e]+'" />'}var a=this.getVariablePairs().join("&");if(a.length>0){b+='<param name="flashvars" value="'+a+'" />'}b+="</object>"}return b},write:function(b){if(this.getAttribute("useExpressInstall")){var a=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(a)&&!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 c=(typeof b=="string")?document.getElementById(b):b;c.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var d=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){d=new deconcept.PlayerVersion(a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."))}}else{try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(c){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");d=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(c){if(d.major==6){return d}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(c){}}if(b!=null){d=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}return d};deconcept.PlayerVersion=function(a){this.major=a[0]!=null?parseInt(a[0]):0;this.minor=a[1]!=null?parseInt(a[1]):0;this.rev=a[2]!=null?parseInt(a[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(a){if(this.major<a.major){return false}if(this.major>a.major){return true}if(this.minor<a.minor){return false}if(this.minor>a.minor){return true}if(this.rev<a.rev){return false}return true};deconcept.util={getRequestParameter:function(a){var d=document.location.search||document.location.hash;if(d){var c=d.substring(1).split("&");for(var b=0;b<c.length;b++){if(c[b].substring(0,c[b].indexOf("="))==a){return c[b].substring((c[b].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){if(window.opera||!document.all){return}var c=document.getElementsByTagName("OBJECT");for(var b=0;b<c.length;b++){c[b].style.display="none";for(var a in c[b]){if(typeof c[b][a]=="function"){c[b][a]=function(){}}}}};deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};if(typeof window.onunload=="function"){var a=window.onunload;window.onunload=function(){deconcept.SWFObjectUtil.cleanupSWFs();a()}}else{window.onunload=deconcept.SWFObjectUtil.cleanupSWFs}};if(typeof window.onbeforeunload=="function"){var oldBeforeUnload=window.onbeforeunload;window.onbeforeunload=function(){deconcept.SWFObjectUtil.prepUnload();oldBeforeUnload()}}else{window.onbeforeunload=deconcept.SWFObjectUtil.prepUnload}if(Array.prototype.push==null){Array.prototype.push=function(a){this[this.length]=a;return this.length}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;var objNavMenu=null;var prevObjNavMenu=null;var prevObjDropMenu=null;var numDropMenu=7;var procID=null;var bgLinkColor="#cccccc";var bgLinkHover="#ffffff";var bgLinkActive="#000000";var linkColor="#000000";var linkHover="#000000";var linkActive="#ffffff";var NUM_IMAGES=14;var imageArray=new Array(NUM_IMAGES);var isIE=null;if(navigator.appName.indexOf("Microsoft Internet Explorer")!=-1){isIE=1}function preloadImages(a){for(idx=0;idx<NUM_IMAGES;idx++){imageArray[idx]=new Image()}if(a==undefined){$img_filepath="/forums/templates/rdi/images/"}else{$img_filepath="/forums/templates/rdi/"+a+"/images/"}imageArray[0].src=$img_filepath+"home_off.gif";imageArray[1].src=$img_filepath+"home_on.gif";imageArray[2].src=$img_filepath+"forum_off.gif";imageArray[3].src=$img_filepath+"forum_on.gif";imageArray[4].src=$img_filepath+"dmsites_off.gif";imageArray[5].src=$img_filepath+"dmsites_on.gif";imageArray[6].src=$img_filepath+"started_off.gif";imageArray[7].src=$img_filepath+"started_on.gif";imageArray[8].src=$img_filepath+"settings_off.gif";imageArray[9].src=$img_filepath+"settings_on.gif";imageArray[10].src=$img_filepath+"community_off.gif";imageArray[11].src=$img_filepath+"community_on.gif";imageArray[12].src=$img_filepath+"info_off.gif";imageArray[13].src=$img_filepath+"info_on.gif"}function initDropMenu(a){for(i=0;i<numDropMenu;i++){menuName="dropMenu"+i;navName="navMenu"+i;objDropMenu=document.getElementById(menuName);objNavMenu=document.getElementById(navName);if(objDropMenu){objDropMenu.style.visibility="hidden";objDropMenu.onmouseover=dropMenuHover;objDropMenu.onmouseout=dropMenuOut;objNavMenu.onmouseover=menuHover;objNavMenu.onmouseout=menuOut}else{objNavMenu.onmouseover=getNonDropOn;objNavMenu.onmouseout=getNonDropOff}}objNavMenu=null;preloadImages(a)}function menuHover(a){document.onmouseover=null;if(procID){clearTimeout(procID);procID=null}hoverObjNavMenu=document.getElementById(this.id);getOnImage(this.id.substring(7,this.id.length));showDropMenu(a,this.id);if(hoverObjNavMenu!=objNavMenu){}}function menuOut(a){document.onmouseover=hideDropMenu;outObjNavMenu=document.getElementById(this.id);if(outObjNavMenu!=objNavMenu){}}function dropMenuHover(a){document.onmouseover=null;if(procID){clearTimeout(procID);procID=null}}function dropMenuOut(a){document.onmouseover=hideDropMenu}function showDropMenu(a,b){menuName="drop"+b.substring(3,b.length);objDropMenu=document.getElementById(menuName);if(prevObjDropMenu==objDropMenu){hideDropMenu();return}if(prevObjDropMenu!=null){hideDropMenu()}objNavMenu=document.getElementById(b);if((prevObjNavMenu!=objNavMenu)||(prevObjDropMenu==null)){}if(objDropMenu){xPos=objNavMenu.offsetParent.offsetLeft+objNavMenu.offsetLeft;yPos=objNavMenu.offsetParent.offsetTop+objNavMenu.offsetParent.offsetHeight;if(isIE){yPos-=1;xPos-=6}yPos-=6;xPos+=13;objDropMenu.style.left=xPos+"px";objDropMenu.style.top=yPos+"px";objDropMenu.style.visibility="visible";prevObjDropMenu=objDropMenu}}function hideDropMenu(){document.onmouseover=null;getOffImage(objNavMenu.id.substring(7,objNavMenu.id.length));if(prevObjDropMenu){prevObjDropMenu.style.visibility="hidden";prevObjDropMenu=null;if(prevObjNavMenu){prevObjNavMenu.style.color=linkColor;prevObjNavMenu.style.backgroundColor=bgLinkColor}}objNavMenu=null}function getOffImage(d){var c;var a;var b;a=parseInt(d);b=document.getElementById("head"+a.toString());c=(a*2);b.src=imageArray[c].src}function getOnImage(d){var c;var a;var b;a=parseInt(d);b=document.getElementById("head"+a.toString());c=(a*2)+1;b.src=imageArray[c].src}function getNonDropOff(d){var c;var a;var b;a=parseInt(this.id.substring(7,this.id.length));b=document.getElementById("head"+a.toString());c=(a*2);b.src=imageArray[c].src}function getNonDropOn(d){var c;var a;var b;a=parseInt(this.id.substring(7,this.id.length));b=document.getElementById("head"+a.toString());c=(a*2)+1;b.src=imageArray[c].src}SMR_confMaxDim=350;function SMR_resize(a){thisWidth=a.width;thisHeight=a.height;if(thisWidth>thisHeight){thisMaxDim=thisWidth}else{thisMaxDim=thisHeight}if(thisMaxDim>SMR_confMaxDim){thisMinDim=Math.round((((thisWidth>thisHeight)?thisHeight:thisWidth)*SMR_confMaxDim)/thisMaxDim);if(thisWidth>thisHeight){thisWidth=SMR_confMaxDim;thisHeight=thisMinDim}else{thisHeight=SMR_confMaxDim;thisWidth=thisMinDim}}a.height=thisHeight;a.width=thisWidth}function SMR_setLink(a){thisInnerHtml=a.innerHTML;tmpArray=thisInnerHtml.split(' src="');tmpArray=tmpArray[1].split('"');a.href=tmpArray[0]};