var objChildWindow;
function setParentTitle()
	{
	parent.setTitle();
	}

function openPopUp(szWebsiteLink,szWidth,szHeight)
	{
	if(objChildWindow != null)
	{
	try
	{
	 objChildWindow.close();	
	}catch(err){}
	}
	var szArgs="resizable=no,status=yes,scrollbars=yes,width="+szWidth+",height="+szHeight+"";
	objChildWindow = window.open(szWebsiteLink,"Homepage",szArgs);
	}

	function makevisible(curImage,which,linkid)
	{
	cur=document.getElementById(curImage);
	if(which == 0)
		{
		strength=1;
		ColorOn (linkid);
		}
	else
		{
		strength=0.6;
		ColorOff (linkid);
		}

	if (cur.style.MozOpacity)
		{
		cur.style.MozOpacity=strength;
		}
	else if (cur.filters)
		{
		cur.filters.alpha.opacity=strength*100;
		}
	}

	function ColorOn (szlinkID)
	{
	var objLink=document.getElementById(szlinkID);
	objLink.style.textDecoration= 'underline';
	//objLink.style.fontWeight= 'bold';
	objLink.style.color=  'blue';
	}

	function ColorOff (szlinkID)
	{
	var objLink=document.getElementById(szlinkID);
	objLink.style.textDecoration=  'none';
	//objLink.style.fontWeight= 'normal';
	objLink.style.color=  'black';
	}
