

	function focusInput()
		{
			if (this.name == "barbox" )
				{
					this.select();
				}
			else
				{
					this.style.backgroundColor = '#b3dcf1'; 
					this.style.color = '#000000';
				}
		}
		
	function blurInput()
		{
			this.style.backgroundColor = '#FFFFFF'; 
			this.style.color = '#000000';
		}
		
	function changeInputStyles()
		{
			
			var col1 = document.getElementsByTagName("INPUT");
			var col2 = document.getElementsByTagName("TEXTAREA");
			//var col3 = document.getElementsByTagName("SELECT");
			if (col1 != null)
				{
				for (i=0; i<col1.length; i++)
					{
						col1[i].onfocus = focusInput;
						col1[i].onblur = blurInput;
					}
				}	
			if (col2 != null)
				{
				for (i=0; i<col2.length; i++)
					{
						col2[i].onfocus = focusInput;
						col2[i].onblur = blurInput;
					}
				}	
			//if (col3 != null)
			//	{
			//	for (i=0; i<col3.length; i++)
			//		{
			//			col3[i].onfocus = focusInput;
			//			col3[i].onblur = blurInput;
			//		}
			//	}	
		}
	
	setTimeout ("changeInputStyles();",100);	



