function base(){
	$('#nav li:last-child').css('padding','7px 55px 7px');
	$('#nav li:last-child').css('border-right','0px');
	$('#nav li:first-child').css('border-left','0px');
	$('div#footerContent ul li').after('<li>|</li>');
	$('div#footerContent ul li:last-child').remove();
	$('div#bottomLeft ul li:last-child').css('border-bottom','none');
	$('.quote').append("<div class='closeQuote'></div>");
	$('.quote').prepend("<div class='openQuote'></div>");
	
	//sticky
	if ( $('#wrapper').hasClass('home') == true ) { $('#nav li:nth-child(1) a').css('background','#012353');  }
	if ( $('#wrapper').hasClass('about') == true ) { $('#nav li:nth-child(2) a').css('background','#012353');  }
   if ( $('#wrapper').hasClass('why') == true ) { $('#nav li:nth-child(3) a').css('background','#012353');  }
   if ( $('#wrapper').hasClass('products') == true ) { $('#nav li:nth-child(4) a').css('background','#012353');  }
 	if ( $('#wrapper').hasClass('contact') == true ) { $('#nav li:nth-child(5) a').css('background','#012353');  }
	
	//search form
	// search
	$("#emailCapture form #user_email").val("Email Address");
	$("#emailCapture form #user_email").focus(function(){
		if ( $(this).val() == "Email Address" ){
			$(this).val("");
		}
	});
	$("#emailCapture form #user_email").blur(function(){
		if ( $(this).val() == "" ){
			$(this).val("Email Address");
		}
	});
	
	//
	

	
}

function rotate(){
	$('#rotate').cycle({fx:'fade',delay:-2000,timeout:8000, speed: 4000});
	$('#quoteCycle').cycle({fx:'scrollDown', timeout: 6500 });
}

var contactSubmit = "";
var aboutStrDelim = "=";
function getParm(aboutStrUrl){
  var vals = aboutStrUrl.split(aboutStrDelim);
  return vals[vals.length - 1];
}
function contact(){
	contactSubmit = (getParm(""+window.location));
	if ( contactSubmit == 'true' ){ $(".thankYou").slideDown(); $('form').hide(); }

}
