function imgReplace (Item, NewSRC) {
	Item.src = NewSRC;
	return true;
}

function changeClass(ID, NewClass){
	document.getElementById(ID).setAttribute("class", NewClass);
}
/*
var mTimer = "";
var mHeight = new Array();

$(document).ready(function() {
	function mCloseAll() {
		$('#hCOLORBAR div.hSUBMENU').stop().animate({height: ''}, 'fast', '', function(){ $(this).hide();}); }
	function mClose(id) {
		$(id).stop().animate({height: '0px'}, 'fast', '', function(){ $(this).hide();}); }
	function mOpen(id, hght) {
		$(id).stop().animate({height: hght}, 'fast', '', function() { $(this).show();}); }
	
	var i = 0;
    $("#hMENU-ITEMS ul li").each(
		function() {
			
			if ($("#box-" + $(this).attr("id")).length > 0 ) {
				var mThis = $(this).attr("id");
				mHeight[mThis] = $("#box-" + mThis).height();

				$(this).mouseover( function () { mOpen("#box-" + mThis, mHeight[mThis]);});
				$(this).mouseout( function () { mTimer = setTimeout("$(\"#box-" + $(this).attr('id') + "\").slideUp('fast');clearTimeout(mTimer);", 100); });
				
				$("#box-" + mThis).css({marginLeft : (i * 112) + "px"});
				
				$("#box-" + mThis).mouseover( function () { clearTimeout(mTimer); mOpen("#box-" + mThis, mHeight[mThis]); } );
				$("#box-" + mThis).mouseout( function () { mClose("#box-" + mThis); } );
			}
			$(this).mouseover( function () {$("#" + $(this).attr("id")).css({opacity: 0.6});});
			$(this).mouseout( function () {$("#" + $(this).attr("id")).css({opacity: 1.0});});
			i++;
		}
	);
	$("#hMENU-SEARCH a img").mouseover( function () {$("#hMENU-SEARCH").css({opacity: 0.8});});
	$("#hMENU-SEARCH a img").mouseout( function () {$("#hMENU-SEARCH").css({opacity: 1});});
});*/