/**
 * things to do on page load; called on <body onload"">
*/
function bodyonload(URL_SITE)
{
	// change 'mainContainer' width
	var w = 980;
	w -= 20; // because of the left and right margins: 10px each
	if (document.getElementById('leftCol') !=null) {
		w -= document.getElementById('leftCol').offsetWidth;
	}
	if (document.getElementById('rightCol') !=null) {
		w -= document.getElementById('rightCol').offsetWidth;
	}
	document.getElementById('mainContainer').style.width = (w-41)+'px';

	// preload the location image
	locationImage     = new Image(); 
	locationImage.src = URL_SITE + "templates/frontend/images/districts.gif";
}

