function InitData() {
	if(this_exhibition != '') {
		halls = new Array();
		halls = this_exhibition.split(",");
		var color = halls[0];
		for(var i = 1; i < halls.length ; i++) {
			var rect = document.getElementById(halls[i]);
			rect.fillcolor = color;
			rect.style.cursor = 'hand';
		}
	}
	if( other_exhibition.length > 0) {
		for(var i = 0; i < other_exhibition.length; i++ ) {
			info = new Array();
			halls = new Array();
			if(other_exhibition_halls[i]!=''){
				info = other_exhibition[i].split("|");
				halls = other_exhibition_halls[i].split(",");
				for(var j = 0; j < halls.length; j++) {
					var rect = document.getElementById(halls[j]);
					rect.fillcolor = info[1];
				}
			}
		}
	}
}

function ShowData(element) {
//	var alttext = eval('mouse_over_' + element);
//	document.getElementById(element).title = alttext;	
//
//	if (alttext != "") {
//		if(mouse_over_data == 1) {
//			var shape = document.getElementById(element);	
//			shape.style.display = "inline";
//		}	
//	}
}
	
function RemoveData(element) {
//	if(mouse_over_data == 1) {
//		var shape = document.getElementById(element);	
//		shape.style.display = "none";		
//	}
}

function SelectHall(hall_id) {
	halls = new Array();
	halls = this_exhibition.split(",");
	//exhibition = document.form1.exhibition_id.value
	exhibition = document.form1.exhibition.value
	language = document.form1.language_code.value
	for(var i = 1; i < halls.length ; i++) {
		if( halls[i] == hall_id) {
			if(document.getElementById("Radio2").checked){
			document.location = "/hall_detail/hall_detail_vml.asp?exhibition=" + exhibition + "&hall=" + hall_id + "&language_code=" + language
			}
			else if(document.getElementById("Radio1").checked){
				document.location = "/hall_detail/hall_detail_svg_exibitor.asp?exhibition=" + exhibition + "&hall=" + hall_id + "&language_code=" + language
			}
		}
	}
}