2639
Home • Plugins • FirstMagic • SKROT - ut fra 4.1 • fra Editor • 2639
 
<!--#rem startInc --><!--#include virtual="/.templates/fmlibrary/terms.inc" --><!--#include virtual="//Setup?formid=2658" --><!--#include virtual="/.templates/firstmagicplugin/FMServerSettings?formid=2655" --><!--#set var="DMAIN1" expr="@lower('$DOCUMENT_URI')"--><!--#set var="DMAIN2" expr="@lower('<X-FC-HTTP-DOMAIN-NAME>')"--><!--#set var="DMAIN3" expr="@length ('$DMAIN2')"--><!--#set var="DMAIN4" expr="@indexof ('$DMAIN1', '$DMAIN2')+$DMAIN3"--><!--#set var="SITEDOMAIN" expr="@substr('$DMAIN1',0,$DMAIN4)"--><!--#if expr="`$HTTPS`=`off`"--><!--#set var="HTPREFIX" value="http://"--><!--#set var="THISDOMAIN" expr="@substr('$SITEDOMAIN',7)"--><!--#else--><!--#set var="HTPREFIX" value="https://"--><!--#set var="THISDOMAIN" expr="@substr('$SITEDOMAIN',8)"--><!--#endif--><!--#if expr="$CUSTOMLANG=true"--><!--#include virtual="$FMLANGFILE" --><!--#endif--><!--#if expr="$ACTIVESKIN=DESIGNMODE || $ACTIVEBUILTIN=true"--><!--#set var="FREEDESIGNER" value="true"--><!--#endif--><!--#if expr="<X-FC-URL-PARAMETER local1 exists>=1"--><!--#set var="LOCALSIDEBARS" value="true"--><!--#else--><!--#set var="LOCALSIDEBARS" value="false"--><!--#endif--><!--#set var="CURRENTCSSPATH" expr="@lower('<X-FC-FIELD 1912 STRING>')"--><!--#set var="ISLOCALCSS" expr="@indexof('$CURRENTCSSPATH', 'http')"--><!--#if expr="$ISLOCALCSS<0"--><!--#set var="LOCALCSS" value="true"--><!--#else--><!--#set var="LOCALCSS" value="false"--><!--#endif--><!--#set var="FCPATHLOGIN" value="fcp://<X-FC-USER USERID>@$FCINTRANETDOMAIN,<X-FC-SERVER SITEID>/$SITEDOMAIN"--><!--#set var="DAVPATHLOGIN" value="dav://<X-FC-USER USERID>@$FCINTRANETDOMAIN/Login/$SITEDOMAIN"--><!--#config escapechars=" "--><!--#set var="THISLOGOPATH" expr="@escape(`<X-FC-FIELD 1074 STRING>`)"--><!--#if expr="@length('<X-FC-FIELD 1270 STRING>')<4 && @length('<X-FC-FIELD 1270 STRING>')>0"--><!--#set var="CDEFCOLOR" value="<X-FC-FIELD 1270 STRING>"--><!--#else--><!--#set var="CDEFCOLOR" value="1"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1277 STRING>')<4 && @length('<X-FC-FIELD 1277 STRING>')>0"--><!--#set var="CACCDEFCOLOR" value="<X-FC-FIELD 1277 STRING>"--><!--#else--><!--#set var="CACCDEFCOLOR" value="1"--><!--#endif--><!--#rem Start COMMON --><!--#if expr="@length('<X-FC-FIELD 1024 STRING>') >3"--><!--#set var="BACKDROPEXIST" value="true"--><!--#else--><!--#set var="BACKDROPEXIST" value="false"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1204 STRING>') >2"--><!--#set var="CDARKMEDIUM" value="<X-FC-FIELD 1204 STRING>"--><!--#else--><!--#set var="CDARKMEDIUM" value="212121"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1205 STRING>') >2"--><!--#set var="CDARK" value="<X-FC-FIELD 1205 STRING>"--><!--#else--><!--#set var="CDARK" value="121212"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1200 STRING>') >2"--><!--#set var="CMEDIUM" value="<X-FC-FIELD 1200 STRING>"--><!--#else--><!--#set var="CMEDIUM" value="888888"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1268 STRING>') >2"--><!--#set var="CBRIGHTMEDIUM" value="<X-FC-FIELD 1268 STRING>"--><!--#else--><!--#set var="CBRIGHTMEDIUM" value="dedede"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1231 STRING>') >2"--><!--#set var="CBRIGHT" value="<X-FC-FIELD 1231 STRING>"--><!--#else--><!--#set var="CBRIGHT" value="f0f0f0"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1221 STRING>') >2"--><!--#set var="CACCENTDARK" value="<X-FC-FIELD 1221 STRING>"--><!--#else--><!--#set var="CACCENTDARK" value="005aff"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1034 STRING>') >2"--><!--#set var="CACCENTBRIGHT" value="<X-FC-FIELD 1034 STRING>"--><!--#else--><!--#set var="CACCENTBRIGHT" value="f0f0f0"--><!--#endif--><!--#set var="MATERIALLIGHTGREY" value="b6b6b6"--><!--#set var="MATERIALGREY" value="757575"--><!--#set var="MATERIALDARKGREY" value="212121"--><!--#set var="MATERIALWHITE" value="ffffff"--><!--#set var="GENLIGHTGRAY" value="f4f4f4"--><!--#set var="GENLIGHTGRAYBORDERS" value="e1e1e1"--><!--#set var="COLORIZEMIN" value="false"--><!--#set var="COLORIZEMIN" value="false"--><!--#set var="COLORIZESOME" value="false"--><!--#set var="COLORIZELOTS" value="false"--><!--#set var="COLORIZEALL" value="false"--><!--#if expr="<X-FC-FIELD 1779 NUMBER>=0"--><!--#set var="COLORIZEMIN" value="true"--><!--#elif expr="<X-FC-FIELD 1779 NUMBER>=1"--><!--#set var="COLORIZESOME" value="true"--><!--#elif expr="<X-FC-FIELD 1779 NUMBER>=2"--><!--#set var="COLORIZELOTS" value="true"--><!--#else--><!--#set var="COLORIZEALL" value="true"--><!--#endif--><!--#if expr="<X-FC-FIELD 1901 NUMBER>=1"--><!--#set var="PTRANSPARENT" value="1"--><!--#elif expr="<X-FC-FIELD 1901 NUMBER>=2"--><!--#set var="PTRANSPARENT" value="2"--><!--#elif expr="<X-FC-FIELD 1901 NUMBER>=3"--><!--#set var="PTRANSPARENT" value="3"--><!--#elif expr="<X-FC-FIELD 1901 NUMBER>=4"--><!--#set var="PTRANSPARENT" value="4"--><!--#else--><!--#set var="PTRANSPARENT" value="0"--><!--#endif--><!--#if expr="<X-FC-FIELD 1276 NUMBER>=1"--><!--#set var="LAYOUTSHADOWS" value="true"--><!--#else--><!--#set var="LAYOUTSHADOWS" value="false"--><!--#endif--><!--#if expr="<X-FC-FIELD 1278 NUMBER>=1"--><!--#set var="LAYOUTROUNDED" value="true"--><!--#else--><!--#set var="LAYOUTROUNDED" value="false"--><!--#endif--><!--#if expr="<X-FC-FIELD 1654 NUMBER>=1"--><!--#set var="LAYOUTBIG" value="true"--><!--#else--><!--#set var="LAYOUTBIG" value="false"--><!--#endif--><!--#set var="LAYOUTWIDTH" value="<X-FC-FIELD 1022 STRING>"--><!--#set var="LAYOUTWIDTHVAL" value="<X-FC-FIELD 1755 STRING>"--><!--#if expr="@length('<X-FC-FIELD 1680 STRING>')>2"--><!--#set var="TITLEFONTCLASS" value="<X-FC-FIELD 1680 STRING>"--><!--#else--><!--#set var="TITLEFONTCLASS" value="fntroboto"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1241 STRING>')>2"--><!--#set var="BODYFONTCLASS" value="<X-FC-FIELD 1241 STRING>"--><!--#else--><!--#set var="BODYFONTCLASS" value="fntroboto"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1207 STRING>')>2"--><!--#set var="TITLEFONTDEF" value="<X-FC-FIELD 1207 STRING>"--><!--#set var="TITLEFONTNAME" value="<X-FC-FIELD 1600 STRING>"--><!--#else--><!--#set var="TITLEFONTDEF" value="Roboto:100,300,400,700,900"--><!--#set var="TITLEFONTNAME" value="Roboto"--><!--#endif--><!--#if expr="@length('<X-FC-FIELD 1213 STRING>')>2"--><!--#set var="BODYFONTDEF" value="<X-FC-FIELD 1213 STRING>"--><!--#set var="BODYFONTNAME" value="<X-FC-FIELD 1601 STRING>"--><!--#else--><!--#set var="BODYFONTDEF" value="Roboto:100,300,400,700,900"--><!--#set var="BODYFONTNAME" value="Roboto"--><!--#endif--><!--#set var="FONTDETAILS" value="<X-FC-FIELD 1756 STRING>"--><!--#if expr="$FONTDETAILS>0"--><!--#set var="DETALISLIKETITLES" value="true"--><!--#else--><!--#set var="DETALISLIKETITLES" value="false"--><!--#endif--><!--#rem End COMMON --><!--#set var="THISLOC1" expr="@split('$HTTP_REFERER','__')"--><!--#set var="THISLOC2" expr="@length ('$THISLOC1')"--><!--#set var="THISLOC3" expr="@substr('$HTTP_REFERER',$THISLOC2)"--><!--#set var="THISLOCALURL" value="/login/$THISLOC3"--><!--#rem endInc -->

<!--#if expr="$FREEDESIGNER=true"--><!--#if expr="$FMTOPMENU=false"--><div id="dropmenu" style="display:none;opacity:0;"><script>
$('headerwrap').appendChild($('dropmenu')); new UvumiDropdown("drops");
</script><!--#include virtual="$XLOGIN$FMROOTMENU/?both&formid=-205&mainmenu&maintop&$URLTYPE"--><!--#if expr="$SEARCHBOXTOP=true"--><!--#include virtual="$XLOGIN$FMROOTMENU/$SEARCHBOXTOPURL?formid=2648&mainmenu"--><!--#endif--><div class="clear"></div></div><!--#endif--><!--#endif-->
<!--#if expr="$ACTIVEBUILTIN=true || $ACTIVESKIN=DESIGNMODE"--><form id="cssclone" name="cssclone" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" action="/login/<!--#echo var="THISDOMAIN"-->/<!--#echo var="FMROOTLIBRARY"-->/<!--#if expr="$SV!=9"-->__<!--#endif-->FormNew?formid=96&amp;iconid=25453&amp;TargetURL=<!--#echo var="THISLOCALURL"-->" 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="stylesheetnewname" name="FieldID:8010=STRING" type="hidden" size="80" value="webstyle.css"/><textarea name="body" id="fmnewstylesheetcontent" style="display:none;"></textarea><input class="imgbrowsernobtns" id="gofmskin2" type="submit" value="SAVE"/></form><!--#endif-->
<form name="layoutform" id="layoutform" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" method="post" action="/login/<!--#echo var="THISDOMAIN"-->/Setup/<!--#if expr="$SV!=9"-->__<!--#endif-->FormSave?formid=2659&amp;Clear=0" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input id="libimagew" type="hidden" name="FieldID:1700=STRING" value="<X-FC-FIELD 1700 STRING>"/><input id="libimageh" type="hidden" name="FieldID:1701=STRING" value="<X-FC-FIELD 1701 STRING>"/><input id="logopos" type="hidden" name="FieldID:1157=SHORT" value="<X-FC-FIELD 1157 NUMBER>"/><input id="logopos2" type="hidden" name="FieldID:1008=SHORT" value="<X-FC-FIELD 1008 NUMBER>"/><input id="topmenu" type="hidden" name="FieldID:1160=SHORT" value="<X-FC-FIELD 1160 NUMBER>"/><input id="sidebarpos2" type="hidden" name="FieldID:1161=SHORT" value="<X-FC-FIELD 1161 NUMBER>"/><input id="sidebarpos" type="hidden" name="FieldID:1002=SHORT" value="<X-FC-FIELD 1002 NUMBER>"/><input id="libimageurl" type="hidden" name="FieldID:1074=STRING" value="<X-FC-FIELD 1074 STRING>"/><input type="submit" tabindex="-1" name="Send" id="sendlayout" class="imgbrowsernobtns" value="<!--#echo var="FMSAVE"-->"/></form>

