<!--
/* Map Builder, (c) Edd Read, 2007
	
   Map-resizing function
	
   Built as part of a final-year project supporting the degree of
   Master Of Engineering.
   
   All code is by Edd Read.
*/


function resizeMap() {
	
	if (is.ns) {
	  w = window.innerWidth;
	  h = window.innerHeight;
	}
	if (is.ie) {
		if (document.compatMode && document.compatMode != "BackCompat") {
			w=document.documentElement.clientWidth;
			h=document.documentElement.clientHeight;
		} else {
			w=document.body.clientWidth;
			h=document.body.clientHeight;
		}
	}
	
	newW = w-240;
	document.getElementById('map').style.width=newW+'px';
	
}


//-->
