// JavaScript Document
jQuery(document).ready(function($) {
	
	/*Search Box (remove default text on focus, then put back in)
	$('#s').focusin(function(){
		var sv = $('#s').attr('value'); 
		if( sv == 'Search' ){ $(this).attr('value', '');}
	});
	$('#s').focusout(function(){
		var sv = $('#s').attr('value'); 
		if( !sv ){ $(this).attr('value', 'Search');}
	});
	$('nav#Menu ul:not(.submenu)>li:first').addClass('home');
	
	/*Apply active class on parent when hovering on submenu
	$('nav li li a').hover(function(){
			$(this).parent().parent().parent().addClass('active');
		}, function(){
			$(this).parent().parent().parent().removeClass('active');
	});*/
	
	
	$('.bg').bind('dragstart', function(event) { event.preventDefault(); });
	
	$('#Quote').cycle({timeout: 7000, speed: 2000});
	
	
});
