// JavaScript Document

function hover_info(ancor_obj, info_text, zIdx){
/*	var $zend = '';
	//loop to find top z-index;
	for($i=0; $i<document.all.length; $i++){
		if(document.all[$i].id){
			var $obj = document.getElementById(document.all[$i].id);
			if($obj.style.zIndex){
				$zend = parseFloat($obj.style.zIndex);
			}
		}
	}
	
	if (ancor_obj && info_text){
		var outter_html = document.getElementById('hover_info');
		var inner_html = document.getElementById('inner_info');
		if(outter_html && inner_html){
			var zIndex = document.getElementById(zIdx);
			if(zIndex){
				outter_html.style.zIndex = $zend+1;
			}
			inner_html.innerHTML = info_text;
			P7_Snap(ancor_obj,'hover_info',10,130);
			outter_html.style.display='block';
		}else{
			alert('Error\nInfo layer was not found');
		}
	}else{
			alert('Error\n\tAncor Obj:'+ancor_obj+'\n\tInfo Text:'+info_text);
		}
*/}

function hover_hide(){
	var outter_html = document.getElementById('hover_info');
	if(outter_html){
		outter_html.style.display= 'none';
	}
}
