function MenuOver(obj,bDisabledATagStyle)
{
    try
    {
		with(obj.style)
        {
            backgroundColor = '#999999';
	        color='#FFFFFF';
        }
		if( !bDisabledATagStyle )
	    with(obj.all.tags("A")[0])
	    {
		    style.color = '#ffffff';
	        style.textDecoration = 'none';
	        style.cursor = 'hand';
	    }
	    obj.style.cursor = "hand";
	    window.event.cancelBubble = true;
    }
    catch(e)
    {
        alert(e.description);
    }
}

function MenuOver2(obj,bDisabledATagStyle)
{
    try
    {
		with(obj.style)
        {
            backgroundColor = '#f2f2f2';
	        color='#ff7e00';
        }
		if( !bDisabledATagStyle )
	    with(obj.all.tags("A")[0])
	    {
		    style.color = '#ff7e00';
	        style.textDecoration = 'none';
	        style.cursor = 'hand';
	    }
	    obj.style.cursor = "hand";
	    window.event.cancelBubble = true;
    }
    catch(e)
    {
        alert(e.description);
    }
}


function MenuOut(obj,bDisabledATagStyle)
{
    try
    {
        with(obj.style)
        {
            backgroundColor = '';
	    color='';
        }
		if( !bDisabledATagStyle )
		with(obj.all.tags("A")[0])
		{
	        style.color = '';
	        style.textDecoration = 'none';
	        style.cursor = 'hand';
		}
	    obj.style.cursor = "hand";
	    window.event.cancelBubble = true;
    }
    catch(e)
    {
        alert(e.description);
    }
}
function  MenuClick(obj)
{
    try
    {
	    obj.style.cursor = "default";
        window.location.href = obj.all.tags("A")[0].href;
	    window.event.cancelBubble = true;
    }
    catch(e)
    {
        alert(e.description);
    }
}
function ChangeImage(obj,imgUrl)
{
    try
    {
		obj.background = imgUrl;
	    window.event.cancelBubble = true;
    }
    catch(e)
    {
        alert(e.description);
    }
}