96
 
<X-FC-WHITESPACE [STRIP]><!--#rem startconfig --><!--#set var="PAGELEMDOC" expr="@rand()"--><!--#set var="EMAGICTYPE" value="emfile"--><!--#set var="PANEPOSITIONTOP" value="<X-FC-ITEM DATA[Status] View>"--><!--#set var="LOCALPATHUP" expr="@lower('<X-FC-OBJURL-UP SLASH>')"--><!--#set var="LOCALPATHHERE" value="<X-FC-ITEM DATA[MessageID] HEX>"--><!--#if expr="`$LOCALPATHUP`=`/login/__www/` || `$LOCALPATHUP`=`/login/` && $SUBSITE=false"--><!--#set var="INDEXPAGE" value="true"--><!--#else--><!--#set var="INDEXPAGE" value="false"--><!--#endif--><!--#if expr="$CURRENTICON>24998 && $CURRENTICON<25537 || $CURRENTICON=23032"--><!--#set var="ICONPATH" value="/.templates/fmlibrary/graphics/$CURRENTICON.png"--><!--#else--><!--#set var="ICONPATH" value="<X-FC-ITEM DATA[Icon] IMAGEDEFPATH>"--><!--#endif--><!--#if expr="@indexof ('$THISPATH', '$FMROOTLIBRARY')>0 || <X-FC-ITEM DATA[Icon]>=25530 || `<X-FC-ITEM DATA[8021] STRING>`=`$SYSTEMOBJECT`"--><!--#set var="TOPSYSTEMOBJ" value="true"--><!--#else--><!--#set var="TOPSYSTEMOBJ" value="false"--><!--#endif--><!--#if expr="<X-FC-ITEM DATA[Icon]>=25533 || <X-FC-ITEM DATA[Icon]>=25500"--><!--#set var="THEHOMEDOC" value="true"--><!--#else--><!--#set var="THEHOMEDOC" value="false"--><!--#endif--><!--#if expr="$THEHOMEDOC=true || <X-FC-ITEM DATA[Icon]>=25515 || <X-FC-ITEM DATA[Icon]>=25530 || `<X-FC-ITEM DATA[8021] STRING>`=`$SYSTEMOBJECT`"--><!--#set var="NOUNPROTECT" value="true"--><!--#else--><!--#set var="NOUNPROTECT" value="false"--><!--#endif--><!--#set var="MYLANG" expr="@lower('$SITELANGUAGE')"--><!--#if expr="`$MYLANG`=`da`"--><!--#set var="TINYLANG" value="da"--><!--#elif expr="`$MYLANG`=`nl`"--><!--#set var="TINYLANG" value="nl"--><!--#elif expr="`$MYLANG`=`fi`"--><!--#set var="TINYLANG" value="fi"--><!--#elif expr="`$MYLANG`=`fr`"--><!--#set var="TINYLANG" value="fr_FR"--><!--#elif expr="`$MYLANG`=`de`"--><!--#set var="TINYLANG" value="de"--><!--#elif expr="`$MYLANG`=`ja`"--><!--#set var="TINYLANG" value="ja"--><!--#elif expr="`$MYLANG`=`no`"--><!--#set var="TINYLANG" value="nb_NO"--><!--#elif expr="`$MYLANG`=`pt`"--><!--#set var="TINYLANG" value="pt_BR"--><!--#elif expr="`$MYLANG`=`es`"--><!--#set var="TINYLANG" value="es"--><!--#elif expr="`$MYLANG`=`sv`"--><!--#set var="TINYLANG" value="sv_SE"--><!--#else--><!--#set var="TINYLANG" value="en_CA"--><!--#endif--><!--#rem endconfig --><X-FC-WHITESPACE [RETAIN]><!--#if expr="$PAGEOWNER=true && $HTML5=true"--><!--#if expr="$SITEOWNER=true"-->
<form id="changetoolbar" action="/login/<!--#echo var="THISDOMAIN"-->/Setup/<!--#if expr="$SV!=9"-->__<!--#endif-->FormSave?formid=2659&amp;Clear=0" enctype="multipart/form-data" method="post" name="Save"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input id="tiletype" type="hidden" name="FieldID:1146=SHORT" value="<!--#if expr="$TINYBIGTOOLS=true"-->0<!--#else-->1<!--#endif-->"/><input id="changetoolsubmit" type="submit" value="submit" class="imgbrowsernobtns"/></form><!--#endif-->
<script<!--#if expr="$HTML5=false"--> type="text/javascript"<!--#endif--> src="/.templates/editor/tinymce/tinymce.min.js"></script>
<!--#endif--><div id="syspref" class="<!--#echo var="FMEDITORSTYLE"-->">
<script<!--#if expr="$HTML5=false"--> type="text/javascript"<!--#endif-->>
function GetAccountPrefs(){var PrefsLink='/Login/__Resume/__FormEdit?templates=editor&formid=20502&templates=editor&modal&editpop&myaccountprefs'; new MooDialog.IFrame((PrefsLink),{title:'<!--#echo var="FMEDITPREFS"-->','class':'MooModal editpoplong'});}
function goHelp(){ClosePrefs(),new Request.HTML({url:'/.templates/guide/topics/100?templates=editor&formid=2656&<!--#if expr="$CURRENTICON=25521 || $CURRENTICON=25522 || $CURRENTICON=25523"-->form<!--#elif expr="`$THISPAGE`=`home page`"-->homepage<!--#else-->page<!--#endif--><!--#if expr="$DISPLAYHELP=false && $SITEOWNER=true"-->&helpactive<!--#endif-->',method: 'get', update: $('showhelp')}).send(),$('showhelp').set('tween', {duration:150}).fade('1');}
<!--#if expr="`$FCDOC`=`true` && `$PAGEOWNER`=`true` && `$ALLOWXHTML`=`true` && `$TOPSYSTEMOBJ`=`false` && `$THEHOMEDOC`=`false`"-->function doXHTML(){if ($('xhcheck').checked) {$('convertxhtml').set('tween', {duration:200}).fade('1'), $('convwarning').setStyle('color','#ea0303');} else {$('convertxhtml').set('tween', {duration:200}).fade('0');}}
function doConvert(){var myIconRequest = new Request({url: '<!--#echo var="LOCALPATHUP"--><X-FC-ITEM DATA[MessageID] HEX>/?NewIcon=25527&VKey=<X-FC-SESSION VKEY>', method:'get', onComplete: function(){parent.top.location.replace(window.top.location);}}); myIconRequest.send();}<!--#endif--><!--#if expr="$SUBSTYLES=false && $SITEOWNER=true"-->
function setthemewindown(){$('skindesigner').set('morph',{duration:200,transition:Fx.Transitions.Quad.easeOut,link:'chain'}), $('skindesigner').morph({'height':'270'});}
function openDesigner(){new Request.HTML({url:'/login/<!--#echo var="THISDOMAIN"-->/Setup?templates=editor&formid=2639&local<X-FC-FIELD 1998 NUMBER>&sub<!--#echo var="SUBMENULINK"-->',method: 'get', update: $('skindesigner')}).send(), <!--#if expr="`$ACTIVESKIN`=`CSS` && $SHOWDESIGNER=false"-->setthemewindown(), <!--#endif-->$('skindesigner').set('tween', {duration:150}).fade('1');}<!--#endif-->
<!--#if expr="$PAGEOWNER=true"--><!--#if expr="$SITEHOME=true"-->function openLogHome(){}<!--#endif-->
function EditThisPage(){<!--#if expr="$HTML5=true"-->imgpickerheight=((window.innerHeight)-270);$('localpreviews').style.height =(imgpickerheight+'px'); $('imagepicker').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeOut,link:'chain'}), $('imagepicker').morph({'height':imgpickerheight+'px'}); tinyMCE.activeEditor.execCommand('mcePreview'); if (typeof window.getSelection != 'undefined' && typeof document.createRange != 'undefined') {var range = document.createRange();range.selectNodeContents($('txteditor'));range.collapse(false);var sel = window.getSelection();sel.removeAllRanges();sel.addRange(range);} else if (typeof document.body.createTextRange != 'undefined') {var textRange = document.body.createTextRange();textRange.moveToElementText($('txteditor'));textRange.collapse(false);textRange.select();}<!--#else-->
<!--#if expr="$PAGEOWNER=true && $SYSPAGE=false && $PAGEOWNERHOME !=none"--><!--#set var="FCPLOCALPATHBASE" value="$FCINTRANET/$THISCURRENT"--><!--#else--><!--#set var="FCPLOCALPATHBASE" value="$FCINTRANET/$SITEDOMAIN<!--#if expr="$INDEXPAGE=false"-->$THISLOCAL<!--#else-->/<!--#endif-->"--><!--#endif-->
this.document.location.href = '<!--#echo var="FCPLOCALPATHBASE"-->';<!--#endif-->}<!--#endif-->
function GetPW(){var PWlink='<!--#echo var="XLOGIN"-->__MemForm?FormID=139&templates=editor&modal&editpop&webmail'; new MooDialog.IFrame((PWlink),{title:'><!--#echo var="FMCHANGEPASSWORD"-->','class':'MooModal editpopModal'});}
function createNotice(){$('mybtn').click(),new MooDialog.Alert(('<!--#echo var="FMSAVEERROR"-->'),{'class':'MooModal alertmodal'});}
function shortScrollUp(){new Fx.Scroll($('subcontentpanel'), {duration:300, wait: false}).toElement('shortscrollstart'); $('shortup').set('tween', {duration:50}).fade('0');$('shortdown').set('tween', {duration:50}).fade('1');}
function shortScrollDown(){new Fx.Scroll($('subcontentpanel'), {duration:300, wait: false}).toElement('shortscrollend'); $('shortup').set('tween', {duration:50}).fade('1');$('shortdown').set('tween', {duration:50}).fade('0');}
function shortScrollstop() {if ($('subcontentpanel').scrollTop == 0) $('shortup').set('tween', {duration:50}).fade('0'),$('shortdown').set('tween', {duration:50}).fade('1'); if ($('subcontentpanel').offsetHeight + $('subcontentpanel').scrollTop >= $('subcontentpanel').scrollHeight){$('shortup').set('tween', {duration:50}).fade('1'),$('shortdown').set('tween', {duration:50}).fade('0');}}
function GetSubscriptions(){var req = new Request.HTML({url:'/login/?templates=editor&folders&formid=-200&Table=8_0&subscribed&@<X-FC-ITEM DATA[MessageID] NUMBER>',method: 'get', update: $('subscriptionslist'), onComplete: function(){$('logindata').set('tween', {duration:60}).fade('1.0'); subpanelmaxheight=184; subscriptsheight = ($('subscriptionslist').getScrollSize().y); loginboxheightval=159; if (subscriptsheight>0) loginboxheightval=(loginboxheightval+20), $('bookmarkstitle').setStyle('display', ('block')); else $('bookmarkstitle').setStyle('display', ('none')); loginboxheight=loginboxheightval<!--#if expr="<X-FC-USER PRIV ChgPassword>"-->+29<!--#endif--><!--#if expr="$SITEOWNER=true"-->+58<!--#endif-->; if (subscriptsheight>subpanelmaxheight) setlboxheight=(loginboxheight+subpanelmaxheight), $('logindata').setStyle('height', (setlboxheight+'px')), $('subcontentpanel').setStyle('height', (subpanelmaxheight+'px')),shortScrollUp(); else setlboxheight=(loginboxheight+subscriptsheight), $('logindata').setStyle('height', (setlboxheight+'px')), $('subcontentpanel').setStyle('height', (subscriptsheight+'px')); }}).send();}
function OpenPrefs(){GetSubscriptions();}
function ClosePrefs(){$('logindata').set('tween', {duration:150}).fade('0');}
function GetSitePrefs(){var PrefsLink='/login/<!--#echo var="THISDOMAIN"-->/Setup?FormID=2659&templates=editor&modal&editpop&siteprefs'; new MooDialog.IFrame((PrefsLink),{title:'<!--#echo var="FMEDITPREFS"-->','class':'MooModal editpoplong'});}
function GetWebMail(){var WebMailLink='<!--#echo var="XLOGIN"--><!--#echo var="FMINBOX"-->/?templates=editor&amp;leaves&formid=-210&modal&editpop&webmail<!--#if expr="$SITEHOME=true && $LOGGEDIN=true"-->&loggedinhome<!--#endif-->'; new MooDialog.IFrame((WebMailLink),{title:'<!--#echo var="INBOXNAME"-->','class':'MooModal editpopModalclose'});}
<!--#if expr="$PAGEOWNER=true && $HTML5=true"-->fileup=0; thelastfile='';thislastfile='';
function addLastPic(addedlastpic) {if(fileup==1) var addedlastpic='<img src="<!--#echo var="THISLOCAL"-->/'+(thislastfile)+'" alt="'+(thislastfile)+'">'; else var addedlastpic=''; var lastcaretPos,lastthisPos; if (window.getSelection) {lastcaretPos = window.getSelection(); if (lastcaretPos.getRangeAt && lastcaretPos.rangeCount) {lastthisPos = lastcaretPos.getRangeAt(0); lastthisPos.deleteContents(); var lastaddAtPos = document.createElement("div"); lastaddAtPos.innerHTML = addedlastpic; var lastimgCont = document.createDocumentFragment(), node, lastNode; while ( (node = lastaddAtPos.firstChild) ) {lastNode = lastimgCont.appendChild(node);} lastthisPos.insertNode(lastimgCont); if (lastNode) {lastthisPos = lastthisPos.cloneRange(); lastthisPos.setStartAfter(lastNode); lastthisPos.collapse(true); lastcaretPos.removeAllRanges(); lastcaretPos.addRange(lastthisPos);}}} else if (document.selection && document.selection.type != "Control") {document.selection.createRange().pasteHTML(addedlastpic);}}
function setContent(){$('thecontent').value=$('txteditor').innerHTML;}
function injectPic(){fileup=1;$('urlfileuploader').click();}<!--#if expr="$SITEOWNER=true"-->
function setSmallTools(){$('changetoolsubmit').click();}<!--#endif-->
tinymce.init({selector: '#txteditor',inline: true, skin: '<!--#echo var="FMEDITORSTYLE"-->',language: '<!--#echo var="TINYLANG"-->', relative_urls : false, convert_urls: false, remove_script_host : true, document_base_url : '<!--#echo var="THISLOCAL"-->', image_prepend_url: '<!--#echo var="THISLOCAL"-->/', save_enablewhendirty : false, save_onsavecallback: function() {$('wrapper').set('tween',{onComplete: function(){$('sendit').click();}},{duration:1600}).fade('0.2');}, plugins : 'autolink link image lists code textcolor hr table paste charmap anchor save nonbreaking colorpicker<!--#if expr="$EDITORWARNINGS=true"--> autosave<!--#endif-->', hidden_input: false, nonbreaking_force_tab: true,<!--#if expr="$ALLOWSCRIPTS=true"-->allow_script_urls: true, <!--#endif-->menubar: false, paste_retain_style_properties: 'all', paste_data_images: false, <!--#if expr="$TINYBIGTOOLS=false"-->toolbar_items_size: 'small', toolbar: ['<!--#if expr="$SITEOWNER=true"-->smalltoolbar <!--#endif-->save link image uploadnewpic <!--#if expr="$FONTLOCK=false"--> fontselect fontsizeselect<!--#endif--> forecolor bold italic underline alignleft aligncenter alignright bullist']<!--#else-->fixed_toolbar_container: '#tinytoolbar', toolbar: ['<!--#if expr="$SITEOWNER=true"-->smalltoolbar <!--#endif-->save undo redo removeformat code anchor link image uploadnewpic <!--#if expr="$FONTLOCK=false"--> fontselect fontsizeselect<!--#endif--> forecolor bold italic underline strikethrough superscript subscript charmap alignleft aligncenter alignjustify alignright blockquote numlist bullist nonbreaking hr table']<!--#endif-->, setup: function(editor) {editor.addButton('uploadnewpic', {text: '\u2B06', icon: false, tooltip: '<!--#echo var="FMNEWIMAGEUPLOAD"-->', onclick: function(){injectPic();}});<!--#if expr="$SITEOWNER=true"-->editor.addButton('smalltoolbar', {text: '\u2261', icon: false, tooltip: '<!--#echo var="FMBIGTINYEDIT"-->', onclick: function(){setSmallTools();}});<!--#endif-->}});<!--#endif-->
<!--#if expr="$THEHOMEDOC=true && $SITEOWNER=true"-->function showlayouttools(){$('layoutbox').set('tween', {duration:200}).fade('1.0');$('boxcurrent').setStyle('zIndex', '2');}
function hidelayouttools(){$('layoutbox').set('tween', {onComplete: function(){$('boxcurrent').setStyle('zIndex', '2')}}, {duration:150}).fade('0');}
function setSiteDefault(){reClasses();$('homedefault').addClass('activedir');$('defaultcheck').addClass('activecheck'); $('homepagetype').value=0; $('sethpsubmit').click();}
function setSiteSplash(){reClasses();$('homesplash').addClass('activedir');$('splashcheck').addClass('activecheck'); $('homepagetype').value=1; $('sethpsubmit').click();}
function reClasses(){$('homedefault').removeClass('activedir');$('defaultcheck').removeClass('activecheck');$('homesplash').removeClass('activedir');$('splashcheck').removeClass('activecheck');}
function doHPSiteHome(){$('enablehp').addClass('boxchecked'); $('homepagedefault').value=0; $('sethpsubmit').click();}
function disableHPSiteHome(){$('disablehp').removeClass('boxchecked'); $('homepagedefault').value=1; $('sethpsubmit').click();}
function allowSave(){$('senditcustom').set('tween', {duration:400}).fade('1');}
function SetSplashTxt(){$('splashcopy').innerHTML = ($('thiscattxt').value);}
function SetSplashLink(){if ($('splashurlfield').value.length>0) $('splashfwdbtn').set('tween',{duration:250}).fade('1'), $('splashurlcopy').href = ($('splashurlfield').value); else $('splashfwdbtn').set('tween',{duration:250}).fade('0');}
function setSPLDown(){if ($('updowncheckval').value==0) $('updowncheckval').value='1', $('splashbox').removeClass('splashboxbottom'),$('splashbox').addClass('splashboxtop'), $('desupdown').setStyle('opacity', '1').setStyle('boxShadow', '0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)'); else $('updowncheckval').value='0', $('splashbox').removeClass('splashboxtop'),$('splashbox').addClass('splashboxbottom'), $('desupdown').setStyle('opacity', '0.6').setStyle('boxShadow', 'none'); allowSave();}
function setSPLdark(){$('splashbgval').value='2';allowSave(); $('splashbox').removeClass('brightsplash').removeClass('transpsplash'),$('splashbox').addClass('darksplash'), $('desplashbgdark').setStyle('opacity', '1').setStyle('boxShadow', '0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)');$('desplashbgbright').setStyle('opacity', '0.6').setStyle('boxShadow', 'none');$('desplashbg').setStyle('opacity', '0.6').setStyle('boxShadow', 'none');}
function setSPLBright(){$('splashbgval').value='1';allowSave(); $('splashbox').removeClass('darksplash').removeClass('transpsplash'),$('splashbox').addClass('brightsplash'), $('desplashbgbright').setStyle('opacity', '1').setStyle('boxShadow', '0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)');$('desplashbgdark').setStyle('opacity', '0.6').setStyle('boxShadow', 'none');$('desplashbg').setStyle('opacity', '0.6').setStyle('boxShadow', 'none');}
function setSPLTransp(){$('splashbgval').value='0';allowSave(); $('splashbox').removeClass('darksplash').removeClass('brightsplash'),$('splashbox').addClass('transpsplash'), $('desplashbg').setStyle('opacity', '1').setStyle('boxShadow', '0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)');$('desplashbgbright').setStyle('opacity', '0.6').setStyle('boxShadow', 'none');$('desplashbgdark').setStyle('opacity', '0.6').setStyle('boxShadow', 'none');}
function setTempSplashStyles(){tempSplasBG=$('splashbgval').value; tempSplashUpDown=$('updowncheckval').value; if(tempSplasBG==0) $('splashbox').removeClass('darksplash').removeClass('brightsplash'); else if(tempSplasBG==1) $('splashbox').addClass('brightsplash').removeClass('darksplash'); else $('splashbox').addClass('darksplash').removeClass('brightsplash'); if(tempSplashUpDown==0) $('splashbox').removeClass('splashboxtop'),$('splashbox').addClass('splashboxbottom'); else $('splashbox').removeClass('splashboxbottom'),$('splashbox').addClass('splashboxtop');}
function doSplash(){h1txt=$('currentsubject').value; var splChck = $('splashcheckval').value; if (splChck=='1') $('splashcheckval').value=0, allowSave(), $('splashtxtdata').set('tween',{duration:250}).fade('0'), <!--#if expr="$SHOWHOMEPAGETITLE=true"-->$('mainheader96').setStyle('display','block'),<!--#endif-->$('splashbox').set('tween',{duration:250}).fade('0'); else $('splashcheckval').value=1, allowSave(), $('splashtxtdata').set('tween',{duration:250}).fade('1'), <!--#if expr="$SHOWHOMEPAGETITLE=true"-->$('mainheader96').setStyle('display','none'),<!--#endif--><!--#if expr="<X-FC-FIELD 1805 NUMBER> = 1"-->$('splashbox').set('tween',{duration:250}).fade('1'),<!--#else--> new Element('div', {id: 'splashboxarea'}).inject('slide<!--#echo var="SLIDEITEM"-->', 'top'), $('splashboxarea').innerHTML='<div id="splashbox" class="brightsplash splashboxtop"><h1 id="maintitle">'+(h1txt)+'</h1><div class="fctext" id="splashcopy"></div><div class="forwardbox"><div class="forwardbtn" id="splashfwdbtn"><a class="gotoarrowright" style="cursor:pointer;display:inline-block;" id="splashurlcopy" title="Go to..." href=""></a></div></div></div>', SetSplashTxt(), SetSplashLink(),setTempSplashStyles(),<!--#endif--> openLogHome();}
function doHPSiteHomeTitle(){var hoTiChck = $('homepagetitle').value; if (hoTiChck=='0') $('currentsubject').setStyle('opacity','1'), $('enablehptitle').addClass('boxchecked'), $('homepagetitle').value=1; else <!--#if expr="$SHOWHOMEPAGETITLE=true && <X-FC-FIELD 1805 NUMBER>=0"-->$('mainheader96').setStyle('display','none'),<!--#endif--> $('currentsubject').setStyle('opacity','0.4'), $('enablehptitle').removeClass('boxchecked'), $('homepagetitle').value=0; $('sethpsubmit').click();}
function openAdv() {$('customadvanced').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeIn,link:'chain'}),$('customadvanced').morph({'height':226}).morph({'opacity':1}), $('customexpanding').morph({'display':'none'}),$('customcontracting').morph({'display':'block'});}
function closeAdv() {$('customcontracting').morph({'display':'none'}),$('customexpanding').morph({'display':'block'}), $('customadvanced').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeOut,link:'chain'}), $('customadvanced').morph({'height':0}).morph({'opacity':0});}<!--#endif-->
window.addEvent('domready', function(){<!--#if expr="$SITEOWNER=true"--><!--#if expr="$SPLASHTXT=true"-->
<!--#if expr="$FCTIME<$FRESHPAGE && <X-FC-FIELD 1805 NUMBER> = 1 || $OPENEDITOROPTIONS=true"-->openAdv();<!--#endif-->
$('formeditor').addEvent('submit', function(e) {e.stop(),this.set('send',{onComplete: function(){parent.top.location.replace(window.top.location);}}),this.send();});<!--#endif--><!--#if expr="$SITEUNREADMSGS>0"-->
var setRead = new Request({url: '/login/__www/<!--#echo var="FMINBOX"-->/<!--#echo var="FMINVENTORY"-->/?Unread=-1&VKey=<X-FC-SESSION VKEY>', method:'get'}); setRead.send();<!--#endif-->
var req = new Request.HTML({url:'<!--#echo var="XLOGIN"--><!--#echo var="FMROOTLIBRARY"-->/?leaves&libpics&templates=editor&ITable=-3_0',method: 'get', append:$('libpreviews')}).send();<!--#endif-->
<!--#if expr="$DISPLAYHELP=false && $SITEOWNER=true && $SUPPORTLINK=false && $HTML5=true"-->
goHelp();<!--#endif--><!--#if expr="$SITEOWNER=true && $PAGEOWNER=true && $HTML5=true"-->
$('changetoolbar').addEvent('submit', function(e) {e.stop(),this.set('send',{onComplete: function(){$('sendit').click();}}),this.send();});<!--#endif-->
<!--#if expr="$PAGEOWNER=true && $HTML5=true"-->$('upform').addEvent('submit', function(e) {e.stop(), this.set('send', {onComplete: function(){if(fileup==1) thislastfile=thelastfile.toLowerCase(); if (~thislastfile.indexOf('.jpg') || ~thislastfile.indexOf('.png') || ~thislastfile.indexOf('.gif')) addLastPic(), fileup=0;}}), this.send();});
$('txteditor').addEvent('blur', function(e) {$('imagepicker').set('morph',{duration:800,transition:Fx.Transitions.Quad.easeIn,link:'chain'}), $('imagepicker').morph({'height':'0px'});});
//$('fmtxteditor').addEvent('submit', function(e) {var contlength = $('thecontent').value.length; if(contlength<14000) e.stop(), this.set('send',{onComplete: function(){$('wrapper').set('tween',{duration:250}).fade('1');}}), this.send(); else this.set('send',{onComplete: function(){parent.top.location.replace(window.top.location);}}), this.send();});
<!--#endif-->
<!--#if expr="$SITEUNREADMSGS>0"-->OpenPrefs();<!--#endif-->
doDelalert =0; DelPrefStatus();
<!--#rem OWNER START --><!--#if expr="$PAGEOWNER=true"-->slideout=-364; $('infopanel').set('morph',{duration:0,transition:Fx.Transitions.Quad.easeIn,link:'cancel'}),$('infopanel').morph({'width':'410'});
$('edithandle').addEvent('dblclick', function(){RemForget();}); $('edithandle').addEvent('click', function(){RemForget();});
var singletime; $('edithandle2').addEvents({'click': function(){$clear(singletime); singletime = (function(){RemSave();}).delay(200, this);}, 'dblclick': function(){ $clear(singletime); RemSave2();}});
RemStatus();
window.onresize = scaleScroller; function scaleScroller(){$('filemanager').style.height =((window.innerHeight))+'px';} scaleScroller();
var upload = new Form.Upload('urlfileuploader', {onComplete: function(){}});
<!--#if expr="<X-FC-ITEM DATA[Status] Unapproved>"-->thecurrentapprove='unapproved';<!--#else-->thecurrentapprove='approved';<!--#endif-->
$('setconfproperties').addEvent('submit', function(e) {e.stop(),this.set('send', {onFailure: function(){new MooDialog.Alert(('<!--#echo var="FMSAVEERROR"-->'),{'class':'MooModal alertmodal'});}}), this.send();});
$('changeconfsettings').addEvent('submit', function(e) {filename=$('thisfilename').value; <!--#if expr="`$THISPAGE`=`home page`"-->var NewLoc='/login/__www/';<!--#else-->var NewLoc='<!--#echo var="PATHUP"-->'+$('thisfilename').value; <!--#endif--> e.stop(),this.set('send', {onSuccess: function(){<!--#if expr="$HTML5=true"-->if(history.replaceState) {window.history.replaceState({"id":'<!--#echo var="PAGELEMDOC"-->'}, '<X-FC-OBJNAME>', NewLoc), $('fmtxteditor').action=('<!--#echo var="LOCALPATHHERE"-->')+'/__FormSave?clear=0';} else location.href=NewLoc;<!--#else-->location.href=NewLoc;<!--#endif-->}},{onFailure: function(){new MooDialog.Alert(('<!--#echo var="FMSAVEERROR"-->'),{'class':'MooModal alertmodal'});}}), this.send();});
<!--#if expr="$TOPSYSTEMOBJ=false && $THEHOMEDOC=false"-->$('linkunpublishtop').addEvent('click', function(e){e.stop(); var myRequest = new Request({url: '<!--#echo var="LOCALPATHUP"--><X-FC-ITEM DATA[MessageID] HEX>/?Approve=1&VKey=<X-FC-SESSION VKEY>', method:'get'}); myRequest.send(), $('currentsubject').removeClass('unpublished'), $('thisfilename').removeClass('unpublished'), $('linkpublishtop').setStyle('display','block'), $('linkunpublishtop').setStyle('display','none');}); $('linkpublishtop').addEvent('click', function(e){e.stop(); var myRequest = new Request({url: '<!--#echo var="LOCALPATHUP"--><X-FC-ITEM DATA[MessageID] HEX>/?Approve=-1&VKey=<X-FC-SESSION VKEY>', method:'get'}); myRequest.send(), $('currentsubject').addClass('unpublished'), $('thisfilename').addClass('unpublished'), $('linkpublishtop').setStyle('display','none'), $('linkunpublishtop').setStyle('display','block');}); if ((thecurrentapprove)=='approved') $('linkpublishtop').setStyle('display','block'),$('linkunpublishtop').setStyle('display','none'), $('currentsubject').removeClass('unpublished'), $('thisfilename').removeClass('unpublished'); else $('linkpublishtop').setStyle('display','none'),$('linkunpublishtopp').setStyle('display','block'), $('currentsubject').addClass('unpublished'), $('thisfilename').addClass('unpublished');<!--#endif--><!--#if expr="$THEHOMEDOC=true && $SITEOWNER=true"-->
$('homepagesetup').addEvent('submit', function(e) {e.stop(),this.set('send',{onComplete: function(){location.href="/login/__www/<!--#echo var="FMHOMEPAGEDOCTITLE"-->";}}),this.send();});<!--#endif-->
<!--#if expr="<X-FC-USER PRIV Administrator> && $INDEXPAGE=false && $TOPSYSTEMOBJ=false && $THEHOMEDOC=false"-->$('linklockcurrent').addEvent('click', function(){$('thisprotect').value=('1'),$('currentsubmit').click(),setTimeout('location.href = window.location.href;',500);});
$('linkunlockcurrent').addEvent('click', function(){$('thisprotect').value=('0'),$('currentsubmit').click(),setTimeout('location.href = window.location.href;',500);});
thecurrentprotect='<!--#if expr="<X-FC-ITEM DATA[Status] Protected>=1"-->protected<!--#else-->unprotected<!--#endif-->';
if ((thecurrentprotect)=='protected') $('linkunlockcurrent').setStyle('display','block'),$('linklockcurrent').setStyle('display','none');
else $('linkunlockcurrent').setStyle('display','none'),$('linklockcurrent').setStyle('display','block');<!--#endif--><!--#endif--><!--#rem OWNER END -->
});
function DelPrefStatus(){if (Cookie.read('deletebtnstate')) {doDelalert = Cookie.read('deletebtnstate')}; var DelPrefStatus = Cookie.read('deletebtnstate');}
<!--#rem OWNER START --><!--#if expr="$PAGEOWNER=true"-->function RemSave(){slideout=-364;bodymargin='0';var SaveACookie = Cookie.write('panelstate', slideout, {domain: '<!--#echo var="THISDOMAIN"-->',duration:0}); $('infopanel').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeOut,link:'cancel'}),$('infopanel').morph({'right':'0'}), $('edithandle2').setStyle('z-index', '0'),$('edithandle').setStyle('z-index', '1')}
function RemSave2(){slideout=-365;bodymargin='350';var SaveACookie = Cookie.write('panelstate', slideout, {domain: '<!--#echo var="THISDOMAIN"-->',duration:0}); $('infopanel').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeOut,link:'cancel'}),$('infopanel').morph({'right':'0'}), moveBody(), $('edithandle2').setStyle('z-index', '0'),$('edithandle').setStyle('z-index', '1')}
function RemStatus(){if (Cookie.read('panelstate')) {slideout = Cookie.read('panelstate')}; var RemStatus = Cookie.read('panelstate'); if ((slideout)=='-365') bodymargin='350';else bodymargin='0'; if ((RemStatus)==(slideout)) moveBody2(), $('infopanel').style.right = '0',$('edithandle2').setStyle('z-index', '0'),$('edithandle').setStyle('z-index', '1'); else $('edithandle2').setStyle('z-index', '1'),$('edithandle').setStyle('z-index', '0');}
function RemForget(){if (Cookie.read('panelstate')) {Cookie.dispose('panelstate', {domain: '<!--#echo var="THISDOMAIN"-->'})}; $('infopanel').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeIn,link:'chain'}), $('infopanel').morph({'right':'-350'}); moveBody3(), $('edithandle2').setStyle('z-index', '1'),$('edithandle').setStyle('z-index', '0');}
function moveBody(){$(document.body).set('morph',{duration:200,transition:Fx.Transitions.Quad.easeIn,link:'chain'}),$(document.body).morph({'marginRight':bodymargin});}
function moveBody2(){$(document.body).set('morph',{duration:0}),$(document.body).morph({'marginRight':bodymargin});}
function moveBody3(){$(document.body).set('morph',{duration:300,transition:Fx.Transitions.Quad.easeIn,link:'chain'}),$(document.body).morph({'marginRight':'0'});}
function hidetoolstop(){$('edboxtop').set('morph',{duration:100,transition:Fx.Transitions.Expo.easeIn,link:'chain'}), $('edboxtop').morph({'width':0})<!--#if expr="$THEHOMEDOC=true && $SITEOWNER=true"-->,hidelayouttools()<!--#endif-->;}
function showtoolstop(){$('edboxtop').set('morph',{duration:100,transition:Fx.Transitions.Expo.easeOut,link:'chain'}),$('edboxtop').morph({'width':160});}
thecurrentname=('<X-FC-OBJNAME>');
function bgsave(){$('changeconfsubmit').click();}
function SetTitle(){$('maintitle').innerHTML = ($('currentsubject').value);$('xsubject').value = ($('currentsubject').value);}
function DoCreateName(){SetTitle();length = 50; filenameorig = $('currentsubject').value.replace(/^\s+|\s+$/g, '').toLowerCase(), switchout = '„‡·‰‚ÅåÄ䯿ØÖöøẽËÈÎÍÏÌÔÓıÚÛˆÙ˘˙¸˚ÒÁ∑/_,:;',switchto   = 'aaaaaaaaaaaooooeeeeeiiiiooooouuuunc------'; for (var i=0, l=switchout.length ; i<l ; i++) {filenameorig = filenameorig.replace(new RegExp(switchout.charAt(i), 'g'), switchto.charAt(i));} filenameorig = filenameorig.replace(/[^a-z0-9 -]/g, '').replace(/\s+/g, '-').replace(/-+/g, '-'), filename = filenameorig.substring(0,length); if ((filename)=='') $('thisfilename').value = $('thisfilename').value,$('xname').value = $('thisfilename').value; else $('thisfilename').value = (filename),$('xname').value = (filename); bgsave();};
function DoCreateRealName(){WhichSelector2(); if ($('thisfilename').value=='') $('thisfilename').value=(thecurrentname);$('changeconfsubmit').click();}
function DoSaveNewName(){SetTitle();allTitleInst = $(document.body).getElements('.id<X-FC-ITEM DATA[MessageID] NUMBER> h1,li.id<X-FC-ITEM DATA[MessageID] NUMBER> a,.id<X-FC-ITEM DATA[MessageID] NUMBER> a.sidebarlink'); for(i=0; i<allTitleInst.length; i++) {allTitleInst[i].innerHTML = $('currentsubject').value;}}
function upMe(){setTimeout($('btnsubmit').click(),500);}
function WhichSelector() {$('editfilename').setStyle('display', 'block');}
function WhichSelector2() {$('editfilename').setStyle('display', 'none');$('thisfilename').setStyle('display', 'none');$('currentsubject').setStyle('display', 'block');}
function WhichSelector3() {$('thisfilename').setStyle('display', 'block');$('currentsubject').setStyle('display', 'none');$('thisfilename').focus();$('editfilename').setStyle('display', 'none');}<!--#endif--><!--#rem OWNER END -->
</script>

<!--#rem OWNER START --><!--#if expr="$PAGEOWNER=true"--><div id="infopanel">
<div class="edhandle" id="edithandle2" style="z-index:1;"><img src="/.templates/fmlibrary/graphics/blanksquare.png" width="56" height="56" alt="Edit" class="editorbutton"/></div>
<div class="edhandle" id="edithandle" style="z-index:0;"><img src="/.templates/fmlibrary/graphics/blanksquare.png" width="56" height="56" alt="Edit" class="editorbutton"/></div>
<div id="infobar">
<div id="filemanager" style="overflow-x:hidden;overflow-y:auto;">
<div class="filebrowser">

<div class="<!--#if expr="$SITEOWNER=true"-->siteowner<!--#else-->general<!--#endif--> root shortcuts">
<!--#if expr="$SITEOWNER=false && `$FMPFOLDER`=`true` || `$THISPAGE`=`setup`"--><div class="nodropme goup"><div class="root edfctext iconobject infolder inactive" id="upwardsdir"><img class="uplevelbtnbig noshortcuticon" width="32" height="32" src="/.templates/fmlibrary/graphics/uplevel.png" alt="<!--#echo var="MOVEUP"-->" title="<!--#echo var="MOVEUP"-->"/></div></div><!--#else--><div class="dropme goup"><div class="root edfctext iconobject infolder" id="upwardsdir"><a class="uplevel" href="<!--#if expr="`$INDEXPAGE`=`true`"-->/login/__www/Setup<!--#else--><!--#echo var="PATHUP"--><!--#endif-->"><img class="uplevelbtnbig shortcuticon" width="32" height="32" src="/.templates/fmlibrary/graphics/uplevel.png" alt="<!--#echo var="MOVEUP"-->" title="<!--#echo var="MOVEUP"-->"/></a></div></div><!--#endif--><div class="dropme shorthome"><div class="root edfctext iconobject infolder"><a href="/login/__www/Setup?sitemap"><img class="shortcuticon" width="32" height="32" src="/.templates/fmlibrary/graphics/sitemap.png" alt="<!--#echo var="FMSITEMAP"-->" title="<!--#echo var="FMSITEMAP"-->"/></a></div></div><!--#if expr="$SITEOWNER=true"--><div class="dropme shortarch"><div class="root edfctext iconobject infolder<!--#if expr="`$PATHUP`=`$XLOGIN$FMROOTLIBRARY/`"--> inactive notindex<!--#endif-->"><a href="<!--#echo var="ARCHIVEPATH"-->"><img class="shortcuticon" width="32" height="32" src="/.templates/fmlibrary/graphics/archive.png" alt="<!--#echo var="FMSITEARCHIVE"-->" title="<!--#echo var="FMSITEARCHIVE"-->"/></a></div></div><!--#endif--><div class="clear"></div>
</div>

<div class="nodragme" id="boxcurrent">
<form id="upform" action="<!--#echo var="LOCALPATHHERE"-->/__FormSave?VKey=<X-FC-SESSION VKEY>&Clear=0" enctype="multipart/form-data" method="post" name="upform" onchange="upMe();"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input tabindex="-1" class="imgbrowsernobtns" type="file" id="urlfileuploader" name="Attachment" multiple><input tabindex="-1" type="submit" id="btnsubmit" name="btnsubmit" class="imgbrowsernobtns" value="Uploader"/></form><div class="edfctext iconobject<!--#if expr="<X-FC-ITEM DATA[Status] Unapproved>"--> unpublished<!--#endif-->"><img class="mimeeditor" src="<!--#echo var="ICONPATH"-->" width="64" height="64" alt="<X-FC-ITEM DATA[NAME]>"/><div id="editfilename" style="display:none;"></div>

<div id="currentobject">
<form id="changeconfsettings" action="<!--#echo var="LOCALPATHHERE"-->/<!--#if expr="$SV!=9"-->__<!--#endif-->FormSave?VKey=<X-FC-SESSION VKEY>&amp;Clear=0" method="post" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input tabindex="-1" id="currentsubject"<!--#if expr="$TOPSYSTEMOBJ=false && <X-FC-ITEM DATA[Status] Protected>=0"--> ondblclick="WhichSelector3();" onclick="WhichSelector();"<!--#endif--> onchange="<!--#if expr="`$AUTORENAME`=`true`"-->DoCreateName<!--#else-->bgsave<!--#endif-->();" onkeyup="DoSaveNewName();" class="edfield edtxtbox titlefield<!--#if expr="<X-FC-ITEM DATA[Status] Unapproved>"--> unpublished<!--#endif-->" name="Subject" type="text" size="40" maxlength="128" value="<X-FC-SUBJECT>"<!--#if expr="$TOPSYSTEMOBJ=true || <X-FC-ITEM DATA[Status] Protected>=1"--><!--#if expr="$THEHOMEDOC=true && $SITEOWNER=true && $SHOWHOMEPAGETITLE=true"--> style="opacity:1;"<!--#else--> style="opacity:0.4;"<!--#endif--><!--#endif-->/><input tabindex="-1" style="display:none;" id="thisfilename" class="edfield edtxtbox titlefield<!--#if expr="<X-FC-ITEM DATA[Status] Unapproved>"--> unpublished<!--#endif-->" onblur="WhichSelector2();" ondblclick="WhichSelector2();" onchange="DoCreateRealName();" name="FieldID:8010=STRING" type="text" size="40" maxlength="128" value="<X-FC-OBJNAME>" <!--#if expr="$TOPSYSTEMOBJ=true || <X-FC-ITEM DATA[Status] Protected>=1"--> disabled="disabled"<!--#endif-->/><textarea cols="30" tabindex="-1" rows="10" id="thiskey" class="edfield edtxtbox" style="visibility:<!--#if expr="<X-FC-ITEM DATA[Status] Protected>=0"-->visible<!--#else-->hidden<!--#endif-->;" name="FieldID:8022=STRING" onchange="bgsave();" placeholder="<!--#echo var="FMKEYWORDS"--> ..."/><X-FC-FIELD 8022 STRING></textarea><!--#if expr="$SPLASHTXT=false"--><input id="thiscat" name="FieldID:8021=STRING" type="hidden" size="40" value="<X-FC-ITEM DATA[8021] STRING>"/><!--#endif--><input id="changeconfsubmit" type="submit" class="imgbrowsernobtns" value=""/></form><form id="setconfproperties" action="<!--#echo var="LOCALPATHHERE"-->/__GetInfo/__FormSave?Clear=0&amp;TargetURL=<!--#echo var="LOCALPATHHERE"-->/" method="post" enctype="multipart/form-data"><!--#if expr="<X-FC-ITEM DATA[Status] Protected>=1"--><input id="thisprotect" type="hidden" name="FieldID:1016=SHORT" value="1"/><!--#endif--><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input id="currentsubmit" type="submit" class="imgbrowsernobtns" value=""/><!--#if expr="<X-FC-ITEM DATA[Status] Unapproved>"--><input id="thisunapproved" type="hidden" name="FieldID:1320=SHORT" value="1"/><!--#else--><input id="thisunapproved" type="hidden" name="FieldID:1320=SHORT" value="0"/><!--#endif--><!--#if expr="<X-FC-ITEM DATA[Status] Protected>=0"--><input id="thisprotect" type="hidden" name="FieldID:1016=SHORT" value="0"/><!--#endif--></form><div class="clear"></div></div><span class="smalledfctext fileinfo"><!--#if expr="$USFORMAT=true"--><X-FC-ITEM DATA[Date] %a&nbsp;%b&nbsp;%#d.&nbsp;%Y,&nbsp;%#I:%M&nbsp;%p><!--#else--><X-FC-ITEM DATA[Date] %a&nbsp;%#d.&nbsp;%b&nbsp;%Y,&nbsp;%H:%M><!--#endif--> [<X-FC-ITEM DATA[Size] SCALEDKb>]</span>
</div>

<!--#if expr="$THEHOMEDOC=true && $SITEOWNER=true"--><div id="layoutbox"  class="listitembox homelayout" style="visibility:hidden;"><div class="edfctext itemboxtitle"><!--#echo var="FMHOMEPAGE"--> <!--#echo var="FMLAYOUT"--><input title="<!--#echo var="FMCLOSE"-->" type="button" class="toolbtn close" onclick="hidelayouttools();"/></div><div class="listitemboxpanel"><form id="homepagesetup" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" action="<X-FC-OBJURL-UP SLASH>Setup/<!--#if expr="$SV!=9"-->__<!--#endif-->FormSave?formid=2659&amp;Clear=0&amp;Close=0" enctype="multipart/form-data" method="post" name="Save"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input id="homepagedefault" type="hidden" name="FieldID:1025=SHORT" value="0"/><input id="homepagetitle" type="hidden" name="FieldID:1500=SHORT" value="<!--#if expr="$SHOWHOMEPAGETITLE=true"-->1<!--#else-->0<!--#endif-->"/><input id="homepagetype" type="hidden" name="FieldID:1247=SHORT" value="<!--#if expr="$SPLASH=true"-->1<!--#else-->0<!--#endif-->"/><!--#if expr="`$DEFAULTHOMEPAGE`=`true`"--><div class="edfctext"><a<!--#if expr="$SPLASH=false"--> class="activedir"<!--#endif--> id="homedefault" href="javascript:void(0);" onclick="setSiteDefault();"><img id="defaultcheck" src="/.templates/fmlibrary/graphics/blanksquare.png" width="16" height="16" alt="none" class="changecheck<!--#if expr="$SPLASH=false"--> activecheck<!--#endif-->"/><!--#echo var="FMDEFAULT"--></a></div><div class="edfctext"><a<!--#if expr="$SPLASH=true"--> class="activedir"<!--#endif--> id="homesplash" href="javascript:void(0);" onclick="setSiteSplash();"><img id="splashcheck" src="/.templates/fmlibrary/graphics/blanksquare.png" width="16" height="16" alt="none" class="changecheck<!--#if expr="$SPLASH=true"--> activecheck<!--#endif-->"/><!--#echo var="FMSPLASH"--></a></div><div class="edfctext itemboxfooter" style="padding-top:10px;"><label><Input id="disablehp" class="checkbox<!--#if expr="`$DEFAULTHOMEPAGE`=`true`"--> boxchecked<!--#endif-->" type="image" src="/.templates/fmlibrary/graphics/blanksquare.png" value="0" onclick="disableHPSiteHome();"/><!--#echo var="FMHOMEPAGE"--></label></div><div class="edfctext itemboxfooter" style="margin-top:1px;"><label><Input id="enablehptitle" class="checkbox<!--#if expr="$SHOWHOMEPAGETITLE=true"--> boxchecked<!--#endif-->" type="image" src="/.templates/fmlibrary/graphics/blanksquare.png" value="1" onclick="doHPSiteHomeTitle();"/><!--#echo var="FMTITLE"--></label></div><!--#else--><div class="edfctext itemboxfooter" style="padding-top:10px;"><label><Input id="enablehp" class="checkbox<!--#if expr="`$DEFAULTHOMEPAGE`=`true`"--> boxchecked<!--#endif-->" type="image" src="/.templates/fmlibrary/graphics/blanksquare.png" value="1" onclick="doHPSiteHome();"/><!--#echo var="FMHOMEPAGE"--></label></div><!--#endif--><input id="sethpsubmit" type="submit" value="submit" class="imgbrowsernobtns"/></form></div></div><!--#endif-->

<div id="toolboxtop"><input id="editorbtn" type="button" class="edbtn" onClick="EditThisPage();" title="<!--#echo var="FMEDITTHISPAGE"-->"/><input id="fileupload" type="button" class="edbtn" onClick="$('urlfileuploader').click();" title="<!--#echo var="FMUPLOAD"-->"/></div><!--#if expr="$INDEXPAGE=false && $TOPSYSTEMOBJ=false"--><input id="linkpropertiestop" title="<!--#echo var="FMOPTIONS"-->" type="button" class="toolbtn topshow" onclick="showtoolstop();"/><div id="edboxtop"><input type="button" class="toolbtn tophide" title="<!--#echo var="FMHIDETOOLS"-->" onclick="hidetoolstop();"/><!--#if expr="$THEHOMEDOC=true && $SITEOWNER=true"--><input id="layouttools" type="button" class="toolbtn layoutbtn" title="<!--#echo var="FMLAYOUT"-->" onclick="showlayouttools();"/><!--#endif--><!--#if expr="$NOUNPROTECT=false"--><input id="linkpublishtop" type="button" class="toolbtn pubbtn" title="<!--#echo var="FMTOOLPUBLISH"-->"/><input id="linkunpublishtop" type="button" class="toolbtn unpubbtn" title="<!--#echo var="FMTOOLUNPUBLISH"-->"/><!--#if expr="<X-FC-USER PRIV Administrator> && $NOUNPROTECT=false"--><input id="linkunlockcurrent" type="button" class="toolbtn" title="<!--#echo var="FMUNPROTECT"-->"/><input id="linklockcurrent" type="button" class="toolbtn" title="<!--#echo var="FMPROTECT"-->"/><!--#endif--><!--#endif--></div><!--#endif--></div>

<!--#if expr="$SPLASHTXT=true && $SITEOWNER=true"--><div id="configsplash"<!--#if expr="`$THEHOMEDOC`=`true` && `$FMLOGGEDINDEX`=`true`"--> style="display:none;"<!--#endif-->><form id="formeditor" style="margin-top:0px;padding-top:10px;" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" action="<!--#echo var="LOCALPATHHERE"-->/<!--#if expr="$SV!=9"-->__<!--#endif-->FormSave?VKey=<X-FC-SESSION VKEY>&amp;Clear=0" enctype="multipart/form-data" method="post" name="Save"><input type="hidden" name="charset" value="<X-FC-CHARSET>"/><input id="splashcheckval" type="hidden" name="FieldID:1805=SHORT" value="<X-FC-FIELD 1805 NUMBER>"/><input id="updowncheckval" type="hidden" name="FieldID:1801=SHORT" value="<X-FC-FIELD 1801 NUMBER>"/><input id="splashbgval" type="hidden" name="FieldID:1803=SHORT" value="<X-FC-FIELD 1803 NUMBER>"/><div class="edfctext"><a id="customcontracting" style="font-weight:bold;display:none;" href="javascript:void(0);" onclick="closeAdv();"><!--#echo var="FMOPTIONS"-->&nbsp;&#9650</a><a id="customexpanding" style="font-weight:bold;" href="javascript:void(0);" onclick="openAdv();"><!--#echo var="FMOPTIONS"-->&nbsp;&#9660;</a></div><div class="inlinebox" id="customadvanced" style="height:0px;overflow:hidden;opacity:0;"><div class="edfctext" style="float:left;width:50%"><div class="edfctext"><label><input id="splashcheck" type="checkbox" onclick="doSplash();allowSave();" tabindex="-1" <!--#if expr="<X-FC-FIELD 1805 NUMBER> = 1"--> checked="checked"<!--#endif-->/>&nbsp;<span id="commentslabel"><!--#echo var="FMSPLASH"--> <!--#echo var="FMTEXT"--></span></label></div></div><span id="splashtxtdata" style="<!--#if expr="<X-FC-FIELD 1805 NUMBER> = 1"-->visibility:visible;opacity:1;<!--#else-->visibility:hidden;opacity:0;<!--#endif-->"><div class="edfctext" style="float:right;width:50%;margin-top:-3px;"><div style="position:relative;"><input id="desupdown" type="button" class="edbtn tinyedbtn" style="right:75px;top:3px;position:absolute;z-index:23;<!--#if expr="<X-FC-FIELD 1801 NUMBER>=1"-->box-shadow:0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);opacity:1;<!--#endif-->" onClick="setSPLDown();" title="<!--#echo var="FMAPPEARANCE"-->"/><input id="desplashbg" type="button" class="edbtn tinyedbtn" style="right:50px;top:3px;position:absolute;z-index:23;<!--#if expr="<X-FC-FIELD 1803 NUMBER>=0"-->box-shadow:0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);opacity:1;<!--#endif-->" onClick="setSPLTransp();" title="<!--#echo var="FMBACKGROUNDTRANSP"-->"/><input id="desplashbgbright" type="button" class="edbtn tinyedbtn" style="right:25px;top:3px;position:absolute;z-index:23;<!--#if expr="<X-FC-FIELD 1803 NUMBER>=1"-->box-shadow:1px 1px 3px #777777;opacity:1;<!--#endif-->" onClick="setSPLBright();" title="<!--#echo var="FMBACKGROUNDBRIGHT"-->"/><input id="desplashbgdark" type="button" class="edbtn tinyedbtn" style="right:0px;top:3px;position:absolute;z-index:23;<!--#if expr="<X-FC-FIELD 1803 NUMBER>=2"-->box-shadow:0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);opacity:1;<!--#endif-->" onClick="setSPLdark();" title="<!--#echo var="FMBACKGROUNDDARK"-->"/></div></div><div class="clear"></div><textarea cols="30" tabindex="-1" rows="10" id="thiscattxt" class="edfield edtxtbox" style="height:98px;margin-bottom:0px;" name="FieldID:8021=STRING" onkeyup="allowSave();SetSplashTxt();" placeholder="<!--#echo var="FMSUMMARY"--> ..."/><X-FC-FIELD 8021 LITERALSTRING></textarea><input id="splashurlfield" class="edfield edtxtbox" style="margin-top:0px;" onkeyup="allowSave();SetSplashLink();" placeholder="URL" name="FieldID:1802=STRING" type="text" size="500" value="<X-FC-FIELD 1802 STRING>" tabindex="-1"/><div class="clear"></div></span><input type="submit" tabindex="5" name="Send" id="senditcustom" value="<!--#echo var="FMSAVE"-->" class="edformbtn primary" style="visibility:hidden;opacity:0;margin-top:5px;"/></div></form></div>

<!--#elif expr="`$FCDOC`=`true` && `$PAGEOWNER`=`true` && `$ALLOWXHTML`=`true` && `$TOPSYSTEMOBJ`=`false` && `$THEHOMEDOC`=`false`"--><div id="formeditor" style="margin-top:30px;padding-top:10px;width:272px;border:1px #cccccc solid;"><div class="edfctext" style="font-weight:normal;"><!--#echo var="FMNOTHTML5"--></div><div class="edfctext"><label><input id="xhcheck" type="checkbox" onclick="doXHTML();" tabindex="-1"/>&nbsp;<!--#echo var="FMCONVERTHTML5"--></label></div><div id="convwarning" class="edfctext" style="font-weight:normal;"><!--#echo var="FMCONVERTWARNING"--></div><div id="convertxhtml" style="visibility:hidden;opacity:0;"><div class="edfctext"><input type="button" tabindex="-1" id="convertxhtmlbtn" onclick="doConvert();" value="<!--#echo var="FMSAVE"-->" class="edformbtn primary" style="margin-top:5px;"/></div></div></div><div class="clear"></div><!--#endif-->

<!--#if expr="$PAGEOWNER=true"--><div id="imagepicker" style="height:0px;overflow:hidden;"><div class="uploadgallery" id="localpreviews" style="overflow-x:hidden;overflow-y:auto;"><div id="pagepreviews"></div><div id="libpreviews"></div></div><div class="clear"></div></div><div id="uploadedfiles"></div><div id="inuppergroup"><!--#set var="ATTCOUNT" value="<X-FC-LIST-COUNT>"--><!--#if expr="$ATTCOUNT>0" -->
<!--#set var="ATTNUM" expr="<X-FC-LIST-COUNT>"--><!--#set var="ATTINDEX" value="-1"--><!--#while expr="++$ATTINDEX < $ATTCOUNT"--><!--#set var="ATTNUM" expr="$ATTNUM-1"--><!--#set var="ATTNUMCHECK" expr="$ATTNUM-$ATTNUMCHECK"--><!--#set var="PAGELEMATTACH" expr="@rand()"--><script<!--#if expr="$HTML5=false"--> type="text/javascript"<!--#endif-->>
function OpenDelQuery<!--#echo var="PAGELEMATTACH"-->(){if (doDelalert==0) $('deletequery<!--#echo var="PAGELEMATTACH"-->').set('tween', {duration:200}).fade('1.0'); else linkDeleteThis<!--#echo var="PAGELEMATTACH"-->();}
function CloseDelQuery<!--#echo var="PAGELEMATTACH"-->(){$('deletequery<!--#echo var="PAGELEMATTACH"-->').set('tween', {duration:150}).fade('0');}
function OpenUrlQuery<!--#echo var="PAGELEMATTACH"-->(){$('openurlquery<!--#echo var="PAGELEMATTACH"-->').set('tween', {duration:200}).fade('1.0');}
function CloseUrlQuery<!--#echo var="PAGELEMATTACH"-->(){$('openurlquery<!--#echo var="PAGELEMATTACH"-->').set('tween', {duration:150}).fade('0');}
function OpenAttachment<!--#echo var="PAGELEMATTACH"-->(){window.open('<!--#echo var="LOCALPATHHERE"-->/<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>');}
function linkDeleteThis<!--#echo var="PAGELEMATTACH"-->(){var myRequest = new Request({url: '<!--#echo var="LOCALPATHHERE"-->/<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>?Delete=1&VKey=<X-FC-SESSION VKEY>', method:'get'}); myRequest.send(), cleanUp<!--#echo var="PAGELEMATTACH"-->();}
function cleanUp<!--#echo var="PAGELEMATTACH"-->(){fcIDobject<!--#echo var="PAGELEMATTACH"--> = $(document.body).getElements('.id<!--#echo var="PAGELEMATTACH"-->'); for(i=0; i<fcIDobject<!--#echo var="PAGELEMATTACH"-->.length; i++) {fcIDobject<!--#echo var="PAGELEMATTACH"-->[i].set('morph',{duration:200,transition:Fx.Transitions.Expo.easeIn,link:'chain'}), fcIDobject<!--#echo var="PAGELEMATTACH"-->[i].morph({'opacity':0}).morph({'height':0}).morph({'display':'none'});}}
function cleanUpFailure<!--#echo var="PAGELEMATTACH"-->(){$('dragbox<!--#echo var="PAGELEMATTACH"-->').setStyle('left', '0px').setStyle('top','0px');}
<!--#set var="CURRENTIMG" expr="@lower('<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>')"--><!--#if expr="@indexof ('$CURRENTIMG', '.jpg')>0 || @indexof ('$CURRENTIMG', '.png')>0 || @indexof ('$CURRENTIMG', '.gif')>0"-->
function addPic<!--#echo var="PAGELEMATTACH"-->(addedpic) {var addedpic='<img src="<!--#echo var="THISLOCAL"-->/<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>" class="id<!--#echo var="PAGELEMATTACH"-->" alt="<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>">'; var caretPos,thisPos; if (window.getSelection) {caretPos = window.getSelection(); if (caretPos.getRangeAt && caretPos.rangeCount) {thisPos = caretPos.getRangeAt(0); thisPos.deleteContents(); var addAtPos = document.createElement("div"); addAtPos.innerHTML = addedpic; var imgCont = document.createDocumentFragment(), node, lastNode; while ( (node = addAtPos.firstChild) ) {lastNode = imgCont.appendChild(node);} thisPos.insertNode(imgCont); if (lastNode) {thisPos = thisPos.cloneRange(); thisPos.setStartAfter(lastNode); thisPos.collapse(true); caretPos.removeAllRanges();caretPos.addRange(thisPos);}}} else if (document.selection && document.selection.type != "Control") {document.selection.createRange().pasteHTML(addedpic);}}
var theDiv = $('pagepreviews'); var newPic = document.createElement('div'); newPic.innerHTML = '<a class="id<!--#echo var="PAGELEMATTACH"-->" href="javascript:void(0);" onclick="addPic<!--#echo var="PAGELEMATTACH"-->();"><img src="<!--#echo var="THISLOCAL"-->/<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>" alt="<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>"></a>'; theDiv.appendChild(newPic);<!--#endif-->
</script>

<div id="item<!--#echo var="PAGELEMATTACH"-->" class="id<!--#echo var="PAGELEMATTACH"-->"><div id="dragbox<!--#echo var="PAGELEMATTACH"-->" class="nodragme id<!--#echo var="PAGELEMATTACH"-->"><div id="box<!--#echo var="PAGELEMATTACH"-->" class="edfctext iconobject isupload notindex"><img class="listicon" src="/.templates/fmlibrary/graphics/blanksquare.png" width="16" height="16" alt="<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>"/><a id="url<!--#echo var="PAGELEMATTACH"-->" class="editorlink <!--#echo var="EMAGICTYPE"-->"  href="javascript:void(0);" onclick="OpenUrlQuery<!--#echo var="PAGELEMATTACH"-->();"><X-FC-LIST-ITEM $ATTINDEX DATA[Name]></a></div><div id="edbox<!--#echo var="PAGELEMATTACH"-->" class="toolbox"><input id="linkdelete<!--#echo var="PAGELEMATTACH"-->" title="<!--#echo var="FMTOOLDELETE"-->" type="button" class="toolbtn openbtn delbtn" onclick=" OpenDelQuery<!--#echo var="PAGELEMATTACH"-->();"/></div></div><div id="openurlquery<!--#echo var="PAGELEMATTACH"-->"  class="listitembox delquery openurl" style="visibility:hidden;"><div class="listitemboxpanel"><div class="edfctext panelbox up"><div style="text-align:left;width:180px;height:70px;margin:0px 0px -6px 0px;overflow:hidden;"><!--#if expr="<X-FC-LIST-ITEM `$ATTINDEX` COLUMN[Icon]>=9625"--><img class="uploadpic" src="/.templates/fmlibrary/graphics/blanksquare.png" alt="<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>" width="64" height="64" style="background:#ffffff url(<!--#echo var="LOCALPATHHERE"-->/<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>) no-repeat center center;background-size:contain;"/><!--#else--><img class="uploadpic" src="<X-FC-LIST-ITEM `$ATTINDEX` COLUMN[Icon] DEFPATH>" alt="<X-FC-LIST-ITEM $ATTINDEX DATA[Name]>" width="64" height="64"/><!--#endif--><br/><X-FC-LIST-ITEM $ATTINDEX DATA[Name]><br/><span style="font-weight:normal;"><X-FC-LIST-ITEM $ATTINDEX DATA[Subject]><br/><X-FC-LIST-ITEM $ATTINDEX COLUMN[Size] SCALED></span></div><div class="clear"></div><div class="querybtnrow"><input type="button" class="edformbtn" value="<!--#echo var="FMDOWNLOAD"-->" onclick="OpenAttachment<!--#echo var="PAGELEMATTACH"-->();"/>&nbsp;&nbsp;<input type="button" class="edformbtn primary" value="OK" onclick="CloseUrlQuery<!--#echo var="PAGELEMATTACH"-->();"/></div></div></div></div><div id="deletequery<!--#echo var="PAGELEMATTACH"-->"  class="listitembox delquery uploadfile" style="visibility:hidden;"><div class="listitemboxpanel"><div class="edfctext panelbox"><!--#echo var="FMTOOLDELETE"-->: <X-FC-LIST-ITEM $ATTINDEX DATA[Name]>?<div class="querybtnrow"><input type="button" class="edformbtn primary" value="<!--#echo var="FMTOOLDELETE"-->" onclick="linkDeleteThis<!--#echo var="PAGELEMATTACH"-->();"/>&nbsp;&nbsp;<input type="button" class="edformbtn" value="<!--#echo var="FMCANCEL"-->" onclick="CloseDelQuery<!--#echo var="PAGELEMATTACH"-->();"/></div></div></div></div></div><!--#endwhile-->
<!--#endif-->
</div>
<!--#endif-->
</div></div></div></div><!--#endif--><!--#rem OWNER END -->
<div id="loginstrip"><!--#if expr="$SUBSTYLES=false && $SITEOWNER=true"-->
<div class="listitembox" id="skindesigner"></div><!--#endif-->
<div class="listitembox" id="showhelp"></div><!--#if expr="$LIVECHATS=true"--><div class="listitembox" id="pubchat"></div><!--#endif-->
<div class="listitembox" id="logindata" style="visibility:hidden;"><div class="edfctext itemboxtitle"><div id="myusername"><X-FC-USER NAME></div><input title="<!--#echo var="FMCLOSE"-->" type="button" class="toolbtn close" onclick="ClosePrefs();"/></div><div class="listitemboxpanel"><div class="edfctext edtitle"><!--#echo var="FMWEBSITE"--></div><!--#if expr="$PAGEOWNER=true"--><div class="edfctext" style="position:relative;"><a href="javascript:void(0);" onclick="EditThisPage();"><!--#echo var="FMEDITTHISPAGE"--></a><input id="fileupload2" type="button" class="edbtn" style="right:3px;top:3px;position:absolute;z-index:23;" onClick="$('urlfileuploader').click();" title="<!--#echo var="FMUPLOAD"-->"/></div><!--#endif--><!--#if expr="$SITEOWNER=true"--><div class="edfctext" style="position:relative;"><a href="javascript:void(0);" onclick="GetSitePrefs();"><!--#echo var="FMEDITPREFS"--></a><!--#if expr="$SUBSTYLES=false"--><input id="designpop" type="button" class="edbtn" style="right:3px;top:4px;position:absolute;z-index:23;" onClick="ClosePrefs();openDesigner();" title="SkinDesigner"/><!--#endif--></div><div class="edfctext" style="position:relative;"><a href="javascript:void(0);" onclick="GetWebMail();"><!--#echo var="INBOXNAME"--> <span id="GetSiteUnread" style="visibility:<!--#if expr="$SITEUNREADMSGS>0"-->visible<!--#else-->hidden<!--#endif-->;"><!--#echo var="SITEUNREADMSGS"--></span></a></div><!--#endif--><div class="edfctext"><!--#if expr="$SUPPORTLINK=false && $HTML5=true"--><a href="javascript:void(0);" onclick="goHelp();" ><!--#echo var="FMOPENHELP"--></a><!--#else--><a href="<!--#echo var="FMSUPPORTURL"-->" target="newwin"><!--#echo var="FMOPENHELP"--></a><!--#endif--><!--#if expr="$LIVECHATS=true"--><input id="chatpop" type="button" class="edbtn" style="right:3px;top:4px;position:absolute;z-index:23;" onClick="openChat();" title="<!--#echo var="FMWHOSONLINE"-->"/><!--#endif--></div><div id="favorites" style="position:relative;overflow:hidden;width:100%;"><div class="edfctext edtitle" id="bookmarkstitle"><!--#echo var="FMBOOKMARKS"--></div><a id="shortup" href="javascript:void(0);" onclick="shortScrollUp();" onkeypress="shortScrollUp();" title="<!--#echo var="FMPREVBTN"--> <!--#echo var="FMBOOKMARKS"-->">&#9650;</a><a id="shortdown" href="javascript:void(0);" onclick="shortScrollDown();" onkeypress="shortScrollDown();" title="<!--#echo var="FMNEXTBTN"--> <!--#echo var="FMBOOKMARKS"-->">&#9660;</a><div id="subcontentpanel" style="overflow-x:hidden;overflow-y:auto;" onscroll="shortScrollstop();"><div id="shortscrollstart"></div><div id="subscriptionslist"></div><div id="shortscrollend"></div></div></div><div class="edfctext edtitle"><!--#echo var="FMMYACCOUNT"--></div><!--#if expr="<X-FC-USER PRIV CrtResume>"--><div class="edfctext"><a id="cresume" href="javascript:void(0);" onclick="GetAccountPrefs();"><!--#echo var="MYPROFILE"--></a></div><!--#endif--><!--#if expr="<X-FC-USER PRIV ChgPassword>"--><div class="edfctext"><a id="pwchange" href="javascript:void(0);" onclick="GetPW();"><!--#echo var="FMCHANGEPASSWORD"--></a></div><!--#endif--><div class="edfctext" style="border-bottom:none;"><a class="signoutlink" href="<X-FC-LOGIN><!--#if expr="$SV!=9"-->__<!--#endif-->Logout"><!--#echo var="FMLOGOUT"--></a></div><div id="userdata" style="display:<!--#if expr="$SYSCONTRIBUTOR=true"-->block<!--#else-->none<!--#endif-->;"></div></div><div id="logindataarrow"></div></div><div id="dashboardlink"><a href="/login/__www/setup"><img class="listicon" id="dashboardbtn" style="margin-top:7px;margin-left:2px;" src="/.templates/fmlibrary/graphics/blanksquare.png" width="16" height="16" alt="<!--#echo var="FMDASHBOARD"-->" title="<!--#echo var="FMDASHBOARD"-->"/></a></div><div class="edfctext prefslink"><a href="javascript:void(0);" onclick="OpenPrefs();" title="<!--#echo var="FMMYACCOUNT"-->"><img class="listicon" id="userprefs" src="/.templates/fmlibrary/graphics/blanksquare.png" width="16" height="16" alt=" <X-FC-USER NAME>"/><X-FC-USER NAME></a></div></div>
</div>