var IceTools = {



	start: function() {

		

		

// Toogle Effect For Search

	//var IceSearch = new Fx.Slide('top-panel', {mode: 'horizontal'}).hide();
	var IceSearch = new Fx.Slide('top-panel', {mode: 'horizontal'});

	$('toggle').addEvent('click', function(e){

		e = new Event(e);

		IceSearch.toggle();

		e.stop();

	});

	



// Toogle Effect For Link Color

	//var IceLinks = new Fx.Slide('links-panel', {mode: 'horizontal'}).hide();
	var IceLinks = new Fx.Slide('links-panel', {mode: 'horizontal'});

	

	$('toggle2').addEvent('click', function(e){

		e = new Event(e);

		IceLinks.toggle();

		e.stop();

	});





// Toogle Effect For Weather 

 	//var IceWeather = new Fx.Slide('weather', {mode: 'vertical'}).hide();
 	var IceWeather = new Fx.Slide('weather', {mode: 'vertical'});

	

	$('toggle3').addEvent('click', function(e){

		e = new Event(e);

		IceWeather.toggle();

		e.stop();

	});

	

	

// Left Menu Effect

	var links = $('mainlevel').getElements('a');

	

		for(var i=0; i<links.length; i++)

			{

		

		links[i].addEvent('mouseover', function(){ 

			this.effect('padding-left', { 'duration': 200 }).start(15, 25); 

		});

																																					  		links[i].addEvent('mouseout', function(){ 

			this.effect('padding-left', { 'duration': 500 }).start(25, 15); 

		});																																			

	}







	







/* Add functions on window load */

}}; 

window.addEvent('load', IceTools.start);
