$(document).ready(function() {

  // Drop down navigation
	$('#nav').superfish({speed:'100'}); 
	
	$('#nav li').has('ul').addClass('dropdown');
	
	
	$('#nav li ul').hover(function() {
		$(this).closest("li").toggleClass("dropdownhover");
	});	 
	
	$(".section-two-cols .module:last").each(function(){
      $(this).addClass("module-highlight module-last");
	});
	
	$("a[href*=.pdf]").click(function(){
		window.open(this.href);
		return false;
	});
	
	//$("a:not([href*='gridserver.com'])").click(function(){
		//window.open(this.href);
		//return false;
	//})
	
	$("a").filter(function() {
		return this.hostname && this.hostname !== location.hostname;
	}).attr('target', '_blank');


// DD_belatedPNG fix for IE6
if ($.browser.msie && $.browser.version <= 6 ) { 

	DD_belatedPNG.fix('.tl, .tr, .bl, .br, .section .module-highlight .module-content, .sidebar .module h3, span.overlay, .topage a');

}

});