


function open(element)
	{
	var obj= document.getElementById(element)
	obj.style.visibility="visible";
	}

	function close(element)
	{
	var obj= document.getElementById(element)
	obj.style.visibility="hidden";
	}


function resize_iframe(element)
{

	var height=window.innerWidth;//Firefox
	if (document.body.clientHeight)
	{
		height=document.body.clientHeight;//IE
	}
	//resize the iframe according to the size of the
	//window (all these should be on the same line)
	document.getElementById(element).style.height=parseInt(height-document.getElementById(element).offsetTop-5)+"px";
}

// this will resize the iframe every
// time you change the size of the window.
window.onresize=resize_iframe; 

//Instead of using this you can use: 
//	<BODY onresize="resize_iframe()">


//-->
