/*
 JDMLabs&#58; Jason D. Moss, Web Developer Extra(Ordinaire)
 Copyright 2001/2009 Jason D. Moss. All rights reserved.

 This site has been hand-crafted by Jason D. Moss.
  - www.jdmlabs.com           |  web
  - jason.moss&#64;gmail.com  |  mail
  - +1-403-230-9442           |  voice
*/
$(window).load(function() {
  var mapstraction = new Mapstraction('google_map','google');
  var myPoint = new LatLonPoint(51.078333,-114.109167);

  mapstraction.setCenterAndZoom(myPoint, 14);
  mapstraction.addControls({ pan: true, zoom: 'small', overview: false, scale: true, map_type: true });
  marker = new Marker(myPoint);
  mapstraction.addMarker(new Marker(new LatLonPoint(51.078333,-114.109167)));

  var text = ('<div style="display:block;width:240px;height:100px;margin:0;padding:0;line-height:1.4em;font-size:70%;color:#000"><img style="float:right;width:75px;margin:3px 17px 0 0;border:2px solid #000" src="http://www.jdmlabs.com/assets/images/ui/mugshots/infobubble.png" alt="" title=" Jason D. Moss&#58; Mugshot " /><h3 style="color:#1f6102">JDMLabs</h3><p>2711 Canmore Road NW</p><p>Calgary, AB T2M 4J6</p><p>+1-403-230-9442</p><p><a style="background:#fff;color:#1f6102" href="http://www.jdmlabs.com/" title=" JDMLabs&#58; Jason D. Moss, Web Developer Extra(ordinaire) ">www.jdmlabs.com</a></p></div>').toString();
  marker.setInfoBubble(text);
  mapstraction.addMarker(marker);
  marker.openBubble();

  var foo = function() { mapstraction.removeMarker(my_marker); };
});

$(function () { var tc = $('section.profile > div'); tc.hide().filter(':first').show(); $('section.profile ul.tabs a').click(function () { tc.hide(); tc.filter(this.hash).show(); $('section.profile ul.tabs a').removeClass('selected'); $(this).addClass('selected'); return false; }).filter(':first').click(); });
$(document).ready(function() {
  $('section.profile dl dd:odd').addClass('alt');
  $('section.profile dl dd').hover(function() {$(this).addClass('hover-over');},function() {$(this).removeClass('hover-over');});
  $('.tabs li a').css({'-moz-border-radius':'.3em','-webkit-border-radius':'.3em'});
  $('.photo').css({'-moz-border-radius':'.2em','-webkit-border-radius':'.2em'});
  $('.adr').css({'-moz-border-radius':'.3em','-webkit-border-radius':'.3em'});
  $('#google_map').css({'-moz-border-radius':'.3em','-webkit-border-radius':'.3em'});
});