
function disableIt(obj_id)
{
	obj = document.getElementById(obj_id);
	obj.disabled = !(obj.disabled);
	var z = (obj.disabled) ? 'disabled' : 'enabled';
}

function disableItReal(obj_id)
{
	obj = document.getElementById(obj_id);
	obj.disabled = true;
}

function enableItReal(obj_id)
{
	obj = document.getElementById(obj_id);
	obj.disabled = false;
}

function setUnchecked(obj_id){
	obj = document.getElementById(obj_id);
	obj.checked = false;
}

function changeMItemColor(id,color){
	document.getElementById(id).style.backgroundColor=color;
	document.getElementById(id).style.cursor="hand";
}

function changeMItemImage(id,image){
	document.getElementById(id).style.backgroundImage=image;
	document.getElementById(id).style.cursor="hand";
}

function getUrl(uri){
	window.location = uri;	
}

function getUrlPop(uri){
	the_pop = window.open(uri);	
}

function clearSearch(form) {
	if (form.s.value == "search ...")
		form.s.value= "";
}
