// JavaScript Document
/*----------------------------------------GLOBAL VARS----------------------------------------------*/
var xmlDoc;
var xmlHttpReq;
var root;

/*--------------------------------------------------------------------------------------------------*/

checkBrwsr();
loadScript("main.js");

function checkBrwsr()
{
	if (document.implementation && document.implementation.createDocument)
	{
		root ='files/Scripts/mz/';
		xmlDoc = document.implementation.createDocument("", "", null);
		alert('this site does not currently support any other browser beside Internet Explorer');
		return false;
	}
	else if (window.ActiveXObject)
	{
		//alert("IE detected");
		root ='files/Scripts/ie/';
		xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
	}
	else
	{
		alert('Your browser can\'t handle these script or does not have javascript enabled;  Please enable it.');
		return;
	}
}

function loadScript(path)
{
	//alert(path);
	//alert(root);
	var script = document.createElement('script'); 
	script.type = 'text/javascript'; 
	//alert("path is not null");
	script.src = root + path ;
	document.getElementsByTagName('head')[0].appendChild(script); 
}

/*function loadContent(path)
{
	//alert(path);
	loadFlash("files/swfs/"+ path, "main", 710, 380)
}*/

