// JavaScript Document

// Function shows and hides DIV
function showHideDiv(ele){
	if (document.getElementById(ele).style.display == 'none')
	{
		document.getElementById(ele).style.display = 'block';
	}else{
		document.getElementById(ele).style.display = 'none';
	}
}

function clearText() {
	document.aspnetForm.ctl00$ctrlRegistration$txtCode.value = "";
}
function resetText(str) {
	if(document.aspnetForm.ctl00$ctrlRegistration$txtCode.value == "")
	{
    document.aspnetForm.ctl00$ctrlRegistration$txtCode.value = str;
	}
} 
function openWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}
function hideLoader() {
	document.getElementById('loadMsg').style.display = 'none';
}