// JavaScript Document

var fix_minheightwidthie6 = function()
{
	browserName=navigator.appName.charAt(0);
	browserVer=parseInt(navigator.appVersion);
	
	var hotsite = document.getElementById("hotsite");
	
	//HEIGHT
	if(hotsite.offsetHeight < 500)
	{
		if(browserName=="M" && browserVer >= 3)
		{		
			if(hotsite.offsetHeight < 500)
			{
				hotsite.style.height = 500+'px';
			}
		}
	}
	
	if(document.body.clientHeight > 500)
	{
		hotsite.style.height = 100+'%';
	}

	//WIDTH
	if(hotsite.offsetWidth < 770)
	{
		if(browserName=="M" && browserVer >= 3)
		{		
			if(hotsite.offsetWidth < 770)
			{
				hotsite.style.width = 770+'px';
			}
		}
	}

	if(document.body.clientWidth > 770)
	{
		hotsite.style.width = 100+'%';
	}
	
	setTimeout("fix_minheightwidthie6",1000);
}