function showHide(divID,maxID)
	{
		var dID;
		for (l = 1; l <= maxID; l++)
			{
				dID = "t" + l;
				if (l == divID)
					{
						if ( document.getElementById (dID).style.display == 'none' )			
							{			
								document.getElementById (dID).style.display = '';	
			//				alert (dID + " i=" + i);
			//				t4.style.display = '';
							}
					}
				else
					{
						if (document.getElementById(dID))
							{ document.getElementById(dID).style.display = 'none'; }
					}
			}		
		
	}

function SubmitForm(url,varID)
	{
	document.frmEmr.hidpID.value = varID;
	document.frmEmr.action = url ;
	document.frmEmr.submit (); 
	}
