  /******************************
    Notice : Permission to use this script is
    restricted, unless this header remains intact.
    Copyright (c) 2008 Joppadesign
    
    Writer - Curt Arbtin
    Contact - curt@joppadesign.com
    Date Created - Oct 2008
    Use - hide field based on content
    Requires - no other sources
  *******************************/
<!--
	var objErrorField

	function onStart()
	{
		showErrors();

	}

	function showErrors()
	{
    objErrorField = document.getElementById('errorField');
    
    if (document.all)
    {// for IE
    	if (objErrorField.innerHTML == "")
    	{
    		objErrorField.className = "hideErrors";
    	}
    	else
    	{
    		objErrorField.className = "showErrors";
    	}
    }
    else if (document.getElementById)
    {// for all others
    	if (objErrorField.innerHTML == "")
    	{
    		objErrorField.className = "hideErrors";
    	}
    	else if(objErrorField.innerHTML != "")
    	{
    		objErrorField.className = "showErrors";
    	}
    }
	}
	-->
