﻿function initMPPage()
{
   
    document.getElementById("banMian").style.display="inline"; 
    document.getElementById("glass").style.display="none";     

    
    var mapObj = document.getElementsByName('wind');

    if(mapObj!=null&&mapObj.length>0)
    {
    	
		    mapObj[0].onmouseover=function()
		    {
       		    drawLine(event.srcElement);                   
		    };
		    mapObj[0].onclick=function()
		    {
       		    clickmap(event.srcElement);                   
		    };
		    mapObj[0].onmouseout=function()
		    {
       		    MouseOutMap();
		    };
		    
    }
}



function zoomIn()
{
  newZoom= parseInt(content.style.zoom)+30+'%'
  content.style.zoom =newZoom;
  //alert("mp.js的zoomIn()方法");
} 
function zoomOut() 
{
   newZoom= parseInt(content.style.zoom)-10+'%'
   content.style.zoom =newZoom;
   // alert("mp.js的zoomOut()方法");
}
function img_zoom(e, o)		//图片鼠标滚轮缩放
{
	var zoom = parseInt(o.style.zoom, 10) || 100;
	zoom += event.wheelDelta / 12;
	if (zoom > 0) o.style.zoom = zoom + '%';
		return false;
}
