function dropDowns() {
    $("#topNav ul ul:last").css('marginLeft', '-88px');
	$("#topNav li").not($("#topNav li li")).hover(function() {
		$(this).find("ul:nth-child(2)").css("display","block");
		$(this).find("a:first").addClass("onn");
	},function(){
		$(this).find("ul:nth-child(2)").css("display","none");
		$(this).find("a:first").removeClass("onn");
	});
	$("#topNav ul li").not($("#topNav ul ul li")).not($("#topNav ul li:last")).not($("#topNav ul li:first")).prepend("&nbsp;&nbsp;|&nbsp;&nbsp;");
}
$(document).ready(dropDowns);

function plugin() {
	$(".plugin:last").css("background", "none").css("padding-bottom", "0");
	$(".plugin").each(
		function( intIndex ){
			if($(this).html().length < 12){
	            $(this).css("display","none");
	        }
		}
	);
}
$(document).ready(plugin);

function leftNav() {
	$("#leftNav ul ul a").prepend("&raquo; ");
}
$(document).ready(leftNav);

function flash() {
    if($("#flashHolder").size() > 0){
        if($("#flags a:first").attr("class") != "sel"){
            swfobject.embedSWF('/flash/banner3.swf?lang=en', 'flashHolder', '716', '170', '6.0.0', '/flash/expressInstall.swf', {}, {menu: 'false', wmode: 'transparent'}, {title: '', id: 'bannerEn'});
        }
        else{
            swfobject.embedSWF('/flash/banner3.swf?lang=fr', 'flashHolder', '716', '170', '6.0.0', '/flash/expressInstall.swf', {}, {menu: 'false', wmode: 'transparent'}, {title: '', id: 'bannerEn'});
        }
    }
}
$(document).ready(flash);

