/* ================================================================ 
This copyright notice must be untouched at all times.
Copyright (c) 2008 Stu Nicholls - stunicholls.com - all rights reserved.
=================================================================== */
/* <![CDATA[ */
$(document).ready(function(){
$("#dropline li.current").children("ul").css("left", "0px").show();
//$("#dropline li.current").children(":first-child").css({ 'background-image' : PATH+'images/skin/instinctiveSprites.png'})
$("#dropline li.current").children(":first-child").css({'color' : '#ffffff','font-weight' : 'bold'});
$("#dropline li.current ul li.current").children(":first-child").css({'color' : '#F4EDDD','background':'none'});



$("#dropline li").hover(function(){
	if(this.className.indexOf("current") == -1)  {
		getCurrent = $(this).parent().children("li.current:eq(0)");
		if(this.className.indexOf("top") != -1)  {
			$(this).children("a:eq(0)").css("color","#ffffff");
		}
		else {
			$(this).children("a:eq(0)").css("color","#ffffff");
		}
		if (getCurrent = 1 ) {
			$(this).parent().children("li.current:eq(0)").children("ul").hide();;
		}
	$(this).children("ul:eq(0)").css("left", "0px").show();
	}
},function(){
	if(this.className.indexOf("current") == -1)  {
		getCurrent = $(this).parent().children("li.current:eq(0)");
		if(this.className.indexOf("top") != -1) {
			$(this).children("a:eq(0)").css("color","#f4eded");
		}
		else {
			$(this).children("a:eq(0)").css("color","#f4eded");
		}
		if (getCurrent = 1 ) {
			$(this).parent().children("li.current:eq(0)").children("ul").show();;
		}
$(this).children("ul:eq(0)").css("left", "-99999px").hide();
	}
});


});
/* ]]> */

