	var className = "iehover";
	
	function on(which) {
		if(which.className == 'first'){
			which.className='first iehover';
		}//if
		else{
			which.className='iehover';
		}//else
	}
	function off(which) {
		if(which.className == 'first'){
			which.className='first';
		}//if
		else{
			which.className='';
		}//else
	}
	
	
// Grab all classes by classname
function getElementsByClassName(classname)
{
    var a = [];
    var re = new RegExp('\\b' + classname + '\\b');
    var els = document.getElementsByTagName("*");
    for(var i=0,j=els.length; i<j; i++)
        if(re.test(els[i].className))a.push(els[i]);
    return a;
}

// Changes the classes used in a document, turns all onclasses to off then sets the one ID element to on
//offClass = faqOff, onClass = faqOn, faqId = id to turn on
function changeFaqHead(offClass, onClass, faqID)
{
	var list		= new Array();
	var faqNumber 	= document.getElementById(faqID);
	
	list 			= getElementsByClassName(onClass);

	for (var i = 0; i < list.length; i++)
	{ 
		if(list[i].className==onClass)
		{
			list[i].className = offClass;
		}
	}
	
	faqNumber.className = onClass;
}
function doClick(buttonName,e)
{
//the purpose of this function is to allow the enter key to 
//point to the correct button to click.
var key;

if(window.event)
	key = window.event.keyCode;    //IE
else
	key = e.which;    //firefox

	if (key == 13)
	{
		//Get the button the user wants to have clicked
		var btn = document.getElementById(buttonName);
		if (btn != null)
		{ //If we find the button click it
               __doPostBack('Leftnav1$searchlink','');
                event.keyCode = 0
        }
      }
  }
