function BrowserTests() {
	parseBrowser();
	createWin();
}
function launchDemo (sURL) {
	var winDemo = window.open (sURL, 'Demo', 'width=640,height=480,toolbars=no,locationbar=no,status=no');
	winDemo.focus ();
}
function popWindow(sURI, nWidth, nHeight) {
	if (nWidth===undefined || nWidth=="") nWidth = 400;
	if (nHeight===undefined || nHeight=="") nHeight = 420;
	var oWindow = window.open(sURI, "popUpWindow", "width=" + nWidth + ",height=" + nHeight + ",toolbar=no,status=yes,menubar=no,location=no,scrollbars=yes,resizable=yes");
}
function PopUp(sURI, nHeight, nWidth) {
	if (nWidth===undefined || nWidth=="") nWidth = 400;
	if (nHeight===undefined || nHeight=="") nHeight = 420;
	var oWindow = window.open(sURI, "popUpWindow", "width=" + nWidth + ",height=" + nHeight + ",toolbar=no,status=yes,menubar=no,location=no,scrollbars=yes,resizable=yes");
}
function parseBrowser(){}
function createWin () {
	WinTest = window.open ('scripts/popUpTest.html#test', 'win', 'width=150,height=50');
	setTimeout ('detectWin ()', 700);
	window.focus ();
}
function detectWin () {
	var bBlock = false;
	if ((WinTest == null) || (typeof (WinTest) == "undefined") || (typeof (WinTest.location.hash) != "string")) 
		{ 
		// window blocked
		bBlock = true 
		alert("For full system functionality, you must allow pop-ups from this site. Please modify your pop-up blocker settings. For more information, please see our System Requirements page.")
	} else {
		// window was not blocked
		WinTest.close ();
	}
}