/* LFI Gallery - Body-Class Switcher 
 * Dynamically switches the css-classes of the body-element so other elements can be matched by the css
 * @author bbartels
 */
 
 // SwitchBodyClass Method, switches the css-class
function SwitchBodyClass(bodyclass) 
{
	// Remove all
	jQuery('body').attr('class','');

	// Basic classes
	if(!jQuery('body').hasClass('lfi')) jQuery('body').addClass('lfi');
	if(!jQuery('body').hasClass('gal')) jQuery('body').addClass('gal');
	
	// Add
	jQuery('body').addClass(bodyclass);
}
