// JavaScript Document
function resizeOuterTo(w,h) 
{
	if (parseInt(navigator.appVersion) > 3)
	{
		if (navigator.appName=="Netscape") 
		{
			top.outerWidth=w;
			top.outerHeight=h;
		}
		else
		{
			window.resizeTo(w,h);
		}
	}
}
	
function resizeWin(minX, minY)
{

	//var iebody = (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body;
	var winW = top.outerWidth; var winH = top.outerHeight;
	var iW = 0; var iH = 0;
	
	if (window.innerWidth)
	{
		iW = window.innerWidth; iH = window.innerHeight;
		minX = (iW < minX ) ? minX + (winW - iW) : winW;
		minY = (iH < minY ) ? minY + (winH - iH) : winH;
	}
	else if (document.body)
	{
		iW = document.body.clientWidth; iH = document.body.clientHeight;
		minX = (document.body.clientWidth < minX ) ? minX : document.body.clientWidth;
		minY = (document.body.clientHeight < minY ) ? minY : document.body.clientHeight;
		minX = minX + 8; minY = minY + 100;
	}
	else (document.documentElement)
	{
		minX = (document.documentElement.clientWidth < minX ) ? minX : document.documentElement.clientWidth;
		minY = (document.documentElement.clientHeight < minY ) ? minY : document.documentElement.clientHeight;
		minX = minX + 8; minY = minY + 100;
	}
	
//			minX = (top.outerWidth < minX) ? minX : top.outerWidth;
//			minY = (top.outerHeight < minY) ? minY : top.outerHeight;
	resizeOuterTo(minX, minY);
}