// JavaScript Document


function appelPopupCP() {

// open a welcome message as soon as the window loads
    Shadowbox.open({
        content:    'popup_laureats_cp.html',
        player:     "iframe",
        title:      "",
        height:     493,
        width:      728
    });
}
function appelPopupCE1() {

// open a welcome message as soon as the window loads
    Shadowbox.open({
        content:    'popup_laureats_ce1.html',
        player:     "iframe",
        title:      "",
        height:     493,
        width:      728
    });
}
function appelPopupJuryCP() {

// open a welcome message as soon as the window loads
    Shadowbox.open({
        content:    'popup_prix_jury_cp.html',
        player:     "iframe",
        title:      "",
        height:     380,
        width:      728
    });
}
function appelPopupJuryCE1() {

// open a welcome message as soon as the window loads
    Shadowbox.open({
        content:    'popup_prix_jury_ce1.html',
        player:     "iframe",
        title:      "",
        height:     380,
        width:      728
    });
}

function appelPopup_regions(name, value) {
	/*var region = $('cadre_menu').form.option.value() ;*/
	var page="";
	if (name=="pays"){
		page = "popup_histoire.asp?pays="+value;
	}else{
		page = "popup_histoire.asp?region="+value;
	}
	
	//alert (value);
	

// open a welcome message as soon as the window loads
    Shadowbox.open({
        content:    page,
        player:     "iframe",
        title:      "",
        height:     488,
        width:      740
    });
}


function appelPopup_v2(content,width,height) {

// open a welcome message as soon as the window loads
    Shadowbox.open({
        content:    content,
        player:     "iframe",
        title:      "",
        height:     height,
        width:      width
    });
}

function appelNomRegions(name) {
	$$('#cadre_carte p.nom_map').setStyle('display','none');
	$('nom_'+name).setStyle('display','block');
}
function removeNomRegions(name) {
	$('nom_'+name).setStyle('display','none');
}



