function adjustMain()
{	
	var mainpanelstr=document.getElementById("mainpanel").innerHTML.toLowerCase();
	//alert(mainpanelstr);
	
	if (mainpanelstr.indexOf("<img")<0)
	{
		var addheight=280;
		//alert(addheight);
	}
	else
	{
		addheight=50;
	}
	
	/*{	
		var browser=navigator.appName;
		if (browser=="Netscape")
		{	
			document.getElementById("mainpanel").style.height=350+"px";
		}
		else
		{
			document.getElementById("mainpanel").style.height=350;
		}	
	}	*/						
	
	
		var headh=document.getElementById("headertable").offsetHeight;
		var menuh=document.getElementById("menuStrip").offsetHeight;
		//var mainh = document.getElementById("maindiv").offsetHeight;
		
		var mainph=document.getElementById("mainpanel").offsetHeight;
//		var stoppressheight=document.getElementById("SPOut").offsetHeight;
/*		if (mainph<350)
		{
			mainph=350;
		}*/
		var br1 = document.getElementById("botrow1").offsetHeight;
		var br2 = document.getElementById("botrow2").offsetHeight;
		var br3 = document.getElementById("botrow3").offsetHeight;
		var maxbr = Math.max(br1,br2);
		var maxbr = Math.max(maxbr,br3);
		
		//var totHeight=headh+menuh+mainph+maxbr+stoppressheight;
		var totHeight=headh+menuh+mainph+maxbr;		
		var browser=navigator.appName;
		
		if (browser=="Netscape")
		{	
			document.getElementById("maindiv").style.height=totHeight+addheight+"px";
		}
		else
		{	
			document.getElementById("maindiv").style.height=totHeight+addheight;	
		}
	
}


function subIndex()
{
	
}