function tabOver(e)
{
	if (e.className=='HomeTabStrip')
		e.className='HomeTabStripHover';
	else
		e.className='HomeTabStripHover99';
}
function tabOut(e)
{
	if (e.className=='HomeTabStripHover')
		e.className='HomeTabStrip';
	else
		e.className='HomeTabStrip99';
}

function divOver(e)
{
	if (e.className=='prjBarNormal')
		e.className='prjBarNormalOver';
}
function divOut(e)
{
	if (e.className=='prjBarNormalOver')
		e.className='prjBarNormal';
}
function showDiv(divNo)
{
	for (idiv=1; idiv<=4; idiv++)
	{
		if (idiv==divNo)
		{
			document.getElementById("prjDiv"+idiv).style.display="inline";
			if (document.getElementById("prjTab"+idiv).className!="prjBarDisabled")
			{
				document.getElementById("prjTab"+idiv).className="prjBarSel";
			}
		}
		else
		{
			document.getElementById("prjDiv"+idiv).style.display="none";
			if (document.getElementById("prjTab"+idiv).className!="prjBarDisabled")
				document.getElementById("prjTab"+idiv).className="prjBarNormal";
		}
	}
	for (isep=1; isep<=5; isep++)
	{
		document.getElementById("prjSep"+isep).className="prjBarDiv";
	}
	divNo1 = divNo+1;
	document.getElementById("prjSep"+divNo).className="prjBarDivSel";
	document.getElementById("prjSep"+divNo1).className="prjBarDivSel";
}


/*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);
}