$(document).ready(function(){
	//$('body').supersleight();
	/*$.exc_unitpng_init = function() {
		if(/msie|MSIE 6/.test(navigator.userAgent)) {
			var clear="images/clear.gif";var els=$('*');var ip=/\.png/i;var i=els.length;els.each(function(i) {var el=els[i];var es=el.style;if(el.src&&el.src.match(ip)&&!es.filter){es.height=el.height;es.width=el.width;es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+el.src+"',sizingMethod='crop')";el.src=clear;}else{var elb = el.currentStyle.backgroundImage;if(elb.match(ip)){var path=elb.split('"');var rep=(el.currentStyle.backgroundRepeat=='no-repeat')?'crop':'scale';es.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+path[1]+"',sizingMethod='"+rep+"')";es.height=el.clientHeight+'px';es.backgroundImage='none';var elkids=el.getElementsByTagName('*');if(elkids) {var j=elkids.length;if(el.currentStyle.position!="absolute")es.position='static';while (j-- >0)if(!elkids[j].style.position)elkids[j].style.position="relative";}}}});
		}
	}*/
	$.exc_nav_init = function() {
		$('#exc_headframe_nav ul li a:not(.current)').hover(function() {
			$(this).animate({opacity:1}, {duration:250, queue:false, easing:'easeOutQuad'});											 
		}, function() {
			$(this).animate({opacity:0.5}, {duration:250, queue:false, easing:'easeOutQuad'});
		});
	}
	$.exc_eventitem_init = function() {
		$('#exc_bodyframe').find('.exc_eventitem_image').hover(function() {
			$(this).find('a.btn_go').animate({right:3}, {duration:250, queue:false, easing:'easeOutQuad'});											 
		}, function() {
			$(this).find('a.btn_go').animate({right:8}, {duration:250, queue:false, easing:'easeOutQuad'});
		});
		$('#exc_promo_img').hover(function() {
			$(this).find('a.btn_go').animate({right:0}, {duration:250, queue:false, easing:'easeOutQuad'});											 
		}, function() {
			$(this).find('a.btn_go').animate({right:5}, {duration:250, queue:false, easing:'easeOutQuad'});
		});
	}
	//$.exc_unitpng_init();
	$.exc_nav_init();
	$.exc_eventitem_init();
});