/*

written by Steve Cole for CompuOffice Software Inc. 2004

*/

	var IE_DHTML = (document.getElementById && document.all) ? true : false;
//	var NS_DHTML = false;
	var NS_DHTML = (document.getElementById && !document.all) ? true : false;
	var IE4 = (document.all && !IE_DHTML) ? true : false;
	var NS4 = (document.layers) ? true : false;
	var DHTML = (NS_DHTML || IE_DHTML) ? true : false;

/*
document.oncontextmenu = function(){return false}
*/
/*
non-supported browser code
IMPLEMENT
*/

	var agent = navigator.userAgent.toLowerCase();
//alert("agent=["+agent +"]");
	this.major = parseInt(navigator.appVersion);
	this.minor = parseFloat(navigator.appVersion);

/*
netscape/7.0 rv:1.0.1 workaround
	if (agent.search(/netscape\/7\.0/) >= 0 && agent.search(/rv:1\.0\.1/) >= 0)	{
		DHTML = false;
	}
*/

//	alert("This site uses only the latest in HTML / XML web development languages.\nPlease make sure your web browsers is of the latest version.\n\nThis site recommends Mozilla!");
//	window.location.href = "upgrade_browser.html";


	if (! DHTML)	{
/*
		if ( (window.location.href.search("term_life_single_basic.html") < 0) && (window.location.href.search("compete") < 0))
			window.location.href = "term_life_single_basic.html";
*/
	}


	function openWin(url,type,w,h)  {
		newWin = window.open(url,'','dependent=yes,scrollbars=yes,resizable=yes,width='+w+',height='+h+',screenX=10,screenY=10,Left=10,Top=10');
		newWin.focus();
	};

	function closerWin()  {
		window.close();
	};

