function setCountDown () {
	actImg.src = picList[picn++];
	document.getElementById("pic").src=actImg.src;
	if (picn>=picList.length) picn=0;
	setTimeout ( "setCountDown()", <?php echo ($interval*1000); ?> );
}

$(document).ready(function() {
	$(".video-link").fancybox({
		'width' : 644,
		'height' : 372,
		'overlayShow' : true,
		'autoScale' : true,
		'transitionIn' : 'none',
		'transitionOut' : 'none',
		'type'  : 'iframe'
	});
	$('#news-archive').click(function() {
		$('#archive').toggle();
		return false;
	});
});
