<!--//
function fns_wShowPrintpreview()
{
openPopup('/cgi-bin/wPrintpreview.cgi?source='+document.location.href, 'printpreview');
}
function fns_wShowPrintpreviewWAI()
{
openPopup('/cgi-bin/wPrintpreview.cgi?source='+window.location.search.substring(1), 'printpreview');
}
function fns_wCreateFile(path)
{
var url = "/cgi-bin/wFilecreator.cgi?path=" + path + "&redirectendedit=javascript:opener.location.reload()_semicolon_self.close()";
open (url, "", "width=768,height=520,resizable=yes");
}
function fns_wEditFile(file)
{
if(top.name == 'wWeblic' && name == 'main' || 'blank' == 'self')
{
var url = '/cgi-bin/wEditor.cgi?file=' + file + '&redirectendedit=&action=startedit';
location.href = url;
}
else if ('blank' == 'inline')
{
var url = '/cgi-bin/wEditor.cgi?file=' + file + '&redirectendedit=&action=startedit';
frames['wEditorInline'].location.href = url;
wOpenFrameInline();
}
else
{
var url = '/cgi-bin/wEditor.cgi?file=' + file + '&redirectendedit=refreshOpener&action=startedit';
var winHeight = screen.availHeight - 64;
var winWidth  = screen.availWidth  - 36;
open (url, '', 'width=' + winWidth + ',height=' + winHeight +  ',resizable=yes');
}
}
function fns_wEditOption(file)
{
var url = '/cgi-bin/wXteditor.cgi?file=' + file + '&options=documentXt&redirectendedit=refreshOpener&action=showmaskeditdocumentxt';
window.open(url, '', 'width=768,height=520,resizable=yes');
}
//-->
