ui={};function on_load(){var rurl='/images/extranet/ads/rot1209/';mmpi(rurl+'New_rotating_ads_HV.gif',rurl+'New_rotating_ads_PL.gif',rurl+'New_rotating_ads_SF.gif',rurl+'New_rotating_ads_SL.gif',rurl+'New_rotating_ads_WA.gif',rurl+'New_rotating_ads_WDGTS.gif',rurl+'New_rotating_ads_WM.gif',rurl+'New_rotating_ads_WS.gif');if(window["start"])start();setTimeout(rotate_rss,4000);var ad=xGetElementById('adimg');if(ad)setTimeout(rotate_ad,8000);if(window["onload_custom"])onload_custom();}function on_load_login(){menu_on_load();}function SearchFocus(){var f=document.search;var p=f.search;if(p.value="Search LuxSci")p.value="";}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 sEC(id,cl){var c=xGetElementById(id);if(c)c.className=cl;return false;};function do_hide(id){sEC(xGetElementById(id),'hide');};function do_show(id){sEC(xGetElementById(id),'show');};var xf1=null;function do_dialog(id,title){var e=xGetElementById(id);if(!e)return;var w=xClientWidth();var h=xClientHeight();h=(h<400)?h:400;xf1=xf1||new c_dialog();xf1.setTitle(title||"More Details...");xf1.setContent("<div id=innerdlg>"+xInnerHtml(e)+"</div>");xf1.setSize(parseInt(w*0.5),h);xf1.show();var x=xGetElementById("innerdlg");xf1.setSize(parseInt(w*0.5),xHeight(x)+80);};var rsid=0;function rotate_rss(){var x=xGetElementById("rss_"+rsid);rsid=(rsid+1)%6;var y=xGetElementById("rss_"+rsid);if(!x||!y)return;x.style.display="none";y.style.display="block";setTimeout(rotate_rss,4000);}function rotate_ad(){var ad=xGetElementById('adimg');if(window["_show_img"]==undefined||!ad)return;var n=imgs.length;_show_img=(_show_img+1)%n;var h='<a href="'+links[_show_img]+'"><img src="'+imgs[_show_img]+'" width=269 height=239 border=0></a>';xInnerHtml(ad,h);setTimeout(rotate_ad,8000);}function load_right(url){var o=new LoadArea('load',null,'right_dynamic',url);o.noMsg=1;o.method="GET";o.onCompletion=function(s,o,r){var a=(xGetElementById("right_default").style.display=="none")?"right_dynamic":"right_default";right_transition(a,"right_dynamic",0,r);};o.Load();}function restore_right(){right_transition("right_dynamic","right_default",0,null);}function right_transition(a,b,p,r){if(p<=100){if(a!=b){xGetElementById(b).style.display="none";xGetElementById(a).style.display="block";document.location.hash=a;}var x=100-p;sEC(a,"t"+x);if(p==100&&r!=null)xInnerHtml(b,r);}else{var x=p-100;sEC(b,"t"+x);if(a!=b){xGetElementById(b).style.display="block";xGetElementById(a).style.display="none";}}if(p<200)setTimeout(function(){right_transition(a,b,p+10,r)},75);}function requestCall(){var f=document.callback;if(f.name.value.length<2){alert("Please enter your name.");return;}if(f.phone.value.length<7){alert("Please enter your phone number.");return;}vDynamic({id:'callback',U:'/cgi-bin/extranet/callback.pl',Q:saveForm(f),onError:function(c,o,r){var msg=ajaxErr(c,r);if(!msg.length)return;alert(StripHTML(msg));},onok:function(){xGetElementById('callback_ok').style.display='block';Start_AJAX_Transition('callback_ok');xGetElementById('callback_button').style.display='none';},cache:0,method:'POST'});}function mmpi(){var d=document;if(d.images){if(!d.MM_p)d.MM_p=new Array();var i,j=d.MM_p.length,a=mmpi.arguments;for(i=0;i<a.length;i++)if(a[i].indexOf("#")!=0){d.MM_p[j]=new Image;d.MM_p[j++].src=a[i];}}}function MM_swapImgRestore(){var i,x,a=document.MM_sr;for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++)x.src=x.oSrc;}function MM_findObj(n,d){var p,i,x;if(!d)d=document;if((p=n.indexOf("?"))>0&&parent.frames.length){d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}if(!(x=d[n])&&d.all)x=d.all[n];for(i=0;!x&&i<d.forms.length;i++)x=d.forms[i][n];for(i=0;!x&&d.layers&&i<d.layers.length;i++)x=MM_findObj(n,d.layers[i].document);if(!x&&d.getElementById)x=d.getElementById(n);return x;}function MM_swapImage(){var i,j=0,x,a=MM_swapImage.arguments;document.MM_sr=new Array;for(i=0;i<(a.length-2);i+=3)if((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x;if(!x.oSrc)x.oSrc=x.src;x.src=a[i+2];}}function Proceed(form){eval("var f = document."+form);if(f.disk&&f.disk.checked)f.disk_quota.value="5000";if(f.sslip&&f.sslip.checked){f.ssl.value=1;f.ip.value=1;}else if(f.sslip){f.ssl.value=0;f.ip.value=0;}if(f.register)f.register.value=0;if(f.doreg&&f.doreg.checked){if(f.host_own_dns)f.host_own_dns.value=0;f.register.value=1;}else if(f.host_own_dns){f.host_own_dns.value=(f.buy.value=="hosting")?0:1;}if(f.doreg&&f.doreg.checked&&f.subdom&&f.subdom.checked){alert("You cannot choose to both register new domains and to use subdomains in the same order.");return;}f.submit();}function check_int(value,min,max,error){var n=parseInt(value);if(isNaN(n)){alert("You have entered an invalid number in '"+error+"'.");return false;}if(n<min){alert("You number that you have entered in '"+error+"' is too small. The minimum possible value is "+min);return false;}if(n>max){alert("You number that you have entered in '"+error+"' is too large. The maximum possible value is "+max);return false;}return true;}function hv_update(){var f=document.p1a;var t=f.tier.options[f.tier.selectedIndex].value;var ta=t.split(",");var d=parseInt(f.days.options[f.days.selectedIndex].value);var u=parseInt(f.users.options[f.users.selectedIndex].value);xInnerHtml("rcpt_day",ta[0]);xInnerHtml("rcpt_mo",String(parseInt(ta[0])*d));if(ta[1]<1){xInnerHtml("bwmb_day","500 MB");xInnerHtml("bwmb_mo",String(500*d)+" MB");}else{xInnerHtml("bwmb_day",String(ta[1])+" GB");xInnerHtml("bwmb_mo",String(ta[1]*d)+" GB");}var p=ta[2]*d*u;if(f.buy[1].checked){p=9.99+p*2;xInnerHtml("pkg","Premium High Volume Outbound SMTP and Email Hosting with 5 GB disk space, POP, IMAP, and SecureLine for 1 of your own domains.");f.domains.value=1;}else{xInnerHtml("pkg","Standard High Volume Outbound SMTP");f.domains.value=0;}p=parseFloat(parseInt(p*100)/100);xInnerHtml("price_mo",String(p));var e=xGetElementById("min5");var e2=xGetElementById("dobuy");if(p<5){e2.style.display="none";e.style.display="block";}else{e2.style.display="block";e.style.display="none";}f.luxhv_tier.value=ta[0];f.luxhv_days.value=d;f.user_quota.value=u;e=xGetElementById("dedicated");if(p>=200){e.style.display="block";}else{e.style.display="none";}return(p<5)?0:1;}function hv_go(){if(!hv_update())return;document.p1a.submit();}function validate_mxl(){var f=document.p1a;var n=parseInt(f.user_quota.value);if(isNaN(n)){alert("Please enter a number of users for this package.");return;}f.antispam.value=0;if(f.pkg[2].checked){for(var i=0;i<=4;i++)if(f.antispam2[i].checked)f.antispam.value=f.antispam2[i].value;f.archive.value=0;f.archive_pkg.value=0;}else if(f.pkg[0].checked){f.antispam.value=2;f.archive.value="-1";f.archive_pkg.value=1+parseInt(f.ar_pkg_years.options[f.ar_pkg_years.selectedIndex].value);}else{f.archive_pkg.value=1+parseInt(f.ar_only_years.options[f.ar_only_years.selectedIndex].value);f.archive.value="-1";}if(n<5){alert("Sorry, there is 5-user minimum for ordering any of these packages.");f.user_quota.value=5;return;}f.user_quota.value=n;f.submit();}function can_reg_domain(a,b){ui.Dialog.load({U:'/perl/public/domain_available-ajax.pl',Q:(a?'form='+a+"&field="+b:'')});}



function start(){var e=xGetElementById("feature_container");if(!e)return;var n=0;for(var c=e.firstChild;c;c=c.nextSibling){var cl=c.className;if(cl=="f_name_start"||cl=="f_name_start_on"){n++;c.id="_title_"+n;c.iid="_note_"+n;var d=c.firstChild;if(d){d.iid="_note_"+n;d.t_item=c;c.t_item=c;xAddEventListener(c,'click',f_click,1);xAddEventListener(c,'mouseover',f_mover,1);xAddEventListener(c,'mouseout',f_mout,1);}c.className=(cl=="f_name_start")?"f_name":"f_name_sel";}else if(cl=="f_info_start"||cl=="f_info_start_on"){c.id="_note_"+n;c.className=(cl=="f_info_start")?"f_info_hide":"f_info";}}}function f_click(ev){var e=new xEvent(ev);var t=e.target;var x=xGetElementById(e.target);if(x.className=="f_info")return;var c=x.t_item;if(!c)return;var y=xGetElementById(c.iid);if(c.className=="f_name_sel"||c.className=='f_name_sel_hover'){c.className="f_name";if(y)y.className="f_info_hide";}else if(c.className=="f_name"||c.className=='f_name_hover'){c.className="f_name_sel";if(y)y.className="f_info";}if(window["tabbar"])tabbar.adjustSize();}function f_switch(ev,from,to){var e=new xEvent(ev);var t=e.target;var x=xGetElementById(e.target);var c=x.t_item;if(!c)return;var y=xGetElementById(c.iid);if(c.className==from)c.className=to;if(window["tabbar"])tabbar.adjustSize();}function f_mover(ev){f_switch(ev,"f_name","f_name_hover");f_switch(ev,"f_name_sel","f_name_sel_hover");}function f_mout(ev){f_switch(ev,"f_name_hover","f_name");f_switch(ev,"f_name_sel_hover","f_name_sel");}function _OpenAll(c1,c2){var fc=xGetElementById("feature_container");for(var c=fc.firstChild;c;c=c.nextSibling){if(c.className=="f_name")c.className="f_name_sel";if(c.className=="f_info_hide")c.className="f_info";}if(window["tabbar"])tabbar.adjustSize();}function _CloseAll(c1,c2){var fc=xGetElementById("feature_container");for(var c=fc.firstChild;c;c=c.nextSibling){if(c.className=="f_name_sel")c.className="f_name";if(c.className=="f_info")c.className="f_info_hide";}if(window["tabbar"])tabbar.adjustSize();}



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 strstri(a,b){return(String(a).toLowerCase().match(String(b).toLowerCase()))?1:0;}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;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(f.type=="text"||f.type=="textarea"||f.type=="password"||f.type=="hidden"||f.type=="file")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){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();}}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 ispace(n){return'<img src=/images/icons/dot.gif height=1 width='+n+'>';}function icon(t,n,d){d=(d)?" id="+d+" name="+d:'';return'<img'+d+' src=/images/icons/'+icon.map[t]+'/16x16/plain/'+n+'.gif width=16 height=16 border=0>';}function icon32(t,n,d){d=(d)?" id="+d+" name="+d:'';return'<img'+d+' src=/images/icons/'+icon.map[t]+'/32x32/shadow/'+n+'.gif width=16 height=16 border=0>';}icon.map={op:'obj_people',ns:'net_sec',ap:'apps',bs:'bus_data',sw:'software',c:'custom'};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);}var _wr_m_a='<table cellpadding=3 cellspacing=0 border=0 width=100% class=';function wrap_parent(text){var b='><tr><td>'+ispace(5)+'</td><td width=100% class=';var c='</td><td><img src=/images/intranet/light/DMenuArrowRight.gif width=5 height=9 align="middle" align=absmiddle></td></tr></table>';return[_wr_m_a+'mXPtable_unsel'+b+'a0>&nbsp; '+text+c,_wr_m_a+'mXPtable_over'+b+'a1>&nbsp; '+text+c,_wr_m_a+'mXPtable_over'+b+'a1>&nbsp; '+text+c];}function wrap_child(text){var c='</td></tr></table>';return[_wr_m_a+'mXPtable_unsel><tr><td class=mXPtable_left>'+ispace(5)+'</td><td width=100% class=a0>&nbsp; '+text+c,_wr_m_a+'mXPtable_over><tr><td class=mXPtable_over>'+ispace(5)+'</td><td width=100% class=a1>&nbsp; '+text+c,_wr_m_a+'mXPtable_over><tr><td class=mXPtable_over>'+ispace(5)+'</td><td width=100% class=a1>&nbsp; '+text+c];}function wrap_pop(text){var x='<table cellpadding=3 cellspacing=0 border=0 width=100%><tr><td class=popup_menu width=100%>&nbsp; '+text+'</td></tr></table>';return[x,x,x];}function treeID(t){var m=String(t).match(/(\d+)$/);return(m==null)?"0":m[1];}function popUp(tree,ev){var id=treeID(tree);eval("var m = (!id) ? tree : MENU_"+id);m.o_submenu.e_div.style.display='block';m.o_submenu.f_syncGlass();m.f_event('mshow');}function popDown(tree){var id=treeID(tree);eval("var m = (!id) ? tree : MENU_"+id);m.f_event('iout',0);}function popHIDE(tree){var id=treeID(tree);eval("var m = (!id) ? tree : MENU_"+id);m.o_submenu.e_div.style.display='none';m.o_submenu.f_syncGlass(true);m.f_event('iout',0);}function popUpHide(){if(xIE4Up)for(var i=0;i<dhtml_hide_layers.length;i++)xHide(xGetElementById(dhtml_hide_layers[i]));}function popDownShow(){if(xIE4Up)for(var i=0;i<dhtml_hide_layers.length;i++)xShow(xGetElementById(dhtml_hide_layers[i]));}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 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 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(x){};}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=xParent(o);return xScrollTop(o)+((p&&xParent(p))?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 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);if(ch==xClientHeight())return;f.dw=w+f.dw-xClientWidth();f.dh=h+f.dh-xClientHeight();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 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 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);}



