
var jsPathStd="../standard/js/";
 

document.write("<script type='text/javascript' src='/shi/a4j.res/org.ajax4jsf.framework.ajax.AjaxScript.jsf'></script>");
document.write("<script type='text/javascript' src='/shi/a4j.res/org/ajax4jsf/renderkit/html/scripts/form.js.jsf'></script>");
document.write("<SCRIPT LANGUAGE=\"JavaScript\" SRC=\"" + jsPathStd + "shiFunction.js\" TYPE=\"text/javascript\"></SCRIPT>")

function DoLink(softparams)
{   
    var oTopWindow = getWebAppTop()
    oTopWindow.document.getElementById('softFormId:softCommandLinkInput').value=softparams;    
    var link=oTopWindow.document.getElementById('softFormId:softCommandLink');
	link.click();
}

function doSHIFileLink(fileName)
{
    var oTopWindow = getWebAppTop();
    oTopWindow.document.SHIparamForm.fn.value		= fileName;
    oTopWindow.document.SHIparamForm.invalidatesession.value 	= "false";
    oTopWindow.document.SHIparamForm.submit();
}

function doSHIAliasLink(alias)
{
    var oTopWindow = getWebAppTop();
    oTopWindow.document.SHIparamForm.alias.value		= alias;
    oTopWindow.document.SHIparamForm.invalidatesession.value 	= "false";
    oTopWindow.document.SHIparamForm.submit();
}

function doPagingLink(page, forid)
{
    var oTopWindow = getWebAppTop();
    oTopWindow.document.SHIparamForm.forid.value		= forid;
    oTopWindow.document.SHIparamForm.page.value		= page;
    oTopWindow.document.SHIparamForm.invalidatesession.value 	= "false";
    oTopWindow.document.SHIparamForm.submit();
}