/*
Bones Scripts File
Author: Eddie Machado

This file should contain any js scripts you want to add to the site.
Instead of calling it in the header or throwing it inside wp-head()
this file will be called automatically in the footer so as not to 
slow the page load.

*/

// as the page loads, cal these scripts
$(document).ready(function() {

	
	
	// add all your scripts here
	  
//    var latlng = new google.maps.LatLng(40.397, -95);
//    var myOptions = {
//      zoom: 4,
//      center: latlng,
//	  disableDefaultUI: true,
//      mapTypeIds: [google.maps.MapTypeId.ROADMAP, 'styledmap']
//    };
//    var map = new google.maps.Map(document.getElementById("map_canvas"),
//        myOptions);
//		
//	  var styledMapOptions = {
//      name: "styledmap"
//  }
//
//  var jayzMapType = new google.maps.StyledMapType(
//      styles, styledMapOptions);
//
//  map.mapTypes.set('styledmap', jayzMapType);
//  map.setMapTypeId('styledmap');

// Use this example, or...
	//$('a[@rel*=lightbox]').lightBox(); // Select all links that contains lightbox in the attribute rel
	// This, or...
	//$('#gallery a').lightBox(); // Select all links in object with gallery ID
	// This, or...
	//$('a.lightbox').lightBox(); // Select all links with lightbox class
	// This, or...
	//$('a').lightBox(); // Select all links in the page
	// ... The possibility are many. Use your creative or choose one in the examples above
	


	/* This is basic - uses default settings */
	
//	$("a.fancybox").fancybox();
//	
//	/* Using custom settings */
//	
//	$("a#inline").fancybox({
//		'hideOnContentClick': true
//	});
//
//	/* Apply fancybox to multiple items */
//	
//	$("a.group").fancybox({
//		'transitionIn'	:	'elastic',
//		'transitionOut'	:	'elastic',
//		'speedIn'		:	600, 
//		'speedOut'		:	200, 
//		'overlayShow'	:	false
//	});
//	
       $("a.iframefancybox").fancybox({
	'width'				:	600,
	'height'		    :	820,
	'hideOnContentClick'	:   false,
	'autoScale'     	:	false,
	'transitionIn'		:	'fade',
	'transitionOut'	 	:	'fade',
	'type'			 	:	'iframe'
});


	$('a.lightbox').lightBox(); // Select all links with lightbox class

	 
}); /* end of as page load scripts */
