/**
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to team@magicweb.org so we can send you a copy immediately.
 *
 * @author     MagicWeb.org
 * @category   CMS
 * @copyright  Copyright (c) 2007-2011 MagicWeb.org LLC (http://www.magicweb.org)
 */

/**
 * In order to rerun document.ready create a global function
 *  and pass it in as callback to document.ready
 */
function init()
{
    d(document.title + ' (DOM ready)');
    
	// Slide pages
	$("div.slide-pages").slidePages({
		interval: 10000,
		speed: 600
	});
    
    // Slide down the login module on demand
    $('#md_login').slideLoginModule();

}

/**
 * Document ready
 */
$(init);