var xOp95Up,xOp94Dn,xIE,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;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;}



var MENU_POS_MAIN=[{'height':20,'expd_delay':1,'hide_delay':300,'table':[0,0,0],'pixel':'/images/dot.gif','css':{'table':'','outer':'','inner':''}},{'height':15,'block_top':1,'block_left':0,'shadow':{'direction':135,'strength':5,'color':'#333333'},'table':[0,0,0],'css':{'table':'imx_table','outer':'imx_table2','inner':''}},{block_top:5,block_left:-5}];var MENU_POS_SUB=[{'height':20,'expd_delay':1,'hide_delay':300,'table':[0,0,0],'pixel':'/images/dot.gif','css':{'table':'','outer':'','inner':''}},{'height':15,'block_top':1,'block_left':0,'shadow':{'direction':135,'strength':5,'color':'#333333'},'table':[0,0,0],'css':{'table':'imx_table','outer':'imx_table2','inner':''}},{block_top:5,block_left:-5}];var PDF_POS=[{'height':20,'expd_delay':1,'hide_delay':300,'width':'auto','table':[0,0,0],'pixel':'/images/dot.gif','css':{'table':'','outer':'','inner':['imx_pdf_off','imx_pdf_off','imx_pdf_off']}},{'height':15,'block_top':1,'block_left':0,'width':'auto','shadow':{'direction':135,'strength':5,'color':'#333333'},'table':[0,0,0],'css':{'table':'imx_table','outer':'imx_table2','inner':''}}];var gold='pnav2_left_2';var gray='pnav2_left_3';var MENU_ITEMS_MAIN=[[wrap_tab("services"),"/extranet/services.html",null,[wrap_child('Email Hosting',gold),"/extranet/email-hosting.html"],[wrap_child('Email Filtering',gold),"/extranet/email-filtering.html"],[wrap_child('Email Archival',gold),"/extranet/info/email_archive_types.html"],[wrap_child('SecureForm: Web &amp; PDF Form-to-Email',gold),"/extranet/secure-form.html"],[wrap_child('High Volume Outbound Email',gold),"/extranet/high-volume-smtp-email.html"],[wrap_child('Collaboration: WebAides, Workspaces, Email'),"/extranet/collaboration.html"],[wrap_child('Dedicated Environments'),"/extranet/environments.html"],[wrap_child('DNS &amp; Domain Registration'),"/extranet/domains.html"],[wrap_child('Private Label Branding'),"/extranet/private-labeled-webmail.html"],[wrap_child('SecureLine: End-to-End Email Encryption'),"/extranet/secure-email.html"],[wrap_child('SSL Certificates'),"/extranet/ssl.html"],[wrap_child('Web Site Hosting'),"/extranet/hosting.html"],[wrap_child('Security &amp; Privacy',gray),"/path/security.html"],[wrap_child('Service Reliability 99.99%+',gray),"/path/reliability.html"],[wrap_child('Customer Support',gray),"/path/support.html"],[wrap_child('Account Administration',gray),"/extranet/administration.html"],[wrap_child('Migration to LuxSci',gray),"/extranet/migration.html"]],[wrap_tab("pricing"),"/order.html",null,[wrap_child('All Packages',gold),"/order.html"],[wrap_child('Individual / Family',gold),"/path/individual.html"],[wrap_child('Small &amp; Medium Business',gold),"/path/business.html"],[wrap_child('Large Business / Enterprise',gold),"/path/enterprise.html"],[wrap_child('Compliance / HIPAA',gold),"/path/hipaa.html"],[wrap_child('Reseller / Affiliate',gold),"/path/reseller.html"],[wrap_child('Quote Request Form'),"/extranet/WebMail/choose_quote.html"],[wrap_child('Sales FAQs'),"/faq/"],[wrap_child('Special Offers',gray),"/extranet/ads/offers.html"],[wrap_child('Price List',gray),"/extranet/prices.html"]],[wrap_tab("details"),"/extranet/company.html",null,[wrap_child('About LuxSci',gold),"/extranet/company.html"],[wrap_child('Contact LuxSci',gold),"/extranet/contact.html"],[wrap_child('Testimonials',gold),"/extranet/quotes.php?type=all&number=all"],[wrap_child('Portfolio (PDFs)',gold),"/extranet/downloads.html"],[wrap_child('Article Library',gold),"/blog/library-index"],[wrap_child('FYI Blog',gold),"/blog/"],[wrap_child('Legal',0),"/extranet/legal.html"],[wrap_child('Site Map',gray),"/sitemap.html"]]];var MENU_ITEMS_SUB=[[wrap_tab_bot("why&nbsp;LuxSci?"),"javascript:load_right('/extranet/htmlf/right_why.html');"],[wrap_tab_bot("contact&nbsp;us"),"javascript:load_right('/extranet/htmlf/right_contact.html');"],[wrap_tab_bot("login&nbsp;links"),"javascript:load_right('/extranet/htmlf/right_login_links.html');"]];function wrap_child(text,lc){if(!lc)lc="pnav2_left";var c='<table cellpadding=3 cellspacing=0 border=0 width=100% class=pnav2_in_on><tr><td class='+lc+'><img src=/images/dot.gif width=5 height=1></td><td width=100% class=pa1>&nbsp; ';var e=c+text+'</td></tr></table>';return['<table cellpadding=3 cellspacing=0 border=0 width=100% class=pnav2_in_off><tr><td class='+lc+'><img src=/images/dot.gif width=5 height=1></td><td width=100% class=pa0>&nbsp; '+text+'</td></tr></table>',e,e];}function wrap_child_simple(text){var c='<table cellpadding=3 cellspacing=0 border=0 width=100% class=pnav2_in_on><tr><td class=pa1>';var e=c+text+'</td></tr></table>';return['<table cellpadding=3 cellspacing=0 border=0 width=100% class=pnav2_in_off><tr><td class=pa0>'+text+'</td></tr></table>',e,e];}function wrap_tab(text){var c='<tr><td class=left><img src=/images/dot.gif width=8 height=1></td>'+'<td nowrap width=100% class=middle>'+text+'</td><td class=right><img src=/images/dot.gif width=8 height=1></td></tr></table>';var a='<table width=75 cellpadding=0 cellspacing=0 border=0 class=imx_tab>'+c;var b='<table width=75 cellpadding=0 cellspacing=0 border=0 class=imx_tab2>'+c;return[a,b,b];}function wrap_tab_bot(text){var c='<tr><td class=left><img src=/images/dot.gif width=8 height=1></td>'+'<td nowrap class=middle>'+text+'</td><td class=right><img src=/images/dot.gif width=8 height=1></td></tr></table>';var a='<table cellpadding=0 cellspacing=0 border=0 class=imx_tab3>'+c;var b='<table cellpadding=0 cellspacing=0 border=0 class=imx_tab4>'+c;return[a,b,b];}



