		
		function fnReset(){
		
			document.getElementById('dTorso').style.height="auto";
			document.getElementById('dLeft').style.height="auto";
			document.getElementById('dMiddle').style.height="auto";
			document.getElementById('dRight').style.height="auto";
		
			var maxLeft = document.getElementById('dLeft').scrollHeight;
			var maxMiddle = document.getElementById('dMiddle').scrollHeight;
			var maxRight = document.getElementById('dRight').scrollHeight;
		
			var maxHt=Math.max(maxLeft,maxMiddle,maxRight);
		
			document.getElementById('dTorso').style.height=maxHt + "px";
			document.getElementById('dLeft').style.height="100%";
			document.getElementById('dMiddle').style.height="100%";
			document.getElementById('dRight').style.height="100%";
		
			}
		
		var winW=1024; //default width
		var winH=500; //default height
		
		var winW=1024; //default width
		var winH=500; //default height
		
		function fnWinWH(){ //finds width and height of the browser window
		    if(document.innerWidth){ //finds all (FireFox,Opera,Chrome,Safari) except IE
		       winW=document.innerWidth;
		       winH=document.innerHeight;
		    }else if(document.documentElement && document.documentElement.clientWidth){ //IE 6 Strict Mode
		       winW=document.documentElement.clientWidth;
		       winH=document.documentElement.clientHeight;
		    }else if(document.body){//other old Explorers
		       winW=document.body.clientWidth;
		       winH=document.body.clientHeight;
		    }else{ 
		       winW=1024; // browsers width default, var set outside function
		       winH=520; // browser height default, var set outside function
		    }
		}
	

	   window.onresize = fnReset;

