$(document).ready(function() {
						   
	// ################## Basic Jquery operations ##################
	$.preloadCssImages();
	
	$('a.current').click(function(){
		return false;							  
	});

    // external links
    $("a[rel='external']").click(function() {
        window.open('a',$(this).attr('href'));
        return false;
    });

    // Add end class to list items and table rows
    $('li:last','ul').addClass('end');
	$('li:last','ol').addClass('end');
    $('tr:last','table').addClass('end');
	
	// CSS zoom fix for IE6 hasLayout bugs
	if($.browser.msie && parseInt($.browser.version) == 6 && !window["XMLHttpRequest"]){
		$('body').append('<style type="text/css">* {zoom: 1;}</style>');	
	}
	
	
	// ################## Site Specific operations ##################
	
	$('.button').hover(function(){
		$(this).addClass('hover');									  
	},function(){
		$(this).removeClass('hover');
	});

});
