	function ShowLabel ( label, input ) {
		if ( document.getElementById( input ).value == '' )
			document.getElementById( label ).style.display = '';
	}
    	function HideLabel ( label, input ) {
		document.getElementById( label ).style.display = 'none';
		document.getElementById( input ).focus();
	}
	function autocompleteOff(){
		var searchForm = document.getElementById('main-search');
		searchForm.setAttribute("autocomplete", "off");
	}

	window.onload = function(){
		autocompleteOff();
	}

/*	$(document).ready(function(){
		$selected = $(".second-navigation .item-name.selected");
		$selected.next(".sub-menu").css("display", "block");

		$(".second-navigation .item-name").click(function(){
			$other = $(this).parent().parent().find(".sub-menu:visible");
			$slider = $(this).parent().find(".sub-menu");

			if ($slider.is(":hidden")){
				$other.slideUp("slow");
				$slider.slideDown("slow");
				$(this).parent().parent().find(".item-name.selected").removeClass("selected");
				$(this).addClass("selected");
			}
			else{
				if ($slider.is(":visible")) {
					$(this).addClass("selected");
				}
				else{
					$other.slideUp("slow");
					$(this).parent().parent().find(".item-name.selected").removeClass("selected");
					$(this).addClass("selected");
				}
			}
		});
	});
*/