function menu(mA,mH,mD){this.m4=mA;this.mH=mH;if(!mD)mD={};this.mD=mD;if(document.getElementsByTagName)this.mk=document.getElementsByTagName("body").item(0);this.mT=mU;this.s_id=mD.key?mD.key:A_MENU_IDX.length;A_MENUS[this.s_id]=A_MENU_IDX[A_MENU_IDX.length]=this;this.m3=[];this.m9=[];this.m2=[];this.m1R=this;this.m0k=-1;this.m0t=0;this.m1c='';this.f_event=m0E;this.m04=m0F;if(mD.events&&typeof(mD.events)=='function')this.m03=mD.events;this.mw=parent;if(mD.nesting)for(var i=1;i<mD.nesting;i++)this.mw=this.mw.parent;if(window!=top){var m6=mD.frames;if(m6&&(!m6.length||!m6[0].length)){}else if(m6){if(!this.mw.m7)this.mw.m7={};this.mN=1;}else this.mN=(this.mw.m7&&this.mw.m7[this.s_id])?2:3;}new m0W(this);if(mD.popup)return;if(this.mN==1)this.mw.m7[this.s_id]=m6;}function m0F(m1W,n_id){if(window==top||!this.mw.m7||!this.mw.m7[this.s_id])return;var m6=this.mw.m7[this.s_id];var mB=[],m1N;for(var i=0;i<m6.length;i++)for(var j=0;j<m6[i].length;j++){if(!m6[i][j])continue;var mp=this.mw,mJ=m6[i][j].split('.');for(var k=0;k<mJ.length;k++)mp=mp.frames[mJ[k]];try{if(mp&&mp.A_MENUS&&mp.A_MENUS[this.s_id]){var m1O=mp.A_MENUS[this.s_id];if(m1O.mN==1)m1N=m1O;else mB[mB.length]=m1O;}}catch(m1K){}}var me=m1N.f_event(m1W,n_id,1);var mh=(m1W=='iclps'||((m1W=='iover'||m1W=='iout'||m1W=='idown')&&!this.m9[n_id].m0k));for(var i=0;i<mB.length;i++){mB[i].f_event(m1W,n_id,1);if(mh)mB[i].o_submenu.m0M();}return me;}function m0E(m1W,n_id,mL){if(!this.mk&&m1W!='iclick')return true;if(this.mN&&!mL)return this.m04(m1W,n_id);var m1L;if(n_id!=null){m1L=this.m9[n_id];if(!m1L)return;}if(this.m03&&!this.m03(m1W,n_id))return false;if(m1W=='iout'){if(this.m1F)clearTimeout(this.m1F);if(m1L.f_oo&&!m1L.f_oo())return;if(!m1L.mM)m1L.m0I(0);this.m1F=setTimeout('A_MENUS[\''+this.s_id+'\'].f_event(\'iclps\','+n_id+')',m1L.m09('dh'));return;}else if(m1W=='iover'){if(this.m1F)clearTimeout(this.m1F);if(m1L.f_oh&&!m1L.f_oh())return;m1L.m0I(1);if(m1L.m09('sb'))this.m1c=m1L.m1M;else{var m1T=(typeof(m1L.m4[0])=='object'?m1L.m4[0][0]:m1L.m4[0]);this.m1c=unescape(m1T.replace(/\<[^\>]*\>/g,'')+(m1L.m4[1]?" ("+m1L.m4[1]+")":''));}top.status=this.m1c;if(m1L.m09('de')>=1)this.m1F=setTimeout('A_MENUS[\''+this.s_id+'\'].f_event(\'iexpd\','+n_id+')',m1L.m1M);return true;}else if(m1W=='idown'){m1L.m0I(2);return false;}else if(m1W=='iclick'){if(this.m1F!=null)clearTimeout(this.m1F);if(m1L.m09('cc',this.mN)){this.f_event('mclps');}else if(this.mD.popup&&m1L.m4[1]){this.f_event('mclps');this.o_submenu.m0C();}else this.f_event('iexpd',n_id);if(!m1L.m4[1]||(mL&&this.mN>1))return false;return Boolean(m1L.m4[1]);}else if(m1W=='bover'){this.m0t=1;return;}else if(m1W=='bout'){this.m0t=0;if(!this.m2.length)return true;if(!this.m0t){if(this.m1F)clearTimeout(this.m1F);this.m1F=setTimeout('A_MENUS[\''+this.s_id+'\'].f_event(\'iclps\')',this.m2[this.m2.length-1].m09('dh'));}return;}else if(m1W=='iexpd'){if(m1L.f_oe&&!m1L.f_oe())return;var m0k=m1L.m0k;var m1Q=this.m2[m0k];var m0h=m0k-(m1Q==m1L?0:1);for(i=this.m2.length-1;i>m0h;i--){if(this.m2[i])this.m2[i].m02();}if(m1Q!=m1L){m1L.m05();this.m2[m0k]=m1L;}this.m2.length=m0k+1;return;}else if(m1W=='iclps'){if(this.m0t)return;if(this.m1F!=null)clearTimeout(this.m1F);for(i=this.m2.length-1;i>=0;i--)if(this.m2[i])this.m2[i].m02();this.m2.length=0;if(this.mD.popup)this.o_submenu.m0C();top.status='';return;}else if(m1W=='mclps'){this.m0t=0;return this.f_event('iclps');}else if(m1W=='mshow'){this.o_submenu.m0M();return;}alert("Runaway Event:"+m1W+", ID="+n_id);}function m0W(m1P){this.m1P=m1P;this.m1R=m1P.m1R;this.m0k=m1P.m0k+1;this.n_id=this.m1R.m3.length;this.m1R.m3[this.n_id]=this;m1P.o_submenu=this;this.m07=m0O;this.m09=m0Q;this.m0A=m0R;this.m08=m0P;this.f_syncGlass=m0V;this.m0D=m0T;this.m0M=m0U;this.m0C=m0S;this.mA=[];var m1I;for(var i=(this.m0k?3:0);i<m1P.m4.length;i++){m1I=m1P.m4[i];if(!m1I||typeof(m1I)!='object')continue;new m0e(this,m1I);}this.m0D();}function m0T(){var m1E=this.m1E=(this.m0k+1)*3+this.m09('zi',0);var m0m=this.m09('bl'),m18=this.m09('bt'),m0u=this.m09('op'),m1U=this.m1R.mD['container'];var m1H=(m1U&&!this.m0k)?getElement(m1U):null;this.md=!this.m0k&&(m0m==null||m18==null)&&(!this.m1R.mN||this.m1R.mN<2)&&(!this.m1R.mD.popup)&&!m1H;var m1X='';if(this.m09('be')){this.mI=this.m1M;m1X+=this.m1M.join(' ');}if(this.m09('sd')){this.mF=this.m1M;m1X+=' progid:DXImageTransform.Microsoft.Shadow(strength='+this.mF.strength+',direction='+this.mF.direction+',color='+this.mF.color+')';}if(m0u)m1X+=' alpha(opacity='+m0u+')';if(m1H){this.e_div=document.createElement("DIV");this.e_div.innerHTML=this.m07();m1H.appendChild(this.e_div);this.f_syncGlass();}else if(this.md){document.write(this.m07());}else if(!this.m1R.mT&&this.m0k){this.e_div=document.createElement("DIV");this.e_div.style.position='absolute';this.e_div.style.zIndex=m1E;this.e_div.style.left='-1000px';this.e_div.style.top='-1000px';this.e_div.style.visibility='hidden';this.e_div.style.filter=m1X;if(m0u)this.e_div.style.MozOpacity=m0u/100;this.e_div.innerHTML=this.m07();this.m1R.mk.appendChild(this.e_div);if(b_ie6){this.ms=document.createElement("IFRAME");if(this.m09('px'))this.ms.src=this.m1M;this.ms.style.position='absolute';this.ms.style.zIndex=m1E-1;this.ms.style.visibility='hidden';this.ms.style.filter='alpha(opacity=0)';this.m1R.mk.appendChild(this.ms);}}else{if(!m0m||!m18)m0m=m18=0;document.write(this.m07(m0m,m18));this.e_div=getElement('m'+this.m1R.s_id+'bl'+this.n_id+'tb');this.e_div.style.filter=m1X;if(m0u)this.e_div.style.MozOpacity=m0u/100;if((b_ie5||b_ie6)&&!mU&&!mP){document.write('<iframe'+(this.m09('px')?' src="'+this.m1M+'"':'')+' style="position:absolute;visibility:hidden;z-index:'+(m1E-1)+'" id="m'+this.m1R.s_id+'bl'+this.n_id+'if"></iframe>');this.ms=getElement('m'+this.m1R.s_id+'bl'+this.n_id+'if');this.ms.style.filter='alpha(opacity=0)';}}if(!this.m1R.mk)return;this.mv=getElement('m'+this.m1R.s_id+'bl'+this.n_id+'tb');}function m0V(mO){for(var i=0;i<this.mA.length;i++)this.mA[i].f_syncGlass(mO);}

