
var timer_id;





function showFlash()
{
	var bi = new BrowserInfo();
	var len;
	var i;
	
	
	var oTarget = document.getElementById('flashtopimg');
	
	/*IE6*/
	if( bi.ie == true && bi.ieMVersion <= 6 )
	{
		setSize();
		timer_id = setInterval(setSize, 100);
	}else{
		oTarget.style.width = '100%';
		oTarget.style.height = '100%';
	}
	
}


function hideFlash()
{
	var bi = new BrowserInfo();
	var len;
	var i;
	
	
	var oTarget = document.getElementById('flashtopimg');
	
	/*IE6*/
	if( bi.ie == true && bi.ieMVersion <= 6 )
	{
		clearInterval(timer_id);
		oTarget.style.width = '0px';
		oTarget.style.height = '0px';
		
	}else{
		oTarget.style.width = '1px';
		oTarget.style.height = '1px';
	}
	
	document.getElementById('contentswrap').style.visibility = "visible";
	document.getElementById('wp_followme_c2').style.visibility = "visible";
	document.getElementById('rootcontent').style.backgroundColor = "#f7f7f7";
	
}

//IE6 Only!
function setSize()
{
	var oTarget = document.getElementById('flashtopimg');
	oTarget.style.width  = document.documentElement.clientWidth + 'px';
	oTarget.style.height = document.documentElement.clientHeight + 'px';
}

