var ie = true;

if(navigator.appName == "Netscape") {
	ie = false;
}

function hide(objID) {
	if(ie){
		obj = document.getElementById(objID);

		if(obj.style.visibility!='hidden'){
			obj.style.visibility='hidden';
		}
	}
}

function show(objID) {
	if(ie){
		obj = document.getElementById(objID);

		if(obj.style.visibility!='visible'){
			obj.style.visibility='visible';
		}
	}
}


function onLoadEvents(){
	if (xmlhttp.readyState==4) {
		if (xmlhttp.status==200) {
				
				var response	= xmlhttp.responseXML.documentElement;


		}else{
			alert("Problem retrieving XML data")
		}
	}
}


function loadXML(url, fnc, async){
	xmlhttp=null;

	if (window.XMLHttpRequest) {
		xmlhttp=new XMLHttpRequest();
	}else if (window.ActiveXObject) {
		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
	}

	if (xmlhttp!=null) {
		xmlhttp.onreadystatechange=fnc;
		xmlhttp.open("GET",url,async);
		xmlhttp.send(null);
	}else{
		alert("Your browser does not support XMLHTTP.");
	}
}


