jQuery.noConflict();
jQuery(document).ready(function(){	
	// Fix the hated IE6 png transparency issue.
	jQuery(document).pngFix();
	
	jQuery("#nav a:first").css("paddingLeft",0);

	jQuery("a[href*=.pdf]").click(function()	{
		jQuery(this).attr({"target":"_self"});
		return false;
	});
	// same as target=_blank, but w3c
	jQuery('a[rel="external"]').each( function(){
		jQuery(this).attr({"target":"_blank"});
        return false;
    });
	
	
	jQuery(".sideBarUL li:first").each(function(){
		jQuery(this).css("borderTop","none");												
	});
	
	// For Forms
	jQuery('input[type="text"]').addClass("idleField");
	jQuery('input[type="text"]').focus(function() {
		jQuery(this).removeClass("idleField").addClass("focusField");
		if (this.value == this.defaultValue){ 
			this.value = '';
		}
		if(this.value != this.defaultValue){
			this.select();
		}
	});
	jQuery('input[type="text"]').blur(function() {
		jQuery(this).removeClass("focusField").addClass("idleField");
		if (jQuery.trim(this.value) == ''){
			this.value = (this.defaultValue ? this.defaultValue : '');
		}
	});

});