    var map = null;
	var latLong01 = new VELatLong(40.438194, -80.007591);
    function GetMap()
    {
        map = new VEMap('myMap');
        map.LoadMap(latLong01, 15, VEMapStyle.Road, false, VEMapMode.Mode2D, false);
        // This sample only works in 2D mode (SetCustomIcon w/HTML)
        if (map.GetMapMode() != VEMapMode.Mode2D)
        {
            alert("This sample only works in 2D mode");
            return;
        }
        map.SetCenterAndZoom(latLong01, 11);
		map.AttachEvent("onclick", mouseMoveHandler);
        AddShapes();
    }  
    function AddShapes()
    {
        //Create VEShape objects, assign parameters, and add to the map.
        var poly01 = new VEShape(VEShapeType.Pushpin, latLong01);
		poly01.SetDescription("<img src='http://trendsselect.com/images/2404320_1000.jpg'/><br /><span>Address</span><br /><span>Price: $0000000</span>");
        //poly01.SetCustomIcon("<img src='http://trendsselect.com/images/Default_Pin.gif'/>");
        poly01.SetIconAnchor(latLong01);  
        map.AddShape(poly01);
    } 
    function mouseMoveHandler(e) {
		if(e.elementID)
			alert(e.elementID);
    }
