//INIT
jQuery(function() {
	//jQuery("#noscript").addClass("js");

	//click handler: change home gallery image
	jQuery("#hl_thumbs a").click(function() {
		FFL.processHomeGallery(this);
		return false;
	});
	//click handler: change sub gallery image
	jQuery("#gallery_thumbs a").mouseover(function() {
		FFL.processSubGallery(this);
		return false;
	});

	//click handler: close thickbox in login overlay
	jQuery("#popup_reset").click(function() {
		parent.tb_remove();
		return false;
	});
	
	//galley images hover for title description
	jQuery('.shade').hover(function(){
		$(this).toggleClass('hover');
		},
		function(){$(this).toggleClass('hover');
		return false;
	});

	//IE6 png fix
	jQuery.ifixpng('/jahia/jsp/jahia/templates/pardo08/pardo09/img/img/x.gif'); //CHANGE THIS URI ACCORDINGLY
	//#press png not fixed because ie6 filter href bug does not work, ant links would become unclickable
	jQuery('img[src$=.png],ul#nav_edition li,ul#nav_edition li a,.sub_col1_edge,.sub_col2_edge,#home_list,#teaser,#next,.sub_line,.sub_col2_main h1.lined,.sub_col2_small_grad,.sub_col1_tab_bg,button,#popup_login,#popup_reset').ifixpng();
});