// JavaScript Document

	//function for form validation
	function checkBlank(arrIdValue,arrIdName){
		bytLen = arrIdValue.length;
		
		for(i=0; i<bytLen; i++){
			eachId = arrIdValue[i];
			if(String(document.getElementById(eachId).value)==false){
				alert(arrIdName[i]+" must have value!");
				document.getElementById(eachId).focus();
				document.getElementById(eachId).style.background="#FFFF00";
				document.getElementById(eachId).value="";
				return false;
			}
			else{
				document.getElementById(eachId).style.background="#FFFFFF";
			}
		}
	}
	
	//function for set focus
	function setFocus(myid){
		document.getElementById(myid).focus();
	}
	
	//function for get original color
	function getColor(cntId){
		document.getElementById(cntId).style.background="#FFFFFF";
	}