$(document).ready(function() {
	if(!showLeftRow){
		$("#col3").css("margin-left", "0");
	}
	if(!showRightRow){
		$("#col3").css("margin-right", "0");
	}
});

var activ_mid=-100;

function core_showSubmenu(mid){
	var id="submenu_for_mid_"+mid;
	if(id!=activ_mid){
		$("#"+activ_mid).slideUp("fast").removeClass("shown").addClass("hidden");
		var id="submenu_for_mid_"+mid;
		activ_mid = id;
		$("#"+id).slideDown("fast").removeClass("hidden").addClass("shown");
	}
}

function openMapDialog(url) {
	$("#dialog").hide().html('<iframe src="'+url+'" width="460px" height="460px" style="border: 0px"></iframe>');
	$("#dialog").dialog({
			resizable: false,
			width: 500,
			height: 500
			
	});
}
