// JavaScript Document


// Picture Cycle

$(document).ready(function() {
				$('#callout').cycle({ 
				    speed:       3000, 
				    timeout:     4700, 
				    pager:      '#callout-nav', 
				    pagerEvent: 'mouseover', 
				    fastOnEvent: true,
				    pauseOnPagerHover: true
				});
				
				$('#callout2').cycle({ 
				    speed:       3000, 
				    timeout:     4700, 
				    pager:      '#callout-nav', 
				    pagerEvent: 'mouseover', 
				    fastOnEvent: true,
				    pauseOnPagerHover: true
				});
				
				$('#callout3').cycle({ 
				    speed:       3000, 
				    timeout:     4700, 
				    pager:      '#callout-nav', 
				    pagerEvent: 'mouseover', 
				    fastOnEvent: true,
				    pauseOnPagerHover: true
				});
			});


// FancyBox

$(document).ready(function() {

			$("a#view_box").fancybox({
				'titleShow'		: false,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic'
			});
			});


// Google Map

function initialize() {

 if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        map.setCenter (new GLatLng(32.757568,-96.862442), 13);
		map.addControl(new GSmallMapControl());
 
   
   var map1Icon = new GIcon();
	map1Icon.image = 'images/main.png';
	map1Icon.iconSize = new GSize(114,66);
	map1Icon.iconAnchor = new GPoint(30,46);
	map1Icon.infoWindowAnchor = new GPoint(11,0);
	map1Icon.imageMap = [35,-93];

	var markerOptions = {icon:map1Icon};
	var marker = new GMarker(map.getCenter(), markerOptions );
	

		

	map.addOverlay(marker);
	marker.openInfoWindowHtml(myHtml);
}
}





