

/* <![CDATA[ */
$(document).ready(function(){
$("#dline li.selected").children("ul")	.css("left", "0px")
								.show();
$("#dline li.selected").children(":first-child").css("color", "#c00")

$("#dline li").hover(function(){
	if(this.className.indexOf("selected") == -1)  {
		getselected = $(this).parent().children("li.selected:eq(0)");
		if(this.className.indexOf("top") != -1)  {
			$(this).children("a:eq(0)").css("color","#ffffff");
			$(this).children("a:eq(0)").css("background","#DB1F02");
			$(this).children("a:eq(0)").css("backgroundImage.src","url('http://site.restaurantfurniture4less.com/design/images/redbk.gif')");						
			$(this).children("a:eq(0)").css("zIndex","99999");
			document.getElementById('topnav').style.zIndex = ('999');
			document.getElementById('main').style.zIndex = ('1');
			$(this).children("a:eq(0)").css("zIndex","9999");
			$(this).children("a:eq(0)").css("background","#DB1F02");			
}
		else {
			$(this).children("a:eq(0)").css("color","#000");
			$(this).children("ul").css("borderTop","0px");
		}
		if (getselected = 1 ) {
			$(this).parent().children("li.selected:eq(0)").children("ul").hide();;
		}
	$(this).children("ul:eq(0)").css("left", "-1px")
	$(this).children("ul:eq(0)").css("top", "30px")
//	$(this).children("ul:eq(0)").css("borderTop", "0px")		
								.show();
	}
},function(){
	if(this.className.indexOf("selected") == -1)  {
		getselected = $(this).parent().children("li.selected:eq(0)");
		if(this.className.indexOf("top") != -1) {
			$(this).children("a:eq(0)").css("color","#000");
			$(this).children("a:eq(0)").css("backgroundImage.src","url('http://site.restaurantfurniture4less.com/design/images/toobk.gif')");			
			$(this).children("a:eq(0)").css("background","url('http://site.restaurantfurniture4less.com/design/images/toobk.gif')");			

}
		else {
			$(this).children("a:eq(0)").css("color","#666");
		}
		if (getselected = 1 ) {
			$(this).parent().children("li.selected:eq(0)").children("ul").show();;
		}
$(this).children("ul:eq(0)").css("left", "-99999px")
							.hide();
	}
});


});
/* ]]> */