function m0S(){if(!this.md)this.f_syncGlass(1);if(this.mI&&this.mI[1]){try{if(this.m1R.my&&this.m1R.mD.oneTrans){this.m1R.my.stop();this.m1R.my=null;}var mz=this.m1R.mx=this.e_div.filters.item(this.mI[0]?1:0);mz.apply();this.e_div.style.visibility='hidden';mz.play();}catch(e){this.e_div.style.visibility='hidden';};}else this.e_div.style.visibility='hidden';if(this.ms)this.ms.style.visibility='hidden';return;}function m0U(){if(this.md)return this.f_syncGlass();var m0m=this.m09('bl',0),m18=this.m09('bt',0),m13=m0K(),m14=m0L(),m16=this.mv.offsetWidth,m15=this.mv.offsetHeight;if(this.m0k){var m0n,m19,m0o,m1A,m0x=this.m1P.m08('Left'),m0z=this.m1P.m08('Top'),m0y=this.m1P.m09('tb'),mc=this.m1P.m1G.m09('bv')==null?this.m1P.m1G.m0k:this.m1P.m1G.m1M,mj=this.m09('wp')&&!this.m1R.mN,mf=this.m09('rv'),m10=this.m1P.mt.offsetWidth,m0w=this.m1P.mt.offsetHeight;if(mj||!mf){m0n=m0x+m0m+(mc?m10+m0y[1]:-m0y[1])-(mP?m0y[1]:0);m19=m0z+m18+(mc?-m0y[1]:m0w+m0y[1]);}if(mj||mf){m0o=m0x-m0m-(mc?m16:0)-m0y[1]*(mP?2:1);m1A=m0z-m18-m15+(mc?m0w+m0y[1]:-m0y[1]);}if(mj){var m1D=m01(),m1C=m00();var ma=m19<m14,mb=m1A<m14,mZ=(m0n-m13+m16)>m1D,m_=(m0o-m13+m16)>m1D,mV=(m19-m14+m15)>m1C,mW=(m1A-m14+m15)>m1C,mX=m0n<m13,mY=m0o<m13;if((mf&&!mb&&!mW)||(!mf&&!ma&&!mV));else if(m1C<=m15)m19=m1A=m14;else if(mf&&(mb||mW)&&!ma&&!mV)m1A=m19;else if(!mf&&(ma||mV)&&!mb&&!mW)m19=m1A;else{m19=m1C-m15+m14;m1A=m14;}if((mf&&!m_&&!mY)||(!mf&&!mZ&&!mX));else if(m1D<=m16)m0n=m0o=m13;else if(mf&&(mY||m_)&&!mX&&!mZ)m0o=m0n;else if(!mf&&(mX||mZ)&&!mY&&!m_)m0n=m0o;else{m0n=m1D-m16+m13;m0o=m13;}}m0m=(mf?m0o:m0n);m18=(mf?m1A:m19);}else if(this.m1R.mN>1){var m6=this.m1R.mw.m7[this.m1R.s_id];if(!m6)return;var m0m=0,m18=0,m12,m0g,m0s,mR,mS;for(var i=0;i<m6.length;i++){m12=null;m0s=0;for(var j=0;j<m6[i].length;j++){if(!m6[i][j])continue;var mp=this.m1R.mw,mJ=m6[i][j].split('.');for(var k=0;k<mJ.length;k++)mp=mp.frames[mJ[k]];if(!mp||!mp.A_MENUS)continue;m0g=mp.m01();if(m12==null)m12=mp.m00();var mu=mp.A_MENUS[this.m1R.s_id];if(mu&&mu.mD.frames){mR=1;m0m+=mu.o_submenu.m08('Left')-mp.m0K();m18+=mu.o_submenu.m08('Top')-mp.m0L();this.e_div.style.width=mu.o_submenu.mv.offsetWidth+'px';this.e_div.style.height=mu.o_submenu.mv.offsetHeight+'px';}if(mu&&mu==this.m1R){mS=1;m0m+=m13;m18+=m14;}if(mR&&mS)break;if(mR)m0s-=m0g;else if(mS)m0s+=m0g;}if(mR&&mS){m0m+=m0s;break;}else if(mR)m18-=m12;else if(mS)m18+=m12;}if(!mR&&mS)return;}else if(this.m1R.mD.popup){m0m+=m0p;m18+=m0q;}this.e_div.style.left=m0m+'px';this.e_div.style.top=m18+'px';if(this.ms){this.ms.style.width=m16+(this.mF?this.mF.strength:0)+'px';this.ms.style.height=m15+(this.mF?this.mF.strength:0)+'px';this.ms.style.left=m0m+'px';this.ms.style.top=m18+'px';this.ms.style.visibility='visible';}if(this.mI&&this.mI[0]){try{if(this.m1R.mx&&this.m1R.mD.oneTrans){this.m1R.mx.stop();this.m1R.mx=null;}var mz=this.m1R.my=this.e_div.filters.item(0);mz.apply();this.e_div.style.visibility='visible';mz.play();}catch(e){this.e_div.style.visibility='visible';};}else this.e_div.style.visibility='visible';this.f_syncGlass();}function m0Q(m1a,m1J){var m1L=this.m4?this:this.m1P;if(m1L&&m1L.m4[2]&&typeof(m1L.m4[2])=='object'&&m1L.m4[2][m1a])return(m1L.m4[2][m1a]=='auto'?(this.m1M=null):(this.m1M=m1L.m4[2][m1a]));if(m1J==null)m1J=m0[m1a];m1a=m1[m1a];if(!m1a)return(this.m1M=null);var m0k=this.m0k,mE=this.m1R.mH,m1b;do{if(mE[m0k]){if(mE[m0k][m1a]=='auto')break;if(mE[m0k][m1a]!=null)return(this.m1M=mE[m0k][m1a]);}m0k--;}while(m0k>=0);if(this.m1R.mD[m1a])return(this.m1M=this.m1R.mD[m1a]);return(this.m1M=m1J);}function m0R(m1_,m17){var mC,m5,m1L=this;do{m5=m1L.m09('sl');if(m5)mC=m5[m1_];m1L=m1L.m1P;}while(m1L&&mC==null);if(mC==null)return'';if(typeof(mC)=='string')return mC;for(var m0j=m17;m0j>=0;m0j--)if(mC[m0j])return mC[m0j];}function m0O(m0m,m18){var mA=[],mi=this.m09('bv')==null?this.m0k:this.m1M,m1B=this.m09('bw'),m0l=this.m09('bh'),mG=this.m09('tb');for(var i=0;i<this.mA.length;i++)mA[i]=this.mA[i].m07();return['<table id="m'+this.m1R.s_id+'bl'+this.n_id+'tb" cellpadding="',mG[0],'" cellspacing="',mG[1],'" border="',mG[2],'"',(!mi&&mG[3]!=null?' width="'+mG[3]+'"':''),(!mi&&m0l!=null?' height="'+m0l+'"':''),(mi&&m1B!=null?' width="'+m1B+'"':''),' class="',this.m0A('table',0),'"',(m0m!=null&&m18!=null?' style="position: absolute;visibility:hidden;z-index:'+this.m1E+';left:'+m0m+'px;top:'+m18+'px;':''),'" onmouseout="A_MENUS[\'',this.m1R.s_id,'\'].f_event(\'bout\', ',this.n_id,')" onmouseover="A_MENUS[\'',this.m1R.s_id,'\'].f_event(\'bover\', ',this.n_id,')"><tbody><tr>',mA.join(mi?'</tr><tr>':''),'</tr></tbody></table>'].join('');}function m0P(m1V){return this.m1R.m9[0].m08(m1V,this.mv)}function m0e(m1G,m4){this.m1G=m1G;this.m1P=m1G.m1P;this.m1R=m1G.m1R;this.m0k=m1G.m0k;this.m4=m4;this.m17=0;this.n_id=this.m1R.m9.length;this.m1R.m9[this.n_id]=this;this.m0v=m1G.mA.length;m1G.mA[this.m0v]=this;this.m07=m0_;this.m0J=m0c;this.f_syncGlass=m0d;this.m09=m0Q;this.m06=m0Z;this.m08=m0a;this.m0A=m0R;this.m05=m0Y;this.m02=m0X;this.m0I=m0b;var m8=['wr','oh','oe','oo','oc'];for(var i=0;i<m8.length;i++){var m0B=this.m09(m8[i]);if(m0B&&typeof(m0B)=='function')this['f_'+m8[i]]=m0B;}if(!this.m1R.mk)return;if(!this.m1R.mT||this.m4.length<3||this.m4[3]==null)return;new m0W(this);}function m0_(){var mi=this.mi=this.m1G.m09('bv')==null?this.m1G.m0k:this.m1G.m1M,m1B=this.m09('sw'),m0l=this.m09('sh');return['<td id="m',this.m1R.s_id,'io',this.n_id,'"',(mi&&m0l!=null?' height="'+m0l+'"':''),(!mi&&m1B!=null?' width="'+m1B+'"':''),((mi&&(this.m1G.m09('bw')!=null||this.m1G.m09('sw')!=null))||(!mi&&m1B)?'':' nowrap'),' class="',this.m0A('outer',0),'">',this.m06(0),'</td>'].join('');}

