(function (d,c) { d.getElementById(c) && (d.getElementById(c).autocomplete = d.getElementById("CaptchaTV2").autocomplete = "off") }(document, "CaptchaV2"));
/*$(document).ready(function(){
	$(window).politeWarning(7,'Your browser is no longer supported, click <a href="http://www.google.com/chrome">Google Chrome</a>, <a href="http://		www.mozilla.com/en-US/firefox/new/">Mozilla Firefox</a>, or <a href="http://www.opera.com/download/">Opera</a> to upgrade');
	
});

$('input[placeholder],textarea[placeholder]').placeholder();
*/

$(function(){
	$('nav a').each(function() {
		if (this.href==window.location.href || 
			this.href == window.location.pathname || 
			window.location.pathname.indexOf(this.href + '/') != -1) {
				$(this).parents('li').addClass('selected');
		}
	});
	
	
   $('.slider').slides({
       preload: true,
       preloadImage: '/images/slider/loading.gif',
       play: 5000,
       pause: 2500,
       hoverPause: true,
       effect: 'fade',
       crossfade: false,
       fadeSpeed: 500
   });
});
