/**
 * frosmo.js
 *
 * @copyright (c) 2010 Frosmo Ltd
 * @version $Rev: 17137 $
 *
 * $LastChangedDate: 2010-04-21 14:19:06 +0300 (Wed, 21 Apr 2010) $
 * $LastChangedBy: markosamuli $
 * $HeadURL: svn://musti_witos/e-arena/branches/rel_streamlined_20100422/ui_frosmo/assets/scripts/frosmo.js $
 */

function startNifty(){
	Nifty("div#footerContent","normal transparent bottom");
    Nifty("div#footerContainer","normal transparent bottom");
    Nifty("div#headerLogin","normal transparent bl");
    Nifty("div#headerLoginContainer","normal transparent bl");
	Nifty("div#freeTournamentCounter", "normal transparent");
	Nifty("div#tournamentInfoWrapper", "normal transparent");
	Nifty("div#tournamentInfoContainer", "normal transparent");
}

function slideGames(element_id, elements_class){
	//hide and show game list
	if ($(element_id).is(":visible")) {
		$(element_id).slideUp("normal"); //hide gamelist
		$('.hide').fadeIn(2000); //all game lists closed, show frosmo
	}
	else {
		$(elements_class).slideUp("normal"); //hide other game lists
		$(element_id).slideDown("normal"); //show wanted game list
		
		$('.hide').hide(); //some game list visible, hide frosmo
	}
}

// EOF frosmo.js
