

//custom dialog window openers -- REQUIRES modaldialog.js be loaded in <HEAD> tag
//NOTE: This is just an example of how to create a window opener function. It is NOT part of NRCSCJ
/*
function jsPopEmployeeSuggestions() {
	var sClsBtn      = '<INPUT TYPE="button" id="btnCls" name="btnCls" VALUE="Close"  class="cRegButtons" onClick="parent.jsCloseCancel()">&nbsp;';
	var sSubBtnC     = '<INPUT TYPE="button" id="btnSub" name="btnSub" VALUE="Submit" class="cRegButtons" onClick="top.dlogBody.jsSubmitWindow(\'SaveClose\', 0)" >&nbsp;';  //parent.jsCloseOK()
	var sSubBtnS     = '<INPUT TYPE="button" id="btnSub" name="btnSub" VALUE="Submit and Stay"  class="cRegButtons" onClick="top.dlogBody.jsSubmitWindow(\'SaveStay\', 0)" >&nbsp;';  //parent.jsCloseOK()
	var sPrntBtn     = '<INPUT TYPE="button" id="btnPrint" name="btnPrint" VALUE="Print" class="cRegButtons" onClick="parent.dlogBody.focus();parent.dlogBody.print()" >&nbsp;';

	var sDefArgs     = jsSetParamStr("OpenStr", "?", sKeySep, sValSep);
	sDefArgs        += jsSetParamStr("PairSep", "=", sKeySep, sValSep);
	sDefArgs        += jsSetParamStr("GroupSep", "&", sKeySep, sValSep);
	var sContentHTML = "";
	var sURL         =  "dialogFS.aspx?windowname=" + "Online%20Suggestion%20System";
	//var nWidth       = 550;
	//var nHeight      = 300;
	var nWidth       = screen.availwidth  * .70;
	var nHeight      = screen.availheight * .90;
	var sContentURL  = "PopEmployeeSuggestions.aspx";
	var sButtonHTML  = "<TABLE border='0' cellpadding='0' cellspacing='0' width='100%' height='80%'><TR valign='top'>";
	sButtonHTML     += "<TD class='cDataEntry'>&nbsp;</TD>"
	sButtonHTML     += "<TD class='cDataEntryR'>" + sPrntBtn + sSubBtnC + sClsBtn + "</TD>";
	sButtonHTML     += "</TR></TABLE>";
	var sArgs        = sDefArgs;
	var sScreenLoc   = "uc";
	var sWinAttrs    = ",resizable=yes";
	jsOpenDialog(sURL,nWidth,nHeight,jsRetNoRefresh,sContentHTML,sContentURL,sButtonHTML,sArgs,sScreenLoc,sWinAttrs);
} //jsPopEmployeeSuggestions
*/
