		
	
		var ns4 = document.layers;
		var ns6 = document.getElementById && !document.all;
		var ie4 = document.all;
		var theFld = null
		function getObjectByID(Objid){	
			if(ns4){
			 return eval('document.' + Objid)
			}
			if(ns6){
			 return document.getElementById(Objid);
			}
			if(ie4){
			  return document.all(Objid);      
			}  
			return null
		}

		function showError(theBadFld, theMsg){
				theFld = theBadFld
				theBadFld.focus()
				setBlinker()		
				alert(theMsg);		
		}

		
		iter = 0
		intervalID = 0
		currState = 0
		function setBlinker(){
			if(theFld != null){
				
				if(iter < 5){
					iter++
					intervalID = setTimeout("setBlinker()",400)
					if(currState == 0){
						currState = 1
						theFld.style.backgroundColor = "#FF5E5E"
					}
					else{
						currState = 0
						theFld.style.backgroundColor = "#ffffff"
					}
				}
				else{
					theFld.style.backgroundColor = "#ffffff"
					theFld.focus()
					iter = 0
					clearTimeout(intervalID)
				}
			}
		}