
function init()
{
	
		
		
	
		
		if($("sliderCont"))
		{
			//SAMPLE 8

			var nS8 = new noobSlide({
				box: $('box8'),
				items: $$('#box8 h3'),
				size: 535,
				handles: $$('#handles8 span'),
				autoPlay: true,
				//addButtons: {previous: $('prev8'), play: $('play8'), stop: $('stop8'), playback: $('playback8'), next: $('next8') },
				onWalk: function(currentItem,currentHandle){
					//style for handles
					$$(this.handles).removeClass('active');
					$$(currentHandle).addClass('active');
					//text for "previous" and "next" default buttons
					//$('prev8').set('html','&lt;&lt; '+this.items[this.previousIndex].innerHTML);
					//$('next8').set('html',this.items[this.nextIndex].innerHTML+' &gt;&gt;');
				}
			});

			
		}
		
		// ------------------


		if($("TickerVertical")) 	var vert = new Ticker('TickerVertical',{speed:1000,delay:2000,direction:'vertical'});



		if($("cntdwnTimer"))
		{
			
			var date = new Date();
			
			var day = date.getDate();
			var month = date.getMonth();
			
			if(day > 25) month = date.getMonth()+1;
			day = 25
			

			new CountDown({date: new Date(date.getFullYear(), month, day, 0, 0, 0),
			
				onChange: function (countdown) {
				
					var cd = (countdown.days <= 9 ? '0' : '' ) + countdown.days ;
					$("cntdwndays").set("html", cd);
					
					var cd = (countdown.hours <= 9 ? '0' : '' ) + countdown.hours ;
					$("cntdwnhours").set("html", cd);
					
					var cd = (countdown.minutes <= 9 ? '0' : '' ) + countdown.minutes ;
					$("cntdwnminutes").set("html", cd);
					
					var cd = (countdown.second <= 9 ? '0' : '' ) + countdown.second ;
					$("cntdwnseconds").set("html", cd);
					
					
				},
				onComplete: function () {  }
			});
			
			
		}



}





window.addEvent('domready', function(){init()});  // domready, load








