		jQuery(document).ready(function($){
			/*expanding left nav menu--currently not active*/
			$('.first li').hoverIntent(showNav,hideNav);
			$('.first li').hoverIntent({
				sensitivity:3,
				interval:50,
				over:showNav,
				timeout:0,
				out:hideNav
			});
			
			/*assign float classes to "details" in upper right (user-generated as sidebar)*/
			$('#topnav p:even').attr("class","alignleft");
			$('#topnav p:odd').attr("class","alignright");
			
			/*tabs functionality for Sales page*/
			$(function() {
				$("#tabs").tabs({ selected: 0 });
				/*necessary because IE(7)hides the spans and imgs when #tabs initializes. Hiding and showing forces them to display on first load, albeit without margin*/
				$('#tabs img').hide();
				$('#tabs img').show();
				});
			
			/*hides content in Services accordion. With javascript disabled, all content is expanded.*/
			$("#services #main h3").next().hide();
			/*accordion functionality for Services page, relies on wrapper <div> being after <h3>*/
			$("#services #main h3").toggle(
				function(){
					$(this).next().show(250);
					},
				function(){
					$(this).next().hide(250);
					}
				);
			
			/*empty and populate email signup input*/
			$('#fields_email').focus(function(){
				$(this).attr("value","");
				});
			$('#fields_email').blur(function(){
				if ($('#fields_email').val()=="")
					{ $('#fields_email').val("email"); }
				});
		
		/*cause anchors with rel="external" to open in new windows*/		
		$('a[rel="external"]').click(function(){
				window.open(this.href);
				return false;
			});
				
		/*call Maps function*/	
		initialize();
		});
		
		function showNav(){ $(this).find("ul").show(300); }
		function hideNav(){ $(this).find("ul").hide(300); }
		
		/*creates google map, used on Contact page */
		function initialize(){
			if (GBrowserIsCompatible())
				{
				if ($('#map_canvas').length)
					{
					map = new GMap2(document.getElementById("map_canvas"));
					map.setCenter(new GLatLng(42.3811980525812, -71.12342834472656), 15);
					map.setUIToDefault();
					point = new GLatLng(42.3811980525812, -71.12342834472656);
					map.addOverlay(new GMarker(point));
					}
				}
		}
