var xOp95Up,xOp94Dn,xIE,xIE6,xCSS3,xUA=navigator.userAgent.toLowerCase();if(window.opera){var i=xUA.indexOf('opera');if(i!=-1){var v=parseFloat(xUA.substr(6));xOp95Up=(!isNaN(v)&&v>=9.5)?1:0;xOp94Dn=!xOp95Up;}}else if(navigator.vendor!='KDE'&&document.all&&xUA.indexOf('msie')!=-1){xIE=1;}xMac=xUA.indexOf('mac')!=-1;xSafari=xUA.indexOf('safari')!=-1;xCSS3=1;if(xIE){var ua=navigator.userAgent;var re=new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");var rv=6;if(re.exec(ua)!=null)rv=parseFloat(RegExp.$1);if(rv<9)xCSS3=0;if(rv<7)xIE6=1;}xLibrary={version:'4.17',license:'GNU LGPL',url:'http://cross-browser.com/'};function xCamelize(cssPropStr){var i,c,a=cssPropStr.split('-');var s=a[0];for(i=1;i<a.length;++i){c=a[i].charAt(0);s+=a[i].replace(c,c.toUpperCase());}return s;}function xClientHeight(){var v=0,d=document,w=window;if((!d.compatMode||d.compatMode=='CSS1Compat')&&!xOp94Dn&&d.documentElement&&d.documentElement.clientHeight){v=d.documentElement.clientHeight;}else if(d.body&&d.body.clientHeight){v=d.body.clientHeight;}else if(xDef(w.innerWidth,w.innerHeight,d.width)){v=w.innerHeight;if(d.width>w.innerWidth)v-=16;}return v;}function xClientWidth(){var v=0,d=document,w=window;if((!d.compatMode||d.compatMode=='CSS1Compat')&&!xOp94Dn&&d.documentElement&&d.documentElement.clientWidth){v=d.documentElement.clientWidth;}else if(d.body&&d.body.clientWidth){v=d.body.clientWidth;}else if(xDef(w.innerWidth,w.innerHeight,d.height)){v=w.innerWidth;if(d.height>w.innerHeight)v-=16;}return v;}function xDef(){for(var i=0;i<arguments.length;++i){if(typeof(arguments[i])=='undefined')return false;}return true;}function xGetComputedStyle(e,p,i){if(!(e=xGetElementById(e)))return null;var s,v='undefined',dv=document.defaultView;if(dv&&dv.getComputedStyle){s=dv.getComputedStyle(e,'');if(s)v=s.getPropertyValue(p);}else if(e.currentStyle){v=e.currentStyle[xCamelize(p)];}else return null;return i?(parseInt(v)||0):v;}function xGetElementById(e){if(typeof(e)=='string'){if(document.getElementById)e=document.getElementById(e);else if(document.all)e=document.all[e];else e=null;}return e;}function xGetElementsByClassName(c,p,t,f){var r=new Array();var re=new RegExp("(^|\\s)"+c+"(\\s|$)");var e=xGetElementsByTagName(t,p);for(var i=0;i<e.length;++i){if(re.test(e[i].className)){r[r.length]=e[i];if(f)f(e[i]);}}return r;}function xGetElementsByTagName(t,p){var list=null;t=t||'*';p=p||document;if(typeof p.getElementsByTagName!='undefined'){list=p.getElementsByTagName(t);if(t=='*'&&(!list||!list.length))list=p.all;}else{if(t=='*')list=p.all;else if(p.all&&p.all.tags)list=p.all.tags(t);}return list||new Array();}function xHasPoint(e,x,y,t,r,b,l){if(!xNum(t)){t=r=b=l=0;}else if(!xNum(r)){r=b=l=t;}else if(!xNum(b)){l=r;b=t;}var eX=xPageX(e),eY=xPageY(e);return(x>=eX+l&&x<=eX+xWidth(e)-r&&y>=eY+t&&y<=eY+xHeight(e)-b);}function xHeight(e,h){if(!(e=xGetElementById(e)))return 0;if(xNum(h)){if(h<0)h=0;else h=Math.round(h);}else h=-1;var css=xDef(e.style);if(e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){h=xClientHeight();}else if(css&&xDef(e.offsetHeight)&&xStr(e.style.height)){if(h>=0){var pt=0,pb=0,bt=0,bb=0;if(document.compatMode=='CSS1Compat'){var gcs=xGetComputedStyle;pt=gcs(e,'padding-top',1);if(pt!==null){pb=gcs(e,'padding-bottom',1);bt=gcs(e,'border-top-width',1);bb=gcs(e,'border-bottom-width',1);}else if(xDef(e.offsetHeight,e.style.height)){e.style.height=h+'px';pt=e.offsetHeight-h;}}h-=(pt+pb+bt+bb);if(isNaN(h)||h<0)return;else e.style.height=h+'px';}h=e.offsetHeight;}else if(css&&xDef(e.style.pixelHeight)){if(h>=0)e.style.pixelHeight=h;h=e.style.pixelHeight;}return h;}function xLeft(e,iX){if(!(e=xGetElementById(e)))return 0;var css=xDef(e.style);if(css&&xStr(e.style.left)){if(xNum(iX))e.style.left=iX+'px';else{iX=parseInt(e.style.left);if(isNaN(iX))iX=xGetComputedStyle(e,'left',1);if(isNaN(iX))iX=0;}}else if(css&&xDef(e.style.pixelLeft)){if(xNum(iX))e.style.pixelLeft=iX;else iX=e.style.pixelLeft;}return iX;}function xMoveTo(e,x,y){xLeft(e,x);xTop(e,y);}function xNum(){for(var i=0;i<arguments.length;++i){if(isNaN(arguments[i])||typeof(arguments[i])!='number')return false;}return true;}function xOpacity(e,o){var set=xDef(o);if(!(e=xGetElementById(e)))return 2;if(xStr(e.style.opacity)){if(set)e.style.opacity=o+'';else o=parseFloat(e.style.opacity);}else if(xStr(e.style.filter)){if(set)e.style.filter='alpha(opacity='+(100*o)+')';else if(e.filters&&e.filters.alpha){o=e.filters.alpha.opacity/100;}}else if(xStr(e.style.MozOpacity)){if(set)e.style.MozOpacity=o+'';else o=parseFloat(e.style.MozOpacity);}else if(xStr(e.style.KhtmlOpacity)){if(set)e.style.KhtmlOpacity=o+'';else o=parseFloat(e.style.KhtmlOpacity);}return isNaN(o)?1:o;}function xPageX(e){var x=0;e=xGetElementById(e);while(e){if(xDef(e.offsetLeft))x+=e.offsetLeft;e=xDef(e.offsetParent)?e.offsetParent:null;}return x;}function xPageY(e){var y=0;e=xGetElementById(e);while(e){if(xDef(e.offsetTop))y+=e.offsetTop;e=xDef(e.offsetParent)?e.offsetParent:null;}return y;}function xResizeTo(e,w,h){xWidth(e,w);xHeight(e,h);}function xScrollLeft(e,bWin){var offset=0;if(!xDef(e)||bWin||e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){var w=window;if(bWin&&e)w=e;if(w.document.documentElement&&w.document.documentElement.scrollLeft)offset=w.document.documentElement.scrollLeft;else if(w.document.body&&xDef(w.document.body.scrollLeft))offset=w.document.body.scrollLeft;}else{e=xGetElementById(e);if(e&&xNum(e.scrollLeft))offset=e.scrollLeft;}return offset;}function xScrollTop(e,bWin){var offset=0;if(!xDef(e)||bWin||e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){var w=window;if(bWin&&e)w=e;if(w.document.documentElement&&w.document.documentElement.scrollTop)offset=w.document.documentElement.scrollTop;else if(w.document.body&&xDef(w.document.body.scrollTop))offset=w.document.body.scrollTop;}else{e=xGetElementById(e);if(e&&xNum(e.scrollTop))offset=e.scrollTop;}return offset;}function xStr(s){for(var i=0;i<arguments.length;++i){if(typeof(arguments[i])!='string')return false;}return true;}function xStyle(sProp,sVal){var i,e;for(i=2;i<arguments.length;++i){e=xGetElementById(arguments[i]);if(e.style){try{e.style[sProp]=sVal;}catch(err){e.style[sProp]='';}}}}function xTop(e,iY){if(!(e=xGetElementById(e)))return 0;var css=xDef(e.style);if(css&&xStr(e.style.top)){if(xNum(iY))e.style.top=iY+'px';else{iY=parseInt(e.style.top);if(isNaN(iY))iY=xGetComputedStyle(e,'top',1);if(isNaN(iY))iY=0;}}else if(css&&xDef(e.style.pixelTop)){if(xNum(iY))e.style.pixelTop=iY;else iY=e.style.pixelTop;}return iY;}function xWidth(e,w){if(!(e=xGetElementById(e)))return 0;if(xNum(w)){if(w<0)w=0;else w=Math.round(w);}else w=-1;var css=xDef(e.style);if(e==document||e.tagName.toLowerCase()=='html'||e.tagName.toLowerCase()=='body'){w=xClientWidth();}else if(css&&xDef(e.offsetWidth)&&xStr(e.style.width)){if(w>=0){var pl=0,pr=0,bl=0,br=0;if(document.compatMode=='CSS1Compat'){var gcs=xGetComputedStyle;pl=gcs(e,'padding-left',1);if(pl!==null){pr=gcs(e,'padding-right',1);bl=gcs(e,'border-left-width',1);br=gcs(e,'border-right-width',1);}else if(xDef(e.offsetWidth,e.style.width)){e.style.width=w+'px';pl=e.offsetWidth-w;}}w-=(pl+pr+bl+br);if(isNaN(w)||w<0)return;else e.style.width=w+'px';}w=e.offsetWidth;}else if(css&&xDef(e.style.pixelWidth)){if(w>=0)e.style.pixelWidth=w;w=e.style.pixelWidth;}return w;}function xEvent(evt){var e=evt||window.event;if(!e)return;this.type=e.type;this.target=e.target||e.srcElement;this.relatedTarget=e.relatedTarget;/*@cc_on if(e.type=='mouseover')this.relatedTarget=e.fromElement;else if(e.type=='mouseout')this.relatedTarget=e.toElement;@*/if(xDef(e.pageX)){this.pageX=e.pageX;this.pageY=e.pageY;}else if(xDef(e.clientX)){this.pageX=e.clientX+xScrollLeft();this.pageY=e.clientY+xScrollTop();}if(xDef(e.offsetX)){this.offsetX=e.offsetX;this.offsetY=e.offsetY;}else if(xDef(e.layerX)){this.offsetX=e.layerX;this.offsetY=e.layerY;}else{this.offsetX=this.pageX-xPageX(this.target);this.offsetY=this.pageY-xPageY(this.target);}this.keyCode=e.keyCode||e.which||0;this.shiftKey=e.shiftKey;this.ctrlKey=e.ctrlKey;this.altKey=e.altKey;if(typeof e.type=='string'){if(e.type.indexOf('click')!=-1){this.button=0;}else if(e.type.indexOf('mouse')!=-1){this.button=e.button;/*@cc_on if(e.button&1)this.button=0;else if(e.button&4)this.button=1;else if(e.button&2)this.button=2;@*/}}}xLibrary={version:'4.17',license:'GNU LGPL',url:'http://cross-browser.com/'};function xAddEventListener(e,eT,eL,cap){if(!(e=xGetElementById(e)))return;eT=eT.toLowerCase();if(e.addEventListener)e.addEventListener(eT,eL,cap||false);else if(e.attachEvent)e.attachEvent('on'+eT,eL);else{var o=e['on'+eT];e['on'+eT]=typeof o=='function'?function(v){o(v);eL(v);}:eL;}}function xPreventDefault(e){if(e&&e.preventDefault)e.preventDefault();else if(window.event)window.event.returnValue=false;}function xRemoveEventListener(e,eT,eL,cap){if(!(e=xGetElementById(e)))return;eT=eT.toLowerCase();if(e.removeEventListener)e.removeEventListener(eT,eL,cap||false);else if(e.detachEvent)e.detachEvent('on'+eT,eL);else e['on'+eT]=null;}function xStopPropagation(evt){if(evt&&evt.stopPropagation)evt.stopPropagation();else if(window.event)window.event.cancelBubble=true;}function xAddEventListener(e,eT,eL,cap){if(!(e=xGetElementById(e)))return;eT=eT.toLowerCase();if(e.addEventListener)e.addEventListener(eT,eL,cap||false);else if(e.attachEvent)e.attachEvent('on'+eT,eL);else{var o=e['on'+eT];e['on'+eT]=typeof o=='function'?function(v){o(v);eL(v);}:eL;}}function xRemoveEventListener(e,eT,eL,cap){if(!(e=xGetElementById(e)))return;eT=eT.toLowerCase();if(e.removeEventListener)e.removeEventListener(eT,eL,cap||false);else if(e.detachEvent)e.detachEvent('on'+eT,eL);else e['on'+eT]=null;}function xAppendChild(oParent,oChild){if(oParent.appendChild)return oParent.appendChild(oChild);else return null;}function xBackground(e,c,i){if(!(e=xGetElementById(e)))return'';var bg='';if(e.style){if(xStr(c)){e.style.backgroundColor=c;}if(xStr(i)){e.style.backgroundImage=(i!='')?'url('+i+')':null;}bg=e.style.backgroundColor;}return bg;}function xColor(e,s){if(!(e=xGetElementById(e)))return'';var c='';if(e.style&&xDef(e.style.color)){if(xStr(s))e.style.color=s;c=e.style.color;}return c;}function xDisableDrag(id){xGetElementById(id).xDragEnabled=false;}function xEnableDrag(id,fS,fD,fE){var mx=0,my=0,el=xGetElementById(id);if(el){el.xDragEnabled=true;xAddEventListener(el,'mousedown',dragStart,false);}function dragStart(e){if(el.xDragEnabled){var ev=new xEvent(e);xPreventDefault(e);mx=ev.pageX;my=ev.pageY;xAddEventListener(document,'mousemove',drag,false);xAddEventListener(document,'mouseup',dragEnd,false);if(fS){fS(el,ev.pageX,ev.pageY,ev);}}}function drag(e){var ev,dx,dy;xPreventDefault(e);ev=new xEvent(e);dx=ev.pageX-mx;dy=ev.pageY-my;mx=ev.pageX;my=ev.pageY;if(fD){fD(el,dx,dy,ev);}else{xMoveTo(el,el.offsetLeft+dx,el.offsetTop+dy);}}function dragEnd(e){var ev=new xEvent(e);xPreventDefault(e);xRemoveEventListener(document,'mouseup',dragEnd,false);xRemoveEventListener(document,'mousemove',drag,false);if(fE){fE(el,ev.pageX,ev.pageY,ev);}if(xEnableDrag.drop){xEnableDrag.drop(el,ev);}}}xEnableDrag.drops=[];function xFirstChild(e,t){e=xGetElementById(e);var c=e?e.firstChild:null;while(c){if(c.nodeType==1&&(!t||c.nodeName.toLowerCase()==t.toLowerCase())){break;}c=c.nextSibling;}return c;}function xNextSib(e,t){e=xGetElementById(e);var s=e?e.nextSibling:null;while(s){if(s.nodeType==1&&(!t||s.nodeName.toLowerCase()==t.toLowerCase())){break;}s=s.nextSibling;}return s;}function xParentNode(ele,n){while(ele&&n--){ele=ele.parentNode;}return ele;}function xParent(e,bNode){if(!(e=xGetElementById(e)))return null;var p=null;if(!bNode&&xDef(e.offsetParent))p=e.offsetParent;else if(xDef(e.parentNode))p=e.parentNode;else if(xDef(e.parentElement))p=e.parentElement;return p;}function xGetElementById(e){if(typeof(e)=='string'){if(document.getElementById)e=document.getElementById(e);else if(document.all)e=document.all[e];else e=null;}return e;}function xVisibility(e,bShow){if(!(e=xGetElementById(e)))return null;if(e.style&&xDef(e.style.visibility)){if(xDef(bShow))e.style.visibility=bShow?'visible':'hidden';return e.style.visibility;}return null;}function xHide(e){return xVisibility(e,0);}function xShow(e){return xVisibility(e,1);}function xInnerHtml(e,h){if(!(e=xGetElementById(e))||!xStr(e.innerHTML))return null;var s=e.innerHTML;if(xStr(h))e.innerHTML=h;return s;}function xIntersection(e1,e2,o){var ix1,iy2,iw,ih,intersect=true;var e1x1=xPageX(e1);var e1x2=e1x1+xWidth(e1);var e1y1=xPageY(e1);var e1y2=e1y1+xHeight(e1);var e2x1=xPageX(e2);var e2x2=e2x1+xWidth(e2);var e2y1=xPageY(e2);var e2y2=e2y1+xHeight(e2);if(e1x1<=e2x1){ix1=e2x1;if(e1x2<e2x1)intersect=false;else iw=Math.min(e1x2,e2x2)-e2x1;}else{ix1=e1x1;if(e2x2<e1x1)intersect=false;else iw=Math.min(e1x2,e2x2)-e1x1;}if(e1y2>=e2y2){iy2=e2y2;if(e1y1>e2y2)intersect=false;else ih=e2y2-Math.max(e1y1,e2y1);}else{iy2=e1y2;if(e2y1>e1y2)intersect=false;else ih=e1y2-Math.max(e1y1,e2y1);}if(intersect&&typeof(o)=='object'){o.x=ix1;o.y=iy2-ih;o.w=iw;o.h=ih;}return intersect;}function xSmartLoad(what,url){var loadedBefore=false;var s;for(var i=0;i<xSmartLoad.list.length;i++){if(xSmartLoad.list[i].url==url){loadedBefore=true;s=xSmartLoad.list[i].node;break;}}if(document.createElement&&document.getElementsByTagName&&!loadedBefore){s=document.createElement(what);var h=document.getElementsByTagName('head');if(s&&h.length){switch(what.toUpperCase()){case'SCRIPT':s.src=url;break;case'LINK':s.rel='stylesheet';s.type='text/css';s.href=url;break;default:s=null;break;}h[0].appendChild(s);xSmartLoad.list[xSmartLoad.list.length]={url:url,node:s};}}return s;}xSmartLoad.list=[];

if(!window["_phrases"])_phrases={};function AddPhrases(p){for(var k in p)_phrases[k]=p[k];}function NoScrollbars(){if(xIE4Up)document.body.scroll='no';}function Help(f){if(f.match(/html$/)==null&&f.match(/^\?/)==null)f="?name="+f;var N=window.open('/perl/member/resources/help-popup.pl/'+f,'Help','toolbar=0,location=0,directories=0,status=1,menubar=1,scrollbars,resizable,width=500,height=300');Focus(N);}function timestamp(){return parseInt(new Date().getTime().toString().substring(0,10));}function to_hex(s){var h="";for(var i=0;i<s.length;i++){var hh=s.charCodeAt(i).toString(16);h+=(hh.length==1)?"0"+hh:hh;}return h;}function from_hex(h){var s="";for(var i=0;i<h.length;i+=2){var d=parseInt(h.substr(i,2),16);if(!isNaN(d))s+=String.fromCharCode(d);}return s;}function isASCII(s){for(var i=0;i<s.length;i++){var c=s.charCodeAt(i);if(c<32||c>127)return 0;}return 1;}function cmpi(a,b){a=String(a).toLowerCase();b=String(b).toLowerCase();if(a<b)return-1;return(a>b)?1:0;}function fmtstr_f(f,n){var b=Math.pow(10,n);return parseInt(f*b)/b;}function strstri(a,b){var x;try{x=(String(a).toLowerCase().match(String(b).toLowerCase()))?1:0;}catch(e){return 0;}return x;}function arr_move(a,p1,p2){var v=a[p1];if(p2>=a.length)p2=a.length;a.splice(p1,1);if(p2>p1)p2--;a.splice(p2,0,v);}function _sz(x){return 0+((x.substr(0,1)=="0")?x.substr(1,1):x);}function getDateFromTimestamp(t){var d=new Date;if(!t)return d;try{t=String(t);d.setUTCMilliseconds(0);d.setUTCSeconds(_sz(t.substr(12,2)));d.setUTCMinutes(_sz(t.substr(10,2)));d.setUTCHours(_sz(t.substr(8,2)));d.setUTCFullYear(parseInt(t.substr(0,4))||0);d.setUTCFullYear(parseInt(t.substr(0,4))||0);d.setUTCMonth(_sz(t.substr(4,2))-1);d.setUTCMonth(_sz(t.substr(4,2))-1);d.setUTCDate(_sz(t.substr(6,2)));}catch(e){};return d;}function getDateFromTimestampLocal(t){var d=new Date;if(!t)return d;try{t=String(t);d.setMilliseconds(0);d.setSeconds(_sz(t.substr(12,2)));d.setMinutes(_sz(t.substr(10,2)));d.setHours(_sz(t.substr(8,2)));d.setFullYear(parseInt(t.substr(0,4))||0);d.setFullYear(parseInt(t.substr(0,4))||0);d.setMonth(_sz(t.substr(4,2))-1);d.setMonth(_sz(t.substr(4,2))-1);d.setDate(_sz(t.substr(6,2)));}catch(e){};return d;}function fmtDateShort(gmtms,fmt,sep){var d=new Date(gmtms);var a=[d.getFullYear(),d.getMonth()+1,d.getDate()];if(fmt==1)return a[1]+sep+a[2]+sep+a[0];if(fmt==2)return a[0]+sep+a[1]+sep+a[2];return a[2]+sep+a[1]+sep+a[0];}function fmtTimeShort(gmtms,sep){var d=new Date(gmtms);return d.toLocaleTimeString();}function fmtTimeShort2(gmtms,sep,ampm){var d=new Date(gmtms);var h=d.getHours();var x=h;if(ampm){if(h==0)x="12";else x=(h>12)?h%12:h;}var m=d.getMinutes();x+=sep+((m<10)?"0"+m:m);if(ampm)x+="&nbsp;"+((h>=12)?_phrases["misc.P.M."]:_phrases["misc.A.M."]);return x;}function getDayStartLocal(gmtms){var d=(gmtms)?new Date(gmtms):new Date();d.setHours(0);d.setMinutes(0);d.setSeconds(0);d.setMilliseconds(0);return d;}function isToday(gmtms){var e=getDayStartLocal().getTime();return(e>gmtms||gmtms>=e+86400000)?0:1;}function isYesterday(gmtms){var e=getDayStartLocal().getTime();return(gmtms>=e||gmtms<e-86400000)?0:1;}function getUTCSeconds(){var d=new Date;return parseInt(d.getTime()/1000);}function u_encode(x){try{x=encodeURIComponent(x);}catch(e){x=escape(x);x=x.replace("+","%2B");}x.replace("'","%27");return x;}function userNameValidChars(n){if(!isASCII(n))return false;if(n.indexOf('`')>-1||n.indexOf('$')>-1||n.indexOf('~')>-1||n.indexOf('%')>-1||n.indexOf('!')>-1||n.indexOf('*')>-1||n.indexOf('@')>-1||n.indexOf('(')>-1||n.indexOf('#')>-1||n.indexOf(')')>-1||n.indexOf('+')>-1||n.indexOf('\\')>-1||n.indexOf('=')>-1||n.indexOf('|')>-1||n.indexOf('}')>-1||n.indexOf(']')>-1||n.indexOf('{')>-1||n.indexOf('"')>-1||n.indexOf('[')>-1||n.indexOf("'")>-1||n.indexOf('<')>-1||n.indexOf('>')>-1||n.indexOf(',')>-1||n.indexOf(';')>-1||n.indexOf('?')>-1||n.indexOf('/')>-1||n.indexOf(' ')>-1||n.indexOf('^')>-1||n.indexOf('&')>-1||n.indexOf(':')>-1)return false;return true;}function validateUserName(f,l){if(f.length<1){alert("Your "+l+" must be at least 1 character long.");return false;}f=f.toLowerCase();if('root'==f){alert("Your chosen "+l+" is reserved; however, if you have your own domain name,\n"+"then you may create an alias for this user name.");return false;}if(!userNameValidChars(f)){alert("Your chosen "+l+" contains invalid characters.");return false;}return true;}function Trim(s){var a,b;for(a=0,s=String(s);a<s.length&&s.charCodeAt(a)<=32;a++);for(b=s.length-1;b>-1&&s.charCodeAt(b)<=32;b--);if(a==s.length||b==-1)return"";return s.substring(a,b+1);}function submitViaEnter(evt,v){var e=new xEvent(evt);var f=e.target.form;var c=e.keyCode;if(c==13||c==3){if(v.length>0){eval(v+"();");return false;}f.submit();return false;}return true;}function doViaEnter(evt,v){return doViaEnter2(evt,v+"()");}function doViaEnter2(evt,v){var e=new xEvent(evt);var c=e.keyCode;if(c==13||c==3){setTimeout(v,250);xStopPropagation(evt);xPreventDefault(evt);return false;}return true;}function showMoreAttach(b,n){if(showMoreAttach[b])n=showMoreAttach[b]+1;showMoreAttach[b]=n;var id="div_"+b+"_"+(n+1);var e=xGetElementById(id);if(e)e.style.display="block";id="div_"+b+"_"+(n+2);e=xGetElementById(id);if(!e)xGetElementById(b+'_add').style.display='none';}function formFieldValue(f){try{if(String(f.type).match(/^(text|textarea|password|hidden|file|email|tel|search|url|date|time|datetime|month|week|number|range|color)$/))return f.value;if(f.type=="select-one")return(f.selectedIndex==-1)?null:f.options[f.selectedIndex].value;if(f.type=="checkbox"||f.type=="radio")return(f.checked)?f.value:null;if(f.type=="select-multiple"){var t="";for(var i=0;i<f.options.length;i++)if(f.options[i].selected)t=t+f.options[i].value+",";return(t.length)?t.substr(0,t.length-1):null;}}catch(e){};return null;}function doGetCaretPosition(ctrl){if(document.selection){ctrl.focus();var Sel=document.selection.createRange();Sel.moveStart('character',-ctrl.value.length);return Sel.text.length;}else if(ctrl.selectionStart||ctrl.selectionStart=='0'){return ctrl.selectionStart;}return 0;}function setCaretPosition(ctrl,pos){try{if(ctrl.setSelectionRange){ctrl.focus();ctrl.setSelectionRange(pos,pos);}else if(ctrl.createTextRange){var range=ctrl.createTextRange();range.collapse(true);range.moveEnd('character',pos);range.moveStart('character',pos);range.select();}}catch(e){};}function swapDisplay(a,b,c){var e=xGetElementById(a);var f=xGetElementById(b);e.style.display='none';f.style.display=c||'block';}function URLEncodedField(f){if(!f)return"";var v=formFieldValue(f);if(v==null&&(f.type=="checkbox"||f.type=="radio"))return"";if(v==null)v="";return"&"+f.name+"="+u_encode(v);}function cloneSubmit(o,n){cloneSubmit_R(o,n);n.submit();}function cloneSubmit_R(o,f){var t=o.tagName;if(t=="INPUT"||t=="TEXTAREA"||t=="SELECT"){f.appendChild(o.cloneNode(1));}else if(o.hasChildNodes()){var c=o.childNodes;for(var i=0;i<c.length;i++){cloneSubmit_R(c[i],f);}}}function saveForm(f){var s="_x_=1";for(var i=0;i<f.elements.length;i++)s+=URLEncodedField(f.elements[i]);return s;};function stringifyAR(a){var s="";var n=0;for(var k in a){if(n>0)s+=",";s+=k+":'"+a[k]+"'";n++;}return"{"+s+"}";}function icon_s3(p,png){var s=window["_use_s3_icons"];s=(s&&s!="0"&&String(p).substr(0,13)=="/images/icons")?"//"+s+".s3.amazonaws.com/"+String(p).substr(8):p;if(png&&!xIE6){s=s.replace(".gif",".png").replace("/icons/","/icons/png/");}return s;}_icon_map={op:'obj_people',ns:'net_sec',ap:'apps',bs:'bus_data',bd:'bus_data',sw:'software',c:'custom',m:'mail',t:'top'};function icon_url(t,n,s,png){if(!s)s=16;var z=(s>24)?"shadow":"plain";var b="";if(t=="m")b="mail/";else if(t!='t')b=_icon_map[t]+"/"+s+"x"+s+"/"+z+"/";return icon_s3("/images/icons/"+b+n+".gif",png);}function ispace(n,h){if(!h)h=1;return'<img src='+icon_s3('/images/icons/dot.gif')+' height='+h+' width='+n+' border=0>';}function icon(t,n,d,s,png,css){if(!s)s=16;var u=icon_url(t,n,s,png);d=(d)?" id="+d+" name="+d:'';return'<img '+css+' '+d+' src='+u+' width='+s+' height='+s+' border=0>';}function icon32(t,n,d){return icon(t,n,d,32);}function InASec(fn){setTimeout(fn,1);}function ReplaceAll(s,p,x){var i=0;s=String(s);x=String(x);while(i<s.length&&(i=s.indexOf(p,i))!=-1){s=s.substring(0,i)+x+s.substring(i+p.length);i+=x.length;}return s;}function LSub1(s,x){return ReplaceAll(s,"#1",x);}function LSub2(s,x,y){return ReplaceAll(LSub1(s,x),"#2",y);}function isHTML(t){var rx=/<\s*(body|p|br|font|b|i|u|a|img|h[1-7]|pre|tt|table|div|tt|ul|ol|li|code|span)[^>]*>|&(quot|gt|lt|nbsp|amp);/i;return(String(t).match(rx)!=null)?1:0;}function StripHTML(t){if(!isHTML(t))return t;t=String(t).replace(/<[^>]+>/g,"");t=t.replace(/&nbsp;/g,' ');t=t.replace(/&amp;/g,'&');return t;}function Truncate(t,n){t=String(t);return(t.length>n)?t.substr(0,n-3)+"...":t;}function WebText(t){t=String(t).replace(/&/g,'&amp;');t=t.replace(/[""]/g,'&quot;');t=t.replace(/>/g,'&gt;');t=t.replace(/</g,'&lt;');return t;}function unWebText(t){t=String(t).replace(/&quot;/g,'"');t=t.replace(/&gt;/g,'>');t=t.replace(/&lt;/g,'>');t=t.replace(/&nbsp;/g,' ');t=t.replace(/&amp;/g,'&');t=t.replace(/&mdash;/g,'--');var m=t.match(/&#[0-9]+;/g);if(m){var x={};for(var i=m.length-1;i>=0;i--){if(!x[m[i]]){var n=m[i].match(/[0-9]+/);if(n)x[m[i]]=String.fromCharCode(n[0]);}}for(n in x)t=t.replace(n,x[n]);}return t;}function FormatLinkedWebText(t,max){t=WebText(t);t=t.replace(/\n/g,'<br />');t=t.replace(/(https?:\/\/[^\s><{}""'';,]+)/gi,"<a target=_blank href='$1'><tt>$1</tt></a>");t=t.replace(/\s\s/g,"&nbsp; ");return t;}function GoodFileName(t){t=t.replace(/[^A-Za-z0-9.\-_:]/gi,'_');return t;}function ClipDiv(t,w,ex){var ww=(w)?';width:'+w+'px':'';if(!ex)ex='';return'<div style="overflow:hidden'+ww+ex+'">'+t+'</div>';}function NoWrapBlock(t){return'<table cellpadding=0 cellspacing=0 border=0><tr><td nowrap>'+t+'</td></tr></table>';}function OneLiner(t,w,ex){var ww=(w)?';width:'+w+'px':'';if(!ex)ex='';return'<div style="white-space:nowrap;overflow:hidden'+ww+ex+'">'+t+'</div>';}function uniqueNo(){var d=new Date();return d.getTime()+"-"+Math.random();}function playSound(u){var e=xGetElementById("_last");if(e){if(xIE){var s=xGetElementById("iesound");if(s){s.src="";s.src=u;}}else{var ext=u.substring(u.length-3).toLowerCase();var ct={mp3:"audio/mpeg",mid:"audio/mid",wav:"audio/x-wav",ra:"audio/x-pn-realaudio",ram:"audio/x-pn-realaudio"};xInnerHtml(e,"<embed src=\""+u+"\" type=\""+(ct[ext]||"audio/mpeg")+"\" hidden=\"true\" autostart=\"true\" loop=\"false\" />");}}}function scrollDiv(e,p){try{xGetElementById(e).scrollTop=p;}catch(e){};}function doOnReady(test,todo,sleep){var a=eval(test);if(a)return eval(todo);setTimeout(function(){doOnReady(test,todo,sleep);},sleep||1000);}function enableSpell(id,n){var e=xGetElementById(id);if(!e||!window["scaytConfig"])return;if(!n)n=10;if(!window["scayt"]||!scayt.Textarea){return(n==0)?null:setTimeout(function(){enableSpell(id,n-1);},350);}if(e.type=="textarea")new scayt.Textarea({srcNodeRef:xGetElementById(id)});if(e.type=="text")new scayt.Input({srcNodeRef:xGetElementById(id)});}function spellPushUpdates(){if(window["scayt"]&&scayt.forms)scayt.forms.refresh();}function spellGetUpdates(){if(window["scayt"]&&scayt.forms)scayt.forms.flush();}function getSpellObj(id){if(window["scayt"]&&scayt.byId){var f=scayt.byId(id);if(f)return f;}return xGetElementById(id);}function spellFocus(id){var f=getSpellObj(id);if(f)f.focus();}function isVScroll(x,h){if(x.scrollTop)return 1;return(xHeight(x)>h)?1:0;}function vScrollW(){if(vScrollW.w)return vScrollW.w;var a=document.createElement('div');a.style.height="200px";var b=document.createElement('div');var s=b.style;s.position="absolute";s.left="-500px";s.visibility="hidden";s.width="99px";s.height="99px";s.overflow="scroll";document.body.appendChild(b);b.appendChild(a);var q=a.offsetWidth;document.body.removeChild(b);q=99-q;if(q<12||q>25)q=18;return vScrollW.w=q;}function xScrollUp(o){var p=o.parentNode;return xScrollTop(o)+(p&&p.parentNode&&p.tagName!="BODY"?xScrollUp(p):0);}function NoScrollbars(){if(xIE)document.body.scroll='no';}function sEC(id,cl){var c=xGetElementById(id);if(c)c.className=cl;return false;}function Focus(w){try{w.focus();}catch(error){return error;}return"";}function makeNewWindow(U,target,w,h,m,x){if(target=="undefined"||target=="")target="_blank";w=(w)?",width="+w:"";h=(h)?",height="+h:"";m=(m)?",menubar":"";x=(x)?","+x:"";var N=window.open(U,target,'toolbar=0,location=0,directories=0,status=0,scrollbars,resizable'+w+h+m+x);Focus(N);return N;}function makeNW(U,target){if(target=="undefined"||target=="")target="_blank";var N=window.open(U,target);Focus(N);}function setWidth(e,w){if(xDef(e.style.width))e.style.width=w;else if(xDef(e.style.pixelWidth))e.style.pixelWidth=w;}function setHeight(e,h){if(xDef(e.style.height))e.style.height=h;else if(xDef(e.style.pixelHieght))e.style.pixelHeight=h;}function FixWinHt(){var f=FixWinHt;var e=xGetElementById("_last");var w=xClientWidth();var h=xPageY(e)+2;var o=getOpener();if(o&&o.FixWinHt)f=o.FixWinHt;var ch=xClientHeight();window.resizeTo(w+f.dw,h+f.dh);f.dw=w+f.dw-xClientWidth();f.dh=h+f.dh-xClientHeight();if(f.dh<0){f.dh=56;return;}window.resizeTo(w+f.dw,xPageY(e)+2+f.dh);}FixWinHt.dh=56;FixWinHt.dw=8;function NewWindow(U,target,w,h,m){makeNewWindow(U,target,w,h,m,null);}function getOpener(){var o=window.opener;return(o&&typeof o=="object"&&!o.closed)?o:null;}var _cm01;function closeMe(){var o=getOpener();o._cm01=window;if(o&&o.closeMe){o.InASec("_cm01.close();");return 1;}return 0;}function cMe(){closeMe();}function selectedRadioValue(o){if(!o)return"";var n=o.length;if(n>0){for(var i=0;i<n;i++){if(o[i].checked){return o[i].value;}}return"";}return o.value;};function checkRadioByValue(o,v){if(!o)return;var n=o.length;if(!n){o.checked=true;return;}for(var i=0;i<n;i++)if(o[i].value==v){o[i].checked=true;return;}};function selectedListValue(f){return f.options[f.selectedIndex].value;};function multiListHash(f){for(var i=0,h={};i<f.options.length;i++)if(f.options[i].selected)h[f.options[i].value]=1;return h;};function selectListValue(f,v){for(var i=0;i<f.options.length;i++)if(f.options[i].value==v){f.selectedIndex=i;return;}f.selectedIndex=0;};function selectListHash(f,h){for(var i=0;i<f.options.length;i++)f.options[i].selected=h[f.options[i].value]?1:0;};function sortSelectList(L,f){var n=L.options.length;var a=new Array(n);if(!f)f=function(a,b){return cmpi(a.text,b.text);};for(var i=0;i<n;i++)a[i]=new Option(L.options[i].text,L.options[i].value);a.sort(f);for(var i=0;i<n;i++)L.options[i]=new Option(a[i].text,a[i].value);};function ChkBxImage(id,fld,dir,ck,uck){xInnerHtml(id,"<img width=16 height=16 src="+dir+"/"+(fld.checked?ck:uck)+">");};function addCSS(css,id){var p=(xSafari)?'innerText':'innerHTML';var s,h;if(id){if(xIE){var n=addCSS.ie[id];if(n){s=document.styleSheets(n);s.cssText=css;return;}}else{s=xGetElementById(id);if(s){s[p]=css;return;}}}if(xIE){s=document.createStyleSheet();if(s){s.cssText=css;if(id)addCSS.ie[id]=document.styleSheets.length-1;}}else{s=document.createElement('style');h=document.getElementsByTagName('head');if(s&&h.length){if(id)s.id=id;s[p]=css;h[0].appendChild(s);}}}addCSS.ie={};function xJAVA_Applet(code,archive,name,w,ht,p){var ua=navigator.userAgent;var _ns=(navigator.appName.indexOf("Netscape")>=0&&((ua.indexOf("Win")>0&&ua.indexOf("Win16")<0&&window["java"]&&java.lang.System.getProperty("os.version").indexOf("3.5")<0)||(ua.indexOf("Sun")>0)||(ua.indexOf("Linux")>0)||(ua.indexOf("AIX")>0)||(ua.indexOf("OS/2")>0)||(ua.indexOf("IRIX")>0)));var _ns6=((_ns==true)&&(ua.indexOf("Mozilla/5")>=0));var h='<param name="code" value="'+code+'">'+'<param name="archive" value="'+archive+'">'+'<param name="name" value="'+name+'">'+'<param name="type" value="application/x-java-applet;version=1.5">'+'<param name="scriptable" value="false">'+"\n";var pl="";for(var k in p){h+='<param name="'+k+'" value="'+WebText(p[k])+'">'+"\n";pl+=k+'="'+WebText(p[k])+'" ';}if(xIE){return'<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="'+w+'" height="'+ht+'" name="'+name+'" codebase="https://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,7">'+h+'No Java v1.4+ support found'+'</object>';}h='<applet code="'+code+'" archive="'+archive+'" name="'+name+'" width="'+w+'" height="'+ht+'">'+h+'</applet>';if(_ns==true&&_ns6==false){return'<embed type="application/x-java-applet;version=1.5" code="'+code+'" '+'archive="'+archive+'" name="'+name+'" width="'+w+'" height="'+ht+'" '+'scriptable=false pluginspage="https://java.sun.com/products/plugin/index.html#download '+pl+'><noembed>'+h+'</noembed></embed>';}return h;};function JAVA_Applet(code,archive,name,w,ht,p){var ua=navigator.userAgent;var _ns=(navigator.appName.indexOf("Netscape")>=0&&((ua.indexOf("Win")>0&&ua.indexOf("Win16")<0&&window["java"]&&java.lang.System.getProperty("os.version").indexOf("3.5")<0)||(ua.indexOf("Sun")>0)||(ua.indexOf("Linux")>0)||(ua.indexOf("AIX")>0)||(ua.indexOf("OS/2")>0)||(ua.indexOf("IRIX")>0)));var _ns6=((_ns==true)&&(ua.indexOf("Mozilla/5")>=0));var h='<param name="code" value="'+code+'">'+'<param name="archive" value="'+archive+'">'+'<param name="name" value="'+name+'">'+'<param name="type" value="application/x-java-applet;version=1.5">'+'<param name="scriptable" value="false">'+"\n";var na='<strong>This browser does not have a Java Plug-in.<br /><a target=_blank href="http://java.sun.com/products/plugin/downloads/index.html">Get the latest Java Plug-in here.</a></strong>';var pl="";for(var k in p){h+='<param name="'+k+'" value="'+WebText(p[k])+'">'+"\n";pl+=k+'="'+WebText(p[k])+'" ';}if(xIE){return'<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="'+w+'" height="'+ht+'" name="'+name+'" codebase="https://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,7">'+h+na+'</object>';}h='<applet code="'+code+'" archive="'+archive+'" name="'+name+'" width="'+w+'" height="'+ht+'">'+h+na+'</applet>';if(_ns==true&&_ns6==false){return'<embed type="application/x-java-applet;version=1.5" code="'+code+'" '+'archive="'+archive+'" name="'+name+'" width="'+w+'" height="'+ht+'" '+'scriptable=false pluginspage="https://java.sun.com/products/plugin/index.html#download '+pl+'><noembed>'+h+'</noembed></embed>';}return h;};function setCookie(n,v,d){var ex="";if(d){var x=new Date();x.setTime(x.getTime()+(d*24*60*60*1000));ex="; expires="+x.toGMTString();}document.cookie=n+"="+escape(v)+ex+"; path=/";}function getCookie(n){var r=document.cookie.match('(^|;) ?'+n+'=([^;]*)(;|$)');if(r)return unescape(r[2]);return null;}function delCookie(n){setCookie(n,"",-1);}

if(!window["_mu"])_mu={base_id:0,data:{},open:{},fref:{},da:[],dc:{},dl:0};menu=function(mu,lo,pa){var t=this;if(!pa)pa={};t.pa=pa;t.bid="_luxmu_"+(_mu.base_id++);pa.zIndex=pa.zIndex||9999;if(_mu.base_id==1){_mu.ie=xIE;_mu.ie6=xIE6;xAddEventListener(document,"mousemove",_mu.MM,false);}t.def={height:'auto',width:'auto',table:[0,0],css:{out_tbl:'',out_td:'',inr_tbl:'',inr_td:'',inr_mo:'',inr_co:''}};t.getP=function(k,l){for(var i=l;i>=0;i--){var h=lo[i];if(typeof(h)=="undefined"||typeof(h[k])=="undefined")continue;if(k=='css'){if(!h[k])h[k]={};for(var kk in t.def.css)if(!h[k][kk])h[k][kk]='';}return h[k];}return t.def[k];};t.make=function(pop,sm,lvl,ix,pid,pprm,pcid){var bid=pid+'.'+lvl+'x'+ix;var tc=t.getP("css",lvl);var tp=t.getP("table",lvl);if(!lvl)t.topid=bid;var d={t:t,bid:bid,pop:pop,lvl:lvl,pid:pid,cid:[],blw:(!pa.popup&&lvl==1)?1:0,pcid:pcid,tc:tc,len:sm.length,mon:[],mof:[]};var cf=t.getP("cf",lvl);var pf=t.getP("pf",lvl);var st="";if(pop){var w=(pprm&&pprm.w?pprm.w:0)||t.getP('width',lvl);if(w!='auto')w=w+'px';st+="width:"+w+";";}var H='<table cellpadding=0 cellspacing=0 border=0 class="'+tc.out_tbl+'" id="'+bid+'"'+'><tr><td class="'+tc.out_td+'" style="'+st+'">';H+='<table cellpadding='+tp[0]+' cellspacing='+tp[1]+' border=0 class="'+tc.inr_tbl+'" id="'+bid+'_inr">';if(!pop)H+="<tr>";var space=t.getP("space",0)||0;for(var i=0;i<d.len;i++){if(!lvl&&!pop&&space>0&&i>0)H+="<td>"+ispace(space)+"</td>";var m=sm[i];var id=bid+"_"+i;var txt=(typeof(m[0])=="string")?m[0]:m[0][0];var ref=m[1];var prm=m[2]||{};var moc=prm.mo||tc.inr_mo;var mfc=prm.mf||tc.inr_td;d.mon.push(moc);d.mof.push(mfc);if(typeof(prm.wr)=="function")txt=prm.wr();var w=pprm.w||t.getP('width',0);var h=pprm.h||t.getP('height',0);if(lvl>0)h='auto';var st="";if(w!='auto')st+="width:"+w+"px;";if(h!='auto')st+="height:"+h+"px;";if(ref){var u;var L=0;if(u=String(ref).match(/^javascript:(.*)/))ref=u[1];else{ref="_mu.Go(event,'"+ref+"');";L=1;}ref="_mu.cc('"+bid+"');"+ref;st+="cursor:pointer;";if(L)txt='<a href="'+m[1]+'" onClick="return false;" style="text-decoration:none">'+txt+'</a>';}var sid=null;var mon='';var mof='';var co=t.getP("co",lvl);if(m[3]){var s=m.slice(3);sid=t.make(1,s,lvl+1,i,id,prm||{},d);var ss="_mu.showSub(event,'"+sid+"','"+id+"','"+moc+"');";if(co){ref=ss;st+="cursor:pointer;";mon="_mu.TopMON('"+bid+"','"+id+"','"+tc.inr_co+"','"+moc+"','"+sid+"');";mof="_mu.TopMOF(event,'"+bid+"','"+id+"','"+mfc+"');";}else{mon=ss;mof="_mu.hideSub(event,'"+sid+"','"+id+"','"+mfc+"');";}if(prm.oe)_mu.fref[sid+".oe"]=prm.oe;d.cid.push(sid);if(pf)txt=pf(txt);}else if(ref){mon="_mu.ResetMO(_mu.data['"+bid+"']);"+"sEC('"+id+"','"+moc+"');"+"_mu.do_collapse(_mu.data['"+bid+"'], 1);";mof="sEC('"+id+"','"+mfc+"');";if(cf)txt=cf(txt);}else{if(cf)txt=cf(txt);}var nw=prm.nw?1:0;H+=(pop?"<tr>":"")+'<td class="'+mfc+'" id="'+id+'" style="'+st+'"'+(ref?' onClick="'+ref+'"':'')+' onMouseOver="'+mon+'"'+' onMouseOut="'+mof+'"'+(nw?" nowrap":"")+'>'+txt+'</td>'+(pop?"</tr>":"");}H+=(!pop?"</tr>":"")+'</table></td></tr></table>';_mu.data[bid]=d;if(pop)bid+="-container";_mu.data[bid]=d;if(!pop)return H;var x=document.createElement("div");x.id=bid;x.style.position="absolute";x.style.zIndex=pa.zIndex+lvl;x.style.visibility="hidden";x.style.left="-1000px";x.style.top="-1000px";if(!_mu.dl){_mu.da.push(x);_mu.dc[bid]=H;}else{document.body.appendChild(x);xInnerHtml(x,H);}if(_mu.ie6){d.scr=document.createElement("IFRAME");d.scr.src='/images/icons/dot.gif';var s=d.scr.style;s.position='absolute';s.left=0;s.top=0;s.filter='alpha(opacity=0)';s.visibility="hidden";s.zIndex=pa.zIndex-1;if(!_mu.dl)_mu.da.push(d.scr);else document.body.appendChild(d.scr);}return bid;};var x=t.make(pa.popup,mu,0,0,t.bid,{},{});if(pa.popup)t.popup_id=x;else{if(pa.container)xInnerHtml(pa.container,x);else document.write(x);}return t;};_mu.onload=function(){for(var i=0;i<_mu.da.length;i++)document.body.appendChild(_mu.da[i]);for(var k in _mu.dc)xInnerHtml(k,_mu.dc[k]);_mu.dl=1;};_mu.Go=function(ev,U){var e=new xEvent(ev);if(e.altKey||e.ctrlKey)return;document.location=U;};_mu.showScr=function(cd){if(!_mu.ie6)return;var id=cd.bid;var s=cd.scr.style;s.width=xWidth(id)+'px';s.height=xHeight(id)+'px';s.left=(xScrollLeft()+xPageX(id))+'px';s.top=(xScrollTop()+xPageY(id))+'px';s.visibility='visible';};_mu.hideScr=function(cd){if(!_mu.ie6)return;var s=cd.scr.style;s.left="-1000px";s.top="-1000px";s.visibility='hidden';};_mu.showSub=function(evt,cid,mo_id,mo_cl){if(!cid.match(/container/))cid+="-container";var ce=xGetElementById(cid);var cd=_mu.data[cid];if(!ce||!cd)return;var pe=xGetElementById(cd.pid);if(!pe&&cd.lvl)return;_mu.ResetMO(cd);if(cd.lvl)_mu.ResetMO(cd.pcid);sEC(mo_id,mo_cl);if(cd.lvl)_mu.do_collapse(cd.pcid,1);var cw=xClientWidth()-25;var ch=xClientHeight()-25;var w=xWidth(ce);var h=xHeight(ce);var x=cd.t.getP("left",0);var y=cd.t.getP("top",0);if(!cd.lvl&&(x||y)){}else if(cd.blw){var dx=parseInt(cd.t.getP("dx",cd.lvl))||0;x=xPageX(pe)+dx;y=xPageY(pe)+xScrollTop(pe)+xHeight(pe);}else{x=xPageX(pe)+xWidth(pe)-15;y=xPageY(pe)+xScrollTop(pe)+5;if(x+w>=cw&&!cd.blw)x=xPageX(pe)-xWidth(pe)+2;}if(x+w>=cw)x=cw-w;if(y+h>=ch&&!cd.blw)y=ch-h;if(x<5)x=5;if(y<5)y=5;xMoveTo(ce,x,y);xShow(ce);cd.open=1;_mu.open[cid]=1;_mu.showScr(cd);var oe=_mu.fref[cd.bid+".oe"];if(oe)oe();if(!cd.lvl)cd.t.wasin=0;};_mu.inChild=function(L,x,y){for(var i=0;i<L.length;i++){var cd=_mu.data[L[i]];if(!cd.open)continue;if(xHasPoint(L[i],x,y))return 1;if(_mu.inChild(cd.cid,x,y))return 1;}return 0;};_mu.hide=function(cd,ce){xMoveTo(ce,-1000,-1000);xHide(ce);cd.open=0;delete _mu.open[cd.bid];delete _mu.open[cd.bid+"-container"];_mu.hideScr(cd);};_mu.hideSub=function(ev,cid,mo_id,mo_cl){var ce=xGetElementById(cid);var cd=_mu.data[cid];if(!ce||!cd)return;var e=new xEvent(ev);var x=e.pageX,y=e.pageY;if(xHasPoint(ce,x,y))return;if(mo_id&&!_mu.inChild(cd.cid,x,y))sEC(mo_id,mo_cl);_mu.hide(cd,ce);};_mu.hideThis=function(ev,tid){var cd=_mu.data[tid];if(!cd)return;var e=new xEvent(ev);var x=e.pageX,y=e.pageY;var top=_mu.data[cd.t.topid];if(top&&(_mu.inChild(top.cid,x,y)||xHasPoint(top.bid,x,y))){cd.t.wasin=1;return;}if(cd.t.wasin)_mu.collapse(cd);};_mu.cc=function(id){_mu.collapse(_mu.data[id]);};_mu.collapse=function(cd,noself){_mu.do_collapse(_mu.data[cd.t.topid],noself);};_mu.do_collapse=function(cd,noself){if(!cd)return;for(var i=0;i<cd.cid.length;i++){var ccd=_mu.data[cd.cid[i]];if(ccd.open)_mu.do_collapse(ccd,0);}if(!noself)_mu.ResetMO(cd);if(cd.pop&&!noself){var ce=xGetElementById(cd.bid+"-container");_mu.hide(cd,ce);}};_mu.MM=function(e){for(var k in _mu.open){if(typeof(_mu.open[k])!="function")_mu.hideThis(e,k);}};_mu.ResetMO=function(cd){if(cd)for(var i=0;i<cd.len;i++)sEC(cd.bid+"_"+i,cd.mof[i]);};_mu.TopMOF=function(ev,bid,did,css){var cd=_mu.data[bid];var pd=_mu.data[cd.t.topid];var e=new xEvent(ev);var x=e.pageX,y=e.pageY;if(_mu.inChild(pd.cid,x,y)||xHasPoint(did,x,y))return;sEC(did,css);};_mu.TopMON=function(bid,id,off,on,sid){var cd=_mu.data[bid];_mu.ResetMO(cd);if(!_mu.open[sid])_mu.do_collapse(cd,1);sEC(id,_mu.open[sid]?on:off);};_mu.hr=function(){return"<div style='padding:3px 0 3px 0'><div style='height:1px;background-color:#888;'>"+ispace(1)+"</div></div>";};function wrap_child(text,lc,c){if(!lc)lc="pnav2_left";if(!c)c='imx_mu_td';return'<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td class="'+lc+'">'+ispace(10)+'</td><td width=100% class='+c+'>'+text+'</td></tr></table>';}function wrap_parent(text,lc){if(!lc)lc="pnav2_left";return'<table cellpadding=0 cellspacing=0 border=0 width=100%><tr><td class="'+lc+'">'+ispace(10)+'</td><td width=100% class=imx_mu_td>'+text+'</td><td style="vertical-align:middle"><img src='+icon_s3('/images/icons/misc/DMenuArrowRight.gif')+' width=5 height=9 align="middle" align=absmiddle></td></tr></table>';}_mu.getMenu=function(t){if(typeof(t)!="string")return t;var m=String(t).match(/(\d+)$/);return(!m)?null:window["MENU_"+m[1]];};function popUp(tree,ev){var t=_mu.getMenu(tree);_mu.showSub(ev,t.topid);}function popDown(tree){}

var A_KEYS=[['`','~'],[1,'!'],[2,'@'],[3,'#'],[4,'$'],[5,'%'],[6,'^'],[7,'&'],[8,'*'],[9,'('],[0,')'],['-','_'],['=','+'],['bsp',,2,'bkspace'],['br'],['tab',,1.5,'tab'],'qwertyuiop',['[','{'],[']','}'],['\\','|',1.5],['br'],['caps',,1.75,'caps'],'asdfghjkl',[';',':'],["'",'"'],,['enter',,2.25,'popup'],['br'],['shift',,2.25,'shift'],'zxcvbnm',[',','<'],['.','>'],['/','?'],['shift',,2.75,'shift'],['br'],['space',,15,'space'],];var a_kbds=[];function o_keyboard(s_target){var a_keys=[];this.n_btn_size=20;this.n_kbd_left=0;this.n_kbd_top=20;this.s_imgpath='';this.s_target=s_target;for(var i=0;i<A_KEYS.length;i++){var o_key;if(typeof(A_KEYS[i])=='object'){o_key={'i':a_keys.length,'l':A_KEYS[i][0],'u':A_KEYS[i][1]?A_KEYS[i][1]:A_KEYS[i][0],'w':A_KEYS[i][2]?A_KEYS[i][2]:1,'h':A_KEYS[i][3]?A_KEYS[i][3]:'default'};a_keys[o_key.i]=o_key;}else if(typeof(A_KEYS[i])=='string'){for(var j=0;j<A_KEYS[i].length;j++){o_key={'i':a_keys.length,'l':A_KEYS[i].charAt(j),'u':String(A_KEYS[i].charAt(j)).toUpperCase(),'w':1,'h':'default'};a_keys[o_key.i]=o_key;}}}this.a_keys=a_keys;this.b_caps=false;this.b_shift=false;this.n_id=a_kbds.length;a_kbds[this.n_id]=this;this.f_keypress=f_kbd_keypress;this.f_register=f_kbd_register;this.f_chktarget=f_kbd_chktarget;this.f_popup=f_kbd_popup;this.f_getabspos=f_kbd_getabspos;this.f_shift=f_kbd_shift;this.f_caps=f_kbd_caps;this.f_bkspace=f_kbd_bkspace;this.f_tab=f_kbd_tab;this.f_space=f_kbd_space;this.f_default=f_kbd_default;document.write('<iframe style="position: absolute; z-index: 100; left: 0px; top: 0px; width: ',this.n_btn_size*15+6,'px; height: ',this.n_btn_size*5+6,'px; border: 0;visibility: hidden;" id="kbdif',this.n_id,'" src="',this.s_imgpath,'/images/kbd.gif"></iframe>');this.e_kbdif=get_element('kbdif'+this.n_id);document.write('<table cellpadding="2" cellspacing="0" style="position: absolute; z-index: 101; left: 0px; top: 0px; width: ',this.n_btn_size*15+6,'px; height: ',this.n_btn_size*5+6,'px; border: 1px solid buttonshadow; background-color:buttonface; visibility: hidden;" id="kbd',this.n_id,'"><tr><td>');for(i=0;i<a_keys.length;i++)if(a_keys[i].l=='br')document.write('<br>');else{document.write('<input type="Button" value="'+a_keys[i].l+'" style="width:'+this.n_btn_size*a_keys[i].w+'px; font-size: 11px;" onmousedown="a_kbds['+this.n_id+'].f_'+a_keys[i].h+'('+a_keys[i].i+')" id="btn'+this.n_id+'_'+a_keys[i].i+'" onmouseup="a_kbds['+this.n_id+'].f_keypress('+a_keys[i].i+')" ondblclick="this.onmousedown()"/>');a_keys[i].b=get_element('btn'+this.n_id+'_'+i);}document.write('</td></tr></table>');this.e_kbd=get_element('kbd'+this.n_id);this.b_visbile=false;document.write('<a tabindex=99 href="javascript:a_kbds['+this.n_id+'].f_popup();" title="'+_phrases["ext.kbd"]+'" onclick="this.blur(); return true;"><img src="',this.s_imgpath,'/images/kbd.gif" alt="'+_phrases["ext.kbd"]+'" width="22" height="13" border="0" name="kbd_ico',this.n_id,'" id="kbd_ico',this.n_id,'"></a>');this.e_kbdico=get_element('kbd_ico'+this.n_id);}function f_kbd_register(b_upper){var s_register=b_upper?'u':'l';for(var i=0;i<this.a_keys.length;i++){if(!this.a_keys[i].b)continue;this.a_keys[i].b.value=this.a_keys[i][s_register];}}function f_kbd_chktarget(){if(!this.e_target)this.e_target=get_element(this.s_target);if(!this.e_target)alert("target input not found");}function f_kbd_getabspos(s_coord){o_elem=this.e_kbdico;return(s_coord=='Left')?xPageX(o_elem):xPageY(o_elem);}function f_kbd_popup(){if(this.b_visbile){this.e_kbd.style.visibility='hidden';this.e_kbdif.style.visibility='hidden';this.b_visbile=false;this.e_kbdico.src=this.s_imgpath+'/images/kbd.gif';return;}var n_left=this.f_getabspos('Left')+this.n_kbd_left,n_top=this.f_getabspos('Top')+this.n_kbd_top;if(n_left<5)n_left=5;this.e_kbd.style.position="absolute";this.e_kbdif.style.position="absolute";var p=xParent(this.e_kbd);var dx=0;var dy=0;if(p!=null){dx=xPageX(p);dy=xPageY(p);}xLeft(this.e_kbd,n_left-dx);xTop(this.e_kbd,n_top-dy);xLeft(this.e_kbdif,n_left-dx);xTop(this.e_kbdif,n_top-dy);this.e_kbd.style.visibility='visible';if(!window.opera)this.e_kbdif.style.visibility='visible';this.b_visbile=true;this.e_kbdico.src=this.s_imgpath+'/images/no_kbd.gif';}function f_kbd_shift(n_id){if(this.b_caps){this.b_caps=false;this.f_register(0);this.e_hlignt.style.color='black';}else if(this.b_shift){this.b_shift=false;this.f_register(0);var a_key=this.a_keys[n_id];this.e_hlignt.style.color='black';}else{this.b_shift=true;this.f_register(1);var a_key=this.a_keys[n_id];a_key.b.style.color='red';this.e_hlignt=a_key.b;}}function f_kbd_caps(n_id){if(this.b_shift){this.b_shift=false;this.e_hlignt.style.color='black';}this.b_caps=!this.b_caps;this.f_register(this.b_caps);var a_key=this.a_keys[n_id];a_key.b.style.color=this.b_caps?'red':'black';this.e_hlignt=a_key.b;}function f_kbd_default(n_id){var o_key=this.a_keys[n_id];this.f_chktarget();this.e_target.value+=o_key.b.value;this.e_target.focus();}function f_kbd_bkspace(n_id){this.f_chktarget();var s_value=String(this.e_target.value);this.e_target.value=s_value.substring(0,s_value.length-1);this.e_target.focus();}function f_kbd_tab(n_id){this.f_chktarget();this.e_target.value+="	";this.e_target.focus();}function f_kbd_space(n_id){this.f_chktarget();this.e_target.value+=" ";this.e_target.focus();}function f_kbd_keypress(n_id){var o_key=this.a_keys[n_id];if(o_key.l=='shift')return;if(this.b_shift){this.b_shift=false;this.f_register(0);this.e_hlignt.style.color='black';}o_key.b.blur();}get_element=document.all?function(s_id){return document.all[s_id]}:function(s_id){return document.getElementById(s_id)};

function do_rpx(token) {

	RPXNOW.token_url = token;

	RPXNOW.show();

	};	

var _ajax_colors=["#FFE","#FFD","#FFC","#FFB","#FFA","#FF9","#FF9","#FFA","#FFB","#FFC","#FFE"];var _ajax_ttime=2500;function Do_AJAX_Transition(e,p,b){var c=_ajax_colors;var o=xGetElementById(e);if(!o||!o._tran)return;if(++p>=c.length){xBackground(o,o.bkg?o.bkg:b);o._tran=0;return;}xBackground(o,c[p]);setTimeout("Do_AJAX_Transition('"+e+"',"+p+",'"+b+"')",200);}function Start_AJAX_Transition(e,b){var o=xGetElementById(e);if(!o)return;o.bkg='#FFF';o._tran=1;Do_AJAX_Transition(e,-1,'#FFF');}