function m0c(md){var m1Y=['<a href="',this.m4[1],'"',(this.m09('tw')?' target="'+this.m1M+'"':''),(this.m09('ti')!=null?' tabindex="'+this.m1M+'"':''),(this.m09('tt')?' title="'+this.m1M+'"':''),' onclick="return A_MENUS[\'',this.m1R.s_id,'\'].f_event(\'iclick\', ',this.n_id,')" ondblclick="A_MENUS[\'',this.m1R.s_id,'\'].f_event(\'idown\', ',this.n_id,')" onmouseover="A_MENUS[\'',this.m1R.s_id,'\'].f_event(\'iover\', ',this.n_id,')" onmouseout="A_MENUS[\'',this.m1R.s_id,'\'].f_event(\'iout\', ',this.n_id,')" onmousedown="return A_MENUS[\'',this.m1R.s_id,'\'].f_event(\'idown\', ',this.n_id,')" onmouseup="A_MENUS[\'',this.m1R.s_id,'\'].f_event(\'iover\', ',this.n_id,')"><img src="',this.m1R.mH[0]['pixel'],'" height="1" width="1" border="0" id="m',this.m1R.s_id,'im',this.n_id,'"></a>'].join('');if(md){document.write('<div style="position:absolute;z-index:'+this.m1G.m1E+';left:-1000px;top:-1000px;visibility:hidden;" id="m'+this.m1R.s_id+'ig'+this.n_id+'">'+m1Y+'</div>');this.mq=getElement('m'+this.m1R.s_id+'ig'+this.n_id);}else{var mq=document.createElement("DIV");mq.style.position='absolute';mq.style.zIndex=this.m1G.m1E;mq.style.left='-1000px';mq.style.top='-1000px';mq.style.visibility='hidden';mq.innerHTML=m1Y;this.m1R.mk.appendChild(mq);this.mq=mq;}}function m0d(mO){if(mO){if(this.mq)this.mq.style.visibility='hidden';return;}if(!this.mq)this.m0J();if(!this.mt)this.mt=getElement('m'+this.m1R.s_id+'io'+this.n_id);this.mq.style.left=this.m08('Left',0)+'px';this.mq.style.top=this.m08('Top',0,this.mi)+'px';if(!this.mr)this.mr=getElement('m'+this.m1R.s_id+'im'+this.n_id);this.mr.style.width=this.mt.offsetWidth+'px';this.mr.style.height=this.mt.offsetHeight+'px';this.mq.style.visibility='visible';}function m0Z(m17){var m1T,m0i=m17;if(typeof(this.m4[0])=='object'){while(m0i&&!this.m4[0][m0i])m0i--;m1T=this.m4[0][m0i];}else m1T=this.m4[0];if(this.f_wr)m1T=this.f_wr(m1T,m17);return['<div class="',this.m0A('inner',m17),'" id="m',this.m1R.s_id,'ii',this.n_id,'">',m1T,'</div>'].join('');}function m0b(m17){if(m17==this.m17)return;var m1Z=this.m06(m17);if(m1Z!=this.m06(this.m17))this.mt.innerHTML=m1Z;m1Z=this.m0A('outer',m17);if(m1Z!=this.m0A('outer',this.m17))this.mt.className=m1Z;m1Z=this.m0A('inner',m17);if(m1Z!=this.m0A('inner',this.m17)){var mn=getElement('m'+this.m1R.s_id+'ii'+this.n_id);if(mn)mn.className=m1Z;}this.m17=m17;}function m0Y(){if(this.m4.length<3||this.m4[3]==null)return;if(!this.o_submenu)new m0W(this);this.o_submenu.m0M();this.mM=1;}function m0X(){this.m0I(0);if(!this.mM)return;if(this.f_oc)this.f_oc();this.o_submenu.m0C();this.mM=0;}function m0a(m1V,mm,mK){var m11=0,m0r,ml=mm?mm:this.mt;while(ml){m0r=ml["offset"+m1V];m11+=m0r;ml=(mK&&(b_ie5||(mg&&m0f<3)))&&ml.tagName=='TD'?ml.parentElement:ml.offsetParent;}if(mP)m11+=parseInt(this.m1R.mk[m1V.toLowerCase()+'Margin']);else if(mg&&(!this.m1G.md||this.m0k))m11-=m0r;ml=mm?mm:this.mt;while(ml!=this.m1R.mk){m0r=ml["scroll"+m1V];if(m0r&&ml.style.overflow=='scroll')m11-=m0r;ml=ml.parentNode;}return m11;}getElement=document.all?function(s_id){return document.all[s_id]}:function(s_id){return document.getElementById(s_id)};function m01(){if(typeof(window.innerWidth)=='number')return window.innerWidth;if(document.documentElement&&document.documentElement.clientWidth)return document.documentElement.clientWidth;if(document.body&&document.body.clientWidth)return document.body.clientWidth;return null;}function m00(){if(typeof(window.innerHeight)=='number')return window.innerHeight;if(document.documentElement&&document.documentElement.clientHeight)return document.documentElement.clientHeight;if(document.body&&document.body.clientHeight)return document.body.clientHeight;return null;}function m0K(){if(typeof(window.pageXOffset)=='number')return window.pageXOffset;if(document.body&&document.body.scrollLeft)return document.body.scrollLeft;if(document.documentElement&&document.documentElement.scrollLeft)return document.documentElement.scrollLeft;return 0;}function m0L(){if(typeof(window.pageYOffset)=='number')return window.pageYOffset;if(document.body&&document.body.scrollTop)return document.body.scrollTop;if(document.documentElement&&document.documentElement.scrollTop)return document.documentElement.scrollTop;return 0;}function f_syncGlass(){for(var i=0;i<A_MENU_IDX.length;i++)A_MENU_IDX[i].o_submenu.f_syncGlass();}function m0H(){for(var i=0;i<A_MENU_IDX.length;i++){var m1O=A_MENU_IDX[i];if(!m1O.mD.popup&&m1O.mN!=3)m1O.o_submenu.m0M();if(m1O.mN==1)m1O.m04('mshow');}}function m0N(){for(var i=0;i<A_MENU_IDX.length;i++){var m1O=A_MENU_IDX[i];if(m1O.mN==1)m1O.m04('mclps');else m1O.f_event('mclps');}f_syncGlass();}function f_onMouseMove(mo){if(!mo&&window.event)mo=window.event;if(mo){m0p=mo.clientX+m0K();m0q=mo.clientY+m0L();}return true;}if(document.addEventListener){window.addEventListener('scroll',m0N,false);window.addEventListener('resize',m0N,false);window.addEventListener('load',m0H,false);}if(window.attachEvent){window.attachEvent('onscroll',m0N);window.attachEvent('onresize',m0N);window.attachEvent('onload',m0H);}else{window.onscroll=m0N;window.onresize=m0N;var m0G=window.onload;if(typeof window.onload!='function'){window.onload=m0H;}else{window.onload=function(){m0G();m0H();}}}var A_MENUS=[],A_MENU_IDX=[],m0p=0,m0q=0;var m1d=navigator.userAgent.toLowerCase();var m1S=/version\/(\d+)\.(\d+)/;var mQ=m1d.indexOf('mac')!=-1,b_ie5=m1d.indexOf('msie 5')!=-1,b_ie6=m1d.indexOf('msie 6')!=-1&&m1d.indexOf('opera')==-1,mP=mQ&&b_ie5,mg=mQ&&m1d.indexOf('safari')!=-1,mU=m1d.indexOf('opera 6')!=-1,m0f=(m1S.exec(m1d)?parseFloat(RegExp.$1):0);

var m1={'fm':'forms','zi':'zIndex','wr':'wrapper','cc':'clickcollapse','oh':'onhover','oe':'onexpand','oo':'onmouseout','oc':'oncollapse','bw':'width','sw':'width','bh':'height','bt':'block_top','bl':'block_left','sh':'height','bv':'vertical','tb':'table','sl':'css','de':'expd_delay','dh':'hide_delay','wp':'wise_pos','rv':'reverse','be':'transition','op':'opacity','sd':'shadow','px':'pixel'},m0={'de':200,'dh':700,'op':100,'tb':[4,1,0],'wp':1};

function menu_on_load() {m0H();}

