try{if(parent&&!(typeof parent.cdwm=="undefined"||typeof parent.cdwm=="unknown")){cdwm=parent.cdwm}}catch(e){}if(typeof console=="undefined"){var console={log:function(a){},warn:function(a){},dir:function(a){}}}var images_fldr="/i/";var icon_fldr=images_fldr+"icons/";var expand_icon=new Image(16,16);expand_icon.src=icon_fldr+"expand_icon.gif";var collapse_icon=new Image(16,16);collapse_icon.src=icon_fldr+"collapse_icon.gif";var wiki_page_load_complete=false;function group_whois_popup(URL){day=new Date();id=day.getTime();eval("page"+id+" = window.open(URL, '"+id+"', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=250,height=300');")}function validatenumlett(f){var d="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";var c="yes";var a;for(var b=0;b<f.value.length;b++){a=""+f.value.substring(b,b+1);if(d.indexOf(a)=="-1"){c="no"}}return c}function validatenumlettstr(f){var d="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";var c="yes";var a;for(var b=0;b<f.length;b++){a=""+f.substring(b,b+1);if(d.indexOf(a)=="-1"){c="no"}}return c}function strtrim(a){return a.replace(/^\s+/,"").replace(/\s+$/,"")}function findPos(a){var b=curtop=0;if(a.offsetParent){b=a.offsetLeft;curtop=a.offsetTop;while(a=a.offsetParent){b+=a.offsetLeft;curtop+=a.offsetTop}}return curtop}function makeRemote(c,b,d,a){remote=window.open(c,b,"height="+d+",width="+a+",toolbar=yes,location=no,scrollbars=yes,menubar=n");remote.location.href=c;if(remote.opener==null){remote.opener=window}}function displaystatus(g,b,c,a,f){if(!c){c="ffffff"}if(!a){a=6000}if(!f){f="stmsg"}var d=document.getElementById(f);d.innerHTML=statusmsg(g,b,c);d.style.display="block";window.setTimeout("document.getElementById('"+f+"').style.display = 'none';",a)}function statusmsg(d,b,c){if(b=="e"){var a="#FF6666"}else{var a="#FFCC33"}return'<table class="stmsg_tbl" cellpadding="0" cellspacing="0"><tr><td style="background: '+a+" url(/i/lft_top_trans_"+c+'.gif) top no-repeat; " height="9" width="7"></td><td style="background: '+a+'; " rowspan="2">&nbsp;&nbsp;&nbsp;&nbsp;<b>'+d+'</b>&nbsp;&nbsp;&nbsp;&nbsp;</td><td style="background: '+a+" url(/i/rgt_top_trans_"+c+'.gif) top no-repeat; " height="9" width="7"></td></tr><tr><td style="background: '+a+" url(/i/lft_bot_trans_"+c+'.gif) bottom no-repeat; " height="9" width="7"></td><td style="background: '+a+" url(/i/rgt_bot_trans_"+c+'.gif) bottom no-repeat; " height="9" width="7"></td></tr></table>'}function cdsrch(d){var c=encodeURIComponent(d.q.value);var a=d.alttype_id.value;var b=d.select_search_type.value;if(b=="web"){top.location="http://www.google.com/search?q="+c}else{if(b=="forum"){top.location="http://forum.centraldesktop.com/search.php?action=search&keywords="+c}else{if(b=="tags"){top.location="/home/search?q=&tags="+c+"&q_at="+a+"&st="}else{if(b=="cd"){top.location="/home/search?q="+c+"&q_at=8&st="}else{if(b=="help"){cd_launch_help_search(c)}else{top.location="/home/search?q="+c+"&q_at="+a+"&st="+b}}}}}return false}function cd_launch_help_search(a){cd_popup_helpcenter("http://helpcenter.centraldesktop.com/search?cx=007733651685945638538%3A1ezy8tg8vbs&cof=FORID%3A11&ie=UTF-8&q="+a);return false}function cdsrch_public(a,c){var b=encodeURIComponent(document.getElementById(c).value);disablesubmit(a,"Searching...");window.location=cd_spaceurl+"search&q="+b;return false}function checkEntersrch_public(d,b,c){var a;if(d&&d.which){d=d;a=d.which}else{d=event;a=d.keyCode}if(a==13){cdsrch_public(b,c);return false}return true}function validateField(a,b){if(document.getElementById(a).value==""){alert(b);document.getElementById(a).focus();return false}else{return true}}function IsNumeric(b){var d="0123456789";var c=true;var a;for(i=0;i<b.length&&c==true;i++){a=b.charAt(i);if(d.indexOf(a)==-1){c=false}}return c}function showMessage(a){var c=document.getElementById("message");var b=document.getElementById("messages");if(c.firstChild){c.removeChild(c.firstChild)}c.appendChild(document.createTextNode(a));b.style.display="block";if(typeof(window.cd_page)!="undefined"){if(cd_page=="filemanager"){if(browser.isIE){fixed_layout()}}}}function hideMessage(b){var a=document.getElementById(b);if(a){a.style.display="none"}wiki_page_load_complete=true}function disablesubmit(a,b){if(document.getElementById(a)){document.getElementById(a).disabled=true;if(b){document.getElementById(a).value=b}}}function enablesubmit(a,b){if(document.getElementById(a)){document.getElementById(a).disabled=false;if(b){document.getElementById(a).value=b}}}function bigmsg(){if(document.getElementById("bigmsg")){window.setTimeout("document.getElementById('bigmsg').style.display = 'none';",10000)}}function switchFlags(b,a){$$(b).each(function(d,c){d.checked=a})}function check_all_boxes_in_form(a,c,b){(a.checked)?CheckAll(c,b):ClearAll(c,b)}function CheckAll(b,d){var f=document.forms[b];for(var a=0;a<f.elements.length;a++){var c=f.elements[a];if(c.id==d){c.checked=true;if(d=="itemids"){check_exec(c,c.parentNode.parentNode)}}}}function ClearAll(b,d){var f=document.forms[b];for(var a=0;a<f.elements.length;a++){var c=f.elements[a];if(c.id==d){c.checked=false;if(d=="itemids"){check_exec(c,c.parentNode.parentNode)}}}}function check_exec(b,a){}function clean_prompt_input_box(d){var b="";var a=d.length;for(i=0;i<a;i++){var c=d.charCodeAt(i);if(c==43){b+="%2b"}else{if(c>128){b+=d.charAt(i)}else{b+=escape(d.charAt(i))}}}return b}function rand(){return Math.random()}function randomString(){var d="0123456789abcdefghiklmnopqrstuvwxyz";var f=35;var c="";for(var b=0;b<f;b++){var a=Math.floor(Math.random()*d.length);c+=d.substring(a,a+1)}return"N"+c}function autolink(b){var a=/\s(ht|f)tp:\/\/([^ \,\;\:\!\)\(\"\'\<\>\f\n\r\t\v])+/g;return(b.replace(a,function(d,c,f){b=d.substring(1,d.length);while(b.length>0&&b.charAt(b.length-1)=="."){b=b.substring(0,b.length-1)}return" "+b.link(b)}))}function display_show(b,a){(a)?document.getElementById(b).style.display="block":document.getElementById(b).style.display="none"}function remove_table_rows(a,c,b){for(i=0;i<=c.length-1;i++){var d=document.getElementById(b+c[i]);if(d){a.deleteRow(d.rowIndex)}}}var WikiCookies={all:[],readAll:function(){var a=document.cookie.split(";");for(var b=0;b<a.length;b++){var f=a[b];var d=f.split("=");if(d.length==2){this.all[d[0].replace(/(^\s*)|(\s*$)/g,"")]=unescape(d[1].replace(/(^\s*)|(\s*$)/g,""))}}},readcookie:function(b){var f=b+"=";var a=document.cookie.split(";");for(var d=0;d<a.length;d++){var g=a[d];while(g.charAt(0)==" "){g=g.substring(1,g.length)}if(g.indexOf(f)==0){return g.substring(f.length,g.length)}}return null},save:function(c,d,f){f=f||365;var b=new Date();b.setTime(b.getTime()+(f*24*60*60*1000));var a="; expires="+b.toGMTString();document.cookie=c+"="+escape(d)+a+"; path=/"},remove:function(a){WikiCookies.save(a,"",-1)}};function str_rot13(g){var h=new String("");var c=g.length;var a;var d=new String("");if(c>0){for(var f=0;f<c;f++){a=g.charCodeAt(f);if(((a>64)&&(a<78))||((a>96)&&(a<110))){a=a+13}else{if(((a>77)&&(a<91))||((a>109)&&(a<123))){a=a-13}}d=String.fromCharCode(a);h=h.concat(d)}}return h}function install_ff_search_plugin(a){if(window.sidebar&&window.sidebar.addSearchEngine){window.sidebar.addSearchEngine(a.href,"http://www.centraldesktop.com/i/cd.png","Central Desktop Search Plugin","Search");return false}return true}function escramble_email(n,l,h){var g,f,o,m,k;g='<a href="mai';f=n;o='">';g+="lto:";f+="@";k="</a>";f+=l;f+=".";f+=h;m=f;document.write(g+f+o+m+k)}function escramble_email_only(h,g,f){var d,c;d="mai";c=h;d+="lto:";c+="@";c+=g;c+=".";c+=f;return d+c}function escramble_email_only_2(g,f){var d,c;d="mai";c=g;d+="lto:";c+="@";c+=f;return d+c}function msg_checkall(g,b){chkall=$("checkall_"+b).checked;var a=g.elements.length;for(var c=0;c<a;c++){var f=g.elements[c];if(f.id=="nu"){(chkall)?f.checked=true:f.checked=false}}}function check_firstchild(a){a.parentNode.firstChild.checked=(a.parentNode.firstChild.checked)?false:true}function open_notifier_sidebar(){var c="/spaces/recent_activity/";var d=250;var f=screen.availHeight-30;var b=screen.availWidth-d;var a=window.open(c,"navWin","width="+d+",height="+f+",top=0,left="+b+",resizable=0,status=0,menubar=0,titlebar=0,location=0");a.focus()}function insertTab(c,g){var f=9;if(c.which){var a=c.which}else{var a=c.keyCode}if(a==f){if(c.type=="keydown"){if(g.setSelectionRange){var b=g.selectionStart;var d=g.selectionEnd;g.value=g.value.substring(0,b)+"\t"+g.value.substr(d);g.setSelectionRange(b+1,b+1);g.focus()}else{if(g.createTextRange){document.selection.createRange().text="\t";g.onblur=function(){this.focus();this.onblur=null}}else{}}}if(c.returnValue){c.returnValue=false}if(c.preventDefault){c.preventDefault()}return false}return true}function strip_non_alpha_numerics(f){var b="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";var a;var d="";for(a=0;a<f.length;a++){var g=f.charAt(a);if(b.indexOf(g)>-1){d+=g}}return d}function switch_domains(){var a=$("cd_switch_domains").style.display;$("cd_switch_domains").style.display=(a=="none")?"block":"none"}function validate_username(b){var a=xml_request("GET","/spaces/ns_doaction?do=check_valid_username&username="+b,false);return a}function validate_company(b){var a=xml_request("GET","/spaces/ns_doaction?do=check_valid_company&company="+b,false);return a}function validate_email(b){var a=xml_request("GET","/spaces/ns_doaction?do=check_valid_email&email="+b,false);return a}function cd_done_loading(a){var c=(((new Date()).getTime()-cd_began_loading)/1000);var b="/spaces/ns_doaction";var d={"do":"clt",id:a,lt:c,rand:Math.random()};new Ajax.Request(b,{method:"get",parameters:d,onSuccess:function(){var f=$("execution_time_client_side");if(f){f.innerHTML="Client Execution Time: "+c+" sec"}}})}function BrowserDetect(){var a=navigator.userAgent.toLowerCase();this.isGecko=(a.indexOf("gecko")!=-1&&a.indexOf("safari")==-1);this.isAppleWebKit=(a.indexOf("applewebkit")!=-1);this.isKonqueror=(a.indexOf("konqueror")!=-1);this.isSafari=(a.indexOf("safari")!=-1);this.isOmniweb=(a.indexOf("omniweb")!=-1);this.isOpera=(a.indexOf("opera")!=-1);this.isIcab=(a.indexOf("icab")!=-1);this.isAol=(a.indexOf("aol")!=-1);this.isIE=(a.indexOf("msie")!=-1&&!this.isOpera&&(a.indexOf("webtv")==-1));this.isMozilla=(this.isGecko&&a.indexOf("gecko/")+14==a.length);this.isFirebird=(a.indexOf("firebird/")!=-1);this.isNS=((this.isGecko)?(a.indexOf("netscape")!=-1):((a.indexOf("mozilla")!=-1)&&!this.isOpera&&!this.isSafari&&(a.indexOf("spoofer")==-1)&&(a.indexOf("compatible")==-1)&&(a.indexOf("webtv")==-1)&&(a.indexOf("hotjava")==-1)));this.isIECompatible=((a.indexOf("msie")!=-1)&&!this.isIE);this.isNSCompatible=((a.indexOf("mozilla")!=-1)&&!this.isNS&&!this.isMozilla);this.geckoVersion=((this.isGecko)?a.substring((a.lastIndexOf("gecko/")+6),(a.lastIndexOf("gecko/")+14)):-1);this.equivalentMozilla=((this.isGecko)?parseFloat(a.substring(a.indexOf("rv:")+3)):-1);this.appleWebKitVersion=((this.isAppleWebKit)?parseFloat(a.substring(a.indexOf("applewebkit/")+12)):-1);this.versionMinor=parseFloat(navigator.appVersion);if(this.isGecko&&!this.isMozilla){this.versionMinor=parseFloat(a.substring(a.indexOf("/",a.indexOf("gecko/")+6)+1))}else{if(this.isMozilla){this.versionMinor=parseFloat(a.substring(a.indexOf("rv:")+3))}else{if(this.isIE&&this.versionMinor>=4){this.versionMinor=parseFloat(a.substring(a.indexOf("msie ")+5))}else{if(this.isKonqueror){this.versionMinor=parseFloat(a.substring(a.indexOf("konqueror/")+10))}else{if(this.isSafari){this.versionMinor=parseFloat(a.substring(a.lastIndexOf("safari/")+7))}else{if(this.isOmniweb){this.versionMinor=parseFloat(a.substring(a.lastIndexOf("omniweb/")+8))}else{if(this.isOpera){this.versionMinor=parseFloat(a.substring(a.indexOf("opera")+6))}else{if(this.isIcab){this.versionMinor=parseFloat(a.substring(a.indexOf("icab")+5))}}}}}}}}this.versionMajor=parseInt(this.versionMinor);this.isDOM1=(document.getElementById);this.isDOM2Event=(document.addEventListener&&document.removeEventListener);this.mode=document.compatMode?document.compatMode:"BackCompat";this.isWin=(a.indexOf("win")!=-1);this.isWin32=(this.isWin&&(a.indexOf("95")!=-1||a.indexOf("98")!=-1||a.indexOf("nt")!=-1||a.indexOf("win32")!=-1||a.indexOf("32bit")!=-1||a.indexOf("xp")!=-1));this.isMac=(a.indexOf("mac")!=-1);this.isUnix=(a.indexOf("unix")!=-1||a.indexOf("sunos")!=-1||a.indexOf("bsd")!=-1||a.indexOf("x11")!=-1);this.isLinux=(a.indexOf("linux")!=-1)}var browser=new BrowserDetect();function chk_compatibility(b,d,a){if((browser.isGecko&&!browser.isMozilla)||(browser.isNS&&(browser.versionMinor>=7.1))||(browser.isIE&&(browser.versionMinor>=5.5))||(browser.isMozilla&&(browser.versionMinor>1.3))){}else{var c='<div align="center"><br />';c+="<h1>Wait!  Your browser might not be fully compatible with Central Desktop.</h1>";c+='<h2>See our <a href="/no?browser">browser requirements</a> for more information about browser compatibilty.</h2>';c+='<br /><h1 style="color: green; font-size: 18px;">&raquo; <a href="'+d+"?c=1&rurl="+a+'" style="color: green;">Click Here to Sign in Anyway</a></h1>';c+="<small>Some features of the application may not function properly.</small><br /><br /><br /><br /><br />";c+="</div>";document.getElementById(b).innerHTML=c}}function getAnchorPosition(b){var f=false;var m=new Object();var l=0,h=0;var d=false,g=false,k=false;if(document.getElementById){d=true}else{if(document.all){g=true}else{if(document.layers){k=true}}}if(d&&document.all){l=AnchorPosition_getPageOffsetLeft(document.all[b]);h=AnchorPosition_getPageOffsetTop(document.all[b])}else{if(d){var a=document.getElementById(b);l=AnchorPosition_getPageOffsetLeft(a);h=AnchorPosition_getPageOffsetTop(a)}else{if(g){l=AnchorPosition_getPageOffsetLeft(document.all[b]);h=AnchorPosition_getPageOffsetTop(document.all[b])}else{if(k){var n=0;for(var c=0;c<document.anchors.length;c++){if(document.anchors[c].name==b){n=1;break}}if(n==0){m.x=0;m.y=0;return m}l=document.anchors[c].x;h=document.anchors[c].y}else{m.x=0;m.y=0;return m}}}}m.x=l;m.y=h;return m}function getAnchorWindowPosition(b){var c=getAnchorPosition(b);var a=0;var d=0;if(document.getElementById){if(isNaN(window.screenX)){a=c.x-document.body.scrollLeft+window.screenLeft;d=c.y-document.body.scrollTop+window.screenTop}else{a=c.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;d=c.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset}}else{if(document.all){a=c.x-document.body.scrollLeft+window.screenLeft;d=c.y-document.body.scrollTop+window.screenTop}else{if(document.layers){a=c.x+window.screenX+(window.outerWidth-window.innerWidth)-window.pageXOffset;d=c.y+window.screenY+(window.outerHeight-24-window.innerHeight)-window.pageYOffset}}}c.x=a;c.y=d;return c}function AnchorPosition_getPageOffsetLeft(b){var a=b.offsetLeft;while((b=b.offsetParent)!=null){a+=b.offsetLeft}return a}function AnchorPosition_getWindowOffsetLeft(a){return AnchorPosition_getPageOffsetLeft(a)-document.body.scrollLeft}function AnchorPosition_getPageOffsetTop(a){var b=a.offsetTop;while((a=a.offsetParent)!=null){b+=a.offsetTop}return b}function AnchorPosition_getWindowOffsetTop(a){return AnchorPosition_getPageOffsetTop(a)-document.body.scrollTop}function PopupWindow_getXYPosition(a){var b;if(this.type=="WINDOW"){b=getAnchorWindowPosition(a)}else{b=getAnchorPosition(a)}this.x=b.x;this.y=b.y}function PopupWindow_setSize(b,a){this.width=b;this.height=a}function PopupWindow_populate(a){this.contents=a;this.populated=false}function PopupWindow_setUrl(a){this.url=a}function PopupWindow_setWindowProperties(a){this.windowProperties=a}function PopupWindow_refresh(){if(this.divName!=null){if(this.use_gebi){document.getElementById(this.divName).innerHTML=this.contents}else{if(this.use_css){document.all[this.divName].innerHTML=this.contents}else{if(this.use_layers){var a=document.layers[this.divName];a.document.open();a.document.writeln(this.contents);a.document.close()}}}}else{if(this.popupWindow!=null&&!this.popupWindow.closed){if(this.url!=""){this.popupWindow.location.href=this.url}else{this.popupWindow.document.open();this.popupWindow.document.writeln(this.contents);this.popupWindow.document.close()}this.popupWindow.focus()}}}function PopupWindow_showPopup(b){if(browser.isIE){overlay.toggleSelects(true)}if(this.divName.indexOf("cd_item_subscribers_")==0){var a=this.divName.substring(19,this.divName.length);$("cd_item_subscribers_list"+a).style.display="block"}this.getXYPosition(b);this.x+=this.offsetX;this.y+=this.offsetY;if(!this.populated&&(this.contents!="")){this.populated=true;this.refresh()}if(this.divName!=null){if(this.use_gebi){document.getElementById(this.divName).style.left=this.x+"px";document.getElementById(this.divName).style.top=this.y+"px";document.getElementById(this.divName).style.visibility="visible"}else{if(this.use_css){document.all[this.divName].style.left=this.x;document.all[this.divName].style.top=this.y;document.all[this.divName].style.visibility="visible"}else{if(this.use_layers){document.layers[this.divName].left=this.x;document.layers[this.divName].top=this.y;document.layers[this.divName].visibility="visible"}}}}else{if(this.popupWindow==null||this.popupWindow.closed){if(this.x<0){this.x=0}if(this.y<0){this.y=0}if(screen&&screen.availHeight){if((this.y+this.height)>screen.availHeight){this.y=screen.availHeight-this.height}}if(screen&&screen.availWidth){if((this.x+this.width)>screen.availWidth){this.x=screen.availWidth-this.width}}var c=window.opera||(document.layers&&!navigator.mimeTypes["*"])||navigator.vendor=="KDE"||(document.childNodes&&!document.all&&!navigator.taintEnabled);this.popupWindow=window.open(c?"":"about:blank","window_"+b,this.windowProperties+",width="+this.width+",height="+this.height+",screenX="+this.x+",left="+this.x+",screenY="+this.y+",top="+this.y+"")}this.refresh()}}function PopupWindow_hidePopup(){if(browser.isIE){overlay.toggleSelects(false)}if(this.divName.indexOf("cd_item_subscribers_")==0){var a=this.divName.substring(19,this.divName.length);$("cd_item_subscribers_list"+a).style.display="none"}if(this.divName!=null){var b;if(this.use_gebi){b=document.getElementById(this.divName);if(b){b.style.visibility="hidden"}}else{if(this.use_css){b=document.all[this.divName];if(b){b.style.visibility="hidden"}}else{if(this.use_layers){b=document.layers[this.divName];if(b){b.visibility="hidden"}}}}}else{if(this.popupWindow&&!this.popupWindow.closed){this.popupWindow.close();this.popupWindow=null}}}function PopupWindow_isClicked(c){if(this.divName!=null){if(this.use_layers){var d=c.pageX;var b=c.pageY;var a=document.layers[this.divName];if((d>a.left)&&(d<a.left+a.clip.width)&&(b>a.top)&&(b<a.top+a.clip.height)){return true}else{return false}}else{if(document.all){var a=window.event.srcElement;while(a.parentElement!=null){if(a.id==this.divName){return true}a=a.parentElement}return false}else{if(this.use_gebi&&c){var a=c.target;while(a.parentNode!=null){if(a.id==this.divName){return true}a=a.parentNode}return false}}}return false}return false}function PopupWindow_hideIfNotClicked(a){if(this.autoHideEnabled&&!this.isClicked(a)){this.hidePopup()}}function PopupWindow_autoHide(){this.autoHideEnabled=true}function PopupWindow_hidePopupWindows(c){for(var a=0;a<popupWindowObjects.length;a++){if(popupWindowObjects[a]!=null){var b=popupWindowObjects[a];b.hideIfNotClicked(c)}}}function PopupWindow_attachListener(){Event.observe(document,"mouseup",PopupWindow_hidePopupWindows)}function PopupWindow(){if(!window.popupWindowIndex){window.popupWindowIndex=0}if(!window.popupWindowObjects){window.popupWindowObjects=new Array()}if(!window.listenerAttached){window.listenerAttached=true;PopupWindow_attachListener()}this.index=popupWindowIndex++;popupWindowObjects[this.index]=this;this.divName=null;this.popupWindow=null;this.width=0;this.height=0;this.populated=false;this.visible=false;this.autoHideEnabled=false;this.contents="";this.url="";this.windowProperties="toolbar=no,location=no,status=no,menubar=no,scrollbars=auto,resizable,alwaysRaised,dependent,titlebar=no";if(arguments.length>0){this.type="DIV";this.divName=arguments[0]}else{this.type="WINDOW"}this.use_gebi=false;this.use_css=false;this.use_layers=false;if(document.getElementById){this.use_gebi=true}else{if(document.all){this.use_css=true}else{if(document.layers){this.use_layers=true}else{this.type="WINDOW"}}}this.offsetX=0;this.offsetY=0;this.getXYPosition=PopupWindow_getXYPosition;this.populate=PopupWindow_populate;this.setUrl=PopupWindow_setUrl;this.setWindowProperties=PopupWindow_setWindowProperties;this.refresh=PopupWindow_refresh;this.showPopup=PopupWindow_showPopup;this.hidePopup=PopupWindow_hidePopup;this.setSize=PopupWindow_setSize;this.isClicked=PopupWindow_isClicked;this.autoHide=PopupWindow_autoHide;this.hideIfNotClicked=PopupWindow_hideIfNotClicked}function showTabDropDown(c,g){var g=$(g);if(!g){return}var b=function(k){var h=Event.findElement(k,"div");if(!h||!h.hasClassName("cd_tabs_dropdown")){$(document).stopObserving("click",b);g.hide()}};setTimeout(function(){Event.observe(document,"click",b)},50);g.show();g.style.top=g.up().getDimensions().height;var f=g.up().positionedOffset();var d=g.getDimensions();var a=document.viewport.getDimensions();if(f.left+d.width>a.width){g.style.right=0;g.style.left=""}else{g.style.left=0;g.style.right=""}}function showDropDown(f,b,d){var l=$(b);if(!l){return}var k=function(n){var m=Event.findElement(n,".cd_dropdown_control");if(!m){$(document).stopObserving("click",k);l.hide()}};setTimeout(function(){Event.observe(document,"click",k)},50);l.style.position="absolute";l.show();var g=$(f).getDimensions();var a=$(f).cumulativeOffset();var c=l.getDimensions();var h=document.viewport.getDimensions();l.style.top=a[1]+g.height+"px";if((a[0]+c.width>h.width&&!d)||d=="left"){l.style.left=a[0]-(c.width-g.width)+"px"}else{l.style.left=a[0]+"px"}}function JSGetSwfVer(b){if(navigator.plugins!=null&&navigator.plugins.length>0){if(navigator.plugins["Shockwave Flash 2.0"]||navigator.plugins["Shockwave Flash"]){var c=navigator.plugins["Shockwave Flash 2.0"]?" 2.0":"";var a=navigator.plugins["Shockwave Flash"+c].description;descArray=a.split(" ");tempArrayMajor=descArray[2].split(".");versionMajor=tempArrayMajor[0];versionMinor=tempArrayMajor[1];if(descArray[3]!=""){tempArrayMinor=descArray[3].split("r")}else{tempArrayMinor=descArray[4].split("r")}versionRevision=tempArrayMinor[1]>0?tempArrayMinor[1]:0;flashVer=versionMajor+"."+versionMinor+"."+versionRevision}else{flashVer=-1}}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.6")!=-1){flashVer=4}else{if(navigator.userAgent.toLowerCase().indexOf("webtv/2.5")!=-1){flashVer=3}else{if(navigator.userAgent.toLowerCase().indexOf("webtv")!=-1){flashVer=2}else{flashVer=-1}}}}return flashVer}function DetectFlashVer(c,b,a){reqVer=parseFloat(c+"."+a);for(i=25;i>0;i--){versionStr=JSGetSwfVer(i);if(versionStr==-1){return false}else{if(versionStr!=0){versionArray=versionStr.split(".");versionMajor=versionArray[0];versionMinor=versionArray[1];versionRevision=versionArray[2];versionString=versionMajor+"."+versionRevision;versionNum=parseFloat(versionString);if((versionMajor>c)&&(versionNum>=reqVer)){return true}else{return((versionNum>=reqVer&&versionMinor>=b)?true:false)}}}}return(reqVer?false:0)}function cd_hot_keys(a){var c=String.fromCharCode(a.charCode).toLowerCase();if(a.shiftKey){c=c.toUpperCase()}for(var b=0;b<cd_key_actions.length;b++){if(cd_key_actions[b].character==c){var d;if(cd_key_actions[b].actionType.toLowerCase()=="link"){d=new Function('location.href  ="'+cd_key_actions[b].param+'"')}else{if(cd_key_actions[b].actionType.toLowerCase()=="code"){d=new Function(cd_key_actions[b].param)}else{break}}d();break}}}var menu_small={on_hover:function(b,a){var c=(a=="b")?"bottom":"top";b.className="cd_"+c+"_menu_hover_on"},off_hover:function(b,a){var c=(a=="b")?"bottom":"top";b.className="cd_"+c+"_menu_hover_off"},ahref:function(b,a){if(a=="new"){window.open(b)}else{window.location=b}}};function update_custom_color_scheme(b,a){if($("color_palette_custom")){$("color_palette_custom").checked=true}}function submit_form(){}function addslashes(a){a=a.replace(/\'/g,"\\'");a=a.replace(/\"/g,'\\"');a=a.replace(/\\/g,"\\\\");a=a.replace(/\0/g,"\\0");return a}function stripslashes(a){a=a.replace(/\\'/g,"'");a=a.replace(/\\"/g,'"');a=a.replace(/\\\\/g,"\\");a=a.replace(/\\0/g,"\0");return a}function check_password_complexity(a){if(a.match(/^.*(?=.{6,})(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=\-!]).*$/)){return true}else{return false}}function open_lightbox(h,b,d,m,k,c,l){if(c.match(/\&do\=$/)){c+=b;b=""}var g=(typeof(ajax_params)!="undefined"?ajax_params:"")+(b?b:"")+"&"+(c?c:"");var a=h+"?"+g;var c={title:d,file:a,width:m,height:k,type:"dynamic",inline:1};if((l!=null)&&(l.beforeRender!=null)){c.beforeOpen=l.beforeRender}if((l!=null)&&(l.afterRender!=null)){c.afterLoad=l.afterRender}else{if(l!=null){c.afterLoad=l}}var f=overlay.show(c,true);return(f)}function is_array(a){return(a instanceof Array)}function str_replace(m,c,h){var g=m,a=c,l=h;var b=is_array(a),k=is_array(l),g=[].concat(g),a=[].concat(a),d=(l=[].concat(l)).length;while(j=0,d--){while(l[d]=l[d].split(g[j]).join(b?a[j]||"":a[0]),++j in g){}}return k?l:l[0]}function cd_popup_helpcenter(a){makeRemote(a,"cd_win_helpcenter",600,850)}function cd_popup_helpvideo(a){makeRemote("http://www.centraldesktop.com/viewvideos?vid="+a,"cd_win_video",700,850)}var corp_roster={displayUserAutocomplete:function(b,a){$("member_search_autocompleted").value="true"},removeUserFilter:function(a){$("member_search").value="";$("member_search_autocompleted").value="false";if(a){document.member_search_form.submit()}},removeLetterFilter:function(a){$("first_name_search_char").value="";if(a){document.member_search_form.submit()}},removeAllFilters:function(a){this.removeUserFilter(false);this.removeLetterFilter(a)}};if(typeof dom=="undefined"){var dom=new Object}if(typeof dom.utils=="undefined"){dom.utils=new Object}dom.getNext=function(c,d){for(var a=0;a<c.childNodes.length;a++){var b=c.childNodes[a];if(b.nodeType==1&&b.nodeName.toLowerCase()==d.toLowerCase()){return b}}return false};dom.utils.stripIds=function(d){var a=new Array;a[a.length]=d;while(a.length>0){var f=a.shift();if(d.nodeType==Node.ELEMENT_NODE){if(f.id){f.removeAttribute("id")}if(f.hasChildNodes()){var c=f.childNodes;for(var b=0;b<c.length;b++){a.push(c[b])}}}}return d};dom.utils.getMouseCoords=function(a){if(a.pageX||a.pageY){return{x:a.pageX,y:a.pageY}}return{x:a.clientX+document.body.scrollLeft-document.body.clientLeft,y:a.clientY+document.body.scrollTop-document.body.clientTop}};dom.utils.getMouseOffset=function(d,c){c=c||window.event;var b=dom.utils.getPosition(d);var a=dom.utils.mouseCoords(c);return{x:a.x-b.x,y:a.y-b.y}};dom.utils.scrollTo=function(b){var a=dom.utils.getElementTop(b);window.scrollTo(0,a)};dom.utils.browser=new Object;dom.utils.browser.regexes={overflowX:new Array(/Firefox\/1\.0/),overflowY:new Array(/Firefox\/1\.0/)};dom.utils.browser.supportsOverflowX=function(){for(var a=0;a<dom.utils.browser.regexes.overflowX.length;a++){var b=dom.utils.browser.regexes.overflowX[a];if(navigator.userAgent.match(b)){return false}}return true};dom.utils.browser.supportsOverflowY=function(){for(var a=0;a<dom.utils.browser.regexes.overflowY.length;a++){var b=dom.utils.browser.regexes.overflowY[a];if(navigator.userAgent.match(b)){return false}}return true};dom.utils.browser.supportsDom=function(){return(document.getElementById)?true:false};dom.utils.browser.isIE=function(){return(document.all&&navigator.appName.indexOf("Microsoft Internet Explorer")>-1)?true:false};dom.utils.browser.isSafari=function(){return(navigator.userAgent.toLowerCase().indexOf("safari")>-1)?true:false};dom.utils.removeElement=function(a){if(dom.utils.browser.isIE()){var b=document.getElementById("IELeakGarbageBin");if(!b){b=document.createElement("DIV");b.id="IELeakGarbageBin";b.style.display="none";document.body.appendChild(b)}b.appendChild(a);b.innerHTML=""}else{a.parentNode.removeChild(a)}};dom.utils.getPageWidth=function(){var a=0;if(window.innerWidth&&window.scrollMaxX){a=window.innerWidth+window.scrollMaxX}else{if(document.body.scrollWidth>document.body.offsetWidth){a=document.body.scrollWidth}else{a=document.body.offsetWidth}}return a};dom.utils.getPageHeight=function(){var a=0;if(window.innerHeight&&window.scrollMaxY){a=window.innerHeight+window.scrollMaxY}else{if(document.body.scrollHeight>document.body.offsetHeight){a=document.body.scrollHeight}else{a=document.body.offsetHeight}}return a};dom.utils.getWindowWidth=function(a){a=(a)?a:window;if(a.document.compatMode=="CSS1Compat"){return parseInt(a.document.body.parentNode.clientWidth)}else{if(dom.utils.browser.isIE()){return parseInt(a.document.body.clientWidth)}else{return parseInt(a.innerWidth)}}};dom.utils.getWindowHeight=function(a){a=(a)?a:window;if(a.document.compatMode=="CSS1Compat"){return parseInt(a.document.body.parentNode.clientHeight)}else{if(dom.utils.browser.isIE()){return parseInt(a.document.body.clientHeight)}else{return parseInt(a.innerHeight)}}};dom.utils.getWindowScrollX=function(a){a=(a)?a:window;if(document.compatMode=="CSS1Compat"&&a.document.body.parentNode.scrollLeft){return parseInt(a.document.body.parentNode.scrollLeft)}else{if(dom.utils.browser.isIE()){return parseInt(a.document.body.scrollLeft)}else{return parseInt(a.scrollX)}}};dom.utils.getWindowScrollY=function(a){a=(a)?a:window;if(document.compatMode=="CSS1Compat"&&a.document.body.parentNode.scrollTop){return parseInt(a.document.body.parentNode.scrollTop)}else{if(dom.utils.browser.isIE()){return parseInt(a.document.body.scrollTop)}else{return parseInt(a.scrollY)}}};dom.utils.getElementWidth=function(d){var k,a,c;var g=0;if(d.tagName=="IMG"){g=parseInt(d.width)}else{if(document.compatMode=="CSS1Compat"){g=parseInt(d.offsetWidth)}else{if(document.compatMode=="BackCompat"){k=dom.utils.getCurrentStyle(d);if(d.offsetWidth){g=parseInt(d.offsetWidth)}else{g=parseInt(k.width)}var b=parseInt(k.borderLeft);var f=parseInt(k.borderRight);var h=parseInt(k.paddingLeft);var l=parseInt(k.paddingRight);g+=!isNaN(b)?parseInt(b):0;g+=!isNaN(f)?parseInt(f):0;g+=!isNaN(h)?parseInt(h):0;g+=!isNaN(l)?parseInt(l):0}else{if(dom.utils.browser.isSafari()){g=parseInt(d.offsetWidth)}}}}return g};dom.utils.getElementHeight=function(f){var d=0;var b,a;if(f.tagName&&f.tagName=="IMG"){d=parseInt(f.height)}else{if(document.compatMode=="CSS1Compat"){d=parseInt(f.offsetHeight)}else{if(document.compatMode=="BackCompat"){b=dom.utils.getCurrentStyle(f);if(f.offsetHeight){d=parseInt(f.offsetHeight)}else{d=parseInt(b.height)}var g=parseInt(b.borderTop);var c=parseInt(b.borderBottom);var l=parseInt(b.paddingTop);var k=parseInt(b.paddingBottom);if(!dom.utils.browser.isIE()){d+=!isNaN(g)?parseInt(g):0;d+=!isNaN(c)?parseInt(c):0;d+=!isNaN(l)?parseInt(l):0;d+=!isNaN(k)?parseInt(k):0}else{d-=!isNaN(g)?parseInt(g):0;d-=!isNaN(c)?parseInt(c):0}}else{if(dom.utils.browser.isSafari()){d=parseInt(f.offsetHeight)}}}}return d};dom.utils.getElementLeft=function(a){var c=0;try{if(a.offsetParent){while(a.offsetParent){c+=parseInt(a.offsetLeft);a=a.offsetParent}}else{if(a.x){c+=parseInt(a.x)}}return c}catch(b){return 0}};dom.utils.getElementTop=function(a){try{var c=0;if(a.offsetParent){while(a.offsetParent){c+=parseInt(a.offsetTop);a=a.offsetParent}}else{if(a.y){c+=parseInt(a.y)}}return c}catch(b){return 0}};dom.utils.center=function(b){var c=parseInt(dom.utils.getWindowWidth());var d=parseInt(dom.utils.getWindowHeight());var k=parseInt(dom.utils.getElementWidth(b));var h=parseInt(dom.utils.getElementHeight(b));var l=parseInt(dom.utils.getWindowScrollX());var f=parseInt(dom.utils.getWindowScrollY());var a=parseInt(c/2)-parseInt(k/2)+l;var g=parseInt(d/2)-parseInt(h/2)+f;b.style.left=a+"px";b.style.top=g+"px"};dom.utils.getCurrentStyle=function(a){if(a&&a.currentStyle){return a.currentStyle}else{if(document.defaultView&&document.defaultView.getComputedStyle){return document.defaultView.getComputedStyle(a,"")}}};dom.utils.duplicateStyle=function(elem1,elem2){var style1=dom.utils.getCurrentStyle(elem1);for(prop in style1){try{eval("elem2.style."+prop+" = style1."+prop)}catch(e){}}};dom.utils.getZIndex=function(c){var a=dom.utils.getCurrentStyle(c);var b=0;if(a.zIndex&&isNaN(a.zIndex)){if(c.offsetParent){while(c.offsetParent){b=(parseInt(a.zIndex)>b)?parseInt(a.zIndex):b;a=dom.utils.getCurrentStyle(c);c=c.offsetParent}}}else{b=parseInt(a.zIndex)}return b};dom.utils.getBody=function(){return document.getElementsByTagName("body")[0]};var overlay={shouldReload:false,show:function(b,a){if(dom.utils.browser.isIE()){this.toggleSelects(true)}if(b.height=="auto"){b.height=null}if(b.width=="auto"){b.width=null}if(b.file!=null){if(b.file.indexOf("?")>-1){b.file+="&rand="+Math.random()}else{b.file+="?rand="+Math.random()}}if(b.url!=null){if(b.url.indexOf("?")>-1){b.url+="&rand="+Math.random()}else{b.url+="?rand="+Math.random()}}if(b.url==null&&b.element&&cdwm.open(a,b)){$(cdwm.win.id+"_ifr_content1").appendChild(b.element);return true}else{return cdwm.open(a,b)}},showFullScreen:function(g,b,d,h){h=h||false;if(d=="lb"||d=="vr"){if(dom.utils.browser.isIE()){this.toggleSelects(true)}var a=dom.utils.getWindowHeight();var c=dom.utils.getWindowWidth();if(d=="lb"){b=b+"&lbref="+d+"&pgref=vr"}else{b=b+"&pgref="+d}var f={title:g,file:b,height:parseInt(a)-100,width:parseInt(c)-100,inline:1,type:"iframe",scrollbars:true};if(d=="lb"){if(typeof h!="function"&&h){f.afterClose=overlay.reload}else{if(typeof h=="function"){f.afterClose=h}}}cdwm.open(true,f)}else{window.location.href=b}},reload:function(){window.location.reload()},hide:function(){cdwm.close();if(dom.utils.browser.isIE()){this.toggleSelects(false)}},toggleSelects:function(c){var b=dom.utils.getBody().getElementsByTagName("select");for(var a=0;a<b.length;a++){b[a].style.visibility=(c)?"hidden":"visible"}},reloadParent:function(){if(overlay.shouldReload){overlay.reload()}}};var t_overlay=overlay;AIM={frame:function(g){var f="f"+Math.floor(Math.random()*99999);var b=document.createElement("DIV");b.innerHTML='<iframe style="display:none" src="about:blank" id="'+f+'" name="'+f+'" onload="AIM.loaded(\''+f+"')\"></iframe>";document.body.appendChild(b);var a=document.getElementById(f);if(g&&typeof(g.onComplete)=="function"){a.onComplete=g.onComplete}return f},form:function(b,a){b.setAttribute("target",a)},submit:function(a,b){AIM.form(a,AIM.frame(b));if(b&&typeof(b.onStart)=="function"){return b.onStart()}else{return true}},loaded:function(c){var a=document.getElementById(c);if(a.contentDocument){var b=a.contentDocument}else{if(a.contentWindow){var b=a.contentWindow.document}else{var b=window.frames[c].document}}if(b.location.href=="about:blank"){return}if(typeof(a.onComplete)=="function"){a.onComplete(b.body.innerHTML)}}};activateMenu=function(b){if(browser.isIE){var a=function(f){var c=document.getElementById(b);if(!c){return false}var h=c.getElementsByTagName(f);for(var d=0;d<h.length;d++){var g=$(h[d]);h[d].onmouseover=function(){var k=$(this);if(!k.hasClassName("hover")){k.addClassName("hover");if(this.lastChild&&this.lastChild.nodeName.toLowerCase()=="ul"){this.lastChild.style.display="block"}}return false};h[d].onmouseout=function(){var k=$(this);if(k.hasClassName("hover")){k.removeClassName("hover");if(this.lastChild&&this.lastChild.nodeName.toLowerCase()=="ul"){this.lastChild.style.display="none"}}return false}}};a("li");if(browser.majorVersion>6){a("b");a("span")}}};function urlparam(a){var d=window.location.search.substring(1,window.location.search.length);var c=false;var b=d.split("&");for(i=0;i<b.length;i++){param_name=b[i].substring(0,b[i].indexOf("="));if(param_name==a){c=b[i].substring(b[i].indexOf("=")+1)}}if(c){return c}else{return false}}function toggleVisibility(b,a){a.each(function(c){$$("body ."+c).each(function(d){d.setStyle({display:"none"})})});$$("body ."+b).each(function(c){c.setStyle({display:""})})}function expandFieldset(a){console.log(a);$(a).toggleClassName("cd_expandable_expanded")}function check_members_in_group(c,h){var b=c.value.split(" ... ");var a=h.elements.length;for(var f=0;f<a;f++){var g=h.elements[f];if(g.id=="nu"){if(b.in_array(g.value)){g.checked=(c.checked)?true:false}}}}Array.prototype.in_array=function(c){var b=this.length;for(var a=0;a<=b;a++){if(this[a]==c){return true}}return false};var cd_tab_popup_dashboard=null;var cd_tab_popup_account=null;var cd_tab_popup_help=null;var cd_menu_workspace_list=null;Event.observe(window,"load",function(){cd_tab_popup_dashboard=new PopupWindow("cd_tab_popup_dashboard_id");cd_tab_popup_dashboard.autoHide();cd_tab_popup_dashboard.offsetY=22;cd_tab_popup_dashboard.offsetX=-1;cd_tab_popup_account=new PopupWindow("cd_tab_popup_account_id");cd_tab_popup_account.autoHide();cd_tab_popup_account.offsetY=22;cd_tab_popup_account.offsetX=-70;cd_tab_popup_help=new PopupWindow("cd_tab_popup_help_id");cd_tab_popup_help.autoHide();cd_tab_popup_help.offsetY=22;cd_tab_popup_help.offsetX=-92;cd_menu_workspace_list=new PopupWindow("cd_menu_workspace_list_id");cd_menu_workspace_list.autoHide();cd_menu_workspace_list.offsetY=22;cd_menu_workspace_list.offsetX=-1;activateMenu("ws_menu")});function deployUserPicker(g){var f={cid:null,spid:null,itemId:null,activityType:null,internalOnly:null,wrapperId:"add_msg_dist_list_box",holderId:"add_msg_dist_list",forceDeploy:false};if(!g){return}var b=f;for(var h in g){b[h]=g[h]}g=b;if(g.spid>0){if(g.cid!=deployUserPicker.lastCid||g.spid!=deployUserPicker.lastSpid||g.forceDeploy){if(window.upicker){$(window.upicker).remove()}var d={action:"userpicker",spaceId:g.spid};if(g.itemId!=null&&g.activityType!=null){d.itemId=g.itemId;d.type=g.activityType}else{if(g.cid!=null&&g.spid!=null){d.catId=g.cid}}var c="/spaces/rpc.php?";for(var a in d){c+=a+"="+d[a]+"&"}c=c.substring(0,c.length-1);window.upicker=new UserPicker({sourceURL:c,maxHeight:150,ownUserId:uid,internalOnly:g.internalOnly});window.upicker.init();$(g.holderId).appendChild(window.upicker);$(g.wrapperId).show();window.upicker.adjustSize();deployUserPicker.lastCid=g.cid;deployUserPicker.lastSpid=g.spid}}else{$(window.upicker).remove();window.upicker=null;$(g.wrapperId).hide()}}deployUserPicker.lastCid=null;deployUserPicker.lastSpid=null;function showPublicWorkspaceDropdown(f){f=$(f);var k=new Dropdown("showsws_tmp",function(){var m=$("showsws");return m},{});document.body.appendChild(k);var c=$("showsws_sz");if(!c){c=$("showsws").cloneNode(true);c.style.left="10px";c.style.top="-10000px";c.style.position="absolute";c.style.display="block";c.id="showsws_sz";document.body.appendChild(c)}box_width=dom.utils.getElementWidth(c);box_height=dom.utils.getElementHeight(c);d=$(k).getDimensions();ctrlDim=f.getDimensions();d.width=box_width;d.height=box_height;k.style.width=box_width+"px";k.style.height=box_height+"px";k.style.position="absolute";var h=f.getDimensions();var a=f.cumulativeOffset();var d=k.getDimensions();var l=document.viewport.getDimensions();var g=a[1]+"px";var b=a[0]-(d.width+k.params.margins.left+h.width)-k.params.margins.right+"px";k.style.left=b;k.style.top=g;k.style.display="block"};