function maposwicth(elm,id)
{
	var tc=document.getElementById("mapotc" + id);
	var ti=document.getElementById("mapoti" + id);
	var dc=document.getElementById("mapodc" + id);
	var di=document.getElementById("mapodi" + id);
	if(elm == "i")
	{
		ti.style.borderLeftStyle = "outset";
		
		ti.style.borderBottomWidth = "0px";
		tc.style.borderBottomWidth = "2px";
		
		ti.style.color = "black";
		tc.style.color = "#00716B";
		
		ti.style.backgroundColor = "#F1F1F1";
		tc.style.backgroundColor = "#DDDDDD";
		
		dc.style.display ="none";
		di.style.display ="block";
	}
	else
	{
		ti.style.borderLeftStyle = "inset";
		
		tc.style.borderBottomWidth = "0px";
		ti.style.borderBottomWidth = "2px";
		
		tc.style.color = "black";
		ti.style.color = "#00716B";
		
		tc.style.backgroundColor = "#F1F1F1";
		ti.style.backgroundColor = "#DDDDDD";
		
		dc.style.display ="block";
		di.style.display ="none";
	}
}