var t;

function initInfoWin() {
	// -------------------------------------------------------
	// Creates the Info Window if it does not exist.
	//   Always sets content to *.html and positions window.
	// -------------------------------------------------------

	var theWin;
	if (! eval(parent.ToolFrame.win1)) {
		parent.ToolFrame.win1 = window.open("","Attributes","width="+parent.g_iAttrWidth+",height="+parent.g_iAttrHeight+",scrollbars=yes,resizable=yes");
	} else if (parent.ToolFrame.win1 && parent.ToolFrame.win1.closed) {
		parent.ToolFrame.win1 = window.open("","Attributes","width="+parent.g_iAttrWidth+",height="+parent.g_iAttrHeight+",scrollbars=yes,resizable=yes");
	} 
	t = setTimeout("checkTime()",2000);
	var winWid;
	var sString;
	sString = "blank.htm";

	if (isNav) {
		winWid = parent.outerWidth;
		parent.ToolFrame.win1.moveTo(winWid,0);
		parent.ToolFrame.win1.document.location = sString;
		parent.ToolFrame.win1.focus();
		parent.focus();
	} else {
		winWid = iWidth;                   //+200;
		parent.ToolFrame.win1.moveTo(winWid,0);
		parent.ToolFrame.win1.document.location = sString;
		parent.ToolFrame.win1.focus();
		parent.ToolFrame.win1.blur();
	}
	//t = setTimeout("checkTime()",500);
}

function createInfoWin(meth) {
	// -------------------------------------------------------
	// Creates the Info Window if it does not exist.
	//   ONLY sets content to *.html if it is created here.
	// -------------------------------------------------------

	var winWid;
	var sString;
	sString = "blank.htm";
	if (! eval(parent.ToolFrame.win1)) {
		parent.ToolFrame.win1 = window.open("","Attributes","width="+parent.g_iAttrWidth+",height="+parent.g_iAttrHeight+",scrollbars=yes,resizable=yes");
		t = setTimeout("checkTime()",2000);
		if (isNav) {
			t = setTimeout("checkTime()",2000);
			winWid = parent.outerWidth;
			parent.ToolFrame.win1.moveTo(winWid,0);
			parent.ToolFrame.win1.document.location = sString;
			parent.focus();
			parent.ToolFrame.win1.focus();
			parent.focus();
		} else {
			winWid = iWidth;                  //+200;
			parent.ToolFrame.win1.moveTo(winWid,0);
			parent.ToolFrame.win1.document.location = sString;
			parent.ToolFrame.win1.focus();
			parent.ToolFrame.win1.blur();
		}
	} else if (parent.ToolFrame.win1 && parent.ToolFrame.win1.closed) {
		parent.ToolFrame.win1 = window.open("","Attributes","width="+parent.g_iRptWidth+",height="+parent.g_iRptHeight+",scrollbars=yes,resizable=yes");
		t = setTimeout("checkTime()",2000);
		if (isNav) {
			t = setTimeout("checkTime()",2000);
			winWid = parent.outerWidth;
			parent.ToolFrame.win1.moveTo(winWid,0);
			parent.ToolFrame.win1.document.location = sString;
			parent.focus();
			parent.ToolFrame.win1.focus();
			parent.focus();
		} else {
			winWid = iWidth;                  //+200;
			parent.ToolFrame.win1.moveTo(winWid,0);
			parent.ToolFrame.win1.document.location = sString;
			parent.ToolFrame.win1.focus();
			parent.ToolFrame.win1.blur();
		}

	} 
		t = setTimeout("checkTime()",2000);
}


function initWin1(meth) {
	// -------------------------------------------------------
	// sets content of the Info Window to *.html and positions window.
	// -------------------------------------------------------

	var winWid;
	var sString;
	sString = "blank.htm";
	
	if (isNav) {
		winWid = parent.outerWidth;
		parent.ToolFrame.win1.moveTo(winWid,0);
		parent.ToolFrame.win1.document.location = sString;
		parent.ToolFrame.win1.focus();
		parent.focus();
	} else {
		winWid = iWidth;             //+200;
		parent.ToolFrame.win1.moveTo(winWid,0);
		parent.ToolFrame.win1.document.location = sString;
		parent.ToolFrame.win1.focus();
		parent.ToolFrame.win1.blur();
		t = setTimeout("checkTime()",500);
	}
}

function checkTime()  {
	//Do nothing
}
