<!--#if expr="<X-FC-URL-PARAMETER fmskin exists>=1 || <X-FC-URL-PARAMETER fmtemplate exists>=1 || <X-FC-URL-PARAMETER fmsiteskin exists>=1"--><!--#rem startInc --><!--#include virtual="/.templates/fmlibrary/terms.inc" --><!--#include virtual="//Setup?formid=2658" --><!--#include virtual="/.templates/firstmagicplugin/FMServerSettings?formid=2655" --><!--#if expr="$CUSTOMLANG=true"--><!--#include virtual="$FMLANGFILE" --><!--#endif--><!--#rem endInc --><!--#endif--><!--#if expr="<X-FC-URL-PARAMETER fmtemplate exists>=1"--><!--#set var="THISURL1" expr="@indexof ('$HTTP_REFERER', '/__')"--><!--#set var="THISURL2" expr="@substr('$HTTP_REFERER',$THISURL1)"--><!--#set var="THISURL0" value="/Login$THISURL2"--><!--#if expr="<X-FC-URL-PARAMETER newdoc exists>=1 ||
<X-FC-URL-PARAMETER newfolder exists>=1 && <X-FC-URL-PARAMETER iscontainer exists>=0"--><!--#set var="THISURL3" expr="@indexof ('$QUERY_STRING', '@')+1"--><!--#set var="THISURL4" expr="@substr('$QUERY_STRING',$THISURL3)"--><!--#set var="THISURL" expr="@split($THISURL0,'$THISURL4')"--><!--#if expr="<X-FC-URL-PARAMETER fromsign exists>=1"--><!--#set var="THISURL" expr="@split($THISURL,'?')"--><!--#endif--><!--#else--><!--#set var="THISURL2" expr="@split($THISURL2,'?')"--><!--#set var="THISURL" value="/Login$THISURL2"--><!--#endif--><!--#rem startInc --><!--#include virtual="/.templates/plainheader.inc"--><!--#if expr="<X-FC-URL-PARAMETER prodir exists>=1"--><!--#set var="EXISTQUERY" value="$FMROOTMENU"--><!--#include
virtual="$THISURL?templates=editor&both&exist"--><!--#if expr="$EXISTOBJECTS=false"--><!--#set var="SUBMENULINK" value="false"--><!--#else--><!--#set var="SUBMENULINK" value="true"--><!--#endif--><!--#set var="EXISTQUERY" value="$FMROOTSIDEBAR"--><!--#include virtual="$THISURL?templates=editor&both&exist"--><!--#if expr="$EXISTOBJECTS=false"--><!--#set var="SUBSIDEBARLINK" value="false"--><!--#else--><!--#set var="SUBSIDEBARLINK" value="true"--><!--#endif--><!--#set var="EXISTQUERY"
value="$FMROOTFOOTER"--><!--#include virtual="$THISURL?templates=editor&both&exist"--><!--#if expr="$EXISTOBJECTS=false"--><!--#set var="SUBFOOTERLINK" value="false"--><!--#else--><!--#set var="SUBFOOTERLINK" value="true"--><!--#endif--><!--#endif--><!--#rem endInc --><!--#if expr="<X-FC-URL-PARAMETER newheader exists>=1"--><script src="<!--#echo var="THISURL"-->__GetInfo?templates=editor&filedata&jscript"></script><!--#endif--><!--#if expr="<X-FC-URL-PARAMETER newproject exists>=1"-->
<form id="setheader" action="" method="post" enctype="multipart/form-data"><input type="hidden" name="FieldID:1016=SHORT" value="0"/><input type="hidden" name="CharSet" value="<X-FC-LIST-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input type="hidden" name="FieldID:1320=SHORT" value="0"/><input type="hidden" name="FieldID:1322=SHORT" value="0"/><input type="hidden" name="FieldID:1309=SHORT" value="0"/><input type="hidden" name="FieldID:8067=SHORT" value="0"/><input type="hidden" name="FieldID:8066=SHORT" value="0"/><input type="hidden" name="FieldID:8057=SHORT" value="0"/><input type="hidden" name="FieldID:1014=SHORT" value="0"/><input type="hidden" name="FieldID:1321=SHORT" value="0"/><input type="hidden" name="FieldID:1011=SHORT" value="0"/><input type="hidden" name="FieldID:1013=SHORT" value="0"/><input type="hidden" name="FieldID:1015=SHORT" value="0"/><input type="hidden" name="FieldID:1031=SHORT" value="0"/><input type="hidden"
name="FieldID:1042=SHORT" value="-1"/><input name="FieldID:8022=STRING" type="hidden" size="40" value=""/><input type="hidden" name="FieldID:1306=SHORT" value="92"/><input type="hidden" name="FieldID:1307=LONG" value="0"/><input type="hidden" id="theheadericon" name="FieldID:1319=SHORT" value="25217"/><input type="hidden" name="FieldID:1312=SHORT" id="theheaderstatus" value="1"/><input name="FieldID:8021=STRING" type="hidden" id="theheaderdoctype" size="40" value="sticky"/><input id="theheadername" name="FieldID:1017=STRING" type="hidden" size="40" maxlength="63" value="<!--#echo var="DEMOHEADER"-->"/><input id="theheadertitle" name="FieldID:1023=STRING" type="hidden" size="40" maxlength="40" value=""/><input type="submit" id="submitheader" class="imgbrowsernobtns" value="Go"/></form>
<form name="clonepopulate" id="clonepopulate" method="post" action="" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[CharSet]>"/><input type="hidden" name="FieldID:1001=LONG" value="273"/><input type="hidden" id="clonepath" name="FieldID:1002=STRING" value=""/><input type="hidden" name="To" value="<!--#echo var="DEMOHEADER"-->;auto.png;<!--#echo var="DEMOFILE"-->"/><input id="gosubmitclone" type="submit" value="submit" class="imgbrowsernobtns"/></form><!--#if expr="$SIDEBARMODE=true"-->
<form name="clonepopulate2" id="clonepopulate2" method="post" action="" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[CharSet]>"/><input type="hidden" name="FieldID:1001=LONG" value="273"/><input type="hidden" id="clonepath2" name="FieldID:1002=STRING" value=""/><input type="hidden" name="To" value="colophon"/><input id="gosubmitclone2" type="submit" value="submit" class="imgbrowsernobtns"/></form><!--#endif-->
<form name="clonepopulate3" id="clonepopulate3" method="post" action="" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[CharSet]>"/><input type="hidden" name="FieldID:1001=LONG" value="273"/><input type="hidden" id="clonepath3" name="FieldID:1002=STRING" value=""/><input type="hidden" name="To" value="<!--#echo var="DEMOFILE"-->1;<!--#echo var="DEMOFILE"-->2"/><input id="gosubmitclone3" type="submit" value="submit" class="imgbrowsernobtns"/></form>
<form id="setblog" action="" method="post" enctype="multipart/form-data"><input type="hidden" name="FieldID:1016=SHORT" value="0"/><input type="hidden" name="CharSet" value="<X-FC-LIST-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input type="hidden" name="FieldID:1320=SHORT" value="0"/><input type="hidden" name="FieldID:1322=SHORT" value="0"/><input type="hidden" name="FieldID:1309=SHORT" value="0"/><input type="hidden" name="FieldID:8067=SHORT" value="0"/><input type="hidden" name="FieldID:8066=SHORT" value="0"/><input type="hidden" name="FieldID:8057=SHORT" value="0"/><input type="hidden" name="FieldID:1014=SHORT" value="0"/><input type="hidden" name="FieldID:1321=SHORT" value="0"/><input type="hidden" name="FieldID:1011=SHORT" value="0"/><input type="hidden" name="FieldID:1013=SHORT" value="0"/><input type="hidden" name="FieldID:1015=SHORT" value="0"/><input type="hidden" name="FieldID:1031=SHORT" value="0"/><input type="hidden"
name="FieldID:1042=SHORT" value="-1"/><input name="FieldID:8022=STRING" type="hidden" size="40" value=""/><input type="hidden" name="FieldID:1306=SHORT" value="92"/><input type="hidden" name="FieldID:1307=LONG" value="0"/><input type="hidden" name="FieldID:1319=SHORT" value="25217"/><input type="hidden" name="FieldID:1312=SHORT" value="2"/><input name="FieldID:8021=STRING" type="hidden" size="40" value="<!--#echo var="DEMOBLOG"-->"/><input name="FieldID:1017=STRING" type="hidden" size="40" maxlength="63" value="<!--#echo var="DEMOBLOG"-->"/><input name="FieldID:1023=STRING" type="hidden" size="40" maxlength="40" value="<!--#echo var="DEMOBLOG"-->"/><input type="submit" id="submitsetblog" class="imgbrowsernobtns" value="Go"/></form>
<form name="clonepopulate4" id="clonepopulate4" method="post" action="" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[CharSet]>"/><input type="hidden" name="FieldID:1001=LONG" value="273"/><input type="hidden" id="clonepath4" name="FieldID:1002=STRING" value=""/><input type="hidden" name="To" value="<!--#echo var="DEMOHEADER"-->;<!--#echo var="DEMOFILE"-->"/><input id="gosubmitclone4" type="submit" value="submit" class="imgbrowsernobtns"/></form>
<form id="setgallery" action="" method="post" enctype="multipart/form-data"><input type="hidden" name="FieldID:1016=SHORT" value="0"/><input type="hidden" name="CharSet" value="<X-FC-LIST-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input type="hidden" name="FieldID:1320=SHORT" value="0"/><input type="hidden" name="FieldID:1322=SHORT" value="0"/><input type="hidden" name="FieldID:1309=SHORT" value="0"/><input type="hidden" name="FieldID:8067=SHORT" value="0"/><input type="hidden"
name="FieldID:8066=SHORT" value="0"/><input type="hidden" name="FieldID:8057=SHORT" value="0"/><input type="hidden" name="FieldID:1014=SHORT" value="0"/><input type="hidden" name="FieldID:1321=SHORT" value="0"/><input type="hidden" name="FieldID:1011=SHORT" value="0"/><input type="hidden" name="FieldID:1013=SHORT" value="0"/><input type="hidden" name="FieldID:1015=SHORT" value="0"/><input type="hidden" name="FieldID:1031=SHORT" value="0"/><input type="hidden" name="FieldID:1042=SHORT" value="-1"/><input name="FieldID:8022=STRING" type="hidden" size="40" value=""/><input type="hidden" name="FieldID:1306=SHORT"
value="92"/><input type="hidden" name="FieldID:1307=LONG" value="0"/><input type="hidden" name="FieldID:1319=SHORT" value="25203"/><input type="hidden" name="FieldID:1312=SHORT" value="2"/><input name="FieldID:8021=STRING" type="hidden" size="40" value="<!--#echo var="DEMOGALLERY"-->"/><input name="FieldID:1017=STRING" type="hidden" size="40" maxlength="63" value="<!--#echo var="DEMOGALLERY"-->"/><input name="FieldID:1023=STRING" type="hidden" size="40" maxlength="40" value="<!--#echo var="DEMOGALLERY"-->"/><input type="submit" id="submitsetgallery" class="imgbrowsernobtns" value="Go"/></form>
<form name="clonepopulate5" id="clonepopulate5" method="post" action="" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[CharSet]>"/><input type="hidden" name="FieldID:1001=LONG" value="273"/><input type="hidden" id="clonepath5" name="FieldID:1002=STRING" value=""/><input type="hidden" name="To" value="<!--#echo var="DEMOHEADER"-->;<!--#echo var="DEMOFILE"-->1.jpg;<!--#echo var="DEMOFILE"-->2.jpg;<!--#echo var="DEMOFILE"-->3.jpg"/><input id="gosubmitclone5" type="submit" value="submit" class="imgbrowsernobtns"/></form>
<form id="setdropdown" action="" method="post" enctype="multipart/form-data"><input type="hidden" name="FieldID:1016=SHORT" value="0"/><input type="hidden" name="CharSet" value="<X-FC-LIST-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input type="hidden" name="FieldID:1320=SHORT" value="0"/><input type="hidden" name="FieldID:1322=SHORT" value="0"/><input type="hidden" name="FieldID:1309=SHORT" value="0"/><input type="hidden" name="FieldID:8067=SHORT" value="0"/><input type="hidden"
name="FieldID:8066=SHORT" value="0"/><input type="hidden" name="FieldID:8057=SHORT" value="0"/><input type="hidden" name="FieldID:1014=SHORT" value="0"/><input type="hidden" name="FieldID:1321=SHORT" value="0"/><input type="hidden" name="FieldID:1011=SHORT" value="0"/><input type="hidden" name="FieldID:1013=SHORT" value="0"/><input type="hidden" name="FieldID:1015=SHORT" value="0"/><input type="hidden" name="FieldID:1031=SHORT" value="0"/><input type="hidden" name="FieldID:1042=SHORT" value="-1"/><input name="FieldID:8022=STRING" type="hidden" size="40" value=""/><input type="hidden" name="FieldID:1306=SHORT"
value="92"/><input type="hidden" name="FieldID:1307=LONG" value="0"/><input type="hidden" name="FieldID:1319=SHORT" value="25202"/><input type="hidden" name="FieldID:1312=SHORT" value="2"/><input name="FieldID:8021=STRING" type="hidden" size="40" value="listing"/><input name="FieldID:1017=STRING" type="hidden" size="40" maxlength="63" value="<!--#echo var="DEMODROPDOWN"-->"/><input name="FieldID:1023=STRING" type="hidden" size="40" maxlength="40" value="<!--#echo var="DEMODROPDOWN"-->"/><input type="submit" id="submitsetdropdown" class="imgbrowsernobtns" value="Go"/></form>
<form name="clonepopulate6" id="clonepopulate6" method="post" action="" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[CharSet]>"/><input type="hidden" name="FieldID:1001=LONG" value="273"/><input type="hidden" id="clonepath6" name="FieldID:1002=STRING" value=""/><input type="hidden" name="To" value="<!--#echo var="DEMOFILE"-->"/><input id="gosubmitclone6" type="submit" value="submit" class="imgbrowsernobtns"/></form><!--#endif-->
<!--#if expr="<X-FC-URL-PARAMETER newfolder exists>=1"--><form id="formeditor" action="" enctype="multipart/form-data" method="post" name="Save"><input type="hidden" name="charset" value="<X-FC-CHARSET>"/><input id="resumesubject" name="Subject" type="hidden" size="40" value=""/><input type="hidden" name="FieldID:1999=SHORT" value="0"/><input type="submit" tabindex="-1" name="Send" id="senditres" value="<!--#echo var="FMSAVE"-->"
class="imgbrowsernobtns"/></form><!--#endif-->
<script>
function allowSave(){$('sendit').set('tween', {duration:400}).fade('1');}
filename=''; therealname='';<!--#if expr="<X-FC-URL-PARAMETER newproject exists>=1"-->
function populate(){$('theheadertitle').value=$('thetitle').value;$('setheader').action='<!--#echo var="THISURL"-->'+(filename)+'/<!--#echo var="DEMOHEADER"-->/__GetInfo/__FormSave?Clear=0';
$('clonepopulate3').action=('<X-FC-OBJURL SLASH>'+(therealname)+'/<!--#echo var="FMROOTFOOTER"-->/FileOp?VKey=<X-FC-SESSION VKEY>&templates=editor&clone'); $('clonepath3').value='<!--#echo var="THISURL"-->'+filename+'/<!--#echo var="FMROOTFOOTER"-->/';
$('setblog').action='<!--#echo var="THISURL"-->'+(filename)+'/<!--#echo var="FMROOTMENU"-->/<!--#echo var="DEMOBLOG"-->/__GetInfo/__FormSave?Clear=0'; $('clonepopulate4').action=('<X-FC-OBJURL SLASH>'+(therealname)+'/<!--#echo var="FMROOTMENU"-->/<!--#echo var="DEMOBLOG"-->/FileOp?VKey=<X-FC-SESSION VKEY>&templates=editor&clone'); $('clonepath4').value='<!--#echo var="THISURL"-->'+filename+'/<!--#echo var="FMROOTMENU"-->/<!--#echo var="DEMOBLOG"-->/';
$('setgallery').action='<!--#echo var="THISURL"-->'+(filename)+'/<!--#echo var="FMROOTMENU"-->/<!--#echo var="DEMOGALLERY"-->/__GetInfo/__FormSave?Clear=0'; $('clonepopulate5').action=('<X-FC-OBJURL SLASH>'+(therealname)+'/<!--#echo var="FMROOTMENU"-->/<!--#echo var="DEMOGALLERY"-->/FileOp?VKey=<X-FC-SESSION VKEY>&templates=editor&clone'); $('clonepath5').value='<!--#echo var="THISURL"-->'+filename+'/<!--#echo var="FMROOTMENU"-->/<!--#echo var="DEMOGALLERY"-->/';
$('setdropdown').action='<!--#echo var="THISURL"-->'+(filename)+'/<!--#echo var="FMROOTMENU"-->/<!--#echo var="DEMODROPDOWN"-->/__GetInfo/__FormSave?Clear=0'; $('clonepopulate6').action=('<X-FC-OBJURL SLASH>'+(therealname)+'/<!--#echo var="FMROOTMENU"-->/<!--#echo var="DEMODROPDOWN"-->/FileOp?VKey=<X-FC-SESSION VKEY>&templates=editor&clone'); $('clonepath6').value='<!--#echo var="THISURL"-->'+filename+'/<!--#echo var="FMROOTMENU"-->/<!--#echo var="DEMODROPDOWN"-->/';
var makeThisMenu = new Request({url: '<!--#echo var="THISURL"-->'+(filename)+'/Create?What=Conference&Name=<!--#echo var="FMROOTMENUTITLE"-->&Icon=25515&VKey=<X-FC-SESSION VKEY>', method:'get',onComplete: function(){var makeThisBlog = new Request({url: '<!--#echo var="THISURL"-->'+(filename)+'/<!--#echo var="FMROOTMENU"-->/Create?What=Conference&Name=<!--#echo var="DEMOBLOG"-->&Icon=25206&VKey=<X-FC-SESSION VKEY>', method:'get',onComplete: function(){$('submitsetblog').click();$('gosubmitclone4').click(); var makeThisGallery = new Request({url: '<!--#echo var="THISURL"-->'+(filename)+'/<!--#echo var="FMROOTMENU"-->/Create?What=Conference&Name=<!--#echo var="DEMOGALLERY"-->&Icon=25203&VKey=<X-FC-SESSION VKEY>', method:'get',onComplete: function(){$('submitsetgallery').click();$('gosubmitclone5').click(); var makeThisFoot = new Request({url: '<!--#echo var="THISURL"-->'+(filename)+'/Create?What=Conference&Name=<!--#echo var="FMROOTFOOTERTITLE"-->&Icon=25515&VKey=<X-FC-SESSION VKEY>',
method:'get',onComplete: function(){$('gosubmitclone3').click(); var makeThisDropdown = new Request({url: '<!--#echo var="THISURL"-->'+(filename)+'/<!--#echo var="FMROOTMENU"-->/Create?What=Conference&Name=<!--#echo var="DEMODROPDOWN"-->&Icon=25202&VKey=<X-FC-SESSION VKEY>', method:'get',onComplete: function(){$('submitsetdropdown').click();$('gosubmitclone6').click(); <!--#if expr="$SIDEBARMODE=true"-->var makeThisSide = new Request({url: '<!--#echo var="THISURL"-->'+(filename)+'/Create?What=Conference&Name=<!--#echo var="FMROOTSIDEBARTITLE"-->&Icon=25515&VKey=<X-FC-SESSION VKEY>', method:'get',onComplete:
function(){$('gosubmitclone2').click();}}); makeThisSide.send();<!--#endif-->}}); makeThisDropdown.send();}}); makeThisFoot.send();}}); makeThisGallery.send();}}); makeThisBlog.send();}}); makeThisMenu.send();}
window.addEvent('domready', function(){
<!--#if expr="<X-FC-URL-PARAMETER newfolder exists>=1"-->$('formeditor').addEvent('submit', function(e) {e.stop(),this.set('send',{}),this.send();});<!--#endif-->
$('clonepopulate').addEvent('submit', function(e) {e.stop(),this.set('send',{onComplete: function(){populate();}}),this.send();});
$('clonepopulate3').addEvent('submit', function(e) {e.stop(),this.set('send'),this.send();}); $('clonepopulate6').addEvent('submit', function(e) {e.stop(),this.set('send'<!--#if expr="$SIDEBARMODE=false"-->,{onComplete: function(){$('submitheader').click();}}<!--#endif-->),this.send();});
$('clonepopulate4').addEvent('submit', function(e) {e.stop(),this.set('send'),this.send();});
$('clonepopulate5').addEvent('submit', function(e) {e.stop(),this.set('send'),this.send();});
$('setdropdown').addEvent('submit', function(e) {e.stop(),this.set('send'),this.send();});
$('setblog').addEvent('submit', function(e) {e.stop(),this.set('send'),this.send();});
$('setgallery').addEvent('submit', function(e) {e.stop(),this.set('send'),this.send();});
<!--#if expr="$SIDEBARMODE=true"-->$('clonepopulate2').addEvent('submit', function(e) {e.stop(),this.set('send',{onComplete: function(){$('submitheader').click();}}),this.send();});<!--#endif-->
$('setheader').addEvent('submit', function(e) {e.stop(),this.set('send',{onComplete: function(){parent.top.location.replace('<!--#echo var="THISURL"-->'+(filename));}}),this.send();});
$('namepage').addEvent('submit', function(e) {e.stop(),this.set('send',{onSuccess: function(){<!--#if expr="<X-FC-URL-PARAMETER newfolder exists>=1"-->$('resumesubject').value=$('thetitle').value; $('formeditor').action=('<!--#echo var="THISURL"-->'+(filename)+'/__FormSave?Clear=0'); $('senditres').click();<!--#endif-->$('clonepopulate').action=('<X-FC-OBJURL SLASH>'+(therealname)+'/FileOp?VKey=<X-FC-SESSION VKEY>&templates=editor&clone'); $('clonepath').value='<!--#echo var="THISURL"-->'+filename+'/'; <!--#if expr="$SIDEBARMODE=true"-->$('clonepopulate2').action=('<X-FC-OBJURL SLASH>'+(therealname)+'/<!--#echo var="FMROOTSIDEBAR"-->/FileOp?VKey=<X-FC-SESSION VKEY>&templates=editor&clone'); $('clonepath2').value='<!--#echo var="THISURL"-->'+filename+'/<!--#echo var="FMROOTSIDEBAR"-->/';<!--#endif--> if ($('thedoctype').value=='<!--#echo var="CONTAINERPRO"-->') $('gosubmitclone').click(); else parent.top.location.replace('<!--#echo var="THISURL"-->'<!--#if expr="<X-FC-URL-PARAMETER
widget exists>=0"-->+(filename)<!--#endif-->);}},{onFailure: function(){CancelNew();}}),this.send();});});<!--#else-->
window.addEvent('domready', function(){
<!--#if expr="<X-FC-URL-PARAMETER newfolder exists>=1"-->$('formeditor').addEvent('submit', function(e) {e.stop(),this.set('send',{}),this.send();});<!--#endif-->
$('namepage').addEvent('submit', function(e) {e.stop(),this.set('send',{onSuccess: function(){<!--#if expr="<X-FC-URL-PARAMETER newfolder exists>=1"-->$('resumesubject').value=$('thetitle').value; $('formeditor').action=('<!--#echo var="THISURL"-->'+(filename)+'/__FormSave?Clear=0'); $('senditres').click();<!--#endif--> parent.top.location.replace('<!--#echo var="THISURL"-->'<!--#if expr="<X-FC-URL-PARAMETER widget exists>=0"-->+(filename)<!--#endif--><!--#if expr="<X-FC-URL-PARAMETER signcal exists>=1 && <X-FC-URL-PARAMETER newsidedoc exists>=0"-->+'?formid=164'<!--#endif-->);}},{onFailure: function(){CancelNew();}}),this.send();});});<!--#endif-->
function doVal() {<!--#if expr="<X-FC-URL-PARAMETER prodir exists>=0 && <X-FC-URL-PARAMETER newheader exists>=0"-->var isNewComplete = document.forms['namepage']['thetitle'].value; if (isNewComplete == null || isNewComplete == '') {$('thetitlenote').style.visibility = 'visible'; $('thetitle').focus(); return false;} length = 50; filenameorig = $('thetitle').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)=='') $('thename').value = $('thename').value; else $('thename').value = (filename); <!--#endif-->
$('submitrename').click();}
function CancelNew(){delUrl=$('thename').value; var myRequest = new Request({url: '<!--#echo var="THISURL"-->'+(delUrl)+'?Delete=1&VKey=<X-FC-SESSION VKEY>', method:'get'}); myRequest.send(), window.parent.$('mybtn').click();}
</script>
<div id="editpopcontent" class="<!--#if expr="<X-FC-URL-PARAMETER fromblog exists>=1"-->fromblog<!--#elif expr="<X-FC-URL-PARAMETER frompod exists>=1"-->frompod<!--#elif expr="<X-FC-URL-PARAMETER fromstory exists>=1"-->fromstory<!--#elif expr="<X-FC-URL-PARAMETER fromshop exists>=1"-->fromshop<!--#elif expr="<X-FC-URL-PARAMETER fromvideo exists>=1"-->fromvideo<!--#elif expr="<X-FC-URL-PARAMETER fromhtml exists>=1"-->fromhtml<!--#elif expr="<X-FC-URL-PARAMETER fromnews exists>=1"-->fromnews<!--#elif expr="<X-FC-URL-PARAMETER fromproject exists>=1"-->fromproject<!--#elif expr="<X-FC-URL-PARAMETER fromdirectory exists>=1"-->fromdirectory<!--#else-->fromany<!--#endif--> <!--#echo var="FMEDITORSTYLE"-->">
<div class="contentheader"><h1><!--#if expr="<X-FC-URL-PARAMETER newfolder exists>=1"--><!--#if expr="<X-FC-URL-PARAMETER newheader exists>=1"--><!--#echo var="FMNEWSTICKY"--><!--#elif expr="<X-FC-URL-PARAMETER newproject exists>=1"--><!--#echo var="FMNEWPROJECT"--><!--#elif expr="<X-FC-URL-PARAMETER prodir exists>=1"--><!--#echo var="FMNEWSITEELEMENT"--><!--#else--><!--#echo var="FMNEWLAYOUT"--><!--#endif--><!--#elif expr="<X-FC-URL-PARAMETER widget exists>=1"--><!--#if expr="<X-FC-URL-PARAMETER stickywidget exists>=1"--><!--#echo var="FMNEWSTICKY"--><!--#else--><!--#echo var="FMNEWWIDGET"--><!--#endif--><!--#else--><!--#if expr="<X-FC-URL-PARAMETER newsitem exists>=1 || <X-FC-URL-PARAMETER magazineentry exists>=1"--><!--#echo var="FMNEWPAGE"--><!--#elif expr="<X-FC-URL-PARAMETER blogentry exists>=1 && <X-FC-URL-PARAMETER magazineentry exists>=0"--><!--#echo var="FMNEWBLOGENTRY"--><!--#elif expr="<X-FC-URL-PARAMETER podcast exists>=1"--><!--#echo var="FMNEWPODCAST"--><!--#else--><!-
-#echo var="FMNEWPAGE"--><!--#endif--><!--#endif--></h1></div>
<hr class="sepline"/>
<form id="namepage" action="" method="post" enctype="multipart/form-data"><input type="hidden" name="FieldID:1016=SHORT" value="0"/><input type="hidden" name="CharSet" value="<X-FC-LIST-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input type="hidden" name="FieldID:1031=SHORT" value="0"/><input type="submit" id="submitrename" class="imgbrowsernobtns" value="Go"/><input type="hidden" id="theicon" name="FieldID:1319=SHORT" value=""/><input type="hidden" name="FieldID:1312=SHORT"
id="thestatus" value=""/><input name="FieldID:8021=STRING" type="hidden" id="thedoctype" size="40" value=""/><input id="thename" name="FieldID:1017=STRING" type="hidden" size="40" maxlength="63" value="<!--#echo var="FMNEWPAGE"-->"/>
<table id="templatetitle" class="modcontent"><tr><td class="edfctext label leftcell"><!--#echo var="FMTITLE"-->: </td><td class="field rightcell"><input onkeyup="allowSave();" id="thetitle" name="FieldID:1023=STRING" type="text" size="40" maxlength="40" class="edfield edtxtbox" value="" <!--#if expr="<X-FC-URL-PARAMETER prodir exists>=1"-->style="background:none;font-weight:bold;" value="" readonly="readonly" tabindex="-1"<!--#else-->tabindex="1"<!--#endif-->/><img src="/.templates/fmlibrary/graphics/blanksquare.png" width="32" height="32"
alt="error" class="nosubmiticon" id="thetitlenote"/></td></tr><tr><td></td><td class="field rightcell" style="text-align:right;"><div class="editbtnrow" id="eventbuttons"><input type="button" onclick="doVal();" tabindex="4" name="Send" id="sendit" value="<!--#echo var="FMSAVE"-->" class="edformbtn primary"<!--#if expr="<X-FC-URL-PARAMETER prodir exists>=0"--> style="visibility:hidden;opacity:0;"<!--#endif-->/><input type="button" tabindex="5" name="Cancel" id="cancelit" value="<!--#echo var="FMCANCEL"-->" class="edformbtn" onclick="CancelNew();"/></div></td></tr></table></form>
<div id="templateslist" class="modcontent makenew"><!--#elif expr="<X-FC-URL-PARAMETER fmsiteskin exists>=1"--><div id="innerscrollstart"></div><div class="edfctext"><a class="defaultskinchecked" href="javascript:void(0);" onclick="revertFMskin();"><img id="fmrefdef"
src="/.templates/fmlibrary/graphics/blanksquare.png" width="16" height="16" alt="none" class="changecheck"/><!--#echo var="FMDEFAULT"--></a></div><!--#elif expr="<X-FC-URL-PARAMETER fmskin exists>=1"--><div id="innerscrollstart"></div><div class="edfctext"><a<!--#if expr="`$DIRTYPE`=`blogdir`"--> class="activedir"<!--#endif--> href="javascript:void(0);"
onclick="revertskin();"><img id="refdef" src="/.templates/fmlibrary/graphics/blanksquare.png" width="16" height="16" alt="none" class="changecheck"/><b><!--#echo var="FMDEFAULT"--></b></a></div><!--#elif expr="<X-FC-URL-PARAMETER exist exists>=1"--><!--#set var="EXISTOBJECTS" value="false"--><!--#set var="EXISTISPROT" value="false"--><!--#set var="EXISTSISUPLOAD" value="false"--><!--#endif-->
| ||