function loadmissingpersonsphoto(url,imgobj) {
	if (imgobj.src.indexOf('.jpg')==-1) { 
		url = url.substr(url.lastIndexOf('/'));
		imgobj.src = '/_media/images/national/missing_persons/profile_photos'+url+'.jpg';
	}
}

function loadrandomhomebanner() {
	/*
	if (document.getElementById("precontent")!=null) {
		var randomraw = Math.random()*4;
		var randomclean = Math.floor(randomraw);
		switch (randomclean)
		{
			case 0: document.getElementById("precontent").className = 'randomhome1'; break;
			case 1: document.getElementById("precontent").className = 'randomhome2'; break;
			case 2: document.getElementById("precontent").className = 'randomhome3'; break;
			case 3: document.getElementById("precontent").className = 'randomhome4'; break;
		}
	}
	*/
}