$(document).ready(function(){
    $('#FlashMajala').flash(
        { src: 'medias/flash/madarik_majala.swf',
          width: 316,
          height: 216 },
        { version: 8 }
    );
});

/// fancybox
$(document).ready(function() {
	$("a.LectureVideo").fancybox({
			frameWidth	:	470,
			frameHeight	:	360,
	});

});




function Open(nom_de_la_page, nom_interne_de_la_fenetre)
{
window.open (nom_de_la_page, nom_interne_de_la_fenetre, config='height=200, width=400, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no')
}


var fontSize = 12;
var lineHeight = 16;

function setFaceSize()
	{
	lineHeight = fontSize+Math.round(.3*fontSize);

		obj = document.getElementById("LectureArticleTxt");
		obj.style.fontSize = fontSize+"pt";
	}

function FontP()
	{
	if (fontSize < 26) {
	fontSize = fontSize+2;
	setFaceSize();
	}
	}
	
function FontM()
	{
	if (fontSize > 12) {
	fontSize = fontSize-2
	setFaceSize();
	}
	}
