var h = window.location.host.toLowerCase();
	
jQuery(document).ready(function(){
     jQuery("a[href^='http']:not([href*='" + h + "']), a[href$='.pdf']").attr("target", "_blank");
	 jQuery('a[href^="mailto:"]').addClass('emailLink');
	 jQuery('a[href*=".pdf"]').attr({"target":"_blank"});
	 jQuery('a[href*=".pdf"]').addClass('pdfLink');
	 jQuery('a[href*=".eps"]').addClass('epsLink');
     jQuery("li:last-child").addClass('last');
     jQuery("li:first-child").addClass('first');
     jQuery("#sidebar img:last-child").addClass('last');
     jQuery("#sidebar img:first-child").addClass('first');
	 jQuery('body').addClass(jQuery.client.os);
	 jQuery('body').addClass(jQuery.client.browser);
     jQuery("tr:even").addClass('even');
     jQuery("tr:odd").addClass('odd');
     jQuery("li:nth-child(odd)").addClass('odd');
	
    jQuery(".applicationInstructionsLink").click(function () {
      jQuery("#applicationInstructions").slideToggle("slow");
    });
	    jQuery(".eligibilityCriteriaLink").click(function () {
      jQuery("#eligibilityCriteria").slideToggle("slow");
    });

	 jQuery("#signinLink").click(function () {
		jQuery("#loginBox").slideToggle("fast");
		jQuery("#signinLink").addClass("on");
     });  
	 jQuery('input.clearme').focus(function() {
    	jQuery(this).val("");
  	});
	
	});

