function setipageurl(url,style){location.href=url;} function startbk(){} function setipageurlcmp(url,style,wix,hix){ if(ipageed==2){ if(wix==null) wix=950; bgw=document.getElementById("bgrw"); bg=document.getElementById("abgr"); fullwidth=document.body.offsetWidth; ssleft=(fullwidth-wix)/2; fullheight=document.body.clientHeight; ssh=document.body.scrollTop; if(hix==null) hix=fullheight; else { ssh=(fullheight-hix)/2; ssh=ssh+document.body.scrollTop; } bg.style.left = ssleft+"px"; bg.style.top = ssh+"px"; bg.style.height=hix; bg.style.width=wix; bgw.style.left=0; bgw.style.display="block"; bgw.style.width=fullwidth; bgw.style.top=0; bgw.style.visibility="visible"; bg.style.visibility="visible"; bg.style.display="block"; var inn=''; document.getElementById("dvaxyz").innerHTML=inn; //dd=document.getElementById("axyz"); //dd.contentWindow.location.href=url; setScrollbars(false); return;} location.href=url; } function setScrollbars(v) { if(v){ document.body.scroll="yes" document.body.style.marginRight="0px"; document.documentElement.style.overflow = 'auto'; // firefox, chrome } else { var scw=scwid(); document.body.style.marginRight=scw+"px"; document.documentElement.style.overflow = 'hidden'; // firefox, chrome document.body.scroll = "no"; // ie only } } var edpopclick=false; function edpopclose(po) { if((po && po==true) || location.href.indexOf("parent=true")>0) window.parent.edpop('popw',false); else window.close(); } function edpopfunc() { if(location.href.indexOf("parent=true")>0) return window.parent; else return window.opener; } function edpopcce(e){code=e.keyCode ? e.keyCode : e.which; if(code==27){j$(document).unbind("keypress"); edpopcc();}} function edpopcc() { if(window.location.href.indexOf("#")<0) { edpop('popw',false); } else window.setTimeout("edpopcc()",100); } function scwid() { var s = null; var i = null; var wns = 0; var ws = 0; s = document.createElement('div'); s.style.position='absolute'; s.style.top='100px'; s.style.left='100px'; s.style.width='200px'; s.style.height='150px'; i = document.createElement('div'); i.style.width='100%'; i.style.height='200px'; s.appendChild(i); document.body.appendChild(s); s.style.overflow='hidden'; wns = i.offsetWidth; s.style.overflow='scroll'; ws = i.offsetWidth; if (wns == ws) ws = s.clientWidth; document.body.removeChild(document.body.lastChild); var a = (wns - ws); return a; } function edpop(divid,state,url,settings){ edpopclick=true; bg=document.getElementById(divid); showbgrw(state,0) if(state) { //window.location.href=window.location.href+"#pop"; //edpopcc(); //check for settings width/height if(url!=null) { var exu="&"; if(url.indexOf("?")<0) exu="?" url=url+exu+"parent=true"; var bgi=document.getElementById(divid+"-inner"); var w=800; var h=600; if(settings.size!=null && settings.size=="lib"){w=800;h=700;} if(settings.w!=null){w=settings.w;h=settings.h;} if(h>document.body.clientHeight || document.body.clientHeight<800) h=document.body.clientHeight-130; //set to true to so that you can click the background to close the popup edpopclick=true; if(url.charAt(0)!="/") url=siteurl+url; bgi.innerHTML=''; } //setup the escpae key //document.body.onKeyPress=edpopcce; j$("body").keypress(edpopcce); bg.style.display="block"; fw=document.body.offsetWidth-20; ssleft=(fw-bg.clientWidth)/2; fh=document.body.clientHeight; ssh=(fh-bg.clientHeight)/2; ssh+=document.body.scrollTop; bg.style.left=ssleft; bg.style.top=ssh; bg.style.visibility="visible"; } else { bg.style.display="none"; } } function showedwin(){ bg=document.getElementById("bgr"); if(bg.style.display=="block" || bg.style.display==""){closebldg();return;} if(bg.style.display=="block" || bg.style.display==""){closebldg();return;} fw=document.body.offsetWidth-20; ssleft=fw/2-400; fh=document.body.clientHeight; ssh=(fh-700)/2; ssh=document.body.scrollTop; bg.style.left=ssleft; bg.style.top=ssh; bg.style.height=document.body.offsetHeight; bg.style.width=900; bg.style.visibility="visible"; document.getElementById("bgr").style.display="block"; //Effect.SlideDown("bgr",{duration:.8}); } function showbgrw(val,t){ edpopclick=false; bgw=document.getElementById("bgrw"); if(val==true){ setScrollbars(false); bgw.style.left=0; //bgw.style.display="block"; bgw.style.width="100%"; bgw.style.top=t; bgw.style.visibility="visible"; j$(bgw).fadeIn(); } else{ setScrollbars(true); j$(bgw).fadeOut(); } } function closebldgw(){showbgrw(false,0); j$("#comp"+ez_lastcomp).effect("highlight",{},2000); } function closebldg(){bg=document.getElementById("bgr");document.getElementById("bgr").style.display="none"; closebldgw(); document.body.scroll="yes"; } function closebldg2(){bg=document.getElementById("abgr"); document.body.scroll="yes"; bg.style.display="none"; closebldgw(); }; function closemsg(){document.getElementById('edmsg').style.visibility='hidden';} function togprops(sec){d=document.getElementById("qmenu");if(d.style.display!="none"){togpropsclose();return;};showbgrw(true,90);document.getElementById('wpprops').src=siteurl+"edinc/pageprops/"+sec; if(d.style.display!="block"){d.style.display="block"} } function togpropsex(sec){d=document.getElementById("qmenu");if(d.style.display!="none"){togpropsclose();return;};showbgrw(true,90);document.getElementById('wpprops').src=sec; if(d.style.display!="") j$("#qmenu").hide("blind",{direction:"vertical"},"slow"); } function togpropsclose(){ j$("#qmenu").get(0).style.display="none"; showbgrw(false,0);} function togqm(){d=document.getElementById("qmenu");if(d.style.display=="block")d.style.display="none";else d.style.display="block"; } function togq(A){d=document.getElementById("qprops");if(d.style.visibility=="hidden")d.style.visibility="visible";else d.style.visibility="hidden"; } function togql(A){d=document.getElementById("qlayout");if(d.style.visibility=="hidden")d.style.visibility="visible";else d.style.visibility="hidden"; } function lo2(){ dem=document.getElementById("edmsg"); if(dem.style.visibility!="hidden") window.open(siteurl+'inc/timeout','_self');} function locontf(r,c){} function locont(){ dem=document.getElementById("edmsg"); dem.style.visibility="hidden"; ajaxSend(siteurl+"edinc/xmlxfer?rtype=hb",{"onComplete":locontf}); window.setTimeout('lo()',timout);} function lo(){ window.setTimeout('lo2()',1000*60*30); var d=new Date(); dem=document.getElementById("edmsg"); dem.style.visibility="visible"; fw=document.body.offsetWidth; fh=document.body.clientHeight; ml=(fw-650)/2; mt=(fh-300)/2-100; mt=mt+document.body.scrollTop; dem.style.left = ml; dem.style.top = mt; de=document.getElementById("edmsgtxt"); de.innerHTML="
"+propSysName+" : SESSION TIMEOUT : SOON

Your session is about to time out. To prevent your session from timing out and continue working on your site, click link below.

The time is "+d.getHours()+":"+d.getMinutes()+". Your browser has been inactive for 60 minutes. Sessions timeout after 90 minutes at which point you are automatically logged out of your site editor. If you are working on your site, be sure to save your work now.

";} function iedtitle1start(c){document.write('
');} function iedtitle1stop(){document.write('     
');} var dmenuov=false; function showdesignm(){d=document.getElementById("dmenu");d.style.visibility="visible";} function hidedesignm(){window.setTimeout("dohidedesignm()",300);} function dohidedesignm(){ if(dmenuov==false){ d=document.getElementById("dmenu"); d.style.visibility="hidden";} } function ipagetitle(txt){document.write('
'+txt+' 
');} function overedbtn(b){b.style.backgroundColor="#dfdfdf";b.style.borderColor="#000000";} function outedbtn(b){b.style.backgroundColor="";b.style.borderColor="";} function prowover(b,pid){ if(moving==false && b && b.issel!=true) { b.style.backgroundColor="#efefef"; b.style.borderColor="#000000"; if(b.mdiv==null){ c=document.getElementById("pdiv"+pid); b.mdiv=c; } b.mdiv.style.visibility="visible";} } var lastsel=null; function prowout(b,pid) {if(moving==false && b && b.issel!=true){ b.style.backgroundColor=""; b.style.borderColor=""; if(b.mdiv==null){ c=document.getElementById("pdiv"+pid); b.mdiv=c;} b.mdiv.style.visibility="hidden"; } } function clearsel(pid){ if(lastsel!=null && lastsel!=pid){ r=document.getElementById("prow"+lastsel); r.issel=false; prowout(r,pid); } lastsel=null; } var lastpage=null; var lastparent=null; var moving=false; function showmaction(ev,b,parent,pid){ d=document.getElementById("maction"); d.style.visibility="visible"; x=ev.clientX; y=ev.clientY; d.style.top=(y+document.body.scrollTop)+"px"; d.style.left=x+"px"; lastpage=pid; lastparent=parent;} function movepage(to){ d=document.getElementById("maction"); d.style.visibility="hidden"; from=document.getElementById("plist"+lastparent); too=document.getElementById("plist"+to); e=document.getElementById("prow"+lastpage); window.open(thispage+"?mpid="+lastpage+"&fr="+lastparent+"&to="+to,'_self');} function showgroup(gr){ window.open(thispage+"?mview="+gr,'_self');} function rowhighlight(b,clr){ if(clr==null) clr="dfdfdf"; b.style.backgroundColor='#'+clr} function rownormal(b){ b.style.backgroundColor='';} function mover(b){} function mout(b){} function pup(pid){ clearsel(pid); r=document.getElementById("prow"+pid); r.issel=true; lastsel=pid; r.style.backgroundColor="#b0e6f1"; if(r.previousSibling!=null) r.swapNode(r.previousSibling); moving=true; window.setTimeout("clearpmove()",2500);} function pdn(pid){ clearsel(pid); r=document.getElementById("prow"+pid); r.issel=true; lastsel=pid; r.style.backgroundColor="#b0e6f1"; if(r.nextSibling!=null) r.swapNode(r.nextSibling); moving=true; window.setTimeout("clearpmove()",2500); } function clearpmove(){ r=document.getElementById("prow"+lastsel); if(r){ r.issel=false; lastsel=null; moving=false; prowout(r,lastsel)} } function goe(u){location.href=u;} function editbtn(txt,url,img,js,bclass){ if(!bclass || bclass==null || bclass.length==0) bclass="editbtn"; if(js==false){ var u="'"+url+"'"; document.write('
 '+txt+'  
'); } else{ document.write('
 '+txt+'  
'); } } function editbtnstart(bclass){ if(bclass==null || bclass.length==0) bclass="editbtn"; document.write('
'); } function editbtnend(){document.write(' 
');} function btnback(url){document.write('
 Go back
');} function ieditdivider(){} function ieditfooter(){document.write('
'+propSysNameLong+'
'+propHomeLink+'

 

');} function ajaxSend(url,robj){ function ajback(){ if (ajr.readyState == 4) { if (ajr.status == 200) { if(ajr.responseText.indexOf("err:")==0) { if(cobj.onError) cobj.onError(ajr,cobj); } else if (cobj.onComplete) cobj.onComplete(ajr,cobj); } else if(cobj.onError) cobj.onError(ajr,cobj); } } var ajr = null; var cobj = robj; var td = new Date(); url=url+"&d="+td.getTime(); if (window.XMLHttpRequest) { ajr = new XMLHttpRequest(); ajr.onreadystatechange = ajback; ajr.open("GET", url, true); ajr.send(null); } else if (window.ActiveXObject) { ajr = new ActiveXObject("Microsoft.XMLHTTP"); if (ajr) { ajr.onreadystatechange = ajback; ajr.open("GET", url, true); ajr.send(); }} } function getParam(window,param){ query=window.location.search; if(query.length==0)return ""; query=query.substring(1); var params=query.split("&"); for(var i=0;i