(function($) {

})(jQuery);

// **** remove Opacity-Filter in ie ****
function removeFilter(element) {
	if(element.style.removeAttribute){
		element.style.removeAttribute('filter');
	}
}

jQuery('#nav').ready(function() {
	//new Hover(jQuery("#nav"));
});

jQuery(document).ready(function() {
    //DocLinks.init();
    	
	
	jQuery('.afeaturetitle').children('a').attr('href', 'javascript:void(0);')
	jQuery('.afeaturetitle').children('a').click(function() {
		//clearTimeout(jQuery.innerfade.ifchanger);
		for(i=1;i<5;i++) {
			//jQuery('#event'+i+'feature').css("display", "none");
            jQuery('#event'+i+'title').children('a').css("font-family", "Arial, Helvetica, sans-serif");
			jQuery('#event'+i+'title').children('a').css("font-size","12px");
			//jQuery('#event'+i+'title').children('a').css({ "width":"10px" });
			jQuery('#event'+i+'title').children('a').css("color","#E1F996");
		}
		//if(the_widths[(jQuery(this).attr('rel')-1)]==960) {
		//	jQuery("#vic").hide();
		//} else {
		//	jQuery("#vic").show();
		//}
		
		jQuery('#event'+(jQuery(this).attr('rel'))+'feature').css("display", "block");
		
		var a_left_space = ((jQuery(this).attr('rel')-1)*23);
		jQuery("#the_arrow").animate({ top:a_left_space.toString()+"px" }, 300);
		//jQuery(this).animate({ "width":"250px" }, 300);
		jQuery(this).css("color","#fff");
        jQuery(this).css("font-family", 'Georgia, "Times New Roman", serif');
		jQuery(this).css("font-size","14px");
		//clearTimeout(jQuery.innerfade.ifchanger);
	});
	/*
	jQuery('ul#point-main').innerfade({
		speed: 500,
		timeout: 8000,
		type: 'sequence',
		containerheight: '280px'
	});
	*/
});
