function hideAlert() {
	if(document.all) {
		document.all.myalertdiv.style.display = "none";
		document.all.myalerttxt1.style.display = "none";
		document.all.myalerttxt2.style.display = "none";
	} else {
	document.getElementById("myalertdiv").style.display = "none";
	document.getElementById("myalerttxt1").style.display = "none";
	document.getElementById("myalerttxt2").style.display = "none";
	}
}

function showAlert(stat) {	
	if(document.all && stat == '1') {
		document.all.myalertdiv.style.display = "block";
		//  document.all.myalertdiv.style.positionLeft = "200px";
		document.all.myalerttxt1.style.display = "block";
		document.all.myalertdiv.focus();
	} else if(document.all && stat == '2') {
		document.all.myalertdiv.style.display = "block";
		//  document.all.myalertdiv.style.positionLeft = "200px";
		document.all.myalerttxt2.style.display = "block";
		document.all.myalertdiv.focus();
	} else if(stat == '1') {
		document.getElementById("myalertdiv").style.display = "block";
		// document.getElementById("myalertdiv").style.positionLeft = "200px;
		document.getElementById("myalerttxt1").style.display = "block";
		document.getElementById("myalertdiv").focus();
	} else if(stat == '2') {
		document.getElementById("myalertdiv").style.display = "block";
		// document.getElementById("myalertdiv").style.positionLeft = "200px;
		document.getElementById("myalerttxt2").style.display = "block";
		document.getElementById("myalertdiv").focus();
	} else {
		document.write("Unexpected Error");
	}
}
