function resize(width,height) 
{
	if(window.top.frames[0] != undefined)
	{
		if(window.top.frames[0].name = "index_popup")
		{
			if (document.all)
			{
				resize_window(width + 10 ,height + 60);
			}
			else if (navigator.appName == "Netscape")
			{
				resize_window(width + 6,height + 54);
			}
		}
	}
	else if(window.document.location.href.indexOf("index.html")  != -1 && window.name=="prod")
	{
		alert('resize me');
		resize_window(800,600);
	}
	else if(window.document.location.href.indexOf("index.html")  != -1)
	{
		if (document.all)
		{
			resize_window(width + 10 ,height + 150);
		}
		else if (navigator.appName == "Netscape")
		{
			resize_window(width + 8,height + 142);
		}
	}
}	
function resize_window(width,height) 
{
	if (document.all)
	{
		top.resizeTo(width,height);
	}
	else if (navigator.appName == "Netscape")
	{
		top.outerHeight = height;
		top.outerWidth = width;
	}
}
function showWinSize()
{
	if (document.all)
	{
		window.status = "innerWidth=" + document.body.clientWidth + " innerHeight=" + document.body.clientHeight ;
	}
	else if (navigator.appName == "Netscape")
	{
		window.status = "innerWidth=" + window.innerWidth + " innerHeight=" + window.innerHeight ;
	}
}
