/* Top Navigation
==============================================================================*/

/*------- li hover for IE ---------*/

/*sigmaHover = function() {
	if (!document.getElementById("sigma-nav")) return false;
	var sigmaEls = document.getElementById("sigma-nav").getElementsByTagName("LI");
	for (var i=0; i<sigmaEls.length; i++) {
		sigmaEls[i].onmouseover=function() {
			this.className+="sigmahover";
		}
		sigmaEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("sigmahover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sigmaHover);*/

/*Image rotation*/
$('#sigma-image-cycle').cycle({ 
    fx:     'scrollDown', 
    timeout: 2000 
});
	
$('#sigma-image-slide').cycle({ 
    fx:    'fade', 
    speed:  2500 
 });
/*--IMAGE REFLECTION --
$(document).ready(function() {
	$('.sigma-image-reflection').reflect();
})
*/
/*--News scroll--*/
$('#sigma-news').cycle({ 
    fx:      'scrollUp', 
    speed:    1000,
	timeout:  5000,
    pause:   1,
	pagerAnchorBuilder: function(idx, slide) {
	return '';
	}
});

/*--Rules scroll--*/
$('#sigma-general-rules').cycle({ 
    fx:      'turnDown', 
    pause:   1,
	pagerAnchorBuilder: function(idx, slide) {
	return '';
	}
});

/*--Objective*/
$('#sigma-objective-cycle').cycle({ 
    fx:      'fade', 
    speed:    1000,
	timeout:  5000,
    pause:   1,
	pagerAnchorBuilder: function(idx, slide) {
	return '';
	}
});
$('#sigma-objective1-cycle').cycle({ 
    fx:      'fade', 
    speed:    1000,
	timeout:  5000,
    pause:   1,
	pagerAnchorBuilder: function(idx, slide) {
	return '';
	}
});

/*Gallery*/
 $(function() {
	$('#gallery a').lightBox();
}); 