function c_dialog(){this.s_images='/js/tigra/dialog/img/';this.z_index=20000;var ua=navigator.userAgent.toLowerCase();this.ie6=(ua.indexOf('msie 6')!=-1&&ua.indexOf('opera')==-1)?1:0;if(!window.dlgBx){window.dlgBx=document.createElement("DIV");dlgBx.id='dialog';dlgBx.style.display='none';xInnerHtml(dlgBx,this.getHTML());window.dlgSc=document.createElement("DIV");dlgSc.id='dScr';dlgSc.style.display='none';xInnerHtml(dlgSc,'&nbsp;');if(this.ie6){window.e_iframe=document.createElement("IFRAME");e_iframe.src='/images/dot.gif';e_iframe.style.position='absolute';e_iframe.style.left=0;e_iframe.style.top=0;e_iframe.style.visibility='hidden';e_iframe.style.filter='alpha(opacity=0)';document.body.appendChild(e_iframe);}document.body.appendChild(dlgSc);document.body.appendChild(dlgBx);dlgBx.o_shadow=new c_shadow(dlgBx,this.s_images);f_addListener(window,'resize',c_dialog.refresh);f_addListener(window,'scroll',c_dialog.refresh);xEnableDrag("dialogTitle",c_dialog.DragS,c_dialog.DragM,c_dialog.DragE);}window.o_dialog=this;this.b_visible=false;return this;};c_dialog.prototype.show=function(){c_dialog.shown=1;if(window.e_iframe)e_iframe.style.zIndex=this.z_index;dlgSc.style.zIndex=70001+this.z_index;dlgBx.style.zIndex=70003+this.z_index;dlgBx.style.display='block';dlgSc.style.display='block';this.b_visible=true;if(window.e_iframe)e_iframe.style.visibility='visible';dlgBx.drug=0;c_dialog.refresh();dlgBx.o_shadow.f_show();};c_dialog.prototype.hide=function(){if(!this.onClose())return;c_dialog.shown=0;dlgBx.o_shadow.f_hide();dlgBx.style.display='none';dlgSc.style.display='none';this.b_visible=false;if(window.e_iframe)e_iframe.style.visibility='hidden';};c_dialog.prototype.getHTML=function(){var s_title=this.setTitle();if(!s_title)s_title='untitled';return'<table width=100% style="table-layout:fixed" cellpadding=0 cellspacing=0 border=0 id=dialogTitleTbl>'+'<tr><td class=dlg_left_tab width=16>&nbsp;</td>'+'<td nowrap class=dlg_middle_tab width=100%><div style="overflow:hidden;width:100%" id="dialogTitle">'+s_title+'</td><td width=16 style="cursor:pointer" align=right valign=middle class=dlg_middle_tab>'+'<img onclick="o_dialog.hide();" style="vertical-align:middle" src=/images/icons/custom/16x16/plain/delete_gray.gif width=16 height=16 border=0>'+'</td><td class=dlg_right_tab width=16>&nbsp;</td></tr></table>'+'<div id=dlgBodyOut><div id="dialogBody">&nbsp;</div></div>';};c_dialog.prototype.onClose=function(){return true;};c_dialog.prototype.setTitle=function(x){return xInnerHtml('dialogTitle',x);};c_dialog.prototype.setContent=function(x){return xInnerHtml('dialogBody',x);};c_dialog.prototype.setSize=function(n_x,n_y){if(n_x)dlgBx.style.width=n_x+'px';if(n_y)dlgBx.style.height=n_y+'px';this.bodySize();c_dialog.refresh();};c_dialog.prototype.bodySize=function(){var w=xWidth(dlgBx)-2;var h=xHeight(dlgBx)-2-(xPageY('dlgBodyOut')-xPageY(dlgBx));xResizeTo("dialogBody",w,h);};c_dialog.prototype.autoReSize=function(){var e=xGetElementById("dialog_content");if(!e)return;var w=xWidth(e)+35;var cw=xClientWidth();if(w>xWidth(dlgBx)||w>cw){if(w>cw)w=cw;this.setSize(w,null);}var h=xHeight(e)+(xPageY('dlgBodyOut')-xPageY(dlgBx))+35;var xh=xClientHeight();if(h>xHeight(dlgBx)||h>xh){if(h>xh)h=xh;this.setSize(null,h);}};c_dialog.refresh=function(){if(!o_dialog.b_visible)return;var sw=(xScrollLeft()+xClientWidth())+'px';var sh=xPageY("_last")+'px';var qt=xClientHeight()+xScrollTop();if(xPageY("_last")<qt)sh=qt+"px";dlgSc.style.width=sw;dlgSc.style.height=sh;if(window.e_iframe){e_iframe.style.width=sw;e_iframe.style.height=sh;}if(dlgBx.drug==1)return;var n_x=Math.round((xClientWidth()-dlgBx.offsetWidth)/2)+xScrollLeft();var n_y=Math.round((xClientHeight()-dlgBx.offsetHeight)/2)+xScrollTop();if(n_x<0)n_x=0;if(n_y<0)n_y=0;xMoveTo(dlgBx,n_x,n_y);dlgBx.o_shadow.f_refresh();};c_dialog.DragS=function(){dlgBx.drug=1;};c_dialog.DragM=function(el,dx,dy,ev){xMoveTo(dlgBx,xPageX(dlgBx)+dx,xPageY(dlgBx)+dy);dlgBx.o_shadow.f_refresh();};c_dialog.DragE=function(){};function c_shadow(e_object,img){this.e_object=e_object;this.e_shadow=document.createElement("DIV");this.e_shadow.className='dlg_shadow';this.e_shadow.style.display='none';this.e_shadow.style.zIndex=20002;document.body.appendChild(this.e_shadow);var hID='dlg_stitle',s_userAgent=navigator.userAgent.toLowerCase();xInnerHtml(this.e_shadow,(this.ie6)?'<table cellpadding=0 cellspacing=0 border=0 width=100%><tbody><tr><td rowspan="2" colspan="2" width="7"><img src="'+img+'pixel.gif"></td><td width="7" height="7" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+img+'shade_tr.png\', sizingMethod=\'scale\');"><img src="'+img+'pixel.gif"></td></tr><tr><td style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+img+'shade_mr.png\', sizingMethod=\'scale\');" id="'+(this.s_heightID=hID)+'"><img src="'+img+'pixel.gif"></td></tr><tr><td width="7" style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+img+'shade_bl.png\', sizingMethod=\'scale\');"><img src="'+img+'pixel.gif"></td><td style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+img+'shade_bm.png\', sizingMethod=\'scale\');" height="7" align="left"><img src="'+img+'pixel.gif"></td><td style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+img+'shade_br.png\', sizingMethod=\'scale\');"><img src="'+img+'pixel.gif"></td></tr></tbody></table>':'<table cellpadding=0 cellspacing=0 border=0 width=100%><tbody><tr><td rowspan="2" width="7"><img src="'+img+'pixel.gif"></td><td rowspan="2"><img src="'+img+'pixel.gif"></td><td width="7" height="7"><img src="'+img+'shade_tr.png"></td></tr><tr><td background="'+img+'shade_mr.png" id="'+hID+'"><img src="'+img+'pixel.gif"></td></tr><tr><td><img src="'+img+'shade_bl.png"></td><td background="'+img+'shade_bm.png" height="7" align="left"><img src="'+img+'pixel.gif"></td><td><img src="'+img+'shade_br.png"></td></tr></tbody></table>');this.e_tdHeight=xGetElementById(hID);};c_shadow.prototype.f_show=function(){this.f_refresh();if(this.e_object.zIndex)this.style.zIndex=this.e_object.zIndex+2;this.e_shadow.style.display='block';};c_shadow.prototype.f_hide=function(){this.e_shadow.style.display='none';};c_shadow.prototype.f_refresh=function(){var x=xPageX(this.e_object),y=xPageY(this.e_object),w=xWidth(this.e_object),h=xHeight(this.e_object);this.e_shadow.style.left=(x-1)+'px';this.e_shadow.style.top=(y-1+6)+'px';this.e_shadow.style.width=(w+8)+'px';this.e_shadow.style.height=(h+7-6)+'px';this.e_tdHeight.style.height=(h-7-6)+'px';};function f_addListener(e_obj,s_event,f_handler){if(e_obj.addEventListener){e_obj.addEventListener(s_event,f_handler,false);}else if(e_obj.attachEvent){e_obj.attachEvent('on'+s_event,f_handler);}};function f_cancelEvent(e_event){var ev=new xEvent(e);xStopPropagation(ev);return 0;};



	

function do_rpx(token) {

	RPXNOW.token_url = token;

	RPXNOW.show();

	};	



var _ajax_ok=true;var ajax_err={'401':"misc.err.auth",'451':"misc.failure.login",'498':"msg.inline.err.show",'461':"msg.ajax.err.imap",'462':"msg.ajax.err.nomsg",'463':"misc.err.validation",'464':"folders.no.such.folder"};function ajaxErr(c,r){var m=ajax_err[c];if(m)m=_phrases[m];if(c==499)m=r;if(!m)m="Error #"+c+" received when loading content.";if(c==401||c==451){ajaxLogin(m);return"";}return m;}function ajaxLogin(m){var mi=window["_mail_icons"]?1:0;m="<div id=dialog_content><p>"+(mi?'<img src=/images/icons/obj_people/32x32/shadow/clock_stop.gif width=32 height=32 align=right>':'')+m+'</p><br><p><center>'+(mi?'&nbsp;<a href=javascript:ui.Dialog.hide();><img src=/images/icons/apps/16x16/plain/window_delete.gif width=16 height=16 border=0></a>&nbsp;':'')+'<a href=javascript:ui.Dialog.hide();><b>'+_phrases['cmd.close']+'</b></a>&nbsp;&nbsp;|&nbsp;&nbsp;'+'<a href=/perl/member/login.pl><b>'+_phrases['ext.login.login']+'</b></a>'+(mi?'&nbsp;<a href=/perl/member/login.pl><img src=/images/icons/apps/16x16/plain/navigate_right.gif width=16 height=16 border=0></a>':'')+'</center></p><br></div>';ui.Dialog.show({title:_phrases["misc.err.auth.login"],body:m,pw:400,ph:200});}function getAjaxObject(id){var o=null;if(!_ajax_ok)return null;try{o=luxsack();}catch(e){return null;};if(!o||o.failed){_ajax_ok=false;return null;}o.AjaxFailedAlert=null;o.id=id;return o;}function luxsack(file){var _s=new Object;_s.xmlhttp=null;_s.AjaxFailedAlert=_phrases['misc.ajax.err'];_s.resetData=function(){_s.method="POST";_s.URLString="";_s.encodeURIString=true;_s.execute=false;_s.element=null;_s.elementObj=null;_s.requestFile=file;_s.vars=new Object();_s.responseStatus=new Array(2);_s.runAjax=0;_s.fnobj=null;};_s.resetFunctions=function(){_s.onLoading=function(){};_s.onLoaded=function(){};_s.onInteractive=function(){};_s.onCompletion=function(){};_s.onError=function(){};};_s.reset=function(){_s.resetFunctions();_s.resetData();};_s.reset();_s.createAJAX=function(){if(xIE){try{_s.xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{_s.xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}catch(err){_s.xmlhttp=null;}}}if(!_s.xmlhttp&&typeof XMLHttpRequest!="undefined")_s.xmlhttp=new XMLHttpRequest();if(!_s.xmlhttp)_s.failed=true;};_s.setVar=function(name,value){_s.vars[name]=Array(value,false);};_s.encVar=function(name,value,returnvars){if(true==returnvars)return Array(encodeURIComponent(name),encodeURIComponent(value));else _s.vars[encodeURIComponent(name)]=Array(encodeURIComponent(value),true);};_s.processURLString=function(string,encode){varArray=string.split('&');for(i=0;i<varArray.length;i++){urlVars=varArray[i].split('=');if(urlVars[0].indexOf('amp;')!=-1)urlVars[0]=urlVars[0].substring(4);if(true==encode)_s.encVar(urlVars[0],urlVars[1]);else _s.setVar(urlVars[0],urlVars[1]);}};_s.createURLString=function(urlstring){var timeval=new Date().getTime();if(_s.encodeURIString&&_s.URLString)_s.processURLString(_s.URLString,true);if(urlstring){if(_s.URLString.length)_s.URLString=_s.URLString+"&"+urlstring;else _s.URLString=urlstring;}if(!_s.cachable)_s.setVar("rndval",timeval);for(key in _s.vars){if(false==_s.vars[key][1]&&true==_s.encodeURIString){var encoded=_s.encVar(key,_s.vars[key][0],true);delete _s.vars[key];_s.vars[encoded[0]]=Array(encoded[1],true);}}var i=0;for(key in _s.vars){if(key=="toJSONString")continue;_s.URLString+=(!i?"&":"")+key+"="+_s.vars[key][0];i++;}};_s.runResponse=function(){eval(_s.response);};_s.runAJAXForm=function(form_name){eval("var fo = document."+form_name);if(_s.formdata)this.runAJAX(_s.formdata+"&");else this.runAJAX(saveForm(fo)+"&");};_s.runAJAX=function(urlstring){_s.runAjax=1;if(_s.failed&&_s.AjaxFailedAlert){alert(_s.AjaxFailedAlert);}else{_s.URLString="";_s.createURLString(urlstring);if(_s.element)_s.elementObj=document.getElementById(_s.element);if(_s.xmlhttp){var self=_s;if(_s.method=="GET"){var totalurlstring=_s.requestFile+"?"+_s.URLString;_s.xmlhttp.open(_s.method,totalurlstring,true);}else{_s.xmlhttp.open(_s.method,_s.requestFile,true);}if(_s.method=="POST"){try{_s.xmlhttp.setRequestHeader('Content-Type','application/x-www-form-urlencoded');}catch(e){}}_s.xmlhttp.onreadystatechange=function(){switch(self.xmlhttp.readyState){case 1:(self.fnobj&&self.fnobj.onLoading)?self.fnobj.onLoading():self.onLoading();break;case 2:(self.fnobj&&self.fnobj.onLoaded)?self.fnobj.onLoaded():self.onLoading();break;case 3:(self.fnobj&&self.fnobj.onInteractive)?self.fnobj.onInteractive():self.onInteractive();break;case 4:var c,r;try{self.responseXML=self.xmlhttp.responseXML;c=self.xmlhttp.status;r=self.xmlhttp.responseText;self.responseStatus[1]=self.xmlhttp.statusText;}catch(e){r=_phrases['misc.ajax.aborted'];c=499;};if(c==502||c==404||c==302){r=_phrases['misc.err.server']+" (0678c"+c+")";c=499;}if(c>12000){c=499;r=_phrases['misc.failure.connect']+" (fcb3490a)";}self.responseStatus[0]=c;self.response=r;if(self.execute)self.runResponse();var ee=self.elementObj;if(ee){var eetype=ee.nodeName;eetype.toLowerCase();if(eetype=="input"||eetype=="select"||eetype=="option"||eetype=="textarea"){ee.value=r;}else{try{ee.innerHTML=r;}catch(e){(self.fnobj&&self.fnobj.onError)?self.fnobj.onError(498,ee):self.onError(498,ee);};}}var m=r.match(/^X-Status:\s+(\d\d\d)/i);if(m){c=m[1];c=self.responseStatus[0]=c;var a=r.split("\n");a.shift();r=a.join("\n");self.response=r;}if("200"==c||"201"==c){(self.fnobj&&self.fnobj.onCompletion)?self.fnobj.onCompletion(c,ee,r):self.onCompletion(c,ee,r);}else{(self.fnobj&&self.fnobj.onError)?self.fnobj.onError(c,ee,r):self.onError(c,ee,r);}self.URLString="";break;}};_s.xmlhttp.send(_s.URLString);}}};_s.createAJAX();return _s;}



