
$(document).ready(function(){
//JQuery ready is quicker than onload
$(".stripeMe tr").mouseover(function() {$(this).addClass("over");}).mouseout(function() {$(this).removeClass("over");});
$(".stripeMe tr:even").addClass("alt");



/*
//hides all ul with a parent li that has the class drop
$("li.drop[ul]/ul").hide();



//add an event handler to the nav items
$(".drop").bind("click", function(){
   $("this.childNodes").show();;
 });
*/

$("#test").bind("click", function(){


$("div#ajax").load("incs/actions.php",{action:"view_account_computers", account_id:"1"});



});



	// Add a value to each menu:
	$("#Menu > li > a + ul").attr("slide", "down");
	
	//get the current account_id
	 var currentAccount = $.getURLParam("account_id");
	 currentAccount = "\'"+"#"+currentAccount+"\'";
	 
/*
	window.alert(currentAccount);

*/
	// Collapse everything but the first menu:
	$("#Menu > li > a").find("+ ul").slideUp(1).attr("slide", "up");
	
	// Expand or collapse:
	$("#Menu > li > a").click(function() {
	
		// Collapse open menu:
		$(this).find("#Menu > li > a + ul[@slide='down']").slideUp("fast").attr("slide", "up");
		
		// Expand this menu:
		$(this).find("+ ul").slideToggle("fast").attr("slide", "down");

});



	
});