/* <![CDATA[ */
 Cufon.replace('#lsidebar .testi, #lsidebar .sidelist,#lsidebar .sidebox .sidelist li a:hover', {
  fontFamily: 'Newtown',
  hover: '#000000'
});

 Cufon.replace('#header .logo h2,#content .topcontent dt,#content .contentbox .gallery li', {
  fontFamily: 'Denmark',
	color: '-linear-gradient(#FFF,#CCC,#999)',
  textShadow: '1px 1px #000'
});

 Cufon.replace('#header .logo h2 .slogan', {
  fontFamily: 'CenturyGothic',
  textShadow: '0px 0px 1px #fff, 1px 1px #000'
});

 Cufon.replace('#header #navi li a,#lsidebar .sidebox h5,#rsidebar .sidebox h3,#content .contentbox h2', {
  fontFamily: 'CenturyGothic',
  textShadow: '1px 1px #000',
  hover:{
  fontWeight: 'bold',
  color:'#fff'
  }
}); 
Cufon.replace('.smallbutton,.bigbutton,#sidesubmit', {
  fontFamily: 'CenturyGothic',
  textShadow: '1px 1px #000',
  hover:{
 color: '-linear-gradient(#333,#fff)'
  }
});
Cufon.replace('#content h1,#footer .middlefooter h2', {
  fontFamily: 'CenturyGothic',
  textShadow: '1px 1px #fff'
  
});



	$(document).ready(function (){
			
			
        $("#navi li,.social li,.sociallink li").hover(function() {
		$(this).css({'z-index' : '10'});
		$(this).find('a').addClass("hover").stop()
			.animate({
        opacity: '0.5'
        
			}, 200);
		
		} , function() {
		$(this).css({'z-index' : '0'});
		$(this).find('a').removeClass("hover").stop()
			.animate({
        opacity: '1'
			}, 300);
	});
      
      
            	jQuery.validator.addMethod("phoneUS", function(phone_number, element) {
    phone_number = phone_number.replace(/\s+/g, ""); 
	return this.optional(element) || phone_number.length > 9 &&
		phone_number.match(/^(1-?)?(\([2-9]\d{2}\)|[2-9]\d{2})-?[2-9]\d{2}-?\d{4}$/);
}, "Please specify a valid phone number");

       $("#Contact_Form").validate({
    rules: {
			NameTxt: "required",
			EmailTxt: {
				required: true,
				email: true
			},
		AddressTxt: "required",
		CityTxt: "required",
		StateTxt: "required",
		ZipTxt: "required",
		CountryLst: "required",
		MessageTxt: "required",

    PhoneNum: {
				required: true,
				//phoneUS: true
			},
      SubjectTxt: "required"
    }
	});
  

    
			});
/* ]]> */
