/*
	Javascript functionality for transfers page
	
	@author Gyorgy Fekete gyorgy.fekete [ at ] lateral [ dot ] ro
*/

var transfers = {
	
	// initialize this object
	init: function()
	{
		
	},
	
	// init the competition list: transfers.middlebar.tpl.html
	initCompetitionsBar : function()
	{
		
		$('div.expandbList').each(function() {
		
			var t = $(this);
			
			t.find('ul').hide();
			t.find('img.down-circle').bind('click', function() {
			
				t.find('ul').toggle();
				
				return false; //avoid event bubbling up
				
			});
			
			
			
		});
		
		
		
		
		/*
						// add "more" function
						$("div.expandbList").each(function() {
							var the_div = this;
							
							//hide all division boxes on startup
							$(the_div).find('ul').hide();
							
							// toggle division boxes
							$(the_div).find("img.down-circle").bind("click", function() {
								$(the_div).find("ul").toggle();
							});
		*/
		
		
	}
	



}