﻿jQuery.noConflict(); // used to avoid conflicts with other libraries, such as mootools

var NLo_conf = {

	scope : "http://kalakutaprod.org/", // MUST have trailing slash, don't forget to put https:// if your site runs on SSL
	appendTo : 'beginning',				// when new songs are clicked on, append to 'begining' or 'end' of playlist
	stripWWW : 1,
	iFrameFile : "iFrame.php",			// parent iframe page
	defaultPage : "index.php",			// default child page to go to if none given
	playerBoxID : 'playerbox',			// id of playerbox object in parent
	playerVisibleByDefault : 1,				
	playerActionOnAppend : 'bounce',	// 'bounce' or 'openclose'
	IE6failMsg : "Désolé, mais votre navigateur (Internet Explorer 6) n'est pas compatible avec cette fonctionalit�.\nVeuillez installer une version plus r�cente (7 ou plus) ou un autre navigateur.",
	
	
	playerBoxBounce : function() {
		jQuery('#'+NLo_conf.playerBoxID).stop(true, true).animate({
			bottom:'-250'
			},300,"easeOutQuad").animate({
			bottom:'-385'
			}, 500,"easeOutBounce");		
	},
	
	playerBoxOpen : function() {
		jQuery('#'+NLo_conf.playerBoxID).stop(true, true).animate({
			bottom:'0'
			},800, "easeOutQuint");
	},
	
	playerBoxClose : function() {
		jQuery('#'+NLo_conf.playerBoxID).stop(true, true).animate({
			bottom:'-385'
			}, 1000,"easeOutBounce");
	},

	playerBoxSlideIn : function() {
		jQuery('#'+NLo_conf.playerBoxID).animate({bottom:'-385'
			}, 1000);
	},
	
	me : 0
	
}