function tabOver(e)
{
	if (e.className=='HomeTabStrip')
		e.className='HomeTabStripHover';
	else
		e.className='HomeTabStripHover1';
}
function tabOut(e)
{
	if (e.className=='HomeTabStripHover')
		e.className='HomeTabStrip';
	else
		e.className='HomeTabStrip1';
}

function menuItemOver(e)
{
	e.className='HomeMenuItem2Hover';
}
function menuItemOut(e)
{
	e.className='HomeMenuItem2';
}

function subMenuItemOver(e)
{
	e.className='HomeMenuItem3Hover';
}
function subMenuItemOut(e)
{
	e.className='HomeMenuItem3';
}

/*function showDialog(url)
{
	window.showModalDialog(url,window,"dialogWidth:500px; dialogHeight:400px; center:yes");
}*/


function showSendToFriendDialog(url)
{
	return showDialog(url,450,260);
}

function showDialog(url, width, height)
{
	return showWindow(url, false, false, false, false, false, false, true, true, width, height, 0, 0);
}

function showWindow(url, isStatus, isResizeable, isScrollbars, isToolbar, isLocation, isFullscreen, isTitlebar, isCentered, width, height, top, left)
{
	if (isCentered)
	{
		top = (screen.height - height) / 2;
		left = (screen.width - width) / 2;
	}

	open(url, '_blank', 'status=' + (isStatus ? 'yes' : 'no') + ','
	+ 'resizable=' + (isResizeable ? 'yes' : 'no') + ','
	+ 'scrollbars=' + (isScrollbars ? 'yes' : 'no') + ','
	+ 'toolbar=' + (isToolbar ? 'yes' : 'no') + ','
	+ 'location=' + (isLocation ? 'yes' : 'no') + ','
	+ 'fullscreen=' + (isFullscreen ? 'yes' : 'no') + ','
	+ 'titlebar=' + (isTitlebar ? 'yes' : 'no') + ','
	+ 'height=' + height + ',' + 'width=' + width + ','
	+ 'top=' + top + ',' + 'left=' + left);
}

function SetMenu()
{
        href = window.location.href;
        for(i=1;i<16;i++)
        {
            st="";
            if(i < 10)
                st= "0" + i;
            else
                st = i;    
            MenuLink = document.getElementById("Menu" + st);            
            if(MenuLink != null)
            {
                if (href.indexOf(MenuLink.href) >= 0)
                    document.getElementById("Menu" + st).className = "current";
            }
        }
}    

