 // Script for Sliding Drawer
	$(function()
	{
	
	$("#login-open").click(function(event) {
	event.preventDefault();
	$("#slider").slideToggle();
	});

	$("#slider a").click(function(event) {
	event.preventDefault();
	$("#slider").slideUp();
	});
	
	});

 // Script for Accordians
$(document).ready(function(){
	

	$(".accordion ul").hide();

	$(".accordion h3").click(function(){
		$(this).next("ul").slideToggle("slow")
		.siblings("ul:visible").slideUp("slow");
		$(this).toggleClass("active");
		$(this).siblings("h3").removeClass("active");
	});

});

// Clears Text Fields When Cursor Enters	  
function clearText(thefield){
if (thefield.defaultValue==thefield.value)
thefield.value = ""
}

try {
  document.execCommand('BackgroundImageCache', false, true);
} catch(e) {}

// Suckerfish Hover Scripts
sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
