$(document).ready(function() {
$("#dropline li.current").children("ul").css("left", "0px")
.show();
$("#dropline li.current").children(":first-child").css("color", "#FFF")
$("#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", "black");
}
else {
$(this).children("a:eq(0)").css("color", "white");
}
if (getCurrent = 1) {
$(this).parent().children("li.current:eq(0)").children("ul").hide(); ;
}
$(this).children("ul:eq(0)").css("left", "72px")
.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", "#FFF");
}
else {
$(this).children("a:eq(0)").css("color", "black");
}
if (getCurrent = 1) {
$(this).parent().children("li.current:eq(0)").children("ul").show(); ;
}
$(this).children("ul:eq(0)").css("left", "-99999px")
.hide();
}
});
});

