$(function(){
$(".nav li ").hover(function(){
$(this).children("span").addClass("hover");
$(this).children(".sub-pan").stop(true,true).slideDown(300);
},function(){
$(this).children("span").removeClass("hover");
$(this).children(".sub-pan").stop(true,true).slideUp(300);
});
});
if (document.getElementById){
document.write('\n')
}
function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv").getElementsByTagName("span");
if(el.style.display != "block"){
for (var i=0; i