var _ajax_colors=["#FFE","#FFD","#FFC","#FFB","#FFA","#FF9","#FF9","#FFA","#FFB","#FFC","#FFE"];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+"')",100);}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');}



function LoadArea(cmd,load,content,url,f){var o=new Object();o.cmd=cmd;o.load=load;o.content=content;o.url=url;o.f=f;o.failSubmit=1;o.failURL=null;o.method="POST";o.noMsg=0;o.Msg=_phrases["misc.working"];o.append_msg=0;o.MsgPad=0;o.progress=null;o.icons=window["_mail_icons"];o.cache=0;if(url=="this"){url=document.location.pathname;url=url.replace(".pl","-ajax.pl");o.url=url;}o.Load=function(qs){var a=getAjaxObject(this.cmd);if(!a){if(this.failSubmit)f.submit();else if(this.failURL!=null)document.location=this.failURL;return 0;}if(o.cache)a.cachable=1;a.requestFile=this.url;a.method=(o.cache)?"GET":this.method||"POST";a.fnobj=this;a.runAJAX(qs+"&");if(o.progress&&o.Msg)o.progress.setStatus(1,o.Msg);if(!this.noMsg){this.msgid="vd_"+Math.random();var i=(this.MsgPad)?"<br>":"";if(this.icons)i=i+"<img src=/images/working.gif width=16 height=16>&nbsp;";var f=(this.append_msg)?xInnerHtml(this.load):"";xInnerHtml(this.load,f+"<span id="+this.msgid+">"+i+this.Msg+"</span>"+((this.MsgPad)?"<br><br>":""));Start_AJAX_Transition(this.msgid,"black");}return 1;};o.onError=function(code,obj,resp){var msg=ajaxErr(code,resp);if(!msg.length)return;if(this.msgid){xInnerHtml(this.msgid,"<span class=notice>"+msg+"</span>");}else if(this.load){this.msgid="_e_"+Math.random();msg="<span class=notice id="+id+">"+msg+"</span>";xInnerHtml(this.load,xInnerHtml(this.load)+"<br /><br />"+msg);}if(this.msgid)Start_AJAX_Transition(this.msgid,"black");if(o.progress)o.progress.setStatus(3,msg);};o.onCompletion=function(status,obj,response){xInnerHtml(this.content,response);if(o.progress)o.progress.setStatus(2,_phrases["misc.success"]);};return o;}