<script>
switchmode='false';
function doFailure(){new MooDialog.Alert(('<!--#echo var="FMSAVEERROR"-->'),{'class':'MooModal alertmodal'});}
function copyTheme(){skinsval=$('useskinno').value; var PrepStylesheet = new Request ({url:'/login/<!--#echo var="THISDOMAIN"-->/<!--#echo var="FMROOTLIBRARY"-->/webstyle.css?Delete=1&VKey=<X-FC-SESSION VKEY>', method:'get', onComplete: function(){<!--#if expr="$ACTIVEBUILTIN=true"-->var req = new Request.HTML({url:'<!--#echo var="STYLESLIB"-->FMtheme'+(skinsval)+'.css',method: 'get', update: $('fmnewstylesheetcontent'), <!--#else-->var req = new Request.HTML({url:'/login/__www/Setup?formid=2639&getcss',method: 'get', update: $('fmnewstylesheetcontent'), <!--#endif-->onComplete: function(){$('gofmskin2').click();}}).send();}}).send();}
function setDesigner(){switchmode='true';$('designermode').value='2';$('gofmsubmit').click();}
function setLibrary(){switchmode='true';$('designermode').value='0';$('gofmsubmit').click();}
function setStylesheet(){switchmode='true';$('designermode').value='1';$('gofmsubmit').click();}
function convertStylesheet(){switchmode='true';$('stylesheetpath').value='/<!--#echo var="FMROOTLIBRARY"-->/theme.css';$('designermode').value='1';$('gofmsubmit').click();}
window.addEvent('domready', function(){
$('definefmskin').addEvent('submit', function(e) {e.stop(),this.set('send', {onComplete: function(){<!--#if expr="`$ACTIVESKIN`=`CSS`"-->if(switchmode=='true') setTimeout('location.href = window.location.href;',200); else if(siteskin==siteskinOld) setTimeout(cleanFMStyles,300); else setTimeout('location.href = window.location.href;',200);<!--#else-->if(switchmode=='true') setTimeout('location.href = window.location.href;',200); else copyTheme();<!--#endif-->}}),this.send();});
<!--#if expr="$BACKDROPEXIST=true || $LOGOEXIST=true"--><!--#if expr="$LOGOEXIST=true"-->new Request ({url:'<X-FC-FIELD 1074 STRING>', method:'get', onFailure: function(){$('logopic').setAttribute('id','notlogopic'); $('notlogopic').setStyle('display', 'none')<!--#if expr="$FREEDESIGNER=true"-->, $('logolayout').setStyle('height', '0px'), $('minipreview').setStyle('height', '94px')<!--#endif-->,$('logobox').setStyle('visibility', 'hidden').setStyle('opacity', '0'),$('logotxtbox').setStyle('visibility', 'visible').setStyle('opacity', '1'), $('libimageurl').value='',$('libimagew').value='',$('libimageh').value='',$('sendlayout').click();}}).send();<!--#endif--><!--#if expr="$BACKDROPEXIST=true && $ACTIVESKIN=DESIGNMODE"-->new Request ({url:'<X-FC-FIELD 1024 STRING>', method:'get', onFailure: function(){$('bgdropbox').setStyle('visibility', 'hidden').setStyle('opacity', '0'), $('backdroptxtbox').setStyle('visibility', 'visible').setStyle('opacity', '1'), $('bglibimageurl').value='',$(document.body).setStyle('backgroundImage', 'none'),$('sendbgupload').click();}}).send();<!--#endif--><!--#endif-->
$('layoutform').addEvent('submit', function(e) {e.stop(), this.set('send'), this.send();});
var upload = new Form.Upload('imageup', {onComplete: function(){templogofile = thelastfile; tempesclogofile = encodeURI('/<!--#echo var="FMROOTLIBRARY"-->/'+thelastfile); $('logotxtbox').set('tween', {duration:150}).fade('0'); $('logobox').set('tween', {duration:300}).fade('1'); $('libimageurl').value=('/<!--#echo var="FMROOTLIBRARY"-->/'+templogofile); $('logoimagepreview').setStyle('backgroundImage', 'url('+tempesclogofile+')').setStyle('backgroundSize', 'contain').setStyle('backgroundPosition', 'center').setStyle('backgroundRepeat', 'no-repeat'); var logimg = new Image(); logimg.onload = function(){$('libimagew').value=this.width; $('libimageh').value=this.height;$('sendlayout').click();}; logimg.src = tempesclogofile; currentlogopos=$('logopos2').value;if (currentlogopos==0) clogopos='left'; else if (currentlogopos==1) clogopos='center'; else clogopos='right'; <!--#if expr="$FREEDESIGNER=true"-->$('logolayout').setStyle('background', 'url('+tempesclogofile+')').setStyle('backgroundSize', 'contain').setStyle('backgroundPosition',clogopos).setStyle('backgroundRepeat', 'no-repeat');<!--#endif--> new Element('img', {id: 'logopic',class: 'templogopic'}).inject('headercontent', 'top'); $('logopic').src=tempesclogofile; <!--#if expr="$FREEDESIGNER=true"-->$('logolayout').set('morph',{duration:200,transition:Fx.Transitions.Quad.easeOut,link:'chain'}), $('logolayout').morph({'height':'36'}),$('logopic').morph({'display':'inlineBlock'}),$('minipreview').morph({'height':'130'});<!--#endif--> }});
<!--#if expr="$ACTIVEBUILTIN=true"-->getFMSkins();
$('tempdefinefmskin').addEvent('submit', function(e) {e.stop(), this.set('send'), this.send();});
<!--#elif expr="$ACTIVESKIN=DESIGNMODE"-->
<!--#if expr="$PTRANSPARENT=1"-->transpinline='f2';transpoutline='E6';<!--#elif expr="$PTRANSPARENT=2"-->transpinline='E6';transpoutline='cc';<!--#elif expr="$PTRANSPARENT=3"-->transpinline='D9';transpoutline='80';<!--#elif expr="$PTRANSPARENT=4"-->transpinline='BF';transpoutline='33';<!--#else-->transpinline='ff';transpoutline='ff';<!--#endif-->
cdark='<!--#echo var="CDARK"-->'; cdarkmedium='<!--#echo var="CDARKMEDIUM"-->'; cmedium='<!--#echo var="CMEDIUM"-->'; cbrightmedium='<!--#echo var="CBRIGHTMEDIUM"-->'; cbright='<!--#echo var="CBRIGHT"-->'; accdark='<!--#echo var="CACCENTDARK"-->';accbright='<!--#echo var="CACCENTBRIGHT"-->';cmatwhite='<!--#echo var="MATERIALWHITE"-->';cmatlightgrey='<!--#echo var="MATERIALLIGHTGREY"-->';cmatgrey='<!--#echo var="MATERIALGREY"-->';cmatdarkgrey='<!--#echo var="MATERIALDARKGREY"-->';
var colorset = new Slider('colorsetslider', 'colorsetknob', {range: [0, 6], snap: false, steps:6, offset:0, initialStep:<!--#if expr="<X-FC-FIELD 1779 NUMBER>=0"-->0<!--#elif expr="<X-FC-FIELD 1779 NUMBER>=1"-->2<!--#elif expr="<X-FC-FIELD 1779 NUMBER>=2"-->4<!--#else-->6<!--#endif-->, onChange: function(value){if (value) thisscope=Math.floor(value/2); $('colorscope').value=thisscope; if((thisscope)==0) setFewColors(),setFewAccents(); else if((thisscope)==1) setSomeColors(),setSomeAccents(); else if((thisscope)==2) setLotsColors(),setLotsAccents(); else setAllColors(),setAllAccents();}, onComplete: function(value){$('submitdestyles').click();}});
//This ColorPicker section based on MooColorPicker - license: MIT-style - author: Lorenzo Stanco
var MooColorPicker = new Class({Implements: [Options, Events], options: {colors: [],defaultColor: -1,className: 'colorbox',selectedClassName: 'colorbox_selected'}, initialize: function(container, options) {var $this = this;this.setOptions(options);this.container = $(container);this.container.setStyle('overflow', 'hidden');this.draw();if (this.options.defaultColor >= 0) this.selectColor(this.options.colors[this.options.defaultColor]);return this;}, addColor: function(color) {if (!color) return this;this.options.colors.include(color);this.draw();return this.draw();}, removeColor: function(color) {if (!color) return this;this.options.colors.erase(color);return this.draw();}, selectColor: function(color) {if (!color) return this;var $this = this;this.selectedColor = color;this.container.getElements('div').each(function(item) {if (item.getStyle('background-color').toUpperCase() == color.toUpperCase()) {$this.fireEvent('change', [color, item]); item.addClass($this.options.selectedClassName);} else {item.removeClass($this.options.selectedClassName);}});return this;}, getCurrentColor: function() {return this.selectedColor;}, getContainer: function() {return this.container;}, draw: function() {var $this = this;this.container.empty();this.options.colors.each(function (color, index) {var div = new Element('div', {'class': $this.options.className }); div.set('html', '&nbsp;'); div.setStyles({'float': 'left','background-color': color,cursor: 'pointer'}).addEvents({'click':function () {$this.selectColor(color); if((savedefcolpick)==1) $('cdefcolpick').value=(index),savedefcolpick=0,savedefaccpick=0; else $('cdefaccpick').value=(index),savedefcolpick=0,savedefaccpick=0; $('submitdestyles').click();}}).inject($this.container);});return this;}});
savedefcolpick=0;savedefaccpick=0;
var colpick = new MooColorPicker($('themecolorpicker'),{colors:['#ffffff','#711d95','#8e59a4','#952020','#ec43ce','#E64A19','#df9933','#e7bd6d','#8b6d40','#795548','#303F9F','#233bd3','#0178b9','#3392c6','#68bcd1','#00796B','#689F38','#71c12b','#607D8B','#616161','#212121'], defaultColor:<!--#echo var="CDEFCOLOR"-->}); colpick.addEvent('change', function(col, box) {startColor=(col); savedefaccpick=0;savedefcolpick=1; doColor();});
var accentpick = new MooColorPicker($('accentcolorpicker'),{colors:['#711d95','#8e59a4','#952020','#ec43ce','#E64A19','#df9933','#e7bd6d','#8b6d40','#795548','#303F9F','#233bd3','#0178b9','#3392c6','#68bcd1','#00796B','#689F38','#71c12b','#607D8B','#616161','#212121'], defaultColor:<!--#echo var="CACCDEFCOLOR"-->}); accentpick.addEvent('change', function(col, box) {startColor=(col); savedefaccpick=1;savedefcolpick=0; doAccent();});
var transpset = new Slider('transpsetslider', 'transpsetknob', {range: [0,10], snap: false, steps:10,offset:0,initialStep:<!--#if expr="<X-FC-FIELD 1901 NUMBER>=0"-->0<!--#elif expr="<X-FC-FIELD 1901 NUMBER>=1"-->2<!--#elif expr="<X-FC-FIELD 1901 NUMBER>=2"-->4<!--#elif expr="<X-FC-FIELD 1901 NUMBER>=3"-->7<!--#else-->10<!--#endif-->, onChange: function(value){if (value) trthisscope=Math.floor(value/2); else trthisscope=0; if (trthisscope==5) trthisscope=4; $('transpscope').value=trthisscope; if((trthisscope)==0)  transpinline='ff',transpoutline='ff',setTransp(); else if((trthisscope)==1) transpinline='f2',transpoutline='E6',setTransp(); else if((trthisscope)==2) transpinline='E6',transpoutline='cc',setTransp(); else if((trthisscope)==3) transpinline='D9',transpoutline='80',setTransp(); else transpinline='BF',transpoutline='33',setTransp();}, onComplete: function(value){$('submitdestyles').click();}});
var columnset = new Slider('columsetslider', 'columsetknob', {range: [0,10], snap: false, steps:10,offset:0, initialStep:<!--#if expr="<X-FC-FIELD 1562 NUMBER>=0 || <X-FC-FIELD 1562 NUMBER>=1"-->0<!--#elif expr="<X-FC-FIELD 1562 NUMBER>=2"-->4<!--#elif expr="<X-FC-FIELD 1562 NUMBER>=3"-->7<!--#else-->10<!--#endif-->, onChange: function(value){if (value) colthisscope=Math.floor(value/2); else colthisscope=0; if (colthisscope==5) colthisscope=4; if((colthisscope)==0 || (colthisscope)==1) colthisscope=1, setCols(); else if((colthisscope)==2) colthisscope=2,setCols(); else  if((colthisscope)==3) colthisscope=3,setCols(); else colthisscope=4,setCols(); $('columnscope').value=colthisscope; }, onComplete: function(value){$('submitdestyles').click();}});
var widset = new Slider('widsetslider', 'widsetknob', {range: [0,10], snap: false, steps:10,offset:0,initialStep:<!--#if expr="<X-FC-FIELD 1022 NUMBER>=0"-->0<!--#elif expr="<X-FC-FIELD 1022 NUMBER>=1"-->1<!--#elif expr="<X-FC-FIELD 1022 NUMBER>=2"-->2<!--#elif expr="<X-FC-FIELD 1022 NUMBER>=3"-->3<!--#elif expr="<X-FC-FIELD 1022 NUMBER>=4"-->4<!--#elif expr="<X-FC-FIELD 1022 NUMBER>=5"-->5<!--#elif expr="<X-FC-FIELD 1022 NUMBER>=6"-->6<!--#elif expr="<X-FC-FIELD 1022 NUMBER>=7"-->7<!--#elif expr="<X-FC-FIELD 1022 NUMBER>=8"-->8<!--#else-->10<!--#endif-->, onChange: function(value){if (value) widthisscope =(value); else       widthisscope=0; if (widthisscope==5) widthisscope=4; $('inlayoutwidth').value=widthisscope; if((widthisscope)==0)  widinline='960',setwid(); else if((widthisscope)==1) widinline='1030',setwid(); else if((widthisscope)==2) widinline='1100',setwid(); else if((widthisscope)==3) widinline='1170',setwid(); else if((widthisscope)==4) widinline='1240',setwid(); else if((widthisscope)==5) widinline='1310',setwid(); else if((widthisscope)==6) widinline='1380',setwid(); else if((widthisscope)==7) widinline='1450',setwid(); else if((widthisscope)==8) widinline='1520',setwid(); else  widinline='1590',setwid();}, onComplete: function(value){$('submitdestyles').click();}});
var fontsizeset = new Slider('sizeslider', 'sizeknob', {range: [0, 8], snap: false, steps:8, offset: 0, initialStep:<!--#if expr="<X-FC-FIELD 1245 NUMBER>=0"-->0<!--#elif expr="<X-FC-FIELD 1245 NUMBER>=1"-->2<!--#elif expr="<X-FC-FIELD 1245 NUMBER>=2"-->4<!--#elif expr="<X-FC-FIELD 1245 NUMBER>=3"-->6<!--#else-->8<!--#endif-->, onChange: function(value){if (value) thisfontsize=Math.floor(value/2); $('fontsizes').value=thisfontsize; if((thisfontsize)==0) setTinyFonts(); else if((thisfontsize)==1) setSmallFonts(); else if((thisfontsize)==2) setMediumFonts(); else if((thisfontsize)==3) setLargeFonts(); else setHugeFonts();}, onComplete: function(value){$('submitdestyles').click();}});
var fontweightset = new Slider('weightslider', 'weightknob', {range: [0, 8], snap: false, steps:8, offset: 0, initialStep:<!--#if expr="<X-FC-FIELD 1249 NUMBER>=0"-->0<!--#elif expr="<X-FC-FIELD 1249 NUMBER>=1"-->2<!--#elif expr="<X-FC-FIELD 1249 NUMBER>=2"-->4<!--#elif expr="<X-FC-FIELD 1249 NUMBER>=3"-->6<!--#else-->8<!--#endif-->, onChange: function(value){if (value) thisfontweight=Math.floor(value/2); $('fontweight').value=thisfontweight;titletype=$('fontdetailgroup').value; if((thisfontweight)==0) setThin(); else if((thisfontweight)==1) setLight(); else if((thisfontweight)==2) setNormal(); else if((thisfontweight)==3) setBold(); else setBlack();}, onComplete: function(value){$('submitdestyles').click();}});
$('savedesignerstyles').addEvent('submit', function(e) {e.stop(), this.set('send'), this.send();});
$('savebgupload').addEvent('submit', function(e) {e.stop(), this.set('send'), this.send();});
var bgupload = new Form.Upload('backdropimageup', {onComplete: function(){$('backdroptxtbox').set('tween', {duration:150}).fade('0');$('bgdropbox').set('tween', {duration:300}).fade('1'); $('imagepreview').setStyle('background', 'url(/login/__www/<!--#echo var="FMROOTLIBRARY"-->/'+thelastfile+')').setStyle('backgroundSize', 'contain').setStyle('backgroundPosition', 'center').setStyle('backgroundRepeat', 'no-repeat'); $(document.body).setStyle('backgroundImage', 'url(/login/__www/<!--#echo var="FMROOTLIBRARY"-->/'+thelastfile+')').setStyle('backgroundSize', 'cover').setStyle('backgroundRepeat', 'no-repeat').setStyle('backgroundPosition', 'center').setStyle('backgroundAttachment', 'fixed'); $('bglibimageurl').value=('/<!--#echo var="FMROOTLIBRARY"-->/'+thelastfile); $('sendbgupload').click();}});<!--#endif-->
});
function closeDesigner(){$('skindesigner').set('tween', {duration:150}).fade('0');movethemewinup();}
function movethemewinup(){<!--#if expr="$ACTIVEBUILTIN=true"-->$('upmorenumber').innerHTML=(remskins);$('downmorenumber').innerHTML=(remskins);$('themesup').set('tween', {duration:50}).fade('1'); $('themesdown').set('tween', {duration:50}).fade('0');<!--#endif-->showLogo(); $('skindesigner').set('morph'<!--#if expr="$ACTIVESKIN=DESIGNMODE"-->,{onComplete: function(){showbgwrap();}}<!--#endif-->,{duration:200,transition:Fx.Transitions.Quad.easeIn,link:'chain'}), <!--#if expr="$ACTIVEBUILTIN=true"-->$('themestyles').morph({'height':'520'}),<!--#endif-->$('innerscrollable').morph({'height':'<!--#if expr="$ACTIVESKIN=DESIGNMODE"-->516<!--#else-->456<!--#endif-->'}), $('skindesigner').morph({'height':'562'}); $('themewinmovedown').set('tween', {duration:50}).fade('1'); $('themewinmoveup').set('tween', {duration:50}).fade('0');}
function movethemewindown(){<!--#if expr="$ACTIVEBUILTIN=true"-->$('upmorenumber').innerHTML=(remskins2);$('downmorenumber').innerHTML=(remskins2); $('themesup').set('tween', {duration:50}).fade('0'); $('themesdown').set('tween', {duration:50}).fade('1');<!--#endif--><!--#if expr="$ACTIVEBUILTIN=true || $ACTIVESKIN=DESIGNMODE"-->hideLogo();<!--#endif--><!--#if expr="$ACTIVESKIN=DESIGNMODE"-->hidebgwrap();closeFont();<!--#endif-->$('innerscrollable').setStyle('height', '200px'); $('skindesigner').set('morph',{duration:200,transition:Fx.Transitions.Quad.easeOut,link:'chain'}), <!--#if expr="$ACTIVEBUILTIN=true"-->$('themestyles').morph({'height':'238'}),<!--#endif--> $('innerscrollable').morph({'height':'<!--#if expr="$ACTIVESKIN=DESIGNMODE"-->176<!--#else-->156<!--#endif-->'}), $('skindesigner').morph({'height':'270'}); $('themewinmovedown').set('tween', {duration:50}).fade('0'); $('themewinmoveup').set('tween', {duration:50}).fade('1');}
templogofile = '<!--#echo var="THISLOGOPATH"-->'; tempesclogofile = encodeURI('<!--#echo var="THISLOGOPATH"-->'); templogoheight=($('libimageh').value);
function showLogo(){$('logowrap').set('tween', {duration:150}).fade('1');}
function hideLogo(){$('logowrap').set('tween', {duration:20}).fade('0');}
function removeLogo() {$('logopic').setAttribute('id','notlogopic'); new Request ({url:'/login/__www'+(tempesclogofile)+'?Delete=1&VKey=<X-FC-SESSION VKEY>', method:'get', onSuccess: function(){$('notlogopic').set('morph',{duration:200,transition:Fx.Transitions.Quad.easeIn,link:'chain'}), $('notlogopic').morph({'height':'0'}).morph({'display':'none'})<!--#if expr="$FREEDESIGNER=true"-->,$('logolayout').morph({'height':'0'}),$('minipreview').morph({'height':'94'})<!--#endif-->; $('libimageurl').value='',$('libimagew').value='',$('libimageh').value='',$('sendlayout').click();$('logobox').set('tween', {duration:150}).fade('0'); $('logotxtbox').set('tween', {duration:300}).fade('1');}, onFailure: function(){alert('<!--#echo var="FMSAVEERROR"-->')}}).send();}

<!--#if expr="$FREEDESIGNER=true"--><!--#if expr="$CONTENTALIGN=center && $LOCALSIDEBARS=false"-->doSec=1;doFoot=1;doSide=0;doThisSideProfile=1;doThisTopProfile=0;<!--#elif expr="$CONTENTALIGN=center && $LOCALSIDEBARS=true"-->doSec=0;doFoot=1;doSide=1;doThisSideProfile=1;doThisTopProfile=0;<!--#else-->doSec=0;doFoot=0;doSide=1;doThisSideProfile=0;doThisTopProfile=1;<!--#endif-->doFootb=1;
function doSidebProfile(){if ($('myprofile')){if ($('customsidebar')){new Element('div', {id: 'mytempprofilebox',class: 'sidebarobject'}).inject('customsidebar', 'top');} else new Element('div', {id: 'customsidebar',class: 'sidebarobject'}).inject('sidebar', 'top'),new Element('div', {id: 'mytempprofilebox',class: 'sidebarobject'}).inject('sidebar', 'top'); $('mytempprofilebox').innerHTML='<div class="sidebaritem" style="display:block;pointer-events:none;"><h2>'+$('thecurrentauthor').innerHTML+'</h2><div class="wswrap fcwrap"><div class="fctable"><div id="mytempprofile"></div><div class="clear"></div></div></div></div>', getCurrAuthor=$('thecurrentauthor').innerHTML,new Request.HTML({url:'/__Open-User/'+(getCurrAuthor)+'/__resume?templates=editor&formid=20502&quicklook&footerlook',method: 'get',update: $('mytempprofile')}).send();};}
function doTopProfile(){if ($('myprofile')){<!--#if expr="$CONTENTALIGN=center"-->$('breadcrumbs').setStyle('display', 'block'),$('myprofile').setStyle('display', 'block');<!--#else--><!--#if expr="$BREADCRUMBS=true"-->if ($('mytempprofile2')== null){$('breadcrumbs').innerHTML=($('breadcrumbs').innerHTML)+'<div id="mytempprofile2" style="display:inline-block;float:right;pointer-events:none;"></div><div class="clear"></div>';getCurrAuthor=$('thecurrentauthor').innerHTML; new Request.HTML({url:'/__Open-User/'+(getCurrAuthor)+'/__resume?templates=editor&formid=20502&quicklook&footerlook&headerlook',method: 'get',onComplete: function(){$('thecurrentauthor').innerHTML=getCurrAuthor;},update: $('mytempprofile2')}).send();}<!--#else-->new Element('div', {id: 'breadcrumbs',class: 'contentbody fctext'}).inject('pagecontentsec', 'top'),$('breadcrumbs').innerHTML='<div class="clear"></div><div id="mytempprofile2" style="display:inline-block;float:right;pointer-events:none;"></div><div class="clear"></div>';getCurrAuthor=$('thecurrentauthor').innerHTML; new Request.HTML({url:'/__Open-User/'+(getCurrAuthor)+'/__resume?templates=editor&formid=20502&quicklook&footerlook&headerlook',method: 'get',onComplete: function(){$('thecurrentauthor').innerHTML=getCurrAuthor;},update: $('mytempprofile2')}).send();<!--#endif--><!--#endif-->}}
function ChangeToSec (){$('sidebarpos').value=2, $('sidebarpos2').value=2, $('sidebarlayout').style.backgroundPosition='0px -219px';
<!--#if expr="<X-FC-URL-PARAMETER syspage exists>=0"--><!--#if expr="$LOCALSIDEBARS=true"-->$('seclocalpreview').addClass('localsidepreview');<!--#endif--><!--#if expr="$LOCALSIDEBARS=true"-->$('pageframe').setStyle('backgroundPosition', 'top right'); $('pagecontent').addClass('pagecontentright').removeClass('pagecontentleft').removeClass('pagecontentcenter'); $('sidebar').setStyle('display', 'block').setStyle('float', 'right').addClass('sidebarright').removeClass('sidebarleft'); <!--#if expr="$CONTENTALIGN=center"-->if(doFootb==0) $('footerbar').innerHTML=$('sidebar').innerHTML,$('footerbarwrap').setStyle('display', 'block'), $('sidebar').innerHTML='', doFootb=1; else $('footerbar').innerHTML=$('footerbar').innerHTML; if ($('defaultsidebar')){$('defaultsidebar').setStyle('display', 'none');}<!--#else-->if(doFoot==0) new Element('div', {id: 'tempfootercontent',class:'footercontent'}).inject('footer', 'top'), new Element('div', {id: 'footerbarwrap'}).inject('tempfootercontent', 'top'), new Element('div', {id: 'footerbar'}).inject('footerbarwrap', 'top'),doFoot=1; if(doSide==1) $('footerbar').innerHTML=$('sidebar').innerHTML, $('sidebar').innerHTML='',doSide=0;<!--#endif-->if ($('myprofile')){$('sidebar').appendChild($('myprofile'));} $('sidebar').appendChild($('customsidebar'));<!--#else-->$('pageframe').setStyle('backgroundPosition', 'top center'); if(doSec==0) $('pagecontent').removeClass('pagecontentcenter').removeClass('pagecontentleft').removeClass('pagecontentright'), $('sidebar').removeClass('sidebarleft').removeClass('sidebarright'), $('pagecontent').set('id','pagecontentsec'), $('sidebar').setStyle('display', 'none'), doSec=1; else doSec=1,doFoot=1; if(doFoot==0) new Element('div', {id: 'tempfootercontent',class:'footercontent'}).inject('footer', 'top'), new Element('div', {id: 'footerbarwrap'}).inject('tempfootercontent', 'top'),new Element('div', {id: 'footerbar'}).inject('footerbarwrap', 'top'), $('footerbar').innerHTML=$('sidebar').innerHTML,$('sidebar').innerHTML='',doFoot=1,doSide=0; if(doThisTopProfile==1)doTopProfile(),doThisTopProfile=0; <!--#if expr="$CONTENTALIGN=center"-->if ($('myprofile')){$('breadcrumbs').setStyle('display', 'block'),$('myprofile').setStyle('display', 'block');} if ($('mytempprofile2')){$('breadcrumbs').setStyle('display', 'block');$('mytempprofile2').setStyle('display', 'inlineBlock').setStyle('float', 'right');} if ($('mytempprofilebox')){$('mytempprofilebox').setStyle('display', 'none');}<!--#else-->if ($('mytempprofile2')){$('breadcrumbs').setStyle('display', 'block');$('mytempprofile2').setStyle('display', 'block');}if ($('mytempprofilebox')){$('mytempprofilebox').setStyle('display', 'none');}if ($('myprofile')){$('myprofile').setStyle('display', 'none');}<!--#endif-->theWidgBoxes = $('footerbar').getElements('.noassist'); for(i=0; i<theWidgBoxes.length; i++) {theWidgBoxes[i].setStyle('display', 'none');} $('pagecontentsec').addClass('pagecontentcenter').removeClass('pagecontentleft').removeClass('pagecontentright'); theTileBoxes = $(document.body).getElements('.mediaitem'); for(i=0; i<theTileBoxes.length; i++) {theTileBoxes[i].removeClass('mediamedium').addClass('mediasmall');}<!--#endif--><!--#endif-->}
function ChangeToNormLeft(){$('sidebarpos').value=0, $('sidebarpos2').value=0, $('sidebarlayout').style.backgroundPosition='0px -113px';<!--#if expr="<X-FC-URL-PARAMETER syspage exists>=0"--><!--#if expr="$LOCALSIDEBARS=true"-->$('seclocalpreview').removeClass('localsidepreview');<!--#endif-->$('pageframe').setStyle('backgroundPosition', 'top left');<!--#if expr="$LOCALSIDEBARS=true"-->if ($('footerbarwrap')){$('footerbarwrap').setStyle('display', 'none')}; $('pagecontent').removeClass('pagecontentcenter').removeClass('pagecontentright').addClass('pagecontentleft'), $('sidebar').setStyle('display', 'block'), $('sidebar').addClass('sidebarleft').removeClass('sidebarright').setStyle('float', 'left'); if ($('myprofile')){$('myprofile').setStyle('display', 'block'), $('sidebar').innerHTML=$('myprofile').outerHTML+$('customsidebar').outerHTML+<!--#if expr="$CONTENTALIGN=center"-->$('footerbar').innerHTML<!--#else-->$('defaultsidebar').outerHTML<!--#endif-->;} else $('sidebar').innerHTML=$('customsidebar').outerHTML+<!--#if expr="$CONTENTALIGN=center"-->$('footerbar').innerHTML<!--#else-->$('defaultsidebar').outerHTML<!--#endif-->; doFootb=0;doSide=1,doSec=0,doFoot=0;<!--#else-->if(doSec==1) $('pagecontentsec').removeClass('pagecontentcenter').removeClass('pagecontentleft').removeClass('pagecontentright'), $('pagecontentsec').set('id','pagecontent'), $('footerbarwrap').setStyle('display', 'none'), doSec=0,doFoot=0; else $('sidebar').setStyle('display', 'block'); if(doSide==0) new Element('div', {id: 'sidebar',class: 'sidebarleft'}).inject('contentpadding', 'top'), $('sidebar').setStyle('float', 'left').innerHTML=$('footerbar').innerHTML,$('footerbar').innerHTML='',doSide=1; else $('sidebar').addClass('sidebarleft').removeClass('sidebarright').setStyle('float', 'left'); if(doThisSideProfile==1)doSidebProfile(),doThisSideProfile=0;doThisTopProfile=1; <!--#if expr="$CONTENTALIGN=center"--><!--#if expr="$BREADCRUMBS=true"-->if ($('myprofile')){$('myprofile').setStyle('display', 'none');}<!--#else-->if ($('breadcrumbs')){$('breadcrumbs').setStyle('display', 'none');}<!--#endif--> <!--#else-->if ($('mytempprofile2')){$('mytempprofile2').setStyle('display', 'none');<!--#if expr="$BREADCRUMBS=false"-->$('breadcrumbs').setStyle('display', 'none');<!--#endif-->} if ($('mytempprofilebox')){$('mytempprofilebox').setStyle('display', 'block');}if ($('myprofile')){$('myprofile').setStyle('display', 'block');}<!--#endif--><!--#endif-->theWidgBoxes = $('sidebar').getElements('.noassist'); for(i=0; i<theWidgBoxes.length; i++) {theWidgBoxes[i].setStyle('display', 'block');} $('pagecontent').addClass('pagecontentleft').removeClass('pagecontentright'); theTileBoxes = $(document.body).getElements('.mediaitem'); for(i=0; i<theTileBoxes.length; i++) {theTileBoxes[i].removeClass('mediasmall').addClass('mediamedium');}<!--#endif-->}
function ChangeToNormRight(){$('sidebarpos').value=1, $('sidebarpos2').value=1, $('sidebarlayout').style.backgroundPosition='0px -325px';<!--#if expr="<X-FC-URL-PARAMETER syspage exists>=0"--><!--#if expr="$LOCALSIDEBARS=true"-->$('seclocalpreview').removeClass('localsidepreview');<!--#endif-->$('pageframe').setStyle('backgroundPosition', 'top right');<!--#if expr="$LOCALSIDEBARS=true"-->if ($('footerbarwrap')){$('footerbarwrap').setStyle('display', 'none')}; $('pagecontent').removeClass('pagecontentcenter').removeClass('pagecontentleft').addClass('pagecontentright'), $('sidebar').setStyle('display', 'block'), $('sidebar').addClass('sidebarright').removeClass('sidebarleft').setStyle('float', 'right'); if ($('myprofile')){$('myprofile').setStyle('display', 'block'), $('sidebar').innerHTML=$('myprofile').outerHTML+$('customsidebar').outerHTML+<!--#if expr="$CONTENTALIGN=center"-->$('footerbar').innerHTML<!--#else-->$('defaultsidebar').outerHTML<!--#endif-->;} else $('sidebar').innerHTML=$('customsidebar').outerHTML+<!--#if expr="$CONTENTALIGN=center"-->$('footerbar').innerHTML<!--#else-->$('defaultsidebar').outerHTML<!--#endif-->; doFootb=0;doSide=1,doSec=0,doFoot=0;<!--#else-->if(doSec==1) $('pagecontentsec').removeClass('pagecontentcenter').removeClass('pagecontentleft').removeClass('pagecontentright'), $('pagecontentsec').set('id','pagecontent'), $('footerbarwrap').setStyle('display', 'none'), doSec=0,doFoot=0; else $('sidebar').setStyle('display', 'block'); if(doSide==0) new Element('div', {id: 'sidebar',class: 'sidebarright'}).inject('contentpadding', 'top'), $('sidebar').setStyle('float', 'right').innerHTML=$('footerbar').innerHTML, $('footerbar').innerHTML='',doSide=1; else $('sidebar').addClass('sidebarright').removeClass('sidebarleft').setStyle('float', 'right'); if(doThisSideProfile==1)doSidebProfile(),doThisSideProfile=0;doThisTopProfile=1; <!--#if expr="$CONTENTALIGN=center"--><!--#if expr="$BREADCRUMBS=true"-->if ($('myprofile')){$('myprofile').setStyle('display', 'none');}<!--#else-->if ($('breadcrumbs')){$('breadcrumbs').setStyle('display', 'none');}<!--#endif-->if ($('mytempprofilebox')){$('mytempprofilebox').setStyle('display', 'block');} <!--#else--> if ($('mytempprofile2')){$('mytempprofile2').setStyle('display', 'none');<!--#if expr="$BREADCRUMBS=false"-->$('breadcrumbs').setStyle('display', 'none');<!--#endif-->} if ($('mytempprofilebox')){$('mytempprofilebox').setStyle('display', 'block');}if ($('myprofile')){$('myprofile').setStyle('display', 'block');}<!--#endif--><!--#endif-->theWidgBoxes = $('sidebar').getElements('.noassist'); for(i=0; i<theWidgBoxes.length; i++) {theWidgBoxes[i].setStyle('display', 'block');} $('pagecontent').addClass('pagecontentright').removeClass('pagecontentleft'); theTileBoxes = $(document.body).getElements('.mediaitem'); for(i=0; i<theTileBoxes.length; i++) {theTileBoxes[i].removeClass('mediasmall').addClass('mediamedium');}<!--#endif-->}
function SetMenuOn(){$('topmenu').value=1, $('menulayout').style.backgroundPosition='0px -483px', $('onmenu').style.display='none', $('offmenu').style.display='block'; $('dropmenu').set('morph',{duration:200,onComplete: function(){$(document.body).removeClass('nomenu');},transition:Fx.Transitions.Quad.linear,link:'chain'}), $('dropmenu').morph({'display':'block'}).morph({'opacity':'1'});}
function SetMenuOff(){$('topmenu').value=0, $('menulayout').style.backgroundPosition='0px -431px', $('onmenu').style.display='block', $('offmenu').style.display='none'; $('dropmenu').set('morph',{duration:200,onComplete: function(){$(document.body).addClass('nomenu');},transition:Fx.Transitions.Quad.linear,link:'chain'}), $('dropmenu').morph({'opacity':'0'}).morph({'display':'none'});}
function ChangeToLogoLeft(){$('logopos').value=0,$('logopos2').value=0; $('logolayout').style.backgroundPosition='top left'; $('headerwrap').removeClass('hewrapright');$('headerwrap').removeClass('hewrapcenter');$('headerwrap').addClass('hewrapleft');$('header').setStyle('textAlign', 'left');}
function ChangeToLogoRight(){$('logopos').value=2,$('logopos2').value=2; $('logolayout').style.backgroundPosition='top right'; $('headerwrap').removeClass('hewrapleft');$('headerwrap').removeClass('hewrapcenter');$('headerwrap').addClass('hewrapright');$('header').setStyle('textAlign', 'right');}
function ChangeToLogoCenter (){$('logopos').value=1,$('logopos2').value=1; $('logolayout').style.backgroundPosition='top center'; $('headerwrap').removeClass('hewrapleft');$('headerwrap').removeClass('hewrapright');$('headerwrap').addClass('hewrapcenter');$('header').setStyle('textAlign', 'center');}<!--#endif-->

<!--#if expr="$ACTIVESKIN=DESIGNMODE"-->function hidebgwrap(){$('backdropwrap').set('tween', {duration:20}).fade('0');}
function showbgwrap(){$('backdropwrap').set('tween', {duration:150}).fade('1');}
function allowSave(){$('designerbtnrow').set('tween', {duration:400}).fade('1');$('submitsavenew').disabled = false;}
function addPic() {$('backdroptxtbox').set('tween', {duration:150}).fade('0');$('bgpickerbox').set('tween', {duration:300}).fade('1');}
function removePic() {$('bglibimageurl').value=''; $(document.body).setStyle('backgroundImage', 'none'); $('bgdropbox').set('tween', {duration:150}).fade('0'); $('backdroptxtbox').set('tween', {duration:300}).fade('1'); $('sendbgupload').click();}
function removeImageList() {$('bglibimageurl').value='';$('bgpickerbox').set('tween', {duration:150}).fade('0');$('backdroptxtbox').set('tween', {duration:300}).fade('1');}
function colorsRange(hex,thisHue) {hex = String(hex).replace(/[^0-9a-f]/gi, ''); if (hex.length < 6) {hex = hex[0]+hex[0]+hex[1]+hex[1]+hex[2]+hex[2];} thisHue = thisHue || 0; var rgb = "", c, i;for (i = 0; i < 3; i++) {c = parseInt(hex.substr(i*2,2), 16);c = Math.round(Math.min(Math.max(0, c + (c * thisHue)), 255)).toString(16);rgb += ("00"+c).substr(c.length);}return rgb;}
function doColor(){thisHue = 0.3;colorlist = [];var i,oneColor;for (var i = 0; i < 10; i++) {oneColor=colorsRange(startColor, i*thisHue);colorlist[i]=oneColor;} if(colorlist[0]=='ffffff') cdark='ffffff',cdarkmedium='212121',cmedium='424242',cbrightmedium='757575',cbright='888888'; else cdark=colorlist[0],cdarkmedium=colorlist[1],cmedium=colorlist[2],cbrightmedium=colorlist[3],cbright=colorlist[9]; $('cdarkdata').value=(cdark); $('cdarkmediumdata').value=(cdarkmedium); $('cmediumdata').value=(cmedium); $('cbrightmediumdata').value=(cbrightmedium); $('cbrightdata').value=(cbright); scopeval=$('colorscope').value; if((scopeval)==0) setFewColors(); else if((scopeval)==1) setSomeColors(); else if((scopeval)==2) setLotsColors(); else setAllColors();}
function invertCdark(){thisbase=$('cdarkdata').value; if(thisbase=='ffffff') cdarkaltcolor='000000', materiallatwhite='000000'; else cdarkaltcolor=(thisbase), materiallatwhite='<!--#echo var="MATERIALWHITE"-->';}
function doAccent(){thisHue = 0.3;colorlist = [];var i,oneAccent;for (var i = 0; i < 10; i++) {oneAccent=colorsRange(startColor, i*thisHue);colorlist[i]=oneAccent;} accdark=colorlist[0]; accbright=colorlist[9];$('accdarkdata').value=(accdark); $('accbrightdata').value=(accbright); scopeval=$('colorscope').value; if((scopeval)==0) setFewAccents(); else if((scopeval)==1) setSomeAccents(); else if((scopeval)==2) setLotsAccents(); else setAllAccents();}
function setTransp(){cdark=$('cdarkdata').value; $('pageframe').setStyle('backgroundColor','transparent').style.backgroundImage = 'url(/__Gradient?TL='+transpinline+'<!--#echo var="MATERIALWHITE"-->&TR='+transpinline+'<!--#echo var="MATERIALWHITE"-->&BL='+transpinline+'<!--#echo var="MATERIALWHITE"-->&BR='+transpinline+'<!--#echo var="MATERIALWHITE"-->&Width=128&Height=128)'; defTransp = $('wrapper').getElements('#headerwrap, .footercontent, .digitalsign .timebox, .digitalsign #header'); for(i=0; i<defTransp.length; i++) {defTransp[i].setStyle('backgroundColor','transparent').style.backgroundImage = 'url(/__Gradient?TL='+transpoutline+cdark+'&TR='+transpoutline+cdark+'&BL='+transpoutline+cdark+'&BR='+transpoutline+cdark+'&Width=128&Height=128)';}}
function getTransp(){trthisscope=$('transpscope').value;if (trthisscope==5) trthisscope=4; $('transpscope').value=trthisscope; if((trthisscope)==0)  transpinline='ff',transpoutline='ff',setTransp(); else if((trthisscope)==1) transpinline='f2',transpoutline='E6',setTransp(); else if((trthisscope)==2) transpinline='E6',transpoutline='cc',setTransp(); else if((trthisscope)==3) transpinline='D9',transpoutline='80',setTransp(); else transpinline='BF',transpoutline='33';}
function setShadows(){shadAdd = $('wrapper').getElements('#page, .footercontent'); for(i=0; i<shadAdd.length; i++) {shadAdd[i].setStyle('boxShadow', '0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22)');} shadAdd2 = $('wrapper').getElements('.contentbox, #sidebar .sidebaritem'); for(i=0; i<shadAdd2.length; i++) {shadAdd2[i].setStyle('boxShadow', '0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24)');} shadAdd2b = $('wrapper').getElements('#newsdirbody .contentbox, .contentbox.podcast, .podbox'); for(i=0; i<shadAdd2b.length; i++) {shadAdd2b[i].setStyle('boxShadow', '0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23)');} shadAdd3 = $('wrapper').getElements('#newsdirbody .contentbox'); for(i=0; i<shadAdd3.length; i++) {shadAdd3[i].setStyle('padding', '0px 30px 0px 0px').setStyle('margin', '0px 5px 15px 5px');} shadAdd4 = $('wrapper').getElements('#newsdirbody .contentbox h2'); for(i=0; i<shadAdd4.length; i++) {shadAdd4[i].setStyle('padding', '15px 0px 0px 15px');} shadAdd5 = $('wrapper').getElements('#newsdirbody .contentbox .fctext'); for(i=0; i<shadAdd5.length; i++) {shadAdd5[i].setStyle('padding', '0px 0px 15px 15px');} if ($('pagecontent')){$('sidebar').setStyle('width', '30%');} shadAdd6 = $('wrapper').getElements('#pagecontent.pagecontentright, #pagecontent.pagecontentcenter, #sidebar.sidebarleft'); for(i=0; i<shadAdd6.length; i++) {shadAdd6[i].setStyle('paddingLeft', '0%').setStyle('paddingRight', '2%');} shadAdd7 = $('wrapper').getElements('#sidebar.sidebarright, #pagecontent.pagecontentleft'); for(i=0; i<shadAdd7.length; i++) {shadAdd7[i].setStyle('paddingLeft', '2%').setStyle('paddingRight', '0%');} shadAdd8 = $('wrapper').getElements('#sidebar .sidebaritem'); for(i=0; i<shadAdd8.length; i++) {shadAdd8[i].setStyle('padding', '15px');} shadAdd9 = $('wrapper').getElements('.contentbox, #sidebar .sidebaritem, .podbox,#newsdirbody .contentbox'); for(i=0; i<shadAdd9.length; i++) {shadAdd9[i].setStyle('background', '#<!--#echo var="MATERIALWHITE"-->');} shadAdd10 = $('wrapper').getElements('#newsdirbody .contentbox .smallfctext.timestamp'); for(i=0; i<shadAdd10.length; i++) {shadAdd10[i].setStyle('padding', '0px 0px 0px 0px');} reshadAdd11 = $('wrapper').getElements('#pagecontent.pagecontentright, #pagecontent.pagecontentcenter, #sidebar.sidebarleft,#pagecontent.pagecontentleft, #sidebar.sidebarright'); for(i=0; i<reshadAdd11.length; i++) {reshadAdd11[i].setStyle('border', 'none');}}
function removeShadows(){reshadAdd = $('wrapper').getElements('#page, .footercontent'); for(i=0; i<reshadAdd.length; i++) {reshadAdd[i].setStyle('boxShadow', 'none');} reshadAdd2 = $('wrapper').getElements('#newsdirbody .contentbox, .contentbox.podcast, .podbox,#sidebar .sidebaritem'); for(i=0; i<reshadAdd2.length; i++) {reshadAdd2[i].setStyle('boxShadow', 'none');} reshadAdd3 = $('wrapper').getElements('#newsdirbody .contentbox'); for(i=0; i<reshadAdd3.length; i++) {reshadAdd3[i].setStyle('padding', '30px 0px 30px 0px').setStyle('margin', '0px 5px 10px 5px');} reshadAdd4 = $('wrapper').getElements('#newsdirbody .contentbox h2'); for(i=0; i<reshadAdd4.length; i++) {reshadAdd4[i].setStyle('padding', '0px 0px 0px 0px');} reshadAdd5 = $('wrapper').getElements('#newsdirbody .contentbox .fctext'); for(i=0; i<reshadAdd5.length; i++) {reshadAdd5[i].setStyle('padding', '0px 0px 0px 0px');} if ($('pagecontent')){$('sidebar').setStyle('width', '26%');}reshadAdd6 = $('wrapper').getElements('#pagecontent.pagecontentright, #pagecontent.pagecontentcenter, #sidebar.sidebarleft'); for(i=0; i<reshadAdd6.length; i++) {reshadAdd6[i].setStyle('paddingLeft', '0%').setStyle('paddingRight', '4%');} reshadAdd7 = $('wrapper').getElements('#sidebar.sidebarright, #pagecontent.pagecontentleft'); for(i=0; i<reshadAdd7.length; i++) {reshadAdd7[i].setStyle('paddingLeft', '4%').setStyle('paddingRight', '0%');} reshadAdd8 = $('wrapper').getElements('#sidebar .sidebaritem'); for(i=0; i<reshadAdd8.length; i++) {reshadAdd8[i].setStyle('padding', '0px');} reshadAdd9 = $('wrapper').getElements('.contentbox, .podbox'); for(i=0; i<reshadAdd9.length; i++) {reshadAdd9[i].setStyle('background', '#<!--#echo var="GENLIGHTGRAY"-->');} reshadAdd9b = $('wrapper').getElements('#sidebar .sidebaritem,#newsdirbody .contentbox'); for(i=0; i<reshadAdd9b.length; i++) {reshadAdd9b[i].setStyle('background', 'none');} reshadAdd10 = $('wrapper').getElements('#newsdirbody .contentbox .smallfctext.timestamp'); for(i=0; i<reshadAdd10.length; i++) {reshadAdd10[i].setStyle('padding', '0px 0px 10px 0px');} shadAdd11 = $('wrapper').getElements('#pagecontent.pagecontentright, #pagecontent.pagecontentcenter, #sidebar.sidebarleft'); for(i=0; i<shadAdd11.length; i++) {shadAdd11[i].setStyle('borderRight', '1px #<!--#echo var="GENLIGHTGRAYBORDERS"--> solid');} shadAdd11b = $('wrapper').getElements('#pagecontent.pagecontentleft, #sidebar.sidebarright'); for(i=0; i<shadAdd11b.length; i++) {shadAdd11b[i].setStyle('borderLeft', '1px #<!--#echo var="GENLIGHTGRAYBORDERS"--> solid');}}
function doShadows(){var shaChck = $('shadowlayout').value; if (shaChck=='1') $('shadowscheck').removeClass('boxchecked'), $('shadowlayout').value=0,removeShadows(); else $('shadowscheck').addClass('boxchecked'), $('shadowlayout').value=1,setShadows(); $('submitdestyles').click();}
function setFewColors(){invertCdark(); defcdarkCL = $('wrapper').getElements('.price,.digitalsign .contentbox .taskbox h2,.digitalsign .contentbox .taskbox .fctext'); for(i=0; i<defcdarkCL.length; i++) {defcdarkCL[i].setStyle('color', '#'+cdarkaltcolor);} defcbrightMedCL = $('wrapper').getElements('#signature'); for(i=0; i<defcbrightMedCL.length; i++) {defcbrightMedCL[i].setStyle('color', '#'+cbrightmedium);} defcbrightCL = $('wrapper').getElements('#footerlinks,#footerlinks a,#headerwrap .contactboxwidget *,#dropmenu a.toplink,#footerbar .sidebaritem .fctext,#footerbar .sidebaritem .fctext a,#footerbar .sidebaritem .wswrap *,#footerbar .sidebaritem .wswrap * a,.digitalsign #header h2,#footerbar .smallfctext'); for(i=0; i<defcbrightCL.length; i++) {defcbrightCL[i].setStyle('color', '#'+cbright);} defcmatwhiteCL = $('wrapper').getElements('#dropsearch .txtfield,#headerticker,.digitalsign h1,.digitalsign .timebox h2'); for(i=0; i<defcmatwhiteCL.length; i++) {defcmatwhiteCL[i].setStyle('color', '#'+cmatwhite);} cmatdarkgreyCL = $('wrapper').getElements('h4,h4.fctext,h4.fctext a,.userform .txtfield'); for(i=0; i<cmatdarkgreyCL.length; i++) {cmatdarkgreyCL[i].setStyle('color', '#'+cmatdarkgrey);} cbrightCL = $('wrapper').getElements('#footerbar h2,#footerbar h2 a'); for(i=0; i<cbrightCL.length; i++) {cbrightCL[i].setStyle('color', '#'+cbright);} cmatwhiteCL = $('wrapper').getElements('#dropmenu .current a.toplink'); for(i=0; i<cmatwhiteCL.length; i++) {cmatwhiteCL[i].setStyle('color', '#'+materiallatwhite);} cmatlightgreyCL = $('wrapper').getElements('#breadcrumbs.fctext .smallfctext,#breadcrumbs a,.timestamp,.date'); for(i=0; i<cmatlightgreyCL.length; i++) {cmatlightgreyCL[i].setStyle('color', '#'+cmatlightgrey);} cmatgreyCL = $('wrapper').getElements('.fctext.label,.userform .txtfield,#pageframe h3,#pageframe h2,#pageframe h2 a'); for(i=0; i<cmatgreyCL.length; i++) {cmatgreyCL[i].setStyle('color', '#'+cmatgrey);} cmatdarkgreyCL = $('wrapper').getElements('.formbtn,.smallfctext,#dropmenu a.droplink,ul.dropxtra.drbox .topmenubox .fctable.fctext *'); for(i=0; i<cmatdarkgreyCL.length; i++) {cmatdarkgreyCL[i].setStyle('color', '#'+cmatdarkgrey);} cDropLineColor = $('wrapper').getElements('#wrapper:not(.mobileview) #headerwrap.hewrapcenter #dropsearch,#footerbar'); for(i=0; i<cDropLineColor.length; i++) {cDropLineColor[i].setStyle('borderColor', '#'+cdarkmedium);} matWhiteBG = $('wrapper').getElements('.digitalsign #sidebar,.digitalsign .contentbox, .podbox'); for(i=0; i<matWhiteBG.length; i++) {matWhiteBG[i].setStyle('backgroundColor','#<!--#echo var="MATERIALWHITE"-->');} matGenLightBG = $('wrapper').getElements('.userform .txtfield'); for(i=0; i<matGenLightBG.length; i++) {matGenLightBG[i].setStyle('backgroundColor','#<!--#echo var="GENLIGHTGRAY"-->');} $(document.body).setStyle('backgroundColor','#<!--#echo var="GENLIGHTGRAY"-->'); matWhiteBG = $('wrapper').getElements('.formbtn, .btnrow .formbtn.inverse#contracting, .btnrow .formbtn.inverse#contracting:hover, .btnrow #expanding.formbtn:active, #dropmenu a.droplink, #dropmenu a.droplink:visited, #dropmenu ul#drops ul.dropxtra'); for(i=0; i<matWhiteBG.length; i++) {matWhiteBG[i].setStyle('backgroundColor','#<!--#echo var="MATERIALWHITE"-->');} cDarkFoxyBG = $('wrapper').getElements('#fixedfoxycart'); for(i=0; i<cDarkFoxyBG.length; i++) {cDarkFoxyBG[i].setStyle('backgroundColor', '#'+cdarkaltcolor);} styleTop1 = $('wrapper').getElements('#headerwrap.hewrapright li#menuhome a.toplink, #headerwrap.hewrapcenter li#menuhome a.toplink'); for(i=0; i<styleTop1.length; i++) {styleTop1[i].setStyle('marginLeft','-15px');} getTransp();setTransp();}
function setFewAccents(){defaccDarkCL = $('wrapper').getElements('#pageframe .fctext a,#pageframe .wswrap a,h1,h1#maintitle,#sidebar * a,.digitalsign .contentbox .eventbox h2,.digitalsign .contentbox .eventbox .fctext'); for(i=0; i<defaccDarkCL.length; i++) {defaccDarkCL[i].setStyle('color', '#'+accdark);} cAccentDarkBG = $('wrapper').getElements('#dropmenu a.droplink:hover, #headerticker *'); for(i=0; i<cAccentDarkBG.length; i++) {cAccentDarkBG[i].setStyle('backgroundColor','#'+accdark);} $('dropmenu').setStyle('border','none'); reTopBG = $('wrapper').getElements('#dropmenu .current a.toplink'); for(i=0; i<reTopBG.length; i++) {reTopBG[i].setStyle('background', 'none');} reWSwrap = $('pageframe').getElements('.fctext,.wswrap *'); for(i=0; i<reWSwrap.length; i++) {reWSwrap[i].setStyle('color', '#000000');}}
function setSomeColors(){invertCdark(); defcdarkCL = $('wrapper').getElements('.price,.digitalsign .contentbox .taskbox h2,.digitalsign .contentbox .taskbox .fctext'); for(i=0; i<defcdarkCL.length; i++) {defcdarkCL[i].setStyle('color', '#'+cdarkaltcolor);} defcbrightMedCL = $('wrapper').getElements('#signature'); for(i=0; i<defcbrightMedCL.length; i++) {defcbrightMedCL[i].setStyle('color', '#'+cbrightmedium);} defcbrightCL = $('wrapper').getElements('#footerlinks,#footerlinks a,#headerwrap .contactboxwidget *,#dropmenu a.toplink,#footerbar .sidebaritem .fctext,#footerbar .sidebaritem .fctext a,#footerbar .sidebaritem .wswrap *,#footerbar .sidebaritem .wswrap * a,.digitalsign #header h2,.digitalsign .smallfctext,#footerbar .smallfctext'); for(i=0; i<defcbrightCL.length; i++) {defcbrightCL[i].setStyle('color', '#'+cbright);} defcmatwhiteCL = $('wrapper').getElements('#dropsearch .txtfield,#headerticker,#fixedfoxycart .smallfctext a,.digitalsign h1,.digitalsign .timebox h2,.formbtn'); for(i=0; i<defcmatwhiteCL.length; i++) {defcmatwhiteCL[i].setStyle('color', '#'+cmatwhite);} cmatdarkgreyCL = $('wrapper').getElements('h4,h4.fctext,h4.fctext a,.userform .txtfield'); for(i=0; i<cmatdarkgreyCL.length; i++) {cmatdarkgreyCL[i].setStyle('color', '#'+cmatdarkgrey);} cbrightCL = $('wrapper').getElements('#footerbar h2,#footerbar h2 a'); for(i=0; i<cbrightCL.length; i++) {cbrightCL[i].setStyle('color', '#'+cbright);} cmatwhiteCL = $('wrapper').getElements('#dropmenu .current a.toplink,#dropmenu a.droplink,ul.dropxtra.drbox .topmenubox .fctable.fctext *'); for(i=0; i<cmatwhiteCL.length; i++) {cmatwhiteCL[i].setStyle('color', '#'+materiallatwhite);} cmatlightgreyCL = $('wrapper').getElements('#breadcrumbs.fctext .smallfctext,#breadcrumbs a,.timestamp,.date'); for(i=0; i<cmatlightgreyCL.length; i++) {cmatlightgreyCL[i].setStyle('color', '#'+cmatlightgrey);} cmatgreyCL = $('wrapper').getElements('#pageframe h3,#pageframe h2,#pageframe h2 a'); for(i=0; i<cmatgreyCL.length; i++) {cmatgreyCL[i].setStyle('color', '#'+cmatgrey);} cmatdarkgreyCL = $('wrapper').getElements('.fctext.label,.userform .txtfield,.smallfctext'); for(i=0; i<cmatdarkgreyCL.length; i++) {cmatdarkgreyCL[i].setStyle('color', '#'+cmatdarkgrey);} cDropLineColor = $('wrapper').getElements('#wrapper:not(.mobileview) #headerwrap.hewrapcenter #dropsearch,#footerbar'); for(i=0; i<cDropLineColor.length; i++) {cDropLineColor[i].setStyle('borderColor', '#'+cdarkmedium);} matWhiteBG = $('wrapper').getElements('.digitalsign #sidebar,.digitalsign .contentbox, .podbox'); for(i=0; i<matWhiteBG.length; i++) {matWhiteBG[i].setStyle('backgroundColor','#<!--#echo var="MATERIALWHITE"-->');} matGenLightBG = $('wrapper').getElements('.userform .txtfield'); for(i=0; i<matGenLightBG.length; i++) {matGenLightBG[i].setStyle('backgroundColor','#<!--#echo var="GENLIGHTGRAY"-->');} $(document.body).setStyle('backgroundColor','#'+cbrightmedium); matDarkGreyBG = $('wrapper').getElements('.formbtn, .btnrow .formbtn.inverse#contracting, .btnrow .formbtn.inverse#contracting:hover, .btnrow #expanding.formbtn:active'); for(i=0; i<matDarkGreyBG.length; i++) {matDarkGreyBG[i].setStyle('backgroundColor','#<!--#echo var="MATERIALDARKGREY"-->');} cDarkBG = $('wrapper').getElements('#dropmenu ul#drops ul.dropxtra, #fixedfoxycart, #dropmenu a.droplink, #dropmenu a.droplink:visited'); for(i=0; i<cDarkBG.length; i++) {cDarkBG[i].setStyle('backgroundColor','#'+cdark);} styleTop1 = $('wrapper').getElements('#headerwrap.hewrapright li#menuhome a.toplink, #headerwrap.hewrapcenter li#menuhome a.toplink'); for(i=0; i<styleTop1.length; i++) {styleTop1[i].setStyle('marginLeft','-15px');} getTransp();setTransp();}
function setSomeAccents(){defaccDarkCL = $('wrapper').getElements('#pageframe .fctext a,#pageframe .wswrap a,h1,h1#maintitle,#sidebar * a,.digitalsign .contentbox .eventbox h2,.digitalsign .contentbox .eventbox .fctext,.digitalsign .smallfctext'); for(i=0; i<defaccDarkCL.length; i++) {defaccDarkCL[i].setStyle('color', '#'+accdark);} cAccentDarkBG = $('wrapper').getElements('#dropmenu a.droplink:hover, #headerticker *'); for(i=0; i<cAccentDarkBG.length; i++) {cAccentDarkBG[i].setStyle('backgroundColor','#'+accdark);} $('dropmenu').setStyle('border','none'); reTopBG = $('wrapper').getElements('#dropmenu .current a.toplink'); for(i=0; i<reTopBG.length; i++) {reTopBG[i].setStyle('background', 'none');} reWSwrap = $('pageframe').getElements('.fctext,.wswrap *'); for(i=0; i<reWSwrap.length; i++) {reWSwrap[i].setStyle('color', '#000000');}}
function setLotsColors(){invertCdark();defcdarkCL = $('wrapper').getElements('.price,.digitalsign .contentbox .taskbox h2,.digitalsign .contentbox .taskbox .fctext,.digitalsign .smallfctext'); for(i=0; i<defcdarkCL.length; i++) {defcdarkCL[i].setStyle('color', '#'+cdarkaltcolor);} defcbrightMedCL = $('wrapper').getElements('#signature'); for(i=0; i<defcbrightMedCL.length; i++) {defcbrightMedCL[i].setStyle('color', '#'+cbrightmedium);} defcbrightCL = $('wrapper').getElements('#footerlinks,#footerlinks a,#headerwrap .contactboxwidget *,#dropmenu a.toplink,#footerbar .sidebaritem .fctext,#footerbar .sidebaritem .fctext a,#footerbar .sidebaritem .wswrap *,#footerbar .sidebaritem .wswrap * a,.digitalsign #header h2,.digitalsign .smallfctext,#footerbar .smallfctext'); for(i=0; i<defcbrightCL.length; i++) {defcbrightCL[i].setStyle('color', '#'+cbright);} defcmatwhiteCL = $('wrapper').getElements('#dropsearch .txtfield,#headerticker,#fixedfoxycart .smallfctext a,.digitalsign h1,.digitalsign .timebox h2'); for(i=0; i<defcmatwhiteCL.length; i++) {defcmatwhiteCL[i].setStyle('color', '#'+cmatwhite);} cmatdarkgreyCL = $('wrapper').getElements('h4,h4.fctext,h4.fctext a,.userform .txtfield'); for(i=0; i<cmatdarkgreyCL.length; i++) {cmatdarkgreyCL[i].setStyle('color', '#'+cmatdarkgrey);} cbrightCL = $('wrapper').getElements('#footerbar h2,#footerbar h2 a'); for(i=0; i<cbrightCL.length; i++) {cbrightCL[i].setStyle('color', '#'+cbright);} cmatwhiteCL = $('wrapper').getElements('.formbtn, .btnrow .formbtn.inverse#contracting'); for(i=0; i<cmatwhiteCL.length; i++) {cmatwhiteCL[i].setStyle('color', '#'+cmatwhite);} cmatlightgreyCL = $('wrapper').getElements('#breadcrumbs.fctext .smallfctext,#breadcrumbs a,.timestamp,.date'); for(i=0; i<cmatlightgreyCL.length; i++) {cmatlightgreyCL[i].setStyle('color', '#'+cmatlightgrey);} cmatgreyCL = $('wrapper').getElements('.fctext.label,h3,.smallfctext,#sidebar *'); for(i=0; i<cmatgreyCL.length; i++) {cmatgreyCL[i].setStyle('color', '#'+cmatgrey);} cDropLineColor = $('wrapper').getElements('#wrapper:not(.mobileview) #headerwrap.hewrapcenter #dropsearch,#footerbar'); for(i=0; i<cDropLineColor.length; i++) {cDropLineColor[i].setStyle('borderColor', '#'+cdarkmedium);} matWhiteBG = $('wrapper').getElements('.digitalsign #sidebar,.digitalsign .contentbox, .podbox'); for(i=0; i<matWhiteBG.length; i++) {matWhiteBG[i].setStyle('backgroundColor','#<!--#echo var="MATERIALWHITE"-->');} matGenLightBG = $('wrapper').getElements('.userform .txtfield'); for(i=0; i<matGenLightBG.length; i++) {matGenLightBG[i].setStyle('backgroundColor','#<!--#echo var="GENLIGHTGRAY"-->');} $(document.body).setStyle('backgroundColor','#'+cmedium); matWhiteCurrBG = $('wrapper').getElements('#dropmenu .current a.toplink'); for(i=0; i<matWhiteCurrBG.length; i++) {matWhiteCurrBG[i].setStyle('backgroundColor','transparent').style.backgroundImage = 'url(/__Gradient?TL='+transpinline+'<!--#echo var="MATERIALWHITE"-->&TR='+transpinline+'<!--#echo var="MATERIALWHITE"-->&BL='+transpinline+'<!--#echo var="MATERIALWHITE"-->&BR='+transpinline+'<!--#echo var="MATERIALWHITE"-->&Width=128&Height=128)';}matWhiteBG = $('wrapper').getElements('#dropmenu a.droplink, #dropmenu ul#drops ul.dropxtra'); for(i=0; i<matWhiteBG.length; i++) {matWhiteBG[i].setStyle('backgroundColor','#<!--#echo var="MATERIALWHITE"-->');} cDarkFoxyBG = $('wrapper').getElements('#fixedfoxycart'); for(i=0; i<cDarkFoxyBG.length; i++) {cDarkFoxyBG[i].setStyle('backgroundColor', '#'+cdark);} styleTop1 = $('wrapper').getElements('#headerwrap.hewrapright li#menuhome a.toplink, #headerwrap.hewrapcenter li#menuhome a.toplink'); for(i=0; i<styleTop1.length; i++) {styleTop1[i].setStyle('marginLeft','-15px');} styleTop2 = $('wrapper').getElements('#headerwrap.hewrapright li#menuhome.current a.toplink, #headerwrap.hewrapcenter li#menuhome.current a.toplink'); for(i=0; i<styleTop2.length; i++) {styleTop2[i].setStyle('marginLeft','0px');} getTransp();setTransp();}
function setLotsAccents(){defaccDarkCL = $('wrapper').getElements('#pageframe .fctext a,#pageframe .wswrap a,h1,h1#maintitle,#sidebar * a,.digitalsign .contentbox .eventbox h2,.digitalsign .contentbox .eventbox .fctext'); for(i=0; i<defaccDarkCL.length; i++) {defaccDarkCL[i].setStyle('color', '#'+accdark);} accDarkCL = $('wrapper').getElements('#pageframe h2,#pageframe h2 a,#dropmenu .current a.toplink,#dropmenu a.droplink,ul.dropxtra.drbox .topmenubox .fctable.fctext *'); for(i=0; i<accDarkCL.length; i++) {accDarkCL[i].setStyle('color', '#'+accdark);} cAccentDarkBG = $('wrapper').getElements('.formbtn, .btnrow .formbtn.inverse#contracting,#dropmenu a.droplink:hover, #headerticker *'); for(i=0; i<cAccentDarkBG.length; i++) {cAccentDarkBG[i].setStyle('backgroundColor','#'+accdark);} $('dropmenu').setStyle('border','none');}
function setAllColors(){matWhiteCurrBG = $('wrapper').getElements('#dropmenu .current a.toplink'); for(i=0; i<matWhiteCurrBG.length; i++) {matWhiteCurrBG[i].style.backgroundImage = 'none';}invertCdark();defcdarkCL = $('wrapper').getElements('.price,.digitalsign .contentbox .taskbox h2,.digitalsign .contentbox .taskbox .fctext'); for(i=0; i<defcdarkCL.length; i++) {defcdarkCL[i].setStyle('color', '#'+cdarkaltcolor);} defcbrightMedCL = $('wrapper').getElements('#signature'); for(i=0; i<defcbrightMedCL.length; i++) {defcbrightMedCL[i].setStyle('color', '#'+cbrightmedium);} defcbrightCL = $('wrapper').getElements('#footerlinks,#footerlinks a,#headerwrap .contactboxwidget *,#dropmenu a.toplink,#footerbar .sidebaritem .fctext,#footerbar .sidebaritem .fctext a,#footerbar .sidebaritem .wswrap *,#footerbar .sidebaritem .wswrap * a,.digitalsign #header h2,.digitalsign .smallfctext,#footerbar .smallfctext,#footerbar h2,#footerbar h2 a'); for(i=0; i<defcbrightCL.length; i++) {defcbrightCL[i].setStyle('color', '#'+cbright);} defcmatwhiteCL = $('wrapper').getElements('#dropsearch .txtfield,#headerticker,#fixedfoxycart .smallfctext a,.digitalsign h1,.digitalsign .timebox h2'); for(i=0; i<defcmatwhiteCL.length; i++) {defcmatwhiteCL[i].setStyle('color', '#'+cmatwhite);} cmatdarkgreyCL = $('wrapper').getElements('h4,h4.fctext,h4.fctext a,.userform .txtfield'); for(i=0; i<cmatdarkgreyCL.length; i++) {cmatdarkgreyCL[i].setStyle('color', '#'+cmatdarkgrey);} cdarkCL = $('wrapper').getElements('.smallfctext,#sidebar *,#pageframe .fctext,#pageframe .wswrap *'); for(i=0; i<cdarkCL.length; i++) {cdarkCL[i].setStyle('color', '#'+cdarkaltcolor);} cmatwhiteCL = $('wrapper').getElements('.formbtn, .btnrow .formbtn.inverse#contracting,#dropmenu a.droplink,ul.dropxtra.drbox .topmenubox .fctable.fctext *'); for(i=0; i<cmatwhiteCL. length; i++) {cmatwhiteCL[i].setStyle('color', '#'+cmatwhite);} cDropLineColor = $('wrapper').getElements('#wrapper:not(.mobileview) #headerwrap.hewrapcenter #dropsearch,#footerbar'); for(i=0; i<cDropLineColor.length; i++) {cDropLineColor[i].setStyle('borderColor', '#'+cdarkmedium);} matWhiteBG = $('wrapper').getElements('.digitalsign #sidebar,.digitalsign .contentbox, .podbox'); for(i=0; i<matWhiteBG.length; i++) {matWhiteBG[i].setStyle('backgroundColor','#<!--#echo var="MATERIALWHITE"-->');} matGenLightBG = $('wrapper').getElements('.userform .txtfield'); for(i=0; i<matGenLightBG.length; i++) {matGenLightBG[i].setStyle('backgroundColor','#<!--#echo var="GENLIGHTGRAY"-->');} $(document.body).setStyle('backgroundColor','#'+cdarkmedium); styleTop1 = $('wrapper').getElements('#headerwrap.hewrapright li#menuhome a.toplink, #headerwrap.hewrapcenter li#menuhome a.toplink'); for(i=0; i<styleTop1.length; i++) {styleTop1[i].setStyle('marginLeft','-15px');} styleTop2 = $('wrapper').getElements('#headerwrap.hewrapright li#menuhome.current a.toplink, #headerwrap.hewrapcenter li#menuhome.current a.toplink'); for(i=0; i<styleTop2.length; i++) {styleTop2[i].setStyle('marginLeft','0px');} getTransp();setTransp();}
function setAllAccents(){defaccDarkCL = $('wrapper').getElements('#pageframe .fctext a,#pageframe .wswrap a,h1,h1#maintitle,#sidebar * a,.digitalsign .contentbox .eventbox h2,.digitalsign .contentbox .eventbox .fctext'); for(i=0; i<defaccDarkCL.length; i++) {defaccDarkCL[i].setStyle('color', '#'+accdark);} accDarkCL = $('wrapper').getElements('#breadcrumbs.fctext .smallfctext,#breadcrumbs a,.fctext.label,#pageframe h3,#pageframe h2,#pageframe h2 a,.smallfctext.timestamp,.date'); for(i=0; i<accDarkCL.length; i++) {accDarkCL[i].setStyle('color', '#'+accdark);} accBrightCL = $('wrapper').getElements('#dropmenu .current a.toplink'); for(i=0; i<accBrightCL.length; i++) {accBrightCL[i].setStyle('color', '#'+accbright);} cAccentDarkBG = $('wrapper').getElements('#dropmenu a.droplink:hover, #headerticker *'); for(i=0; i<cAccentDarkBG.length; i++) {cAccentDarkBG[i].setStyle('backgroundColor','#'+accdark);} cAccentDarkBG = $('wrapper').getElements('.formbtn, .btnrow .formbtn.inverse#contracting,#dropmenu .current a.toplink, #dropmenu ul#drops ul.dropxtra, #fixedfoxycart, #dropmenu a.droplink'); for(i=0; i<cAccentDarkBG.length; i++) {cAccentDarkBG[i].setStyle('backgroundColor','#'+accdark);} $('dropmenu').setStyle('borderBottom','5px solid #'+accdark);}
function setRounded(){isRoundBig=$('layoutbig').value; if (isRoundBig==1) $('wrapper').setStyle('marginLeft', '50px').setStyle('marginRight', '50px'); else $('wrapper').setStyle('marginLeft', '0px').setStyle('marginRight', '0px'); $('page').setStyle('marginTop', '50px');$('footer').setStyle('paddingBottom', '50px'); doRound1 = $('wrapper').getElements('#page,#headerwrap'); for(i=0; i<doRound1.length; i++) {doRound1[i].setStyle('borderTopLeftRadius', '15px').setStyle('borderTopRightRadius', '15px');} doRound2 = $('wrapper').getElements('.contentbox'); for(i=0; i<doRound2.length; i++) {doRound2[i].setStyle('borderRadius', '5px');} doRound2b = $('wrapper').getElements('.formbtn'); for(i=0; i<doRound2b.length; i++) {doRound2b[i].setStyle('borderRadius', '15px');} doRound3 = $('wrapper').getElements('.footercontent'); for(i=0; i<doRound3.length; i++) {doRound3[i].setStyle('borderBottomLeftRadius', '15px').setStyle('borderBottomRightRadius', '15px');} doRound4 = $('wrapper').getElements('.tilesdir .contentbox .mediaprevframe a, .gallerydir .contentbox a img, .current a.toplink'); for(i=0; i<doRound4.length; i++) {doRound4[i].setStyle('borderTopLeftRadius', '5px').setStyle('borderTopRightRadius', '5px');}}
function reRounded(){$('wrapper').setStyle('marginLeft', '0px').setStyle('marginRight', '0px'); $('page').setStyle('marginTop', '0px');$('footer').setStyle('paddingBottom', '0px'); redoRound1 = $('wrapper').getElements('#page,#headerwrap'); for(i=0; i<redoRound1.length; i++) {redoRound1[i].setStyle('borderTopLeftRadius', '0px').setStyle('borderTopRightRadius', '0px');} redoRound2 = $('wrapper').getElements('.contentbox,.formbtn'); for(i=0; i<redoRound2.length; i++) {redoRound2[i].setStyle('borderRadius', '2px');} redoRound3 = $('wrapper').getElements('.footercontent'); for(i=0; i<redoRound3.length; i++) {redoRound3[i].setStyle('borderBottomLeftRadius', '0px').setStyle('borderBottomRightRadius', '0px');} redoRound4 = $('wrapper').getElements('.tilesdir .contentbox .mediaprevframe a, .gallerydir .contentbox a img, .current a.toplink'); for(i=0; i<redoRound4.length; i++) {redoRound4[i].setStyle('borderTopLeftRadius', '2px').setStyle('borderTopRightRadius', '2px');}}
function doRound(){var roundChck = $('roundlayout').value; if (roundChck=='1') $('roundcheck').removeClass('boxchecked'), $('roundlayout').value=0,reRounded(); else $('roundcheck').addClass('boxchecked'), $('roundlayout').value=1,setRounded(); $('submitdestyles').click();}
function bigAndRound(){isBigRound=$('roundlayout').value; if (isBigRound==0) $('wrapper').setStyle('marginLeft', '50px').setStyle('marginRight', '50px'); else $('wrapper').setStyle('marginLeft', '0px').setStyle('marginRight', '0px');}
function bigNotRound(){isBigRound=$('roundlayout').value; if (isBigRound==1) $('wrapper').setStyle('marginLeft', '50px').setStyle('marginRight', '50px'); else $('wrapper').setStyle('marginLeft', '0px').setStyle('marginRight', '0px');}
function doBig(){var bigChck = $('layoutbig').value; if (bigChck=='1') $('bigcheck').removeClass('boxchecked'), $('layoutbig').value=0,setBig(); else $('bigcheck').addClass('boxchecked'), $('layoutbig').value=1,reBig(); $('submitdestyles').click();}
function setwid(){$('layoutwidthvalue').value=(widinline); isbigmode=$('layoutbig').value; if (isbigmode==1) {doBig1 = $('wrapper').getElements('#page, #headerwrap #headerwidgets #google_translate_element.firstmagicwidget.noassist .skiptranslate.goog-te-gadget, #footer, .webpage.wrapcenter .hasslide.sitehomepage.template25533 #pagecontentsec .wswrap.fcwrap, .webpage.wrapcenter .hasslide.sitehomepage.template25533 #pagecontentsec .splashitem .sitehomeitem.contentbody'); for(i=0; i<doBig1.length; i++) {doBig1[i].setStyle('maxWidth', '100%');} doBig2 = $('wrapper').getElements('#contentpadding, #footerbar'); for(i=0; i<doBig2.length; i++) {doBig2[i].setStyle('maxWidth', widinline+'px');}} else {redoBig1 = $('wrapper').getElements('#page, #headerwrap #headerwidgets #google_translate_element.firstmagicwidget.noassist .skiptranslate.goog-te-gadget, #footer, .webpage.wrapcenter .hasslide.sitehomepage.template25533 #pagecontentsec .wswrap.fcwrap, .webpage.wrapcenter .hasslide.sitehomepage.template25533 #pagecontentsec .splashitem .sitehomeitem.contentbody'); for(i=0; i<redoBig1.length; i++) {redoBig1[i].setStyle('maxWidth', widinline+'px');} redoBig2 = $('wrapper').getElements('#contentpadding, #footerbar'); for(i=0; i<redoBig2.length; i++) {redoBig2[i].setStyle('width', '90%');}}}
function setBig(){bigAndRound();widinline=$('layoutwidthvalue').value; if ($('footerlinks')){$('footerlinks').setStyle('paddingTop', '15px').setStyle('paddingLeft', '5%').setStyle('textAlign', 'left');} if ($('signature')){$('signature').setStyle('paddingTop', '15px').setStyle('paddingRight', '5%').setStyle('textAlign', 'right').setStyle('float', 'right').setStyle('fontSize', '100%');} redoBig1 = $('wrapper').getElements('#page, #headerwrap #headerwidgets #google_translate_element.firstmagicwidget.noassist .skiptranslate.goog-te-gadget, #footer, .webpage.wrapcenter .hasslide.sitehomepage.template25533 #pagecontentsec .wswrap.fcwrap, .webpage.wrapcenter .hasslide.sitehomepage.template25533 #pagecontentsec .splashitem .sitehomeitem.contentbody'); for(i=0; i<redoBig1.length; i++) {redoBig1[i].setStyle('maxWidth', widinline+'px');} redoBig2 = $('wrapper').getElements('#contentpadding, #footerbar'); for(i=0; i<redoBig2.length; i++) {redoBig2[i].setStyle('width', '90%');}}
function reBig(){bigNotRound(); widinline=$('layoutwidthvalue').value; if ($('footerlinks')){$('footerlinks').setStyle('paddingTop', '15px').setStyle('paddingLeft', '0%').setStyle('textAlign', 'center');} if ($('signature')){$('signature').setStyle('paddingTop', '30px').setStyle('paddingRight', '0%').setStyle('textAlign', 'center').setStyle('float', 'none').setStyle('fontSize', '120%');} doBig1 = $('wrapper').getElements('#page, #headerwrap #headerwidgets #google_translate_element.firstmagicwidget.noassist .skiptranslate.goog-te-gadget, #footer, .webpage.wrapcenter .hasslide.sitehomepage.template25533 #pagecontentsec .wswrap.fcwrap, .webpage.wrapcenter .hasslide.sitehomepage.template25533 #pagecontentsec .splashitem .sitehomeitem.contentbody'); for(i=0; i<doBig1.length; i++) {doBig1[i].setStyle('maxWidth', '100%');} doBig2 = $('wrapper').getElements('#contentpadding, #footerbar'); for(i=0; i<doBig2.length; i++) {doBig2[i].setStyle('maxWidth', widinline+'px');}}
function innerScrollUp(){new Fx.Scroll($('fontbox'), {duration:300, wait: false}).toElement('innerscrollstart'); $('themesup').set('tween', {duration:50}).fade('0');$('themesdown').set('tween', {duration:50}).fade('1');}
function innerScrollDown(){new Fx.Scroll($('fontbox'), {duration:300, wait: false}).toElement('skinlistend'); $('themesup').set('tween', {duration:50}).fade('1');$('themesdown').set('tween', {duration:50}).fade('0');}
function innerscrollstop() {if ($('fontbox').scrollTop == 0) $('themesup').set('tween', {duration:50}).fade('0');$('themesdown').set('tween', {duration:50}).fade('1'); if ($('fontbox').offsetHeight + $('fontbox').scrollTop >= $('fontbox').scrollHeight){$('themesup').set('tween', {duration:50}).fade('1');$('themesdown').set('tween', {duration:50}).fade('0');}}
function closeFont(){$('fontlist').set('tween', {duration:150}).fade('0');}
function completeFont(){$('fontlist').set('tween', {duration:150}).fade('0'); newfont=$(fontPut2).value; WebFont.load({google: {families: [newfont]}}); if(fontmode=='title') $('titlefontpreview').removeClass(fontDrop), $('titlefontpreview').addClass($('titlefontclass').value),doTitles(); else $('bodyfontpreview').removeClass(fontDrop), $('bodyfontpreview').addClass($('bodyfontclass').value),doBodies();}
function doTitleFont(){fntUsable =$('fontselector').getElements('a.ftitle'); for(i=0; i<fntUsable.length; i++) {fntUsable[i].setStyle('display','block');} fontmode='title';fontDrop=$('titlefontclass').value, fontPut1=$('titlefontdef'),fontPut2=$('titlefontname'),fontPut3=$('titlefontclass'), $('fontlist').set('tween', {duration:150}).fade('1');}
function doBodyFont(){fntUsable =$('fontselector').getElements('a.ftitle'); for(i=0; i<fntUsable.length; i++) {fntUsable[i].setStyle('display','none');} fontmode='body'; fontDrop=$('bodyfontclass').value, fontPut1=$('bodyfontdef');fontPut2=$('bodyfontname');fontPut3=$('bodyfontclass');$('fontlist').set('tween', {duration:150}).fade('1');}
function setTinyFonts(){doTinyFsize = $('wrapper').getElements('.fctext, h3, h4, h4.fctext, .mobileview #signature, .fctext.label, .userform .txtfield, .wswrap *,.pagecontentcenter #newsdirbody .contentbox .fctext'); for(i=0; i<doTinyFsize.length; i++) {doTinyFsize[i].setStyle('fontSize', '14px').setStyle('lineHeight', '25px');} doTinyFsize2 = $('wrapper').getElements('#dropmenu a.toplink, #dropsearch .txtfield, #headerticker,.formbtn'); for(i=0; i<doTinyFsize2.length; i++) {doTinyFsize2[i].setStyle('fontSize', '14px').setStyle('lineHeight', '14px');} doTinyFsize3 = $('wrapper').getElements('.sidebaritem .fctext, .sidebaritem .wswrap *,.sidebaritem h4.fctext,#fixedfoxycart .smallfctext, #fixedcart, .pagecontentleft #newsdirbody .contentbox .fctext,.pagecontentright #newsdirbody .contentbox .fctext, #headerwrap #headerwidgets *, #dropmenu a.droplink, #signature, .permalink, #footerlinks, #breadcrumbs, #fixedcart, .date,.date *, .smallfctext, .timestamp, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext *'); for(i=0; i<doTinyFsize3.length; i++) {doTinyFsize3[i].setStyle('fontSize', '13px').setStyle('lineHeight', '24px');} doTinyFsize4 = $('wrapper').getElements('#pagecontent h2,#pagecontentsec h2'); for(i=0; i<doTinyFsize4.length; i++) {doTinyFsize4[i].setStyle('fontSize', '26px').setStyle('lineHeight', '36px');} doTinyFsize5 = $('wrapper').getElements('.sidebaritem h2'); for(i=0; i<doTinyFsize5.length; i++) {doTinyFsize5[i].setStyle('fontSize', '19px').setStyle('lineHeight', '29px');} doTinyFsize6 = $('wrapper').getElements('h1,h1#maintitle'); for(i=0; i<doTinyFsize6.length; i++) {doTinyFsize6[i].setStyle('fontSize', '44px').setStyle('lineHeight', '56px');}}
function setSmallFonts(){doSmallFsize = $('wrapper').getElements('.fctext, h3, h4, h4.fctext, .mobileview #signature, .fctext.label, .userform .txtfield, .wswrap *,.pagecontentcenter #newsdirbody .contentbox .fctext'); for(i=0; i<doSmallFsize.length; i++) {doSmallFsize[i].setStyle('fontSize', '16px').setStyle('lineHeight', '27px');} doSmallFsize2 = $('wrapper').getElements('#dropmenu a.toplink, #dropsearch .txtfield, #headerticker,.formbtn'); for(i=0; i<doSmallFsize2.length; i++) {doSmallFsize2[i].setStyle('fontSize', '15px').setStyle('lineHeight', '15px');} doSmallFsize3 = $('wrapper').getElements('.sidebaritem .fctext, .sidebaritem .wswrap *,.sidebaritem h4.fctext,#fixedfoxycart .smallfctext, #fixedcart, .pagecontentleft #newsdirbody .contentbox .fctext,.pagecontentright #newsdirbody .contentbox .fctext, #headerwrap #headerwidgets *, #dropmenu a.droplink, #signature, .permalink, #footerlinks, #breadcrumbs, #fixedcart, .date,.date *, .smallfctext, .timestamp, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext *'); for(i=0; i<doSmallFsize3.length; i++) {doSmallFsize3[i].setStyle('fontSize', '14px').setStyle('lineHeight', '25px');} doSmallFsize4 = $('wrapper').getElements('#pagecontent h2,#pagecontentsec h2'); for(i=0; i<doSmallFsize4.length; i++) {doSmallFsize4[i].setStyle('fontSize', '28px').setStyle('lineHeight', '38px');} doSmallFsize5 = $('wrapper').getElements('.sidebaritem h2'); for(i=0; i<doSmallFsize5.length; i++) {doSmallFsize5[i].setStyle('fontSize', '21px').setStyle('lineHeight', '31px');} doSmallFsize6 = $('wrapper').getElements('h1,h1#maintitle'); for(i=0; i<doSmallFsize6.length; i++) {doSmallFsize6[i].setStyle('fontSize', '48px').setStyle('lineHeight', '62px');}}
function setMediumFonts(){doMediumFsize = $('wrapper').getElements('.fctext, h3, h4, h4.fctext, .mobileview #signature, .fctext.label, .userform .txtfield, .wswrap *,.pagecontentcenter #newsdirbody .contentbox .fctext'); for(i=0; i<doMediumFsize.length; i++) {doMediumFsize[i].setStyle('fontSize', '17px').setStyle('lineHeight', '28px');} doMediumFsize2 = $('wrapper').getElements('#dropmenu a.toplink, #dropsearch .txtfield, #headerticker,.formbtn'); for(i=0; i<doMediumFsize2.length; i++) {doMediumFsize2[i].setStyle('fontSize', '16px').setStyle('lineHeight', '16px');} doMediumFsize3 = $('wrapper').getElements('.sidebaritem .fctext, .sidebaritem .wswrap *,.sidebaritem h4.fctext,#fixedfoxycart .smallfctext, #fixedcart, .pagecontentleft #newsdirbody .contentbox .fctext,.pagecontentright #newsdirbody .contentbox .fctext, #headerwrap #headerwidgets *, #dropmenu a.droplink, #signature, .permalink, #footerlinks, #breadcrumbs, #fixedcart, .date,.date *, .smallfctext, .timestamp, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext *'); for(i=0; i<doMediumFsize3.length; i++) {doMediumFsize3[i].setStyle('fontSize', '15px').setStyle('lineHeight', '26px');} doMediumFsize4 = $('wrapper').getElements('#pagecontent h2,#pagecontentsec h2'); for(i=0; i<doMediumFsize4.length; i++) {doMediumFsize4[i].setStyle('fontSize', '30px').setStyle('lineHeight', '40px');} doMediumFsize5 = $('wrapper').getElements('.sidebaritem h2'); for(i=0; i<doMediumFsize5.length; i++) {doMediumFsize5[i].setStyle('fontSize', '23px').setStyle('lineHeight', '33px');} doMediumFsize6 = $('wrapper').getElements('h1,h1#maintitle'); for(i=0; i<doMediumFsize6.length; i++) {doMediumFsize6[i].setStyle('fontSize', '52px').setStyle('lineHeight', '64px');}}
function setLargeFonts(){doLargeFsize = $('wrapper').getElements('.fctext, h3, h4, h4.fctext, .mobileview #signature, .fctext.label, .userform .txtfield, .wswrap *,.pagecontentcenter #newsdirbody .contentbox .fctext'); for(i=0; i<doLargeFsize.length; i++) {doLargeFsize[i].setStyle('fontSize', '19px').setStyle('lineHeight', '30px');} doLargeFsize2 = $('wrapper').getElements('#dropmenu a.toplink, #dropsearch .txtfield, #headerticker,.formbtn'); for(i=0; i<doLargeFsize2.length; i++) {doLargeFsize2[i].setStyle('fontSize', '17px').setStyle('lineHeight', '17px');} doLargeFsize3 = $('wrapper').getElements('.sidebaritem .fctext, .sidebaritem .wswrap *,.sidebaritem h4.fctext,#fixedfoxycart .smallfctext, #fixedcart, .pagecontentleft #newsdirbody .contentbox .fctext,.pagecontentright #newsdirbody .contentbox .fctext, #headerwrap #headerwidgets *, #dropmenu a.droplink, #signature, .permalink, #footerlinks, #breadcrumbs, #fixedcart, .date,.date *, .smallfctext, .timestamp, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext *'); for(i=0; i<doLargeFsize3.length; i++) {doLargeFsize3[i].setStyle('fontSize', '16px').setStyle('lineHeight', '27px');} doLargeFsize4 = $('wrapper').getElements('#pagecontent h2,#pagecontentsec h2'); for(i=0; i<doLargeFsize4.length; i++) {doLargeFsize4[i].setStyle('fontSize', '32px').setStyle('lineHeight', '42px');} doLargeFsize5 = $('wrapper').getElements('.sidebaritem h2'); for(i=0; i<doLargeFsize5.length; i++) {doLargeFsize5[i].setStyle('fontSize', '24px').setStyle('lineHeight', '34px');} doLargeFsize6 = $('wrapper').getElements('h1,h1#maintitle'); for(i=0; i<doLargeFsize6.length; i++) {doLargeFsize6[i].setStyle('fontSize', '56px').setStyle('lineHeight', '68px');}}
function setHugeFonts(){doHugeFsize = $('wrapper').getElements('.fctext, h3, h4, h4.fctext, .mobileview #signature, .fctext.label, .userform .txtfield, .wswrap *,.pagecontentcenter #newsdirbody .contentbox .fctext'); for(i=0; i<doHugeFsize.length; i++) {doHugeFsize[i].setStyle('fontSize', '21px').setStyle('lineHeight', '32px');} doHugeFsize2 = $('wrapper').getElements('#dropmenu a.toplink, #dropsearch .txtfield, #headerticker,.formbtn'); for(i=0; i<doHugeFsize2.length; i++) {doHugeFsize2[i].setStyle('fontSize', '18px').setStyle('lineHeight', '18px');} doHugeFsize3 = $('wrapper').getElements('.sidebaritem .fctext, .sidebaritem .wswrap *,.sidebaritem h4.fctext,#fixedfoxycart .smallfctext, #fixedcart, .pagecontentleft #newsdirbody .contentbox .fctext,.pagecontentright #newsdirbody .contentbox .fctext, #headerwrap #headerwidgets *, #dropmenu a.droplink, #signature, .permalink, #footerlinks, #breadcrumbs, #fixedcart, .date,.date *, .smallfctext, .timestamp, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext, ul.dropxtra.drbox .topmenubox .fctable.fctext .smallfctext *'); for(i=0; i<doHugeFsize3.length; i++) {doHugeFsize3[i].setStyle('fontSize', '17px').setStyle('lineHeight', '28px');} doHugeFsize4 = $('wrapper').getElements('#pagecontent h2,#pagecontentsec h2'); for(i=0; i<doHugeFsize4.length; i++) {doHugeFsize4[i].setStyle('fontSize', '34px').setStyle('lineHeight', '44px');} doHugeFsize5 = $('wrapper').getElements('.sidebaritem h2'); for(i=0; i<doHugeFsize5.length; i++) {doHugeFsize5[i].setStyle('fontSize', '26px').setStyle('lineHeight', '36px');} doHugeFsize6 = $('wrapper').getElements('h1,h1#maintitle'); for(i=0; i<doHugeFsize6.length; i++) {doHugeFsize6[i].setStyle('fontSize', '62px').setStyle('lineHeight', '74px');}}
function doUpper(){var upChck = $('detailsfontcase').value; if (upChck=='1') $('uppercheck').removeClass('boxchecked'), $('detailsfontcase').value=0,reUpperdet(); else $('uppercheck').addClass('boxchecked'), $('detailsfontcase').value=1,setUpperdet(); $('submitdestyles').click();}
function setBoldDetails(){$('detailsweight').value=1;fntBldDet =$('wrapper').getElements('.timestamp, .date, .fctext a.sidebarlink, #headerticker, #dropmenu, #dropsearch .txtfield, h3, h4.fctext,.formbtn'); for(i=0; i<fntBldDet.length; i++) {fntBldDet[i].setStyle('fontWeight','700');}}
function clearBoldDetails(){$('detailsweight').value=0;refntBldDet =$('wrapper').getElements('.timestamp, .date, .fctext a.sidebarlink, #headerticker, #dropmenu, #dropsearch .txtfield, h3, h4.fctext,.formbtn'); for(i=0; i<refntBldDet.length; i++) {refntBldDet[i].setStyle('fontWeight','400');}}
function setThin(){clearBoldDetails(); if(titletype==2) theThinWeight='100'; else theThinWeight='400'; fntThin =$('wrapper').getElements('h1,h1#maintitle,h2'); for(i=0; i<fntThin.length; i++) {fntThin[i].setStyle('fontWeight',theThinWeight);}}
function setLight(){clearBoldDetails(); if(titletype==2) theLightWeight='300'; else theLightWeight='400'; fntLight =$('wrapper').getElements('h1,h1#maintitle,h2'); for(i=0; i<fntLight.length; i++) {fntLight[i].setStyle('fontWeight',theLightWeight);}}
function setNormal(){clearBoldDetails(); theNormWeight='400'; fntNorm =$('wrapper').getElements('h1,h1#maintitle,h2'); for(i=0; i<fntNorm.length; i++) {fntNorm[i].setStyle('fontWeight',theNormWeight);}}
function setBold(){setBoldDetails(); if(titletype==2 || titletype==1) theBoldWeight='700'; else theBoldWeight='400'; fntBold =$('wrapper').getElements('h1,h1#maintitle,h2'); for(i=0; i<fntBold.length; i++) {fntBold[i].setStyle('fontWeight',theBoldWeight);}}
function setBlack(){setBoldDetails(); if(titletype==2) theBlackWeight='900'; else if(titletype==1) theBlackWeight='700'; else theBlackWeight='400'; fntBlack =$('wrapper').getElements('h1,h1#maintitle,h2'); for(i=0; i<fntBlack.length; i++) {fntBlack[i].setStyle('fontWeight',theBlackWeight);}}
function setUpperdet(){detfontUpper =$('wrapper').getElements('h3,#footerlinks,#signature,#breadcrumbs,h4.fctext,#dropmenu a.toplink,#dropmenu a.droplink, #wrapper:not(.mobileview)  #headerwrap.hewrapcenter #dropsearch .txtfield,.date,.timestamp,.blogdir .datestamp,.formbtn,.digitalsign .smallfctext'); for(i=0; i<detfontUpper.length; i++) {detfontUpper[i].setStyle('textTransform','uppercase');}}
function reUpperdet(){refontUpper =$('wrapper').getElements('h3,#footerlinks,#signature,#breadcrumbs,h4.fctext,#dropmenu a.toplink,#dropmenu a.droplink, #wrapper:not(.mobileview)  #headerwrap.hewrapcenter #dropsearch .txtfield,.date,.timestamp,.blogdir .datestamp,.formbtn,.digitalsign .smallfctext'); for(i=0; i<refontUpper.length; i++) {refontUpper[i].setStyle('textTransform','initial');}}
function setUpperTitl(){titlfontUpper =$('wrapper').getElements('h1,h1#maintitle,h2'); for(i=0; i<titlfontUpper.length; i++) {titlfontUpper[i].setStyle('textTransform','uppercase');}}
function reUpperTitl(){retitlfontUpper =$('wrapper').getElements('h1,h1#maintitle,h2'); for(i=0; i<retitlfontUpper.length; i++) {retitlfontUpper[i].setStyle('textTransform','initial');}}
function doUppertitl(){var upTiChck = $('titlfontcase').value; if (upTiChck=='1') $('upperchecktitl').removeClass('boxchecked'), $('titlfontcase').value=0,reUpperTitl(); else $('upperchecktitl').addClass('boxchecked'), $('titlfontcase').value=1,setUpperTitl(); $('submitdestyles').click();}
function setAbril(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntabrilfatface',fontPut1.value='Abril+Fatface',fontPut2.value='Abril Fatface',completeFont();$('submitdestyles').click();}
function setAguafina(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntaguafina',fontPut1.value='Aguafina+Script',fontPut2.value='Aguafina Script',completeFont();$('submitdestyles').click();}
function setAudiowide(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntaudiowide',fontPut1.value='Audiowide',fontPut2.value='Audiowide',completeFont();$('submitdestyles').click();}
function setBigelow(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntbigelow',fontPut1.value='Bigelow+Rules',fontPut2.value='Bigelow Rules',completeFont();$('submitdestyles').click();}
function setBree(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntbreeserif',fontPut1.value='Bree+Serif',fontPut2.value='Bree Serif',completeFont();$('submitdestyles').click();}
function setComfor(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntcomfortaa',fontPut1.value='Comfortaa',fontPut2.value='Comfortaa',completeFont();$('submitdestyles').click();}
function setChewy(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntchewy',fontPut1.value='Chewy',fontPut2.value='Chewy',completeFont();$('submitdestyles').click();}
function setDamion(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntdamion',fontPut1.value='Damion',fontPut2.value='Damion',completeFont();$('submitdestyles').click();}
function setDidact(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntdidact',fontPut1.value='Didact+Gothic',fontPut2.value='Didact Gothic',completeFont();$('submitdestyles').click();}
function setFascinate(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntfascinate',fontPut1.value='Fascinate',fontPut2.value='Fascinate',completeFont();$('submitdestyles').click();}
function setFascinateInline(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntfascinateinline',fontPut1.value='Fascinate+Inline',fontPut2.value='Fascinate Inline',completeFont();$('submitdestyles').click();}
function setFresca(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntfresca',fontPut1.value='Fresca',fontPut2.value='Fresca',completeFont();$('submitdestyles').click();}
function setGloria(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntgloriahallelujah',fontPut1.value='Gloria+Hallelujah',fontPut2.value='Gloria Hallelujah',completeFont();$('submitdestyles').click();}
function setLobster(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntlobster',fontPut1.value='Lobster',fontPut2.value='Lobster',completeFont();$('submitdestyles').click();}
function setPaci(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntpacifico',fontPut1.value='Pacifico',fontPut2.value='Pacifico',completeFont();$('submitdestyles').click();}
function setPoiret(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntpoiretone',fontPut1.value='Poiret+One',fontPut2.value='Poiret One',completeFont();$('submitdestyles').click();}
function setRouge(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntrougescript',fontPut1.value='Rouge+Script',fontPut2.value='Rouge Script',completeFont();$('submitdestyles').click();}
function setSigmar(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntsigmarone',fontPut1.value='Sigmar+One',fontPut2.value='Sigmar One',completeFont();$('submitdestyles').click();}
function setSpecialEl(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntspecialelite',fontPut1.value='Special+Elite',fontPut2.value='Special Elite',completeFont();$('submitdestyles').click();}
function setSree(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntsree',fontPut1.value='Sree+Krushnadevaraya',fontPut2.value='Sree Krushnadevaraya',completeFont();$('submitdestyles').click();}
function setStoke(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntstoke',fontPut1.value='Stoke',fontPut2.value='Stoke',completeFont();$('submitdestyles').click();}
function setLime(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntlime',fontPut1.value='Limelight',fontPut2.value='Limelight',completeFont();$('submitdestyles').click();}
function setVast(){if(fontmode=='title')$('fontdetailgroup').value=0;fontPut3.value='fntvast',fontPut1.value='Vast+Shadow',fontPut2.value='Vast Shadow',completeFont();$('submitdestyles').click();}
function setAlegreya(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntalegreya',fontPut1.value='Alegreya:400,700',fontPut2.value='Alegreya',completeFont();$('submitdestyles').click();}
function setAmatic(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntamatic',fontPut1.value='Amatic+SC:400,700',fontPut2.value='Amatic SC',completeFont();$('submitdestyles').click();}
function setArchivo(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntarchivo',fontPut1.value='Archivo+Narrow:400,700',fontPut2.value='Archivo Narrow',completeFont();$('submitdestyles').click();}
function setArvo(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntarvo',fontPut1.value='Arvo:400,700',fontPut2.value='Arvo',completeFont();$('submitdestyles').click();}
function setBenchnine(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntbenchnine',fontPut1.value='BenchNine:400,700',fontPut2.value='BenchNine',completeFont();$('submitdestyles').click();}
function setBitter(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntbitter',fontPut1.value='Bitter:400,700',fontPut2.value='Bitter',completeFont();$('submitdestyles').click();}
function setCorgar(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntcormorantgar',fontPut1.value='Cormorant+Garamond:400,700',fontPut2.value='Cormorant Garamond',completeFont();$('submitdestyles').click();}
function setDroidserif(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntdroidserif',fontPut1.value='Droid+Serif:400,700',fontPut2.value='Droid Serif',completeFont();$('submitdestyles').click();}
function setGentium(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntgentium',fontPut1.value='Gentium+Book+Basic:400,700',fontPut2.value='Gentium Book Basic',completeFont();$('submitdestyles').click();}
function setJosefin(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntjosefinsans',fontPut1.value='Josefin+Sans:400,700',fontPut2.value='Josefin Sans',completeFont();$('submitdestyles').click();}
function setLiBask(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntlibrebaskerville',fontPut1.value='Libre+Baskerville:400,700',fontPut2.value='Libre Baskerville',completeFont();$('submitdestyles').click();}
function setMerri(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntmerriweather',fontPut1.value='Merriweather:400,700',fontPut2.value='Merriweather',completeFont();$('submitdestyles').click();}
function setOswald(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntoswald',fontPut1.value='Oswald:400,700',fontPut2.value='Oswald',completeFont();$('submitdestyles').click();}
function setRobCondensed(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntrobotocondensed',fontPut1.value='Roboto+Condensed:400,700',fontPut2.value='Roboto Condensed',completeFont();$('submitdestyles').click();}
function setRobSlab(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntrobotoslab',fontPut1.value='Roboto+Slab:400,700',fontPut2.value='Roboto Slab',completeFont();$('submitdestyles').click();}
function setSourceSans(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntsourcesanspro',fontPut1.value='Source+Sans+Pro:400,700',fontPut2.value='Source Sans Pro',completeFont();$('submitdestyles').click();}
function setSourceSerif(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntsourceserifpro',fontPut1.value='Source+Serif+Pro:400,700',fontPut2.value='Source Serif Pro',completeFont();$('submitdestyles').click();}
function setVollkorn(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntvollkorn',fontPut1.value='Vollkorn:400,700',fontPut2.value='Vollkorn',completeFont();$('submitdestyles').click();}
function setBio(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntbio',fontPut1.value='BioRhyme:400,700',fontPut2.value='BioRhyme',completeFont();$('submitdestyles').click();}
function setCinzel(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntcinzel',fontPut1.value='Cinzel+Decorative:400,700',fontPut2.value='Cinzel Decorative',completeFont();$('submitdestyles').click();}
function setInconso(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntinconso',fontPut1.value='Inconsolata:400,700',fontPut2.value='Inconsolata',completeFont();$('submitdestyles').click();}
function setPTsans(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntptsans',fontPut1.value='PT+Sans:400,700',fontPut2.value='PT Sans',completeFont();$('submitdestyles').click();}
function setPTsansNar(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntptsansnar',fontPut1.value='PT+Sans+Narrow:400,700',fontPut2.value='PT Sans Narrow',completeFont();$('submitdestyles').click();}
function setPTserif(){if(fontmode=='title')$('fontdetailgroup').value=1;fontPut3.value='fntptserif',fontPut1.value='PT+Serif:400,700',fontPut2.value='PT Serif',completeFont();$('submitdestyles').click();}
function setFira(){if(fontmode=='title')$('fontdetailgroup').value=2;fontPut3.value='fntfira',fontPut1.value='Fira+Sans:100,300,400,700,900',fontPut2.value='Fira Sans',completeFont();$('submitdestyles').click();}
function setLato(){if(fontmode=='title')$('fontdetailgroup').value=2;fontPut3.value='fntlato',fontPut1.value='Lato:100,300,400,700,900',fontPut2.value='Lato',completeFont();$('submitdestyles').click();}
function setMont(){if(fontmode=='title')$('fontdetailgroup').value=2;fontPut3.value='fntmontserrat',fontPut1.value='Montserrat:100,300,400,700,900',fontPut2.value='Montserrat',completeFont();$('submitdestyles').click();}
function setRaleway(){if(fontmode=='title')$('fontdetailgroup').value=2;fontPut3.value='fntraleway',fontPut1.value='Raleway:100,300,400,700,900',fontPut2.value='Raleway',completeFont();$('submitdestyles').click();}
function setRoboto(){if(fontmode=='title')$('fontdetailgroup').value=2;fontPut3.value='fntroboto',fontPut1.value='Roboto:100,300,400,700,900',fontPut2.value='Roboto',completeFont();$('submitdestyles').click();}
function setWork(){if(fontmode=='title')$('fontdetailgroup').value=2;fontPut3.value='fntwork',fontPut1.value='Work+Sans:100,300,400,700,900',fontPut2.value='Work Sans',completeFont();$('submitdestyles').click();}
function setPlayfair(){if(fontmode=='title')$('fontdetailgroup').value=3;fontPut3.value='fntplayfair',fontPut1.value='Playfair+Display:400,700,900',fontPut2.value='Playfair Display',completeFont();$('submitdestyles').click();}
function doTitles(){if($('fontdetailgroup').value>0) fntitlelist='h1,h1#maintitle,h2,#dropmenu,#footerlinks,#signature,#dropsearch .txtfield'; else fntitlelist='h1,h1#maintitle,h2'; fntTitles =$('wrapper').getElements(fntitlelist); for(i=0; i<fntTitles.length; i++) {fntTitles[i].setStyle('fontFamily',newfont);}}
function doBodies(){if($('fontdetailgroup').value==0) fntbodylist='.fctext, .wswrap *, input *,.userform .txtfield,.formbtn,#dropmenu,#footerlinks,#signature,#dropsearch .txtfield,.date'; else fntbodylist='.fctext, .wswrap *, input *,.userform .txtfield,.formbtn,.date'; fntBodies =$('wrapper').getElements(fntbodylist); for(i=0; i<fntBodies.length; i++) {fntBodies[i].setStyle('fontFamily',newfont);}}
function setNoColGaps(){setNoGaps = $(document.body).getElements('.webpage #page:not(.template0) .contentbody .wswrap.fcwrap .fctable'); for(i=0; i<setNoGaps.length; i++) {setNoGaps[i].setStyle('-moz-column-gap', '0px').setStyle('-webkit-column-gap', '0px').setStyle('column-gap', '0px').setStyle('-moz-column-rule', 'none').setStyle('-webkit-column-rule', 'none').setStyle('column-rule', 'none');}}
function setColGaps(){setGaps = $(document.body).getElements('.webpage #page:not(.template0) .contentbody .wswrap.fcwrap .fctable'); for(i=0; i<setGaps.length; i++) {setGaps[i].setStyle('-moz-column-gap', '60px').setStyle('-webkit-column-gap', '60px').setStyle('column-gap', '60px').setStyle('-moz-column-rule', '1px outset #<!--#echo var="MATERIALLIGHTGREY"-->').setStyle('-webkit-column-rule', '1px outset #<!--#echo var="MATERIALLIGHTGREY"-->').setStyle('column-rule', '1px outset #<!--#echo var="MATERIALLIGHTGREY"-->');}}
function nudgeCols(){$('contentpadding').innerHTML=$('contentpadding').innerHTML+' ';}
function setCols(){if(colthisscope==1) setNoColGaps(); else setColGaps(); setColumns = $('wrapper').getElements('#page:not(.template0) .contentbody .wswrap.fcwrap .fctable'); for(i=0; i<setColumns.length; i++) {setColumns[i].setStyle('-moz-column-count',colthisscope).setStyle('-webkit-column-count',colthisscope).setStyle('column-count',colthisscope);}; nudgeCols();}
<!--#elif expr="$ACTIVEBUILTIN=true"-->function cleanFMStyles(){siteFMCSS = Asset.css((''), {}); var AcFMStyleB = $('substylesheet'); siteskin='<!--#echo var="STYLESLIB"--><!--#echo var="ACTIVESKIN"-->';<!--#if expr="$CUSTOMOVVERIDE =true && $CSSMODIFIER=true"-->setTimeout('location.href = window.location.href;',400);<!--#else-->siteFMCSS.dispose(this); $('wrapper').style.opacity='0.5'; if (AcFMStyleB != null) $('substylesheet').disabled = true; siteFMCSS = Asset.css((siteskin), {}); $('wrapper').set('tween', {duration:300}).fade('1.0');<!--#endif-->}
function revertFMskin(){TestFMStyle(); $('fmrefdef').addClass('activecheck');
siteFMCSS.dispose(this); cleanFMStyles();}
ThisFMSkin='';  siteFMCSS = Asset.css((''), {}); var AcFMStyle = $('substylesheet'); var AcFMStyle3 = $('customstylesheet'); var AcFMStyle5 = $('builtincss');
function TestFMStyle(){fmsettempskin = $('innerscrollable').getElements('img'); for(i=0; i<fmsettempskin.length; i++) {fmsettempskin[i].removeClass('activecheck');} fmsettempskin3 = $('innerscrollable').getElements('a'); for(i=0; i<fmsettempskin3.length; i++) {fmsettempskin3[i].removeClass('activeskinchecked');} fmsettempskin2 = $('innerscrollable').getElements('.skinsave'); for(i=0; i<fmsettempskin2.length; i++) {fmsettempskin2[i].setStyle('visibility', 'hidden');} siteFMCSS.dispose(this); testskin='/login/__www<!--#echo var="STYLESLIB"-->'+(ThisFMSkin); if (AcFMStyle != null) $('substylesheet').disabled = true; if (AcFMStyle3 != null) $('customstylesheet').disabled = true; if (AcFMStyle5 != null) $('builtincss').disabled = true; $('wrapper').style.opacity='0'; siteFMCSS = Asset.css((testskin), {}); $('wrapper').set('tween', {duration:300}).fade('1.0');}
numskins=0;
function innerscrollstop() {if ($('innerscrollable').scrollTop == 0) $('themesup').set('tween', {duration:50}).fade('0');$('themesdown').set('tween', {duration:50}).fade('1'); if ($('innerscrollable').offsetHeight + $('innerscrollable').scrollTop >= $('innerscrollable').scrollHeight){$('themesup').set('tween', {duration:50}).fade('1');$('themesdown').set('tween', {duration:50}).fade('0');}}
function getFMSkins(){var req = new Request.HTML({url:'/login/__www<!--#echo var="STYLESLIB"-->?templates=editor&both&Table=9_0&fmsiteskin&@<X-FC-ITEM DATA[MessageID] HEX>',method: 'get', onComplete:function(){remskins=numskins-14,remskins2=numskins-4; if (numskins<13) $('showmorestuff').setStyle('display', 'none'); $('themesdown').set('tween', {duration:50}).fade('1'), $('upmorenumber').innerHTML=(remskins), $('downmorenumber').innerHTML=(remskins);}, update: $('innerscrollable')}).send();}
function innerScrollUp(){new Fx.Scroll($('innerscrollable'), {duration:300, wait: false}).toElement('innerscrollstart'); $('themesup').set('tween', {duration:50}).fade('0');$('themesdown').set('tween', {duration:50}).fade('1');}
function innerScrollDown(){new Fx.Scroll($('innerscrollable'), {duration:300, wait: false}).toElement('skinlistend'); $('themesup').set('tween', {duration:50}).fade('1');$('themesdown').set('tween', {duration:50}).fade('0');}
<!--#elif expr="`$ACTIVESKIN`=`CSS`"-->siteskin='<X-FC-FIELD 1912 STRING>';
function noteFMStyles(){siteskinOld=$('stylesheetpath').value;}
function cleanFMStyles(){var AcFMStyleA = $('customstylesheet'); var AcFMStyleB = $('substylesheet'); $('wrapper').style.opacity='0'; if (AcFMStyleA != null) $('customstylesheet').disabled = true; if (AcFMStyleB != null) $('substylesheet').disabled = true; siteFMCSS = Asset.css((siteskinOld), {}); siteFMCSS.dispose(this); newskin=$('stylesheetpath').value; siteFMCSS = Asset.css((newskin), {}); $('wrapper').set('tween', {duration:300}).fade('1.0');}
function doCSSpath(){$('setcsspath').set('tween', {duration:150}).fade('1');}
function undoCSSpath(){$('setcsspath').set('tween', {duration:150}).fade('0');}
<!--#if expr="$LOCALCSS=true"-->function openFCcss(){cssurl=$('stylesheetpath').value;cssbuttonlink='<!--#echo var="FCPATHLOGIN"-->'+(cssurl); this.document.location.href = (cssbuttonlink);}
function openFCcss2(){cssurl2=$('stylesheetpath').value;cssurl2b = cssurl2.substring(0, cssurl2.lastIndexOf('/')+1);css2buttonlink='<!--#echo var="FCPATHLOGIN"-->'+(cssurl2b); this.document.location.href = (css2buttonlink);}
function openFCdav(){davurl=$('stylesheetpath').value;davurlb=davurl.substring(0,davurl.lastIndexOf('/')+1);davbuttonlink2='<!--#echo var="DAVPATHLOGIN"-->'+(davurlb); this.document.location.href = (davbuttonlink2);}<!--#endif-->
<!--#endif--></script>

<div class="edfctext itemboxtitle" style="position:relative;height:14px;"><div class="themestitle"><!--#if expr="`$ACTIVESKIN`=`CSS` && $SHOWDESIGNER=false"--><!--#echo var="FMCSS"--><!--#else--><span id="themewinmovedown" style="opacity:1;visibility:visible;"><a href="javascript:void(0);" onclick="movethemewindown();"><!--#if expr="$ACTIVESKIN=DESIGNMODE"--><!--#echo var="FMTHEMEDESIGNER"--><!--#elif expr="$ACTIVEBUILTIN=true"--><!--#echo var="FMTHEMELIBRARY"--><!--#else--><!--#echo var="FMCSS"--><!--#endif--></a><!--#if expr="`$ACTIVEBUILTIN`=`true` || `$ACTIVESKIN`=`CSS`"--><a href="javascript:void(0);" class="themeswitcher" onclick="setDesigner();">&nbsp;&#x2022;&nbsp;<!--#echo var="FMTHEMEDESIGNER"--></a><!--#endif--><!--#if expr="`$ACTIVESKIN`=`DESIGNMODE` || `$ACTIVESKIN`=`CSS`"--><a href="javascript:void(0);" class="themeswitcher" onclick="setLibrary();">&nbsp;&#x2022;&nbsp;<!--#echo var="FMTHEMELIBRARY"--></a><!--#endif--><!--#if expr="`$ACTIVESKIN`=`DESIGNMODE` || `$ACTIVEBUILTIN`=`true`"--><a href="javascript:void(0);" class="themeswitcher" onclick="setStylesheet();">&nbsp;&#x2022;&nbsp;<!--#echo var="FMCSS"--></a><!--#endif--></span><span id="themewinmoveup" style="opacity:0;visibility:hidden;"><a href="javascript:void(0);" onclick="movethemewinup();"><!--#if expr="$ACTIVESKIN=DESIGNMODE"--><!--#echo var="FMTHEMEDESIGNER"--><!--#elif expr="$ACTIVEBUILTIN=true"--><!--#echo var="FMTHEMELIBRARY"--><!--#else--><!--#echo var="FMCSS"--><!--#endif--></a></span><!--#endif--></div><input title="<!--#echo var="FMCLOSE"-->" type="button" class="toolbtn close" onclick="closeDesigner();"/></div>

<div id="fmskinspanel" class="listitemboxpanel">
<div id="themestyles" class="stylepanel<!--#if expr="$ACTIVESKIN=DESIGNMODE"--> designmodepanel<!--#endif-->">

<div class="designerleft">
<!--#if expr="$FREEDESIGNER=true"--><div class="edfctext designtitle" style="border-bottom:none;"><!--#echo var="FMLAYOUT"--></div><div id="minipreview" style="height:<!--#if expr="$LOGOEXIST=true"-->131<!--#else-->94<!--#endif-->px;"><div id="logolayout" style="background:url(<!--#if expr="$LOGOEXIST=false"-->/.templates/fmlibrary/graphics/blanksquare.png<!--#else--><!--#echo var="THISLOGOPATH"--><!--#endif-->) <!--#if expr="<X-FC-FIELD 1008 NUMBER>=0"-->top left<!--#elif expr="<X-FC-FIELD 1008 NUMBER>=1"-->top center<!--#elif expr="<X-FC-FIELD 1008 NUMBER>=2"-->top right<!--#endif--> no-repeat;background-size:contain;<!--#if expr="$LOGOEXIST=false"-->height:0px;overflow:hidden;<!--#endif-->"><a href="javascript:void(0);" onclick="ChangeToLogoLeft();$('sendlayout').click();"><img style="top:0px;left:0px;" src="/.templates/fmlibrary/graphics/blanksquare.png" width="91" height="36" alt="logo left"/></a><a href="javascript:void(0);" onclick="ChangeToLogoCenter();$('sendlayout').click();"><img style="top:0px;left:91px;" src="/.templates/fmlibrary/graphics/blanksquare.png" width="91" height="36" alt="logo center"/></a><a href="javascript:void(0);" onclick="ChangeToLogoRight();$('sendlayout').click();"><img style="top:0px;left:182px;" src="/.templates/fmlibrary/graphics/blanksquare.png" width="91" height="36" alt="logo right"/></a></div><div style="height:5px;"></div><div id="menulayout" style="<!--#if expr="<X-FC-FIELD 1160 NUMBER>=0"-->background-position:0px -431px;<!--#elif expr="<X-FC-FIELD 1160 NUMBER>=1"-->background-position:0px -483px;<!--#endif-->"><a id="onmenu" style="display:<!--#if expr="<X-FC-FIELD 1160 NUMBER>=0"-->block<!--#else-->none<!--#endif-->;" href="javascript:void(0);" onclick="SetMenuOn();$('sendlayout').click();"><img src="/.templates/fmlibrary/graphics/blanksquare.png" width="276" height="31" alt="menu on" style="border:none;"/></a><a id="offmenu" style="display:<!--#if expr="<X-FC-FIELD 1160 NUMBER>=1"-->block<!--#else-->none<!--#endif-->;" href="javascript:void(0);" onclick="SetMenuOff();$('sendlayout').click();"><img src="/.templates/fmlibrary/graphics/blanksquare.png" width="276" height="31" alt="menu off" style="border:none;"/></a></div><div id="sidebarlayout" style="<!--#if expr="<X-FC-FIELD 1002 NUMBER>=0"-->background-position:0px -113px;<!--#elif expr="<X-FC-FIELD 1002 NUMBER>=1"-->background-position:-5px -325px;<!--#elif expr="<X-FC-FIELD 1002 NUMBER>=2"-->background-position:-10px -219px;<!--#endif-->"><a href="javascript:void(0);" onclick="ChangeToNormLeft();$('sendlayout').click();"><img style="top:0px;left:0px;" src="/.templates/fmlibrary/graphics/blanksquare.png" width="91" height="60" alt="sidebar left"/></a><a href="javascript:void(0);" onclick="ChangeToSec();$('sendlayout').click();"><img id="seclocalpreview" <!--#if expr="$LOCALSIDEBARS=true && $CONTENTALIGN=center"--> class="localsidepreview"<!--#endif--> style="top:0px;left:91px;" src="/.templates/fmlibrary/graphics/blanksquare.png" width="91" height="60" alt="no sidebar"/></a><a href="javascript:void(0);" onclick="ChangeToNormRight();$('sendlayout').click();"><img style="top:0px;left:182px;" src="/.templates/fmlibrary/graphics/blanksquare.png" width="91" height="60" alt="sidebar right"/></a></div></div><!--#endif-->

<div id="logowrap"><div class="edfctext designtitle" style="border-bottom:none;"><!--#echo var="LOGOTXT"--></div><div class="imagewrap"><div class="picpicker" id="logobox" style="<!--#if expr="$LOGOEXIST=false"-->visibility:hidden;opacity:0;<!--#else-->visibility:visible;opacity:1;<!--#endif-->"><a title="<!--#echo var="FMTOOLDELETE"-->" class="newpic" href="javascript:void(0);" onclick="removeLogo();">&#215;</a><div id="logoimagepreview" style="background:url(<!--#echo var="THISLOGOPATH"-->);background-size:contain;background-position:center;background-repeat:no-repeat;"></div></div><div class="picpicker" id="logotxtbox" style="<!--#if expr="$LOGOEXIST=true"-->visibility:hidden;opacity:0;<!--#else-->visibility:visible;opacity:1;<!--#endif-->"><form id="upform" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" action="/login/__www/<!--#echo var="FMROOTLIBRARY"-->/__FormSave?VKey=<X-FC-SESSION VKEY>" enctype="multipart/form-data" method="post" name="upform"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input tabindex="-1" class="imgbrowsernobtns" type="file" id="imageup" name="Attachment" multiple><input tabindex="-1" type="submit" id="upsubmit" name="upsubmit" class="imgbrowsernobtns" value="Uploader"/></form><div class="imguploader"><!--#echo var="FMDROPSELECTIMG"--></div></div></div></div>

<!--#if expr="$ACTIVESKIN=DESIGNMODE"--><form name="savebgupload" id="savebgupload" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" method="post" action="/login/<!--#echo var="THISDOMAIN"-->/Setup/<!--#if expr="$SV!=9"-->__<!--#endif-->FormSave?formid=2659&amp;Clear=0" enctype="multipart/form-data"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input type="hidden" name="VKey" value="<X-FC-SESSION VKEY>"/><input id="bglibimageurl" type="hidden" name="FieldID:1024=STRING" value="<X-FC-FIELD 1024 STRING>"/><input type="submit" tabindex="-1" name="Send" id="sendbgupload" class="imgbrowsernobtns" value="<!--#echo var="FMSAVE"-->"/></form><div id="backdropwrap" style="position:relative;"><div class="edfctext designtitle" style="border-bottom:none;"><!--#echo var="FMBACKGROUND"--></div><div class="imagewrap"><div class="picpicker" id="bgdropbox" style="<!--#if expr="$BACKDROPEXIST=false"-->visibility:hidden;opacity:0;<!--#else-->visibility:visible;opacity:1;<!--#endif-->"><a title="<!--#echo var="FMTOOLDELETE"-->" class="newpic" href="javascript:void(0);" onclick="removePic();">&#215;</a><div id="imagepreview"<!--#if expr="$BACKDROPEXIST=true"--> style="background:url(<X-FC-FIELD 1024 STRING>);background-size:contain;background-position:center;background-repeat:no-repeat;"<!--#endif-->></div></div><div class="picpicker" id="backdroptxtbox" style="<!--#if expr="$BACKDROPEXIST=true"-->visibility:hidden;opacity:0;<!--#else-->visibility:visible;opacity:1;<!--#endif-->"><a title="<!--#echo var="FMOPTIONS"-->" class="newpic" href="javascript:void(0);" onclick="addPic();">+</a><form id="backdropupform" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" action="/login/__www/<!--#echo var="FMROOTLIBRARY"-->/__FormSave?VKey=<X-FC-SESSION VKEY>" enctype="multipart/form-data" method="post" name="backdropupform"><input type="hidden" name="CharSet" value="<X-FC-ITEM DATA[Charset]>"/><input tabindex="-1" type="submit" id="backdropupsubmit" name="backdropupsubmit" class="imgbrowsernobtns" value="Uploader"/>
<input tabindex="-1" class="imgbrowsernobtns" type="file" id="backdropimageup" name="Attachment" multiple></form><div class="imguploader"><!--#echo var="FMDROPSELECTIMG"--></div></div><div class="picpicker" id="bgpickerbox" style="visibility:hidden;opacity:0;"><a title="<!--#echo var="FMCANCEL"-->" class="newpic" href="javascript:void(0);" onclick="removeImageList();">&#215;</a><div id="libpics"><!--#include virtual="/login/__www/.templates/fmlibrary/graphics/backdrops/?leaves&imagebrowser&templates=editor&setarchivepic&ITable=-3_0" --></div></div><div class="clear"></div></div></div><!--#endif-->
</div>

<div class="designerright">
<!--#if expr="`$ACTIVESKIN`=`CSS`"--><div class="edfctext designtitle"><!--#echo var="FMCSS"--></div><div id="innerscrollable" style="overflow:hidden;"><input id="setcsspath" type="image" onclick="$('gofmsubmit').click();" src="/.templates/fmlibrary/graphics/blanksquare.png" title="<!--#echo var="FMSAVE"-->" style="visibility:hidden;opacity:0;"/><!--#endif--><form id="definefmskin" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" 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 type="hidden" id="designermode" name="FieldID:1498=SHORT" value="1"/><input id="useskinno" type="hidden" name="FieldID:1147=SHORT" value="<X-FC-FIELD 1147 NUMBER>"/><!--#if expr="`$ACTIVESKIN`=`CSS`"--><input class="edfield edtxtbox" tabindex="-1" id="stylesheetpath" onfocus="noteFMStyles();" onkeyup="doCSSpath();" type="text" name="FieldID:1912=STRING" value="<X-FC-FIELD 1912 STRING>"/><!--#else--><input class="edfield edtxtbox" tabindex="-1" id="stylesheetpath" type="hidden" name="FieldID:1912=STRING" value="/<!--#echo var="FMROOTLIBRARY"-->/webstyle.css"/><!--#endif--><input id="gofmsubmit" type="submit" value="submit" class="imgbrowsernobtns"/></form><!--#if expr="`$ACTIVESKIN`=`CSS`"--><input id="setcsspath" type="image" onclick="$('gofmsubmit').click();" src="/.templates/fmlibrary/graphics/blanksquare.png" title="<!--#echo var="FMSAVE"-->" style="visibility:hidden;opacity:0;"/><!--#if expr="$LOCALCSS=true"--><div class="edfctext designerbtns" style="border:none;padding-bottom:15px;margin-top:55px;"><input type="button" tabindex="1" onclick="openFCcss();" value="<!--#echo var="FMEDITTHISPAGE"--> CSS" class="edformbtn primary" title="<!--#echo var="FMOPEN"--> <!--#echo var="FMCSS"--> [FirstClass]"/><input type="button" tabindex="1" onclick="openFCcss2();" value="&#8984;" class="edformbtn primary" title="<!--#echo var="FMGOTO"--> <!--#echo var="FMLOCATION"--> [FirstClass]"/><input type="button"  tabindex="2" onclick="openFCdav();" value="&#8984;" class="edformbtn" title="<!--#echo var="FMGOTO"--> <!--#echo var="FMLOCATION"--> [WebDAV]"/></div><!--#endif--></div><!--#endif-->

<!--#if expr="$ACTIVESKIN=DESIGNMODE"-->
<div id="innerscrollable" class="designmodescrollable" style="overflow:hidden;">
<div id="fontlist" style="visibility:hidden;opacity:0;top:0px;left:0px;overflow:hidden;position:absolute;z-index:2;width:440px;height:520px;background:#ffffff;"><a title="<!--#echo var="FMCLOSE"-->" class="newpic" style="top:10px;right:15px;font-size:36px;line-height:36px;width:40px;height:40px;border-radius:40px;position:absolute;z-index:4;" href="javascript:void(0);" onclick="completeFont();">×</a><div id="fontbox" onscroll="innerscrollstop();" style="top:0px;left:0px;overflow-x:hidden;overflow-y:auto;position:absolute;z-index:2;width:440px;height:480px;"><div id="innerscrollstart"></div><div id="fontselector" style="position:relative;z-index:3;top:0px;left:0px;width:390px;padding:15px;"><a onclick="setAbril();" href="javascript:void(0);" class="fontpickers fntabrilfatface ftitle"></a><a onclick="setAguafina();" href="javascript:void(0);" class="fontpickers fntaguafina ftitle"></a><a onclick="setAlegreya();" href="javascript:void(0);" class="fontpickers fntalegreya"></a><a onclick="setAmatic();" href="javascript:void(0);" class="fontpickers fntamatic ftitle"></a><a onclick="setArchivo();" href="javascript:void(0);" class="fontpickers fntarchivo"></a><a onclick="setArvo()" href="javascript:void(0);" class="fontpickers fntarvo"></a><a onclick="setAudiowide();" href="javascript:void(0);" class="fontpickers fntaudiowide ftitle"></a><a onclick="setBenchnine();" href="javascript:void(0);" class="fontpickers fntbenchnine"></a><a onclick="setBio();" href="javascript:void(0);" class="fontpickers fntbio"></a><a onclick="setBitter();" href="javascript:void(0);" class="fontpickers fntbitter"></a><a onclick="setBigelow();" href="javascript:void(0);" class="fontpickers fntbigelow ftitle"></a><a onclick="setBree();" href="javascript:void(0);" class="fontpickers fntbreeserif"></a><a onclick="setCinzel();" href="javascript:void(0);" class="fontpickers fntcinzel"></a><a onclick="setComfor();" href="javascript:void(0);" class="fontpickers fntcomfortaa"></a><a onclick="setCorgar();" href="javascript:void(0);" class="fontpickers fntcormorantgar"></a><a onclick="setChewy();" href="javascript:void(0);" class="fontpickers fntchewy"></a><a onclick="setDamion();" href="javascript:void(0);" class="fontpickers fntdamion ftitle"></a><a onclick="setDidact();" href="javascript:void(0);" class="fontpickers fntdidact"></a><a onclick="setDroidserif();" href="javascript:void(0);" class="fontpickers fntdroidserif"></a><a onclick="setFascinate();" href="javascript:void(0);" class="fontpickers fntfascinate ftitle"></a><a onclick="setFascinateInline();" href="javascript:void(0);" class="fontpickers fntfascinateinline ftitle"></a><a onclick="setFira();" href="javascript:void(0);" class="fontpickers fntfira"></a><a onclick="setFresca();" href="javascript:void(0);" class="fontpickers fntfresca"></a><a onclick="setGentium();" href="javascript:void(0);" class="fontpickers fntgentium"></a><a onclick="setGloria();" href="javascript:void(0);" class="fontpickers fntgloriahallelujah"></a><a onclick="setInconso();" href="javascript:void(0);" class="fontpickers fntinconso"></a><a onclick="setJosefin();" href="javascript:void(0);" class="fontpickers fntjosefinsans"></a><a onclick="setLato();" href="javascript:void(0);" class="fontpickers fntlato"></a><a onclick="setLiBask();" href="javascript:void(0);" class="fontpickers fntlibrebaskerville"></a><a onclick="setLime();" href="javascript:void(0);" class="fontpickers fntlime ftitle"></a><a onclick="setLobster();" href="javascript:void(0);" class="fontpickers fntlobster ftitle"></a><a onclick="setMerri();" href="javascript:void(0);" class="fontpickers fntmerriweather"></a><a onclick="setMont();" href="javascript:void(0);" class="fontpickers fntmontserrat"></a><a onclick="setOswald();" href="javascript:void(0);" class="fontpickers fntoswald"></a><a onclick="setPaci();" href="javascript:void(0);" class="fontpickers fntpacifico ftitle"></a><a onclick="setPlayfair();" href="javascript:void(0);" class="fontpickers fntplayfair"></a><a onclick="setPoiret();" href="javascript:void(0);" class="fontpickers fntpoiretone ftitle"></a><a onclick="setPTsans();" href="javascript:void(0);" class="fontpickers fntptsans"></a><a onclick="setPTsansNar();" href="javascript:void(0);" class="fontpickers fntptsansnar"></a><a onclick="setPTserif();" href="javascript:void(0);" class="fontpickers fntptserif"></a><a onclick="setRaleway();" href="javascript:void(0);" class="fontpickers fntraleway"></a><a onclick="setRoboto();" href="javascript:void(0);" class="fontpickers fntroboto"></a><a onclick="setRobCondensed();" href="javascript:void(0);" class="fontpickers fntrobotocondensed"></a><a onclick="setRobSlab();" href="javascript:void(0);" class="fontpickers fntrobotoslab"></a><a onclick="setRouge();" href="javascript:void(0);" class="fontpickers fntrougescript ftitle"></a><a onclick="setSigmar();" href="javascript:void(0);" class="fontpickers fntsigmarone ftitle"></a><a onclick="setSpecialEl();" href="javascript:void(0);" class="fontpickers fntspecialelite"></a><a onclick="setSourceSans();" href="javascript:void(0);" class="fontpickers fntsourcesanspro"></a><a onclick="setSourceSerif();" href="javascript:void(0);" class="fontpickers fntsourceserifpro"></a><a onclick="setSree();" href="javascript:void(0);" class="fontpickers fntsree"></a><a onclick="setStoke();" href="javascript:void(0);" class="fontpickers fntstoke"></a><a onclick="setVast();" href="javascript:void(0);" class="fontpickers fntvast ftitle"></a><a onclick="setVollkorn();" href="javascript:void(0);" class="fontpickers fntvollkorn"></a><a onclick="setWork();" href="javascript:void(0);" class="fontpickers fntwork"></a><div id="skinlistend"></div></div><div class="clear"></div></div><div id="showmorefonts" class="edfctext designplain"><a id="themesup" href="javascript:void(0);" onclick="innerScrollUp();" onkeypress="innerScrollUp();"><!--#echo var="SHOPMOREITEMS"-->&nbsp;&#9650;</a><a id="themesdown" style="visibility:visible;opacity:1;" href="javascript:void(0);" onclick="innerScrollDown();" onkeypress="innerScrollDown();"><!--#echo var="SHOPMOREITEMS"-->&nbsp;&#9660;</a></div></div>

<div id="designertools" style="position:relative;z-index:1;">
<div class="edfctext designtitle"><!--#echo var="FMCOLORTHEME"--></div>
<div class="cpickerwrap"><div class="edfctext pickertxt"><!--#echo var="FMMAINCOLOR"-->:</div><div id="themecolorpicker" class="stylingpickers"></div><div class="clear"></div></div><div class="cpickerwrap"><div class="edfctext pickertxt"><!--#echo var="FMSECONDCOLOR"-->:</div><div id="accentcolorpicker" class="stylingpickers"></div><div class="clear"></div></div><div class="cpickerwrap"><div class="edfctext pickertxt"><!--#echo var="FMBACKGROUNDTRANSP"-->:</div><div id="transpsetslider" class="slider"><div class="knob" id="transpsetknob"></div></div><div class="edfctext pickertxt" style="width:129px;"><!--#echo var="FMCOLORSCOPE"-->:</div><div id="colorsetslider" class="slider"><div class="knob" id="colorsetknob"></div></div><div class="clear"></div></div>

<div class="edfctext designtitle" style="margin-top:10px;"><!--#echo var="FMFONTS"--></div>
<div class="cpickerwrap" style="position:relative;"><div class="edfctext pickertxt"><!--#echo var="FMTITLES"-->:</div><a href="javascript:void(0);" id="titlefontpreview" class="fontpickers fontpreview <X-FC-FIELD 1680 STRING>" onclick="doTitleFont();"></a><div class="edfctext pickertxt" style="text-align:left;margin-left:11px;padding-right:0px;width:100px;"><span style="display:inline-block;"><label><input id="upperchecktitl" class="checkbox<!--#if expr="<X-FC-FIELD 1254 STRING>==1"--> boxchecked<!--#endif-->" style="margin-top:9px;" type="image" src="/.templates/fmlibrary/graphics/blanksquare.png" onclick="doUppertitl();" tabindex="-1" value="0">&nbsp;<!--#echo var="FMUPPERCASE"--></label></span></div><div class="clear"></div></div><div class="cpickerwrap" style="position:relative;"><div class="edfctext pickertxt"><!--#echo var="FMCONTENT"-->:</div><a href="javascript:void(0);" id="bodyfontpreview" class="fontpickers fontpreview <X-FC-FIELD 1241 STRING>" onclick="doBodyFont();"></a><div class="edfctext pickertxt" style="text-align:left;margin-left:11px;width:100px;padding-right:0px;"><span style="display:inline-block;"><label><input id="uppercheck" class="checkbox<!--#if expr="<X-FC-FIELD 1255 STRING>==1"--> boxchecked<!--#endif-->" style="margin-top:9px;" type="image" src="/.templates/fmlibrary/graphics/blanksquare.png" onclick="doUpper();" tabindex="-1" value="0">&nbsp;<!--#echo var="FMUPPERCASE"--></label></span></div><div class="clear"></div></div><div class="cpickerwrap"><div class="edfctext pickertxt"><!--#echo var="FMTXTSIZE"-->:</div><div id="sizeslider" class="slider"><div class="knob" id="sizeknob"></div></div><div class="edfctext pickertxt" style="width:129px;"><!--#echo var="FMFONTWEIGHT"-->:</div><div id="weightslider" class="slider"><div class="knob" id="weightknob"></div></div><div class="clear"></div></div>

<div class="edfctext designtitle" style="margin-top:10px;"><!--#echo var="FMBELLSANDW"--></div>
<div class="cpickerwrap"><div class="edfctext pickertxt"><!--#echo var="FMLAYOUTWIDTH"-->:</div><div id="widsetslider" class="slider"><div class="knob" id="widsetknob"></div></div><div class="edfctext pickertxt" style="width:129px;"><!--#echo var="FMCOLUMNS"-->:</div><div id="columsetslider" class="slider"><div class="knob" id="columsetknob"></div></div><div class="clear"></div></div><div class="cpickerwrap"><div class="edfctext pickertxt">&nbsp;</div><div class="edfctext pickertxt" style="padding-right:0px;text-align:left;width:114px;"><span style="display:inline-block;"><label><input id="shadowscheck" class="checkbox<!--#if expr="<X-FC-FIELD 1276 STRING>==1"--> boxchecked<!--#endif-->" style="margin-top:9px;" type="image" src="/.templates/fmlibrary/graphics/blanksquare.png" onclick="doShadows();" tabindex="-1" value="0">&nbsp;<!--#echo var="FMSHADOWS"--></label></span></div><div class="edfctext pickertxt" style="text-align:left;width:102px;"><span style="display:inline-block;"><label><input id="bigcheck" class="checkbox<!--#if expr="<X-FC-FIELD 1654 STRING>==1"--> boxchecked<!--#endif-->" style="margin-top:9px;" type="image" src="/.templates/fmlibrary/graphics/blanksquare.png" onclick="doBig();" tabindex="-1" value="0">&nbsp;<!--#echo var="FMEXPANDED"--></label></span></div><div class="edfctext pickertxt" style="padding-right:0px;text-align:left;"><span style="display:inline-block;"><label><input id="roundcheck" class="checkbox<!--#if expr="<X-FC-FIELD 1278 STRING>==1"--> boxchecked<!--#endif-->" style="margin-top:9px;" type="image" src="/.templates/fmlibrary/graphics/blanksquare.png" onclick="doRound();" tabindex="-1" value="0">&nbsp;<!--#echo var="FMROUNDED"--></label></span></div><div class="clear"></div></div>

<div class="designerbtns" style="bottom:2px;left:-15px;position:relative;z-index:8;"><input type="button" class="edformbtn skinsave primary" style="left:0px;position:relative;" onclick="$('gofmsubmit').click();" value="<!--#echo var="FMEXPORT"-->"/></div>
</div>

<form id="savedesignerstyles" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" 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="accdarkdata" type="hidden" name="FieldID:1221=STRING" value="<X-FC-FIELD 1221 STRING>"/><input id="accbrightdata" type="hidden" name="FieldID:1034=STRING" value="<X-FC-FIELD 1034 STRING>"/><input id="cmediumdata" type="hidden" name="FieldID:1200=STRING" value="<X-FC-FIELD 1200 STRING>"/><input id="cbrightmediumdata" type="hidden" name="FieldID:1268=STRING" value="<X-FC-FIELD 1268 STRING>"/><input id="cbrightdata" type="hidden" name="FieldID:1231=STRING" value="<X-FC-FIELD 1231 STRING>"/><input id="cdarkmediumdata" type="hidden" name="FieldID:1204=STRING" value="<X-FC-FIELD 1204 STRING>"/><input id="cdarkdata" type="hidden" name="FieldID:1205=STRING" value="<X-FC-FIELD 1205 STRING>"/><input id="cdefcolpick" type="hidden" name="FieldID:1270=STRING" value="<X-FC-FIELD 1270 STRING>"/><input id="cdefaccpick" type="hidden" name="FieldID:1277=STRING" value="<X-FC-FIELD 1277 STRING>"/><input id="colorscope" type="hidden" name="FieldID:1779=STRING" value="<X-FC-FIELD 1779 STRING>"/><input id="transpscope" type="hidden" name="FieldID:1901=STRING" value="<X-FC-FIELD 1901 STRING>"/><input id="roundlayout" type="hidden" name="FieldID:1278=STRING" value="<X-FC-FIELD 1278 STRING>"/><input id="shadowlayout" type="hidden" name="FieldID:1276=STRING" value="<X-FC-FIELD 1276 STRING>"/><input id="layoutbig" type="hidden" name="FieldID:1654=STRING" value="<X-FC-FIELD 1654 STRING>"/><input id="inlayoutwidth" type="hidden" name="FieldID:1022=STRING" value="<X-FC-FIELD 1022 STRING>"/><input id="layoutwidthvalue" type="hidden" name="FieldID:1755=STRING" value="<X-FC-FIELD 1755 STRING>"/><input id="titlefontdef" type="hidden" name="FieldID:1207=STRING" value="<X-FC-FIELD 1207 STRING>"/><input id="titlefontname" type="hidden" name="FieldID:1600=STRING" value="<X-FC-FIELD 1600 STRING>"/><input id="bodyfontdef" type="hidden" name="FieldID:1213=STRING" value="<X-FC-FIELD 1213 STRING>"/><input id="bodyfontname" type="hidden" name="FieldID:1601=STRING" value="<X-FC-FIELD 1601 STRING>"/><input id="titlefontclass" type="hidden" name="FieldID:1680=STRING" value="<X-FC-FIELD 1680 STRING>"/><input id="bodyfontclass" type="hidden" name="FieldID:1241=STRING" value="<X-FC-FIELD 1241 STRING>"/><input id="fontdetailgroup" type="hidden" name="FieldID:1756=STRING" value="<X-FC-FIELD 1756 STRING>"/><input id="fontsizes" type="hidden" name="FieldID:1245=STRING" value="<X-FC-FIELD 1245 STRING>"/><input id="fontweight" type="hidden" name="FieldID:1249=STRING" value="<X-FC-FIELD 1249 STRING>"/><input id="detailsweight" type="hidden" name="FieldID:1233=STRING" value="<X-FC-FIELD 1233 STRING>"/><input id="detailsfontcase" type="hidden" name="FieldID:1255=STRING" value="<X-FC-FIELD 1255 STRING>"/><input id="titlfontcase" type="hidden" name="FieldID:1254=STRING" value="<X-FC-FIELD 1254 STRING>"/><input id="columnscope" type="hidden" name="FieldID:1562=SHORT" value="<X-FC-FIELD 1562 NUMBER>"/><input class="imgbrowsernobtns" id="submitdestyles" type="submit" value="SAVE"/></form>
</div>

<!--#elif expr="$ACTIVEBUILTIN=true"--><form id="tempdefinefmskin" class="noguestform<!--#if expr="`$DEVICE`=`MOBILE`"--> mobileview<!--#endif-->" 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="tempuseskinno" type="hidden" name="FieldID:1147=SHORT" value="<X-FC-FIELD 1147 NUMBER>"/><input id="gotempfmsubmit" type="submit" value="submit" class="imgbrowsernobtns"/></form>
<div class="edfctext designtitle"><!--#echo var="FMSKIN"--></div>
<div id="innerscrollable" onscroll="innerscrollstop();"></div><!--#endif-->
</div>
<div class="clear"></div>
</div>
<!--#if expr="$ACTIVEBUILTIN=true"--><div id="showmorestuff" class="edfctext designplain"><a id="themesup" href="javascript:void(0);" onclick="innerScrollUp();" onkeypress="innerScrollUp();"><span id="upmorenumber"></span>&nbsp;<!--#echo var="SHOPMOREITEMS"-->&nbsp;&#9650;</a><a id="themesdown" href="javascript:void(0);" onclick="innerScrollDown();" onkeypress="innerScrollDown();"><span id="downmorenumber"></span>&nbsp;<!--#echo var="SHOPMOREITEMS"-->&nbsp;&#9660;</a></div><div class="clear"></div>
<!--#endif-->
</div><div id="skindesarrow"></div>