$(document).ready(function(){

/* Show jQuery is running */
$('h1').css({textDecoration: 'none'});

$('#map').zoommap({
    // Width and Height of the Map
    width: '480px',
    height: '400px',
      
    //Misc Settings
    blankImage: '/util/images/blank.gif',
    zoomDuration: 1000,
    bulletWidthOffset: '10px',
    bulletHeightOffset: '10px',
    
    //ids and classes
    zoomClass: 'zoomable',
    popupSelector: 'div.popup',
    popupCloseSelector: 'a.close',
    
    //Return to Parent Map Link
    showReturnLink: true,
    returnId: 'returnlink',
    returnText: 'return to full map',
    
    //Initial Region to be shown
    map: {
      id: 'campus',
      image: '/util/images/main-map.png',
      data: '/util/popups/campus.html',
      maps: [
      {
        id: 'quads',
        parent: 'campus',
        image: '/util/images/montgomery.png',
        data: '/util/popups/montgomery.html',
        width: '28px',
        height: '28px',
        top: '207px',
        left: '198px'
      },
        {
        id: 'pulaski',
        parent: 'campus',
        image: '/util/images/pulaski.png',
        data: '/util/popups/pulaski.html',
        width: '25px',
        height: '25px',
        top: '255px',
        left: '125px'
      },
        {
        id: 'quads',
        parent: 'campus',
        image: '/util/images/roanoke.png',
        data: '/util/popups/roanoke.html',
        width: '25px',
        height: '25px',
        top: '188px',
        left: '271px'
      },
        {
        id: 'quads',
        parent: 'campus',
        image: '/util/images/alleghany.png',
        data: '/util/popups/alleghany.html',
        width: '25px',
        height: '25px',
        top: '57px',
        left: '298px'
      },
        {
        id: 'quads',
        parent: 'campus',
        image: '/util/images/alleghany.png',
        data: '/util/popups/alleghany.html',
        width: '88px',
        height: '36px',
        top: '37px',
        left: '150px'
      },
        {
        id: 'quads',
        parent: 'campus',
        image: '/util/images/roanoke.png',
        data: '/util/popups/roanoke.html',
        width: '88px',
        height: '36px',
        top: '121px',
        left: '183px'
      },
        {
        id: 'quads',
        parent: 'campus',
        image: '/util/images/montgomery.png',
        data: '/util/popups/montgomery.html',
        width: '88px',
        height: '36px',
        top: '148px',
        left: '69px'
      },
        {
        id: 'quads',
        parent: 'campus',
        image: '/util/images/pulaski.png',
        data: '/util/popups/pulaski.html',
        width: '88px',
        height: '36px',
        top: '343px',
        left: '179px'
      }                            
      ]
    }
  });


});

