//$(document).ready(function() {

    /**
     * Validate contact form
     */      
//    $("#content .contact-form").validate({
  //      rules: {
    //        email: {
      //          required: true,
        //        email: true
//            }
  //      }
//    });
    
  //  SQUAB.homeQuestions();

//});


//var SQUAB = {

    /**
     * Home Questions
     */         
  //  homeQuestions: function (items) {
        
//      var personal_questions = $(".home #top form.personal");
//        var business_questions = $(".home #top form.business");
 //       var home_nav = $(".home #nav a");
        
   //     business_questions.hide();
        
//        $(".home #nav li.item01 a").bind("click", function() {
//            home_nav.removeClass("current");
//            $(this).addClass("current");
//    
//            personal_questions.show();
  //          business_questions.hide();
  //          return false;
//        });
        
  //      $(".home #nav li.item02 a").bind("click", function() {
    //        home_nav.removeClass("current");
//            $(this).addClass("current");
    
  //          personal_questions.hide();
    //        business_questions.show();
            
      //      return false;
      //  });
  //  }
//}

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);


