$(function(){
					 
		/* ADDCLASSES */      									
			$('#topnav ul li:last, #footer ul li:last').addClass('noborder');

		/* HIDE BUTTON TEXT */
			$('#submit_sitesearch').val('');
				
			$('#breadcrumb li a').parent('li').append('<span>&gt;</span>'); 
		
		/* IF HREF IS BLANK, RETURN FALSE */
			$('a').bind('click', function(){ var getHref = $(this).attr('href'); if (getHref == "") { return false } });

		var ele_searchInput = $('#input_sitesearch'); 
		if ( ele_searchInput[0]) { toggleLabel(ele_searchInput); }
		
		function toggleLabel(curr_input){
			$(curr_input).next().val("");
			$(curr_input).val('');
			$(curr_input).prev().click(function() {
				$(this).hide();
				$(curr_input).focus();
				$(curr_input).blur(function() { if( $(this).val() == '' ) { $(this).prev().css('display','block'); } });       
			});
			$(curr_input).click(function() {
				$(this).prev().hide();
				$(this).focus();
				$(this).blur(function() { if( $(this).val() == '' ) { $(this).prev().css('display','block'); } });
			});
		} 
});
