//crunchinatorvariable_compressed
function fBugReport(){fDebugPoint('fShowBugReport','Starting bug reporting wizard');var oWizardData=new Object();oWizardData.debuglog=sDebuglog;oWizardData.modulesloaded=aModulesLoaded.valueOf();oWizardData.sWizard='reportBug.htm';oWizardData.sSessionID=sgSessionID;sWin=showModalDialog('engines/wizard.htm',oWizardData,'dialogHeight:395px;dialogWidth:506px;help:no;resizable:no;scroll:no;status:no');return sWin;}function fShowPicklist(sData,sTitle){fDebugPoint('fShowPicklist','Starting picklist');var oPickData=new Object();oPickData.sData=sData;if(sTitle)oPickData.sTitle=sTitle;return showModalDialog('../engines/picklist.htm',oPickData,'dialogHeight:340px;dialogWidth:275px;help:no;resizable:no;scroll:no;status:no');}function fShowWizard(sWizard){fDebugPoint('fShowWizard','Starting wizard '+sWizard);var oWizardData=new Object();oWizardData.sWizard=sWizard;oWizardData.sSessionID=sgSessionID;sWin=showModalDialog('engines/wizard.htm',oWizardData,'dialogHeight:395px;dialogWidth:506px;help:no;resizable:no;scroll:no;status:no');return sWin;}function fRunPlugin(sPlugin){fDebugPoint('fRunPlugin','Starting plugin '+sPlugin);var oPluginData=new Object();oPluginData.sPlugin=sPlugin;oPluginData.sSessionID=sgSessionID;sWin=showModalDialog('engines/plugin.htm',oPluginData,'dialogHeight:550px;dialogWidth:606px;help:no;resizable:no;scroll:no;status:no');return sWin;}function fShowDialog(sDialog,sButtons){fDebugPoint('fShowDialog','Starting dialog '+sDialog+' with buttons '+sButtons);var oDialogData=new Object();oDialogData.sWizard=sDialog;oDialogData.sSessionID=sgSessionID;oDialogData.sButtons=sButtons;sWin=showModalDialog('engines/dialog.htm',oDialogData,'dialogHeight:395px;dialogWidth:506px;help:no;resizable:no;scroll:no;status:no');return sWin;}function fShowTabbed(sTabs,sButtons){fDebugPoint('fShowTabbed','Starting tabbed '+sTabs+' with buttons '+sButtons);var oDialogData=new Object();oDialogData.sWizard=sTabs;oDialogData.sSessionID=sgSessionID;oDialogData.sButtons=sButtons;sWin=showModalDialog('engines/tabs.htm',oDialogData,'dialogHeight:455px;dialogWidth:410px;help:no;resizable:no;scroll:no;status:no');return sWin;}function fViewWebsite(){fDebugPoint('fViewWebsite','showing website');var iWidth=Math.round(3*screen.width/4);var iHeight=Math.round(3*screen.height/4);var oWin=window.open('engines/preview.htm?sessionid='+sgSessionID,'preview','width='+iWidth+', height='+iHeight+', status=yes, resizable=yes');if(document.all.oEditor)document.all.oEditor.setAttribute('grabFocus','false');oWin.focus();}function fFileProperties(){var oParams=new Object;oParams.sSessionID=sgSessionID;oParams.sObjectName=oForm.objectname.value;oParams.sWizard='fileProperties.htm';oParams.sButtons='ok cancel';sWin=showModalDialog('engines/tabs.htm',oParams,'dialogHeight:455px;dialogWidth:410px;help:no;resizable:no;scroll:no;status:no');}function fShowHelp(){window.open('http://www.gtwebpublisher.co.uk/clients/wp/webpublisherhelp','win','scrollbars=yes, width=600, height='+(screen.height-150));}function fSetupShow(sData){fDebugPoint('fSetupShow','Setting up for intray / welcome');var bSetToolbars=true;if(document.all.oEditor){with(document.all.oEditor){var sEditorMode=getAttribute('tagName');var sBarsVisible=sEditorMode=='DIV'?fHideToolbarGroup('1'):getAttribute('barshidden');fReplaceNode(document.all.oEditor,'DIV');}document.all.oEditor.id='oIntray';}else bSetToolbars=false;if(document.all.oIntray)with(document.all.oIntray){if(!getAttribute('editorMode'))setAttribute('editorMode',sEditorMode);if(bSetToolbars)setAttribute('barshidden',sBarsVisible);fDebugPoint('fShowIntray','Caching editor mode '+sEditorMode);fDebugPoint('fShowIntray','Caching toolbars '+sBarsVisible);contentEditable=false;innerHTML=sData;className='intrayClass';}oForm.pagecontent.changed=false;}function fShowIntray(sData){fDebugPoint('fShowIntray','Showing in-tray');fWait('Showing Intray');fSetupShow(sData);fDisableByID('oIntray');document.title='Intray - GT webPublisher4';fAnimateButton(oForm.intray,'inert');fUnWait();fDebugPoint('fShowIntray','Complete');}function fShowWelcome(sData){fDebugPoint('fShowIntray','Showing welcome');fWait('Showing Welcome Screen');fSetupShow(sData);fDisableByID('oWelcome');document.title='Welcome to GT webPublisher4';fUnWait();fDebugPoint('fShowWelcome','Complete');}function fShowTemplateManager(sData){fDebugPoint('fShowTemplateManager','Showing welcome');fWait('Showing Template Manager');fSetupShow(sData);fDisableByID('oTemplates');document.title='GT webPublisher4 Template Manager';fUnWait();fDebugPoint('fShowTemplateManager','Complete');}function fLoadTemplateManager(){fDebugPoint('fLoadTemplateManager','Loading templates');if((oForm.pagecontent.changed==true)&&(fConfirm('Document will close','do you want to save changes ?','yes no','default')))fSave();with(document.oForm){objectname.value='';groupname.value='';}fWait('Loading Template Manager');oDownload.startDownload('http://gtwebpublisher.co.uk/cgi-bin/webpublisher4/manage_templates.cgi?sessionid='+sgSessionID,fShowTemplateManager);fDebugPoint('fLoadTemplateManager','waiting for callback');}function fLoadIntray(){fDebugPoint('fLoadIntray','Loading in-tray');if((oForm.pagecontent.changed==true)&&(fConfirm('Document will close','do you want to save changes ?','yes no','default')))fSave();with(document.oForm){objectname.value='';groupname.value='';}fWait('Loading Intray');oDownload.startDownload('http://gtwebpublisher.co.uk/cgi-bin/webpublisher4/show_notifications.cgi?sessionid='+sgSessionID,fShowIntray);fDebugPoint('fLoadIntray','waiting for callback');}function fLoadWelcome(){fDebugPoint('fLoadIntray','Loading welcome');with(document.oForm){objectname.value='';groupname.value='';}fWait('Loading Welcome Screen');oDownload.startDownload('http://gtwebpublisher.co.uk/login4/welcome.htm',fShowWelcome);fDebugPoint('fLoadWelcome','waiting for callback');}function fLoadUsageStats(sView){fDebugPoint('fUsageStats','Loading usage stats');if(sView=='csv'){location='http://gtwebpublisher.co.uk/cgi-bin/webpublisher4/show_usage_stats.cgi?sessionid='+sgSessionID+'&view=csv';return;}fWait('Loading Audit Trail');if((oForm.objectname.value!='')&&(fConfirm('Document will close','do you want to save changes ?','yes no','default')))fSave();with(document.oForm){objectname.value='';groupname.value='';}oDownload.startDownload('http://gtwebpublisher.co.uk/cgi-bin/webpublisher4/show_usage_stats.cgi?sessionid='+sgSessionID+'&view=html',fShowIntray);fDebugPoint('fLoadUsageStats','waiting for callback');}fRegister('loaders.js v.0904031728');
