function IsPopupBlocker(url) 
{
	var i = Math.round(100*Math.random());

	var oWin = window.open(url,"newWin_"+i);//,"width=100,height=50,top=5000,left=5000");
	if (oWin==null || typeof(oWin)=="undefined")
	{
		doPassVar("_root.Portal._puBlocker", 1);
	}
	else
	{
		//oWin.close();
		doPassVar("_root.Portal._puBlocker", 0);
	}
}

function setHeight(h)
{
	document.getElementById("siteholder").style.height = h+"px";
	window.scroll(0,0); 
	setHtmlVars();
}

function setHtmlVars()
{
	var ScrollTop = document.body.scrollTop;
	if (ScrollTop == 0)			
	{
		if (window.pageYOffset)
	
			ScrollTop = window.pageYOffset;
		else
			ScrollTop = (document.body.parentElement) ? document.body.parentElement.scrollTop : 0;
	}
		
	doPassVar("_root.htmlScrollPos", ScrollTop);

	Browser = navigator.appName;
	if (navigator.appName.substring(0,9)== "Microsoft") Browser = 'MSIE';
	if (Browser != 'MSIE')
	{
		doPassVar("_root.htmlInnerHeight", innerHeight);
	}
	else
	{
		doPassVar("_root.htmlInnerHeight", document.body.clientHeight);
	}
}

function showForum(){
	szDivID = "forumDiv";
	var obj = document.layers ? document.layers[szDivID] : document.getElementById ?  document.getElementById(szDivID) :   document.all[szDivID];
	obj.style.display = "block";
	
//	szDivID = "flashcontent";
//	var obj = document.layeRs ? document.layers[szDivID] : document.getElementById ?  document.getElementById(szDivID) :   document.all[szDivID];
}	

function hideForum(){
	szDivID = "forumDiv";
	var obj = document.layers ? document.layers[szDivID] : document.getElementById ?  document.getElementById(szDivID) :   document.all[szDivID];
	obj.style.display = "none";
	
//	szDivID = "flashcontent";
//	var obj = document.layers ? document.layers[szDivID] : document.getElementById ?  document.getElementById(szDivID) :   document.all[szDivID];
}

function doPassVar(name, args)
{		
	window.document.website.SetVariable(name, args);
}

function refresh()
{
		window.location = window.location;
		
		return null;
}

function refocus()
{
	window.focus();
	//return null;		
}

