<!-- JavaScript source code for Opening Child Windows -->
<!--SCRIPT LANGUAGE="JavaScript">
<!--
/// <summary>
/// ********************************************************************************************************
/// Script: OpenChild.js
/// Description:	Script to handle opening a child modal dialog box from box IE and Firefox.
/// ******************************************************************************************************** </summary> <remarks>
/// MODIFICATION HISTORY
/// Person				Date     Comments
/// ---------------	------   -----------------------------------------------------------------------------
/// Rodney Thompson	4/21/06	Created
/// ******************************************************************************************************** </remarks>
var d = new Date();
var ID = d.getDate()+""+d.getMonth() + 1+""+d.getFullYear()+""+d.getHours()+""+d.getMinutes()+""+d.getSeconds();

function OpenChild(FileName) 
{
	var WinSettings = "status:no;dialogWidth:600px;dialogHeight:300px;center:yes;dialogTop:600px;dialogHide:false;help:no;scroll:no;"
	var height = 300;
	var width = 600;
	var left = (screen.availWidth - width)/2;
	var top = (screen.availHeight - height)/2;
	// ALTER BELOW LINE - supply correct URL for Child Form
	if (window.showModalDialog)
	{
		var dialogArguments = new Object();
		var _R = window.showModalDialog(FileName,dialogArguments,WinSettings);
   }
	else	
	{
		var left = (screen.width-width)/2;
		var top = (screen.height-height)/2;
 		winHandle = window.open(FileName, ID, "modal,toolbar=false,location=false,directories=false,status=false,menubar=false,scrollbars=no,resizable=no,left="+left+",top="+top+",width="+width+",height="+height);
		winHandle.focus();
	}
	return false;
}
-->
<!--/SCRIPT --> 