				$(document).ready(function(){
					$("#client_login").click(function(){
						$(".pc_login").slideToggle("slow");
						$(this).toggleClass("live");
					});
				});
				$(document).ready(function(){														
					$(".info").click(function(){
						$(".nav_sub").slideToggle("slow")
						$(this).toggleClass("live");
					});
				});
				$(document).ready(function(){
					$("#contact-form").ajaxForm(
					  {target:"#hiddenDIV",      
					  	beforeSubmit:function()  
						  {
						     $("#msg").html("Sending...");
						  },
					   success:function(rtn)
					   {
					    if(rtn=="success")
					   {
					      $("#contact-form").resetForm();
					      $("#msg").html("Thanks for subscribing. We promise not to use your e-mail address for any other reason; and of course you'll be able to unsubscribe at any time without jumping through any hoops.");
					     }else{
					      $("#msg").html(  $("#hiddenDIV #content ul").html() );
					      $("#hiddenDIV").empty();
					     }
					   }
					  }
				)})
				
				/* 

/*
function: sfHover
mimicks the :hover pseudo-class for IE6 */
sfHover = function() {
	var sfEls = document.getElementById("nav_main").getElementsByTagName("LI");

	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" hover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" hover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
