//this code fixes the problem with IE4.5 on the Mac not displaying scroll bars
//the page height is calculated by looping through all of the divs on the page
//and adding the height of the divs then a clear image of the same height is output 
//to force the scrollbars on
	
//i am not sure how many 4.0 versions of IE on the Mac this scrollbar problem
//appears in so i am using this code on any IE version on the Mac including IE5
//since it does not affect the layout in IE5
	
	
function FixIEScrollbar() {
	if (isIE) {
		if (navigator.platform.indexOf("Mac") != -1) {
			var pageHeight = 0;
			
			for (var i = 0; i < document.all.tags("DIV").length; i++) {
				pageHeight += document.all.tags("DIV")[i].offsetHeight;
			}
			
			//alert(pageHeight);
		
			document.write ("<img src=images/clear.gif width=1 height=" + pageHeight + ">");
		}
	}
}

