function makeGoogleMap(element) {
	$(element).each(function() {
		var src = $(this).attr('data');
		var width = $(this).attr('width');
		var height = $(this).attr('height');
		var styles = $(this).attr('style');
		var html = '<iframe src="'+src+'" width="'+width+'" height="'+height+'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" style="'+styles+'"></iframe>';
		$(this).replaceWith(html);
	});
}
$(document).ready(
function() {
	$.localScroll();
	$('a[rel^="external"]').click(function() {this.attr({target: '_blank'});});
	$('a[rel^="prettyPhoto"]').prettyPhoto({default_width: 420, default_height:350});
	$('input#s').val("Enter your search term...");
	$('.search label[for=s]').click(function(){
		if($('input#s').val() == "Enter your search term...") {
			$('input#s').val("");
		}
	});
	$('.search label[for=s]').mouseout(function(){
		if($('input#s').val() == "") {
			$('input#s').val("Enter your search term...");
		}
	});
	$('input#s').hover(
		function() {
			if($(this).val() == "Enter your search term...") {
				$(this).val("");
			}
		},
		function() {
			if($(this).val() == "") {
				$(this).val("Enter your search term...");
			}
		}
	);
	//$('#nav-top ul li.dropdown div').hide();
	//$('#nav-top ul li.dropdown').hover(
	//	function() {
	//		$(this).find('div').slideDown('slow');
	//	},
	//	function() {
	//		$(this).find('div').slideUp('slow');
	//	}
	//);
});

