// JavaScript Document

theObjects = document.getElementsByTagName("object"); 
for (var i = 0; i < theObjects.length; i++) { 
theObjects[i].outerHTML = theObjects[i].outerHTML; 
}

function show_box (id, status)
{
	var eliment_id = document.getElementById(id);
	eliment_id.style.display = status;
	
	var eliment_id_layer = document.getElementById('content_layer');
	eliment_id_layer.style.display = status;
}

function confirmMsg(cMsg, dURL)
{
	if(confirm(cMsg))
	{
		document.location.href=dURL;
	}
}

function DocumentLoad()
{
	document.login_form['cpun'].focus();
	document.login_form['cpun'].select();
}

function disable_maat_s(status)
{
	var smal_id = document.getElementById('maat_s');
	var medium_id = document.getElementById('maat_m');
	smal_id.checked = false;
	medium_id.checked = true;
	
	smal_id.disabled = true;
}

function enable_maat_s(status)
{
	var smal_id = document.getElementById('maat_s');
	
	smal_id.disabled = false;
}
