<X-FC-WHITESPACE [STRIP]><!--#rem startconfig --><!--#set var="FRESHPAGE" expr="<X-FC-ITEM DATA[Date] %#N>+120" --><!--#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"--><!--#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&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="$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 && $DIRTYPE=webpage"-->
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&leaves&formid=-210&modal&editpop&webmail'; 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 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 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-->
window.addEvent('domready', function(){<!--#if expr="$FCTIME<$FRESHPAGE || $OPENEDITOROPTIONS=true && $PAGEOWNER=true"-->
openAdv();<!--#endif-->
$('formeditor').addEvent('submit', function(e) {e.stop(),this.set('send',{onComplete: function(){parent.top.location.replace('<!--#echo var="PATHUP"--><X-FC-OBJNAME>');}}),updateStock(),this.send();});
<!--#if expr="$SITEOWNER=true"-->var setRead = new Request({url: '/login/__www/<!--#echo var="FMINBOX"-->/<!--#echo var="FMINVENTORY"-->/?Unread=-1&VKey=<X-FC-SESSION VKEY>', method:'get'}); setRead.send();
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; var NewLoc='<!--#echo var="PATHUP"-->'+$('thisfilename').value; 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"-->$('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'),$('linkunpublishtop').setStyle('display','block'), $('currentsubject').addClass('unpublished'), $('thisfilename').addClass('unpublished');<!--#endif-->
<!--#if expr="<X-FC-USER PRIV Administrator> && $TOPSYSTEMOBJ=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});}
function openAdv(){GetEndYear(yearuntil);GetDayList();getMonthList(); $('monthuntil').value=$('setmonthuntil').value;$('dayuntil').value=$('setdayuntil').value; $('customadvanced').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeIn,link:'chain'}),$('customadvanced').morph({'height':443}).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});}
function allowSave(){$('saveit').set('tween', {duration:400}).fade('1');}
function updateStock(){$('thestockdata').value=($('itemsinstock').value);$('leftinstocktxt').innerHTML=($('thestockdata').value);$('savestock').click();}
function openUnDate(){$('untildate').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeIn,link:'chain'}),$('untildate').morph({'height':30}).morph({'opacity':1});}
function closeUnDate(){$('untildate').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeOut,link:'chain'}), $('untildate').morph({'height':0}).morph({'opacity':0});}
function doRununtil(){var runChck = $('rununtilcheck'); if (runChck.checked) $('setrununtil').value=1,openUnDate(); else $('setrununtil').value=0,closeUnDate();}
function GetEndYear(yearuntil) {var e=$('yearuntil'); var theyearval=e.options[e.selectedIndex].value;$('setyearuntil').value=theyearval;if (isNaN($('setyearuntil').value)) $('setyearuntil').value=doYear;doYear=parseInt($('setyearuntil').value);$('setyearuntil').value=doYear;changeMonth();}
function getMonthList(){var monthsList=$('monthuntil');{var options=GetEndMonth();for(var i=0; i < options.length; i++)monthsList.options[i]=options[i];}}
function GetDayList(){var date=new Date();var thismonth=$('monthuntil').value;var thisyear=doYear;thismonth ++;if(thismonth==12){thismonth=0;thisyear ++;} date.setFullYear(thisyear,thismonth,1);date.setDate(0);var thisday=date.getDate(); var daysList=$('dayuntil');resetDays(daysList);for(var i=1;i<=thisday;i++)daysList.options[i-1]=new Option(i);}
function doMoptions(optxt,opval){var opcont=new Option();opcont.text=optxt;opcont.value=opval;return opcont;}
function resetDays(mdays){for(var i=0;i< mdays.options.length; i ++)mdays.options[i]=null;}
function changeMonth(){GetDayList();}
function GetEndMonth(monthuntil) {var e = $('monthuntil'); var themonthval = e.options[e.selectedIndex].value;$('setmonthuntil').value=themonthval;{opmonth=new Array();opmonth[opmonth.length]=doMoptions("<!--#echo var="FMJANU"-->",0);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMFEBR"-->",1);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMMARCH"-->",2);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMAPRIL"-->",3);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMMAY"-->",4);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMJUNE"-->",5);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMJULY"-->",6);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMAUGU"-->",7);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMSEPT"-->",8);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMOCTO"-->",9);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMNOVE"-->",10);opmonth[opmonth.length]=doMoptions("<!--#echo var="FMDESE"-->",11);}return opmonth;}
function GetEndDay(dayuntil) {var e = $('dayuntil'); var thedayval = e.options[e.selectedIndex].value;$('setdayuntil').value=thedayval;}
function showtoolstop(){$('edboxtop').set('morph',{duration:100,transition:Fx.Transitions.Expo.easeOut,link:'chain'}),$('edboxtop').morph({'width':160});}
thecurrentname=('<X-FC-OBJNAME>');
function bgsave(){$('exprodurl<X-FC-ITEM DATA[MessageID] NUMBER>').value='<!--#echo var="PATHUP"-->'+$('thisfilename').value; $('extitle<X-FC-ITEM DATA[MessageID] NUMBER>').value=$('currentsubject').value; $('savestock').click(); $('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);bgsave();}
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');}
<!--#if expr="$SHOPTYPE=1"-->function openCust(){$('btnoptionslink').setStyle('opacity', '1'), $('codeoptionslink').setStyle('opacity', '0.4'), $('custombuttons').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeIn,link:'chain'}), $('custombuttons').morph({'height':224}).morph({'opacity':1}), $('customcode').set('morph',{duration:150,transition:Fx.Transitions.Quad.easeIn,link:'chain'}), $('customcode').morph({'height':0}).morph({'opacity':0.3});}
function openCode(){$('btnoptionslink').setStyle('opacity', '0.4'), $('codeoptionslink').setStyle('opacity', '1'), $('customcode').set('morph',{duration:300,transition:Fx.Transitions.Quad.easeIn,link:'chain'}), $('customcode').morph({'height':224}).morph({'opacity':1}), $('custombuttons').set('morph',{duration:150,transition:Fx.Transitions.Quad.easeIn,link:'chain'}),$('custombuttons').morph({'height':0}).morph({'opacity':0.3});}
function doAdd1(){var doF1chk = $('addlabel1'); if (doF1chk.checked) $('added1').value=1,$('getfield1').set('tween', {duration:150}).fade('1'),$('optionbox2').set('tween', {duration:150}).fade('1'); else $('added1').value=0,$('getfield1').set('tween', {duration:150}).fade('0'),$('optionbox2').set('tween', {duration:150}).fade('0'),$('optionbox3').set('tween', {duration:150}).fade('0'),$('optionbox4').set('tween', {duration:150}).fade('0'),$('optionbox5').set('tween', {duration:150}).fade('0'),$('optionbox6').set('tween', {duration:150}).fade('0'),$('added2').value=0,$('addlabel2').checked=false, $('added3').value=0,$('addlabel3').checked=false, $('added4').value=0,$('addlabel4').checked=false, $('added5').value=0,$('addlabel5').checked = false, $('added6').value=0,$('addlabel6').checked = false;}
function doAdd2(){var doF2chk = $('addlabel2'); if (doF2chk.checked) $('added2').value=1,$('getfield2').set('tween', {duration:150}).fade('1'),$('optionbox3').set('tween', {duration:150}).fade('1'); else $('added2').value=0,$('getfield2').set('tween', {duration:150}).fade('0'),$('optionbox3').set('tween', {duration:150}).fade('0'),$('optionbox4').set('tween', {duration:150}).fade('0'),$('optionbox5').set('tween', {duration:150}).fade('0'),$('optionbox6').set('tween', {duration:150}).fade('0'),$('added3').value=0,$('addlabel3').checked=false, $('added4').value=0,$('addlabel4').checked=false, $('added5').value=0,$('addlabel5').checked = false, $('added6').value=0,$('addlabel6').checked = false;}
function doAdd3(){var doF3chk = $('addlabel3'); if (doF3chk.checked) $('added3').value=1,$('getfield3').set('tween', {duration:150}).fade('1'),$('optionbox4').set('tween', {duration:150}).fade('1'); else $('added3').value=0,$('getfield3').set('tween', {duration:150}).fade('0'),$('optionbox4').set('tween', {duration:150}).fade('0'),$('optionbox5').set('tween', {duration:150}).fade('0'),$('optionbox6').set('tween', {duration:150}).fade('0'),$('added4').value=0,$('addlabel4').checked=false, $('added5').value=0,$('addlabel5').checked = false, $('added6').value=0,$('addlabel6').checked = false;}
function doAdd4(){var doF4chk = $('addlabel4'); if (doF4chk.checked) $('added4').value=1,$('getfield4').set('tween', {duration:150}).fade('1'),$('optionbox5').set('tween', {duration:150}).fade('1'); else $('added4').value=0,$('getfield4').set('tween', {duration:150}).fade('0'),$('optionbox5').set('tween', {duration:150}).fade('0'),$('optionbox6').set('tween', {duration:150}).fade('0'),$('added5').value=0,$('addlabel5').checked = false, $('added6').value=0,$('addlabel6').checked = false;}
function doAdd5(){var doF5chk = $('addlabel5'); if (doF5chk.checked) $('added5').value=1,$('getfield5').set('tween', {duration:150}).fade('1'),$('optionbox6').set('tween', {duration:150}).fade('1'); else $('added5').value=0,$('getfield5').set('tween', {duration:150}).fade('0'),$('optionbox6').set('tween', {duration:150}).fade('0'),$('added6').value=0,$('addlabel6').checked = false;}
function doAdd6(){var doF6chk = $('addlabel6'); if (doF6chk.checked) $('added6').value=1,$('getfield6').set('tween', {duration:150}).fade('1'); else $('added6').value=0,$('getfield6').set('tween', {duration:150}).fade('0');}<!--#endif--><!--#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>&Clear=0" method="post" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input tabindex="-1" id="currentsubject" ondblclick="WhichSelector3();" onclick="WhichSelector();" 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"-->
disabled="disabled" style="opacity:0.4;"<!--#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><input id="thiscat" name="FieldID:8021=STRING" type="hidden" size="40" value="<X-FC-ITEM DATA[8021] STRING>"/><input id="changeconfsubmit" type="submit" class="imgbrowsernobtns" value=""/></form><form id="setconfproperties" action="<!--#echo var="LOCALPATHHERE"-->/__GetInfo/__FormSave?Clear=0&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] %m/%d/%y, %#I:%M %p><!--#else--><X-FC-ITEM DATA[Date] %d.%m.%Y, %H:%M><!--#endif--> [<X-FC-ITEM DATA[Size] SCALEDKb>]</span>
</div>
<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="$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>
<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="configshopbtns"><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?formid=2644&VKey=<X-FC-SESSION VKEY>&Clear=0" enctype="multipart/form-data" method="post" name="Save"><input type="hidden" name="charset" value="<X-FC-CHARSET>"/><div class="edfctext"><a id="customcontracting" style="font-weight:bold;display:none;" href="javascript:void(0);" onclick="closeAdv();"><!--#echo var="FMOPTIONS"--> ▲</a><a id="customexpanding" style="font-weight:bold;" href="javascript:void(0);" onclick="openAdv();"><!--#echo var="FMOPTIONS"--> ▼</a></div><div class="inlinebox" id="customadvanced" style="height:0px;overflow:hidden;opacity:0;"><input id="setmonthuntil" type="hidden" name="FieldID:1214=SHORT" value="<X-FC-FIELD 1214 DEFAULT=0 NUMBER>"/><input id="setdayuntil" type="hidden"
name="FieldID:1005=SHORT" value="<X-FC-FIELD 1005 DEFAULT=0 NUMBER>"/><input id="setyearuntil" type="hidden" name="FieldID:1006=SHORT" value="<X-FC-FIELD 1006 DEFAULT=0 NUMBER>"/><input id="setrununtil" type="hidden" name="FieldID:1009=SHORT" value="<X-FC-FIELD 1009 DEFAULT=0 NUMBER>"/><input id="added1" type="hidden" name="FieldID:1064=SHORT" value="<X-FC-FIELD 1064 DEFAULT=0 NUMBER>"/><input id="added2" type="hidden" name="FieldID:1074=SHORT" value="<X-FC-FIELD 1074 DEFAULT=0 NUMBER>"/><input id="added3" type="hidden" name="FieldID:1084=SHORT" value="<X-FC-FIELD 1084 DEFAULT=0 NUMBER>"/><input id="added4" type="hidden" name="FieldID:1094=SHORT"
value="<X-FC-FIELD 1094 DEFAULT=0 NUMBER>"/><input id="added5" type="hidden" name="FieldID:1104=SHORT" value="<X-FC-FIELD 1104 DEFAULT=0 NUMBER>"/><input id="added6" type="hidden" name="FieldID:1114=SHORT" value="<X-FC-FIELD 1114 DEFAULT=0 NUMBER>"/>
<div id="shoppageconfigs">
<div class="edfctext" style="float:left;"><div id="itemdesc" class="prodcell prodfirst" style="width:167px;"><div class="prodtxt"><!--#echo var="FMDESCRIPTION"--></div><input class="edfield edtxtbox" id="itemdescription" name="FieldID:1001=STRING" type="text" tabindex="28" onkeyup="allowSave();" value="<X-FC-FIELD 1001 STRING>" style="width:163px;"/></div></div><div class="edfctext" style="float:left;"><div id="itemcost" class="prodcell prodlast" style="width:106px;padding-left:10px;"><div class="prodtxt"><!--#echo
var="SHOPPRICE"--> <!--#echo var="SHOPCURRENCY"--></div>
<input class="edfield edtxtbox" id="itempricetag" placeholder="0,00" name="FieldID:1004=STRING" type="text" tabindex="31" onkeyup="allowSave();" value="<X-FC-FIELD 1004 STRING>" style="width:102px;position:relative;z-index:0;"/><!--#if expr="$USELOCALVAT=true"--><div class="edfctext" style="width:<!--#if
expr="$USELOCALSECONDTAX=true"-->50<!--#else-->35<!--#endif-->px;overflow:hidden;white-space:nowrap;top:-3px;right:2px;position:absolute;z-index:1;"><div class="prodtxt"><!--#echo var="FMVAT"--> %</div><div id="itemtax1" class="prodcell prodlast" style="width:<!--#if expr="$USELOCALSECONDTAX=true"-->25<!--#else-->35<!--#endif-->px;float:left;"><input class="edfield edtxtbox" placeholder="" name="FieldID:1681=STRING" type="text" tabindex="32" onkeyup="allowSave();" value="<X-FC-FIELD 1681 STRING>" style="width:<!--#if expr="$USELOCALSECONDTAX=true"-->23<!--#else-->33<!--#endif-->px;"/></div><!--#if
expr="$USELOCALSECONDTAX=true"--><div id="itemtax2" class="prodcell prodlast" style="width:25px;float:left;"><input class="edfield edtxtbox" placeholder="" name="FieldID:1690=STRING" type="text" tabindex="33" onkeyup="allowSave();" value="<X-FC-FIELD 1690 STRING>" style="width:23px;"/></div><!--#endif--><div class="clear"></div></div><!--#endif--></div></div>
<div class="clear"></div>
<div class="edfctext" style="float:left;"><div id="itemend" class="prodcell prodfirst" style="width:81px;"><div class="prodtxt" style="padding-top:10px;"> </div><label><input id="rununtilcheck" type="checkbox" onclick="doRununtil();allowSave();" tabindex="34" value="<X-FC-FIELD 1009 NUMBER>"<!--#if expr="<X-FC-FIELD 1009 NUMBER> = 1"--> checked="checked"<!--#endif-->/> <span id="rununtillabel"><!--#echo var="SHOPRUNUNTIL"--></span></label></div></div><div class="edfctext" style="float:left;"><div id="iteminventory"
class="prodcell prodlast" style="width:76px;padding-left:10px;"><div class="prodtxt"><!--#echo var="NUMLEFTINSTOCK"--></div><input class="edfield edtxtbox" id="itemsinstock" name="FieldID:1002=STRING" type="text" tabindex="35" onkeyup="allowSave();" placeholder="000" value="<X-FC-FIELD 1002 STRING>" style="width:72px;"/></div></div><div class="edfctext" style="float:left;"><div class="prodcell prodlast" style="width:106px;padding-left:10px;"><div class="prodtxt"><!--#echo var="SHOPPRODCODE"--></div><div style="font-size:10px;color:#e90303;opacity:0.5;cursor:pointer;bottom:13px;right:5px;position:absolute;z-index:1;" onclick="$('itemprodcode').value='<X-FC-ITEM DATA[MessageID] NUMBER>';">⬅</div><input class="edfield edtxtbox" id="itemprodcode" style="position:relative;z-index:0;width:102px;" placeholder="<X-FC-ITEM DATA[MessageID] NUMBER>" name="FieldID:8021=STRING" type="text" tabindex="36" onkeyup="allowSave();" value="<X-FC-FIELD 8021 STRING>"/></div></div>
<div class="clear"></div>
<div class="edfctext" style="float:left;"><div id="untildate" class="prodcell prodfirst" style="height:<!--#if expr="<X-FC-FIELD 1009 NUMBER> = 1"-->30<!--#else-->0<!--#endif-->px;style="width:284px;"><select tabindex="41" class="edfield" id="monthuntil" onchange="allowSave();GetEndMonth();changeMonth();" style="width:108px;vertical-align:middle;"><option selected="selected" value="<X-FC-FIELD 1214 NUMBER>"><!--#if expr="<X-FC-FIELD 1214 NUMBER>==0"--><!--#echo var="FMJANU"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==1"--><!--#echo var="FMFEBR"--><!--#elif
expr="<X-FC-FIELD 1214 NUMBER>==2"--><!--#echo var="FMMARCH"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==3"--><!--#echo var="FMAPRIL"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==4"--><!--#echo var="FMMAY"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==5"--><!--#echo var="FMJUNE"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==6"--><!--#echo var="FMJULY"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==7"--><!--#echo var="FMAUGU"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==8"--><!--#echo var="FMSEPT"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==9"--><!--#echo var="FMOCTO"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==10"--><!--#echo var="FMNOVE"--><!--#elif expr="<X-FC-FIELD 1214 NUMBER>==11"--><!--#echo var="FMDESE"--><!--#endif--></option></select> <select tabindex="42" class="edfield" id="dayuntil" onchange="allowSave();GetEndDay();" style="width:72px;margin-left:10px;vertical-align:middle;"><option selected="selected" value="<X-FC-FIELD 1005 NUMBER>"><!--#if expr="<X-FC-FIELD 1005
NUMBER>==0"-->01<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==1"-->02<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==2"-->03<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==3"-->04<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==4"-->05<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==5"-->06<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==6"-->07<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==7"-->08<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==8"-->09<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==9"-->10<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==10"-->11<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==11"-->12<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==12"-->13<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==13"-->14<!--#elif expr="<X-FC-FIELD
1005 NUMBER>==14"-->15<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==15"-->16<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==16"-->17<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==17"-->18<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==18"-->19<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==19"-->20<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==20"-->21<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==21"-->22<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==22"-->23<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==23"-->24<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==24"-->25<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==25"-->26<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==26"-->27<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==27"-->28<!--#elif
expr="<X-FC-FIELD 1005 NUMBER>==28"-->29<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==29"-->30<!--#elif expr="<X-FC-FIELD 1005 NUMBER>==30"-->31<!--#endif--></option></select> <select tabindex="43" class="edfield" id="yearuntil" onchange="allowSave();GetEndYear();" style="width:72px;margin-left:10px;vertical-align:middle;"><option selected="selected" value="<X-FC-FIELD 1006 NUMBER>"><!--#if expr="<X-FC-FIELD 1006 NUMBER>==0"-->2016<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==1"-->2017<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==2"-->2018<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==3"-->2019<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==4"-->2020<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==5"-->2021<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==6"-->2022<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==7"-->2023<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==8"-->2024<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==9"-->2025<!--#elif expr="<X-FC-FIELD 1006 NUMBER>==10"-->2026<!--#endif--></option><option
value="0">2016</option><option value="1">2017</option><option value="2">2018</option><option value="3">2019</option><option value="4">2020</option><option value="5">2021</option><option value="6">2022</option><option value="7">2023</option><option value="8">2024</option><option value="9">2025</option><option value="10">2026</option></select></div></div><div class="clear"></div>
<div id="buttonoptions" style="height:250px;">
<div class="edfctext"><!--#if expr="$SHOPTYPE=1"--><a id="btnoptionslink" href="javascript:void(0);" onclick="openCust();" style="font-weight:bold;<!--#if expr="$BUTTONCODEHTML<4"-->opacity:1;<!--#else-->opacity:0.4;<!--#endif-->"><!--#echo var="FMOPTIONS"--></a> • <a id="codeoptionslink" href="javascript:void(0);" onclick="openCode();" style="font-weight:bold;<!--#if expr="$BUTTONCODEHTML<4"-->opacity:0.4;<!--#else-->opacity:1;<!--#endif-->"><!--#echo var="FMBUTTONCODE"--></a><!--#else--><!--#echo var="FMBUTTONCODE"--><!--#endif--></div><!--#if expr="$SHOPTYPE=1"--><div id="custombuttons" style="overflow:hidden;<!--#if expr="$BUTTONCODEHTML<4"-->height:224px;opacity:1;<!--#else-->height:0px;opacity:0.3;<!--#endif-->">
<div class="edfctext" id="optionbox1"><div class="prodcell prodfirst" style="width:91px;float:left;padding-top:5px;"><label><input id="addlabel1" type="checkbox" onclick="doAdd1();allowSave();" tabindex="34" value="<X-FC-FIELD 1064 NUMBER>"<!--#if expr="<X-FC-FIELD 1064 NUMBER> = 1"--> checked="checked"<!--#endif-->/> <!--#echo var="FMFIELD"--> 1</label></div><div class="prodcell prodlast" id="getfield1" style="width:190px;float:left;visibility:<!--#if expr="<X-FC-FIELD 1064 NUMBER> = 1"-->visible<!--#else-->hidden<!--#endif-->;"><input class="edfield edtxtbox" id="addoption1" name="FieldID:1065=STRING" type="text" tabindex="-1" onkeyup="allowSave();" placeholder="<!--#echo var="FMSUBJECT"-->" value="<X-FC-FIELD 1065 STRING>" style="width:188px;margin-top:0px;margin-bottom:0px;"/></div><div class="clear"></div></div>
<div class="edfctext" id="optionbox2" style="visibility:<!--#if expr="<X-FC-FIELD 1064 NUMBER> = 1"-->visible;<!--#else-->hidden<!--#endif-->;"><div class="prodcell prodfirst" style="width:91px;float:left;padding-top:5px;"><label><input id="addlabel2" type="checkbox" onclick="doAdd2();allowSave();" tabindex="34" value="<X-FC-FIELD 1074 NUMBER>"<!--#if expr="<X-FC-FIELD 1074 NUMBER> = 1"--> checked="checked"<!--#endif-->/> <!--#echo var="FMFIELD"--> 2</label></div><div class="prodcell prodlast" id="getfield2" style="width:190px;float:left;visibility:<!--#if expr="<X-FC-FIELD 1074 NUMBER> = 1"-->visible<!--#else-->hidden<!--#endif-->;"><input class="edfield edtxtbox" id="addoption2" name="FieldID:1075=STRING" type="text" tabindex="-1" onkeyup="allowSave();" placeholder="<!--#echo var="FMSUBJECT"-->" value="<X-FC-FIELD 1075 STRING>" style="width:188px;margin-top:0px;margin-bottom:0px;"/></div><div class="clear"></div></div>
<div class="edfctext" id="optionbox3" style="visibility:<!--#if expr="<X-FC-FIELD 1064 NUMBER> = 1 && <X-FC-FIELD 1074 NUMBER> = 1"-->visible;<!--#else-->hidden<!--#endif-->;"><div class="prodcell prodfirst" style="width:91px;float:left;padding-top:5px;"><label><input id="addlabel3" type="checkbox" onclick="doAdd3();allowSave();" tabindex="34" value="<X-FC-FIELD 1084 NUMBER>"<!--#if expr="<X-FC-FIELD 1084 NUMBER> = 1"--> checked="checked"<!--#endif-->/> <!--#echo var="FMFIELD"--> 3</label></div><div class="prodcell prodlast" id="getfield3"
style="width:190px;float:left;visibility:<!--#if expr="<X-FC-FIELD 1084 NUMBER> = 1"-->visible<!--#else-->hidden<!--#endif-->;"><input class="edfield edtxtbox" id="addoption3" name="FieldID:1085=STRING" type="text" tabindex="-1" onkeyup="allowSave();" placeholder="<!--#echo var="FMSUBJECT"-->" value="<X-FC-FIELD 1085 STRING>" style="width:188px;margin-top:0px;margin-bottom:0px;"/></div><div class="clear"></div></div>
<div class="edfctext" id="optionbox4" style="visibility:<!--#if expr="<X-FC-FIELD 1064 NUMBER> = 1 && <X-FC-FIELD 1074 NUMBER> = 1&& <X-FC-FIELD 1084 NUMBER> = 1"-->visible;<!--#else-->hidden<!--#endif-->;"><div class="prodcell prodfirst" style="width:91px;float:left;padding-top:5px;"><label><input id="addlabel4" type="checkbox" onclick="doAdd4();allowSave();" tabindex="34" value="<X-FC-FIELD 1094 NUMBER>"<!--#if expr="<X-FC-FIELD 1094 NUMBER> = 1"--> checked="checked"<!--#endif-->/> <!--#echo var="FMFIELD"--> 4</label></div><div class="prodcell prodlast"
id="getfield4" style="width:190px;float:left;visibility:<!--#if expr="<X-FC-FIELD 1094 NUMBER> = 1"-->visible<!--#else-->hidden<!--#endif-->;"><input class="edfield edtxtbox" id="addoption4" name="FieldID:1095=STRING" type="text" tabindex="-1" onkeyup="allowSave();" placeholder="<!--#echo var="FMSUBJECT"-->" value="<X-FC-FIELD 1095 STRING>" style="width:188px;margin-top:0px;margin-bottom:0px;"/></div><div class="clear"></div></div>
<div class="edfctext" id="optionbox5" style="visibility:<!--#if expr="<X-FC-FIELD 1064 NUMBER> = 1 && <X-FC-FIELD 1074 NUMBER> = 1 && <X-FC-FIELD 1084 NUMBER> = 1 && <X-FC-FIELD 1094 NUMBER> = 1"-->visible;<!--#else-->hidden<!--#endif-->;"><div class="prodcell prodfirst" style="width:91px;float:left;padding-top:5px;"><label><input id="addlabel5" type="checkbox" onclick="doAdd5();allowSave();" tabindex="34" value="<X-FC-FIELD 1104 NUMBER>"<!--#if expr="<X-FC-FIELD 1104 NUMBER> = 1"--> checked="checked"<!--#endif-->/> <!--#echo var="FMFIELD"--> 5</label></div><div class="prodcell prodlast" id="getfield5" style="width:190px;float:left;visibility:<!--#if expr="<X-FC-FIELD 1104 NUMBER> = 1"-->visible<!--#else-->hidden<!--#endif-->;"><input class="edfield edtxtbox" id="addoption5" name="FieldID:1105=STRING" type="text" tabindex="-1" onkeyup="allowSave();" placeholder="<!--#echo var="FMSUBJECT"-->" value="<X-FC-FIELD 1105 STRING>"
style="width:188px;margin-top:0px;margin-bottom:0px;"/></div><div class="clear"></div></div>
<div class="edfctext" id="optionbox6" style="visibility:<!--#if expr="<X-FC-FIELD 1064 NUMBER> = 1 && <X-FC-FIELD 1074 NUMBER> = 1 && <X-FC-FIELD 1084 NUMBER> = 1 && <X-FC-FIELD 1094 NUMBER> = 1 && <X-FC-FIELD 1104 NUMBER> = 1"-->visible;<!--#else-->hidden<!--#endif-->;"><div class="prodcell prodfirst" style="width:91px;float:left;padding-top:5px;"><label><input id="addlabel6" type="checkbox" onclick="doAdd6();allowSave();" tabindex="34" value="<X-FC-FIELD 1114 NUMBER>"<!--#if expr="<X-FC-FIELD 1114 NUMBER> = 1"--> checked="checked"<!--#endif-->/> <!--#echo var="FMFIELD"--> 6</label></div><div class="prodcell prodlast" id="getfield6" style="width:190px;float:left;visibility:<!--#if expr="<X-FC-FIELD 1114 NUMBER> = 1"-->visible<!--#else-->hidden<!--#endif-->;"><input class="edfield edtxtbox" id="addoption6" name="FieldID:1115=STRING" type="text" tabindex="-1" onkeyup="allowSave();" placeholder="<!--#echo var="FMSUBJECT"-->" value="<X-FC-FIELD 1115 STRING>"
style="width:188px;margin-top:0px;margin-bottom:0px;"/></div><div class="clear"></div></div>
</div><!--#endif--><div id="customcode" style="<!--#if expr="$SHOPTYPE=1 &&
$BUTTONCODEHTML<4"-->height:0px;opacity:0.3;<!--#else-->height:224px;opacity:1;<!--#endif-->overflow:hidden;"><div class="edfctext"><div id="itemcodesnippet" class="prodcell prodfirst" style="width:284px;"><textarea name="FieldID:1008=LITERALSTRING" type="text" class="edfield edtxtbox" id="itembtncode"
style="width:270px;height:194px;text-indent:0px;padding-left:5px;padding-right:5px;" tabindex="-1" placeholder="HTML" onkeyup="allowSave();"/><X-FC-FIELD 1008 LITERALSTRING></textarea></div></div><div class="clear"></div></div></div>
</div>
<input type="submit" tabindex="5" name="saveit" id="saveit" value="<!--#echo var="FMSAVE"-->" class="edformbtn primary" style="visibility:hidden;opacity:0;margin-top:5px;"/></div></form></div>
<!--#if expr="$PAGEOWNER=true"--><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="THISPAGE"-->/<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"-->();"/> <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"-->();"/> <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"-->">▲</a><a id="shortdown" href="javascript:void(0);" onclick="shortScrollDown();" onkeypress="shortScrollDown();" title="<!--#echo var="FMNEXTBTN"--> <!--#echo var="FMBOOKMARKS"-->">▼</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>
| ||