function bookmark(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}

$().ready(function(){
    $("ul#nav li a").click(function(){
        if($(this).siblings("ul").html()!=null){
        	if($(this).siblings("ul").css("display")=='none'){
        		$("ul.sec").hide();
				$(this).siblings("ul").show();
			}else{
				$("ul.sec").hide();
			}
            return false;
        }else{
            return true;
        }
    });
});


/*startList = function() {
	var nodes = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<nodes.length; i++) {
		nodes[i].onmouseover = function() {
			this.className += " over";
		}
		nodes[i].onmouseout = function() {
			this.className = this.className.replace(new RegExp(" over\\b"), "");
		}
	}
}*/
//if (window.attachEvent) window.attachEvent("onload", startList);

function flash(s) { document.writeln(s); }
