
function langSpecificRoutines()
{
/*
	if( CURRENT_LANG == 'fr' ) {
		$('#top-menu-right').css('left', '760px');
	} else {
		$('#top-menu-right').css('left', '800px');
	}
*/
}

function topLinksRoutines()
{
	if( SECTION != '' ) {
		$('#a-' + SECTION).addClass('top-menu-selected');
	}
}

function footerRoutines()
{
	var mh = $('#module-content-container').height();
	$('#footer-bar').css('top', ( mh - 54 ) + 'px' );
	$('#footer-bar').show();
}

function jQueryDocumentReady()
{
	$( 'a.external' ).click( openExternalLink );
	topLinksRoutines();
	footerRoutines();
	moduleReady();
	langSpecificRoutines();
}

function moduleReady() {}

function openExternalLink()
{
	window.open( $( this ).attr( 'href' ) );
	return false;
}

$( document ).ready( jQueryDocumentReady );

