function MM_openBrWindow(theURL,winName,features) { //v2.1
var ventanaimagen=window.open(theURL,winName,features);
ventanaimagen.focus();
}

function openOnePageUI(code) {
  var URLStr = "https://crs.univisit.com/OnePageCrs/OnePageUI.aspx?Code=";
  var ie = document.all;
  if (ie){                                           var width  = window.screen.width-9;
           var height = window.screen.height-65;
           var popUpWin=0;
 }else{
           var width  = window.screen.width;
           var height = window.screen.height;
           var popUpWin=0;
  }
        if(popUpWin){
          if(!popUpWin.closed)
                  popUpWin.close();
  }
    popUpWin = open(URLStr + code, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left=0, top=0');
} 
    
    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter(new GLatLng(26.006156, -111.339387), 13);
 
        // Add 10 markers to the map at random locations
        var bounds = map.getBounds();
        var southWest = bounds.getSouthWest();
        var northEast = bounds.getNorthEast();
        var lngSpan = northEast.lng() - southWest.lng();
        var latSpan = northEast.lat() - southWest.lat();
        for (var i = 0; i < 10; i++) {
          var point = new GLatLng(southWest.lat() + latSpan * Math.random(),
                                  southWest.lng() + lngSpan * Math.random());
          map.addOverlay(new GMarker(point));
        }
      }
    }


    function load() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map"));
        map.setCenter(new GLatLng(26.006156,-111.339387), 13);
      }
    }