var _submit_form=new Object();function SubmitForm(form_name,msg_id){var o=new Object();o.txtSave=_phrases["misc.working"];o.txtSuccess=_phrases["misc.success"];o.saveURL="this";o.onSaveSuccess=undefined;o.onSaveError=undefined;o.msgID=msg_id;o.divID=form_name;o.form_name=form_name;o.auto_submit=1;o.progress=null;o.method="POST";o.icons=_mail_icons;o.onok=null;o.onret=null;_submit_form[o.divID]=o;o.DrawMsg=function(msg,id,icon){if(!this.msgID)return;if(this.icons&&icon&&icon.length>0){msg="<img src=/images/icons/apps/16x16/plain/"+icon+".gif width=16 height=16>&nbsp;"+msg;}xInnerHtml(this.msgID,msg);Start_AJAX_Transition(id,"black");};o.DrawNotice=function(msg){var id="_"+Math.random();msg="<span class=notice id="+id+">"+msg+"</span><br />";this.DrawMsg(msg,id,"error");};o.DrawNormal=function(msg,icon){var id="_"+Math.random();msg="<span id="+id+">"+msg+"</span><br />";this.DrawMsg(msg,id,icon);};o.Submit=function(){this.DrawNormal(this.txtSave,"working");var o=getAjaxObject(this.divID);this.ajax=o;if(!o){if(this.auto_submit==1)eval("document."+this.form_name+".submit();");return false;}if(this.saveURL=="this"){eval("this.saveURL = document."+this.form_name+".action;");this.saveURL=this.saveURL.replace(".pl","-ajax.pl");this.saveURL=this.saveURL.replace(/#.*$/,"");}o.requestFile=this.saveURL;o.fnobj=this;o.method=this.method;o.formdata=(this.formdata)?this.formdata:null;o.runAJAXForm(this.form_name);if(this.progress)this.progress.setStatus(1,this.txtSave);return true;};o.onCompletion=function(status,obj,response){var msg="";if(this.onSaveSuccess!=undefined){msg=this.onSaveSuccess(response);this.DrawNormal(msg);}else{msg=(status=="201")?response:this.txtSuccess;this.DrawNormal(msg,"check");}if(this.onret)this.onret(this);if(this.progress)this.progress.setStatus(2,msg);if(this.onok)this.onok(this);};o.onError=function(code,ajax_obj,resp){if(this.onret)this.onret(this);var msg="";if(this.onSaveError!=undefined){msg=this.onSaveError(code,ajax_obj,resp);if(msg=="exit")return;}else msg=ajaxErr(code,resp);this.DrawNotice(msg);if(this.progress)this.progress.setStatus(3,msg);};o.onLoading=function(){};o.onLoaded=function(){};o.onInteractive=function(){};return o;}



var _edit_in_place=new Object();function EditInPlace(id){var o=new SubmitForm("_edit_","_"+Math.random());o.txtUpdate="Update";o.txtCancel="Cancel";o.Rows=1;o.Cols=undefined;o.divID=id;o.loadDataFn=undefined;o.formData="";o.saveURL="";o.processDataFn=undefined;o.processMode=0;o.onSave=undefined;o.onCancel=undefined;o.onSaveSuccess=undefined;o.onSaveError=undefined;o.onValidate=undefined;o.Data="";_edit_in_place[id]=o;o.Edit=function(){var o=xGetElementById(this.divID);if(!o)return;if(this.loadDataFn!=undefined)this.Data=this.loadDataFn();var d=WebText(this.Data);var h='<form name=_edit_ onSubmit="return false;" method=POST>'+this.formData;if(this.Rows!=1){h=h+"<textarea class=inputbox name=_edit_ rows="+this.Rows+(this.Cols!=undefined?" cols="+this.Cols:"")+">"+d+"</textarea>";}else{h=h+"<input type=text class=inputbox name=_edit_ size="+(this.Cols!=undefined?this.Cols:"20")+' value="'+d+'">';}h=h+'<input name=_update_ type=button class=menubutton value="'+this.txtUpdate+'" onClick=_edit_in_place["'+this.divID+'"].Update();>';h=h+'<input name=_cancel_ type=button class=menubutton value="'+this.txtCancel+'" onClick=_edit_in_place["'+this.divID+'"].Cancel();>';h=h+"</form>";h=h+"<div id="+this.msgID+"></div>";xInnerHtml(o,h);};o.Cancel=function(){var d=this.Data;if(this.onCancel!=undefined)d=this.onCancel(d);this.DrawWhole(d);};o.DrawWhole=function(data){xInnerHtml(this.divID,data);};o.Update=function(){var f=document._edit_;var d=f._edit_.value;if(this.onValidate!=undefined&&!this.onValidate(f._edit_))return;if(this.onSave!=undefined)d=this.onSave(d);f._update_.disabled=true;f._cancel_.disabled=true;f._edit_.disabled=true;this.DataSaved=d;this.Submit();};o.onCompletion=function(code,ajax_obj,resp){if(this.onSaveSuccess){var msg=this.onSaveSuccess(this.DataSaved,code,ajax_obj,resp);if(msg=="exit")return;}if(this.processMode==0&&this.processDataFn){this.DataSaved=this.processDataFn(this.DataSaved);}else if(this.processMode==1){this.DataSaved=this.ajax.response;}this.DrawWhole(this.DataSaved);};o.onError=function(code,ajax_obj,resp){var msg="";if(this.onSaveError){msg=this.onSaveError(code,ajax_obj,resp);if(msg=="exit")return;}else msg=ajaxErr(code,resp);this.DrawNotice(msg);};return o;}



function vDynamic(p){if(p.msgid==null)p.msgid=p.id;if(p.json==null)p.json=1;if(p.replace_msg==null)p.replace_msg=1;var o=new LoadArea(p.id,p.msgid,p.id,p.U,null);o.failSubmit=0;o.noMsg=(p.loading)?0:1;o.Msg=(p.loading)?_phrases[p.loading]:"";o.append_msg=(p.id==p.msgid&&!p.replace_msg)?1:0;o.requestFile=p.U;o._parms=p;o.MsgPad=p.pad;o.progress=p.progress;o.noMsg=(p.noMsg!=null)?p.noMsg:0;o.icons=(p.loading)?o.icons:0;o.onok=p.onok;o.method=p.method||"POST";o.cache=p.cache||0;if(p.onError){o.oldOnError=o.onError;o.onError=function(a,b,c){p.onError(a,b,c);this.oldOnError(a,b,c);}}if(p.json){o.oldOnCompletion=o.onCompletion;o.onCompletion=function(s,o,js){var json;if(js.length==0)return this.onError(499,o,"Connection ended with success but no response from server. Your browser timeout period may have been exceeded.");if(s==201){if(this.progress)this.progress.setStatus(2,js);if(this.onok)this.onok();return;}this.rawjs=js;try{if(js==null||String(js).match(/^[\r\n\s]*$/))json=null;else json=JSON.parse(js);}catch(e){if(window["console"]&&console.log)console.log("Json Exception: "+e);return this.onError(499,o,_phrases["misc.err.server"]+" (0578aff3)")};if(this._parms.process)this._parms.process(this,json);else if(json){xInnerHtml(this._parms.id,json.body);if(json.onload)eval(json.onload);}if(this.progress)this.progress.setStatus(2,_phrases["misc.success"]);if(this.onok)this.onok(this,json);};}else if(p.onok){o.onCompletion=p.onok;}if(p.progress)p.progress.setStatus(1,o.Msg||_phrases["misc.working"]);if(!o.Load(p.Q)&&p.msgid)xInnerHtml(p.msgid,"<span class=notice>"+_phrases["misc.ajax.err"]+"</span>");}







ui.Dialog = {

	can_close: 1

	};



ui.Dialog.show = function(p) {

	if (ui.Dialog.visible()) return;



	if (! ui._dlg)	ui._dlg = new c_dialog();

	var d = ui._dlg;

	d.code = p.c;



	d.setTitle(p.title);

	d.setContent(p.body);

	d.show();				

	d.setSize(p.pw, p.ph);



	if (p.modal) ui.Dialog.noClose();



	ui.Dialog.reSize();

	};



ui.Dialog.reSize = function() {

	if (xGetElementById("dialog_content")) ui._dlg.autoReSize()

	};



ui.Dialog.setBody = function(b) {

	ui._dlg.setContent(b);

	};



ui.Dialog.setOnHide = function(c) {

	var oc = ui._dlg.onClose;

	

	ui._dlg.onClose = function() {

		if (! c()) return 0;

		

		ui._dlg.onClose = oc;

		

		return 1;

		};

	};



ui.Dialog.hide = function(c) {

	var d = ui._dlg;

	if (!d) return;



	if (c && d.code != c) return;



	d.hide();

	d.code = null;

	};



ui.Dialog.visible = function() {

	var d = ui._dlg;

	return (d) ? d.shown : 0;

	};



ui.Dialog.unNoClose = function() {

	ui._dlg.onClose();

	ui.Dialog.setOnHide( function() { return 1; } );

	};



ui.Dialog.noClose = function() {

	

	var o = xGetElementById("dlgCloseLink");

	var d = o.style.display;

	o.style.display='none';



	ui.Dialog.can_close=0;

	

	ui.Dialog.setOnHide( function() {

		o.style.display = d;

		ui.Dialog.can_close=1;

		return 1;

		} );

	};

		





ui.Dialog.load = function(p) {

	ui.Dialog.can_close = p.modal ? 0 : 1;



	var p = {

			U: p.U,

			Q: p.Q,

			t: p.t || _phrases["misc.loading"],

			q: 0,

			m: p.M || "GET",

			proc: ui.Dialog.load_show			

			};



	if (ui.ctx && ui.ctx.progress) ui.ctx.progress.Json(p);

	else ui.Dialog.Json(p);		

	};



ui.Dialog.load2 = function(u,q) {

	ui.Dialog.load({U:u,Q:q});

	};



ui.Dialog.load_show = function(o,j) {

	ui.Dialog.show({title:j.data.title,

	                body: j.data.body,

						 pw: j.data.pw,

						 ph: j.data.ph,

						 c: j.data.code });

	try {

		if (j.data.js) eval(j.data.js);	

		}

	catch (e) {

		};



	if (!ui.Dialog.can_close) ui.Dialog.noClose();

	if (j.data.resize) ui._dlg.autoReSize();

	};



ui.Dialog.Json = function(p) {

	var u = p.U;



	var x = u.length + 1 + (p.Q ? p.Q.length : 0);

	if (x > (xIE ? 2000 : 50000)) {

		p.cache  = 0;

		p.m      = "POST";

		}

	

	vDynamic({

		id:       "_xdialog",

		U:        u,

		Q:        p.Q,

		process:  p.proc,

		onError:  p.err || ui.Dialog.onError,

		onok:     p.ok,

		cache:    p.cache,

		method:   p.m,

		progress: null

		});

	};



ui.Dialog.onError = function(code,obj,resp) {

	var msg = ajaxErr(code,resp);

	if (! msg.length) return;

	alert(StripHTML(msg));

	};



/**

 * http://kelpi.com/script/a85cbb

 *

 * json.js:

 * This file defines functions JSON.parse() and JSON.stringify()

 * for decoding and encoding JavaScript objects and arrays from and to

 * application/json format.

 * 

 * The JSON.parse() function is a safe parser: it uses eval() for

 * efficiency but first ensures that its argument contains only legal

 * JSON literals rather than unrestricted JavaScript code.

 *

 * This code is derived from the code at http://www.json.org/json.js

 * which was written and placed in the public domain by Douglas Crockford.

 **/





try {

	var x = JSON.parse('{"foo":"bar","fups":200,"xyz":["x","y","z"]}');

	if (x.foo != "bar" || x["xyz"][0] != "x") throw("Failed.");

	window.json_native = 1;



	window.JSON_NATIVE_PARSE = window.JSON.parse;

	window.JSON.parse = function(x) {

		try {

			return window.JSON_NATIVE_PARSE(x);

			}

		catch (e) {

			try {

				eval("var x=(" + x + ")");

				return x;

				}

			catch (e2) {

				return false;

				};

			};

		};

	}



catch(e) {

	window["JSON"] = {}; 



	JSON.parse = function(s) {

		 try {

			  return !(/[^,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]/.test(

												  s.replace(/"(\\.|[^"\\])*"/g, ''))) &&

					eval('(' + s + ')');

		 }

		 catch (e) {

			  return false;

		 }

	};



	(function () {

		 var m = {  // A character conversion map

					'\b': '\\b', '\t': '\\t',  '\n': '\\n', '\f': '\\f',

					'\r': '\\r', '"' : '\\"',  '\\': '\\\\'

			  },

			  s = { // Map type names to functions for serializing those types

					'boolean': function (x) { return String(x); },

					'null': function (x) { return "null"; },

					number: function (x) { return isFinite(x) ? String(x) : 'null'; },

					string: function (x) {

						 if (/["\\\x00-\x1f]/.test(x)) {

							  x = x.replace(/([\x00-\x1f\\"])/g, function(a, b) {

									var c = m[b];

									if (c) {

										 return c;

									}

									c = b.charCodeAt();

									return '\\u00' +

										 Math.floor(c / 16).toString(16) +

										 (c % 16).toString(16);

							  });

						 }

						 return '"' + x + '"';

					},

					array: function (x) {

						 var a = ['['], b, f, i, l = x.length, v;

						 for (i = 0; i < l; i += 1) {

							  v = x[i];

							  f = s[typeof v];

							  if (f) {

									v = f(v);

									if (typeof v == 'string') {

										 if (b) {

											  a[a.length] = ',';

										 }

										 a[a.length] = v;

										 b = true;

									}

							  }

						 }

						 a[a.length] = ']';

						 return a.join('');

					},

					object: function (x) {

						 if (x) {

							  if (x instanceof Array) {

									return s.array(x);

							  }

							  var a = ['{'], b, f, i, v;

							  for (i in x) {

									v = x[i];

									f = s[typeof v];

									if (f) {

										 v = f(v);

										 if (typeof v == 'string') {

											  if (b) {

													a[a.length] = ',';

											  }

											  a.push(s.string(i), ':', v);

											  b = true;

										 }

									}

							  }

							  a[a.length] = '}';

							  return a.join('');

						 }

						 return 'null';

					}

			  };

	

		 JSON.stringify = function(o) { return s.object(o); };

	})(); // Invoke the anonymous function once to define JSON.stringify()

	

	}; // END CATCH

	

