{conf[site][name]} :: {leadArticle[title]} {foreach:aCssFiles,file} {end:} {scriptOpen:h} var SGL_JS_WEBROOT="{webRoot}"; var SGL_JS_WINHEIGHT={conf[popup][winHeight]}; var SGL_JS_WINWIDTH={conf[popup][winWidth]}; var SGL_JS_SESSID="{sessID}"; var SGL_JS_CURRURL="{currUrl}"; var SGL_JS_THEME="{theme}"; var SGL_JS_ADMINGUI="0"; var SGL_JS_DATETEMPLATE="{getDateFormat()}"; var SGL_JS_URL_STRATEGY = "{conf[site][outputUrlHandler]}"; var SGL_JS_FRONT_CONTROLLER = "{conf[site][frontScriptName]}"; {scriptClose:h} {if:isAdmin()} {scriptOpen:h} var SGL_JS_DATETEMPLATE="{getDateFormat()}"; {scriptClose:h}
{end:}
{foreach:javascriptSrc,file}
{end:} {scriptOpen:h} {foreach:onReadyDom,eventHandler} sgl.ready("{eventHandler}"); {end:} {if:onLoad} window.onload = function() { {foreach:onLoad,eventHandler} {eventHandler}; {end:} } {end:} {if:onUnload} window.onunload = function() { {foreach:onUnload,eventHandler} {eventHandler}; {end:} } {end:} {scriptClose:h} {if:wysiwyg} {if:wysiwyg_htmlarea}
{end:} {if:wysiwyg_xinha}
{end:} {if:wysiwyg_fck}
{end:} {if:wysiwyg_tinyfck}
{end:} {end:} {foreach:headerExtras,extra} {extra:h} {end:}