function adjustments() {
	var hspacer=document.getElementById("hmainspacer");

/////INTERNET EXPLORER 5.0/5.5/////
	if (detect.browser=="Explorer" && detect.version<5.5) {
		alert("If you want to use all features on this site, please update your browser to version 5.5 or later.");
		if (location.search.substring(1).indexOf("size=large")!=-1)
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*0.9));
		else
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*0.85));
	}
	
/////FIREFOX/////	
	else if (detect.browser=="Firefox") {
		if (location.search.substring(1).indexOf("size=large")!=-1) { //Large version
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*1.085));
			document.write('<style type="text/css">.pp #mainContent {top: 8px;} .pp #subMainContent {top: 8px;} .pp #rightSidebar{top:242px;}</style>');
		}
		else {//Small version
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*1.075));
			document.write('<style type="text/css">.pp #mainContent {top: 6px;} .pp #subMainContent {top: 6px;} .pp #rightSidebar{top:196px;}</style>');
		}
	}
	
/////SAFARI/////	
	else if (detect.browser=="Safari") {
		if (location.search.substring(1).indexOf("size=large")!=-1) { //Large version
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*1.25)+"px");
			document.write('<style type="text/css">.pp #mainContent {top: 8px;} .pp #subMainContent {top: 8px;} .pp #rightSidebar{top:245px;}</style>');
		}
		else {//Small version
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*1.05)+"px");
			document.write('<style type="text/css">.pp #mainContent {top: 6px;} .pp #subMainContent {top: 6px;} .pp #rightSidebar{top:198px;}</style>');
		}
	}
	
/////OPERA/////	
	else if (detect.browser=="Opera") {
		if (location.search.substring(1).indexOf("size=large")!=-1) { //Large version
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*1.1));
			document.write('<style type="text/css">.pp #mainContent {top: 8px;} .pp #subMainContent {top: 8px;} .pp #rightSidebar{top:242px;}</style>');
		}
		else {//Small version
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*1.07));
			document.write('<style type="text/css">.pp #mainContent {top: 6px;} .pp #subMainContent {top: 6px;} .pp #rightSidebar{top:196px;}</style>');
		}
	}
	
/////MOZILLA M.V./////	
	else if(detect.browser!="Explorer"){
		if (location.search.substring(1).indexOf("size=large")!=-1) { //Large version
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*1.1));
			document.write('<style type="text/css">.pp #mainContent {top: 8px;} .pp #subMainContent {top: 8px;} .pp #rightSidebar{top:242px;}</style>');
		}
		else {//Small version
			hspacer.setAttribute("height", Math.round(hspacer.getAttribute("height")*1.08));
			document.write('<style type="text/css">.pp #mainContent {top: 6px;} .pp #subMainContent {top: 6px;} .pp #rightSidebar{top:196px;}</style>');
		}
	}
}