  $(document).ready(function(){
   $("#nav li ul").addClass("jqhide");
   
/*   $("#op").click(function(){
	  $(this).children("ul").show('slow');
	  return false;
	});
	$("#nav li").click(function(){
	  $(this).children("ul").hide('slow');
	  return false;
	});*/
/*	$('#op').bind('click',function(){$('ul').show();}); 
	$('#op').bind('mouseout',function(){$('ul').hide();}); */
/* $('#op').click(function() {
     $(this).children("ul").slideToggle(400);
    return false;
  });
  $('#op1').click(function() {
     $(this).children("ul").slideToggle(400);
    return false;
  });*/
/*  $("#nav")
			.superfish({
				animation : { opacity:"show",height:"show"}
			})
			.find(">li:has(ul)")
				.mouseover(function(){
					$("ul", this).bgIframe({opacity:false});
				})
				.find("a")
					.focus(function(){
						$("ul", $(".nav>li:has(ul)")).bgIframe({opacity:false});
					});*/
					        $('#nav').superfish({ 
            delay:       500,                            // one second delay on mouseout 
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
            speed:       'slow',                          // faster animation speed 
            autoArrows:  true,                           // disable generation of arrow mark-up 
            dropShadows: true                            // disable drop shadows 
        }); 

});
  
  function ae(f) { var oldonload = window.onload; if (typeof window.onload != "function") { window.onload = f;} else { window.onload = function() { oldonload(); f();}
}
}
function lf(qf) { for (var i=0; i<qf.elements.length; i++) { var element = qf.elements[i]; if (element.type == "submit")continue; if (element.type == "button") continue; if (!element.defaultValue) continue; element.onfocus = function() { if (this.value == this.defaultValue) { this.value = "";}
}
element.onblur = function() { if (this.value == "") { this.value = this.defaultValue;}
}
}
}
function ifo() { for (var i=0; i<document.forms.length; i++) { var tf = document.forms[i]; lf(tf);}
}
ae(ifo); 
