function init() {

	$('a.lightbox').lightBox({
				overlayBgColor: "#000",
				overlayOpacity: 0.6,
				imageLoading: "<!--PHP= $this->urlPath()->img('lightbox/loading.gif'); PHP-->",
				imageBtnClose: "<!--PHP= $this->urlPath()->img('lightbox/close.gif'); PHP-->",
				imageBtnPrev: "<!--PHP= $this->urlPath()->img('lightbox/prev.gif'); PHP-->",
				imageBtnNext: "<!--PHP= $this->urlPath()->img('lightbox/next.gif'); PHP-->",
				imageBlank: "<!--PHP= $this->urlPath()->img('lightbox/blank.gif'); PHP-->", 
				containerResizeSpeed: 350,
				txtImage: "",
				txtOf: "of"
	});
						
	$('#topmenu li:not(.current) a')
			.css( {backgroundPosition: "50px 38px"} )
			.mouseover(function(){
				$(this).stop().animate({backgroundPosition:"(200px 150px)"}, {duration:700})
			})
			.mouseout(function(){
				$(this).stop().animate({backgroundPosition:"(50px 38px)"}, {duration:300, complete:function(){
				$(this).css({backgroundPosition: "50px 38px"})
			}})
	})
			
	$('.button')
			.css( {backgroundPosition: "10px 10px"} )
			.mouseover(function(){
				$(this).stop().animate({backgroundPosition:"(50px 10px)"}, {duration:300})
			})
			.mouseout(function(){
				$(this).stop().animate({backgroundPosition:"(10px 10px)"}, {duration:300, complete:function(){
				$(this).css({backgroundPosition: "10px 10px"})
			}})
	})
			
	$('#navbar li:not(.current) a')
			.css( {backgroundPosition: "0px -40px"} )
			.mouseover(function(){
				$(this).stop().animate({backgroundPosition:"(0px -10px)"}, {duration:500})
			})
			.mouseout(function(){
				$(this).stop().animate({backgroundPosition:"(0px -40px)"}, {duration:300, complete:function(){
				$(this).css({backgroundPosition: "0px -40px"})
			}})
	})
				
	Cufon.replace('#topmenu a, .button, #navbar label, #cms_content h1, #cms_content h2, #eventheader'); 
		
	$('.tv1 .cyclebox').cycle({
			fx:'uncover',
			speed:1000, 
			timeout:10000,
			delay:0,
			random:1
			});
	
	$('.tv2 .cyclebox').cycle({
			fx:'uncover',
			speed:1000, 
			timeout:10000,
			delay:1000,
			random:1
			});
	$('.tv3 .cyclebox').cycle({
			fx:'uncover',
			speed:1000, 
			timeout:10000,
			delay:2000,
			random:1
			});
	
	
			
	
};
