	function showhide(divID1, divID2, divID3, divID4)
	{
		if(divID1 == 'divLandlordRegister')
			MM_swapImage('register','','images/tab_landlordregistration_02.gif','findrental','','images/tab_find_rental_01.gif','checkLL','','images/tab_freelandlordreport_01.gif','business','','images/tab_businessnetworking_01.gif',1); 
		else if(divID1 == 'divFindRental')
			MM_swapImage('register','','images/tab_landlordregistration_01.gif','findrental','','images/tab_find_rental_02.gif','checkLL','','images/tab_freelandlordreport_01.gif','business','','images/tab_businessnetworking_01.gif',1); 
		else if(divID1 == 'divCheckLandlordsBackground')
			MM_swapImage('register','','images/tab_landlordregistration_01.gif','findrental','','images/tab_find_rental_01.gif','checkLL','','images/tab_freelandlordreport_02.gif','business','','images/tab_businessnetworking_01.gif',1); 
		else if(divID1 == 'divBusinessRegister')
			MM_swapImage('register','','images/tab_landlordregistration_01.gif','findrental','','images/tab_find_rental_01.gif','checkLL','','images/tab_freelandlordreport_01.gif','business','','images/tab_businessnetworking_02.gif',1); 

	
		if (document.getElementById(divID1).style.display == 'none') 
		{
			document.getElementById(divID1).style.display = 'inline';	
			document.getElementById(divID2).style.display = 'none';
			document.getElementById(divID3).style.display = 'none';
			document.getElementById(divID4).style.display = 'none';
		} 
	}
	
	function showResults()
	{
		// Browser Detection
//		var ie = (document.all)? true: false
//		if(ie)
//			window.location.href = "./index.php#top";

		document.getElementById('cmbCheckLandlordsBackgroundState').disabled = true;
		document.body.style.overflow = "hidden";
		var loading 	= document.getElementById("loadingResults");
		var background  = document.getElementById("backgroundDisabled");
		var tableMain	= document.getElementById("tblPageMainContent");
		tableMain.className	= "disableControl";
		loading.style.visibility = "visible";
		loading.style.zIndex = 100;
		background.style.visibility = "visible";
		background.style.zIndex = 99;
		
		setTimeout('delayer()', 10000);
		return false;
	}
	function delayer(){
		document.body.style.overflow = "auto";
		var loading 	= document.getElementById("loadingResults");
		var background  = document.getElementById("backgroundDisabled");
		loading.style.visibility = "hidden";
		background.style.visibility = "hidden";
		document.getElementById('cmbCheckLandlordsBackgroundState').disabled = false;
		document.frmCheckLandlordsBackground.submit();
	}