function t_ob(obj_id){return document.getElementById(obj_id);}
function show_o(id){t_ob(id).style.display = 'block';}
function hid_o(id){t_ob(id).style.display = 'none';}
function sh_o(id){if (t_ob(id).style.display == 'none') show_o(id); else hid_o(id);}
function wr(str){return document.writeln(str);}
function confirm_entry(b, d){
	input_box=confirm('Удалить '+d+'?');
	if (input_box == true){
		window.location.href = b;
	}
}
function checkit(box){
	box = t_ob(box);
	if (box && box.checked){
		if (box.type != 'radio') box.checked = false;
	}else{
		box.checked = true;
	}
	box.focus();
}
function enable_select(thisS, ind, yesNo, sId){
	if ((thisS.selectedIndex == ind && yesNo == 0) || (yesNo == 1 && thisS.selectedIndex != ind)){
		t_ob(sId).disabled = true;
	}else{
		t_ob(sId).disabled = false;
	}
}

$(document).ready(function(){	 								 
			
			/*
			$.get("/parts/code.txt", function(xdata){		
				$(".map_holder").html(xdata);
			});	
			
			$.get("/parts/left.txt", function(xdata){
				$("#left_container").html(xdata);
			});						
			*/

	});
