﻿//Ajoute le load de la map en dernier sur le onload de la pagefunction addLoadEvent(func) {
    var oldonload = window.onload;
    if (typeof window.onload != 'function') {
        window.onload = func;
    } else {
        window.onload = function() {
            if (oldonload) {
                oldonload();
            }
            func();
        }
    }
}
Shadowbox.init({
    language: 'fr',
    players:  ['img', 'html', 'iframe', 'swf', 'flv'] //'qt', 'wmp',
});
function openPopup(){
    Shadowbox.open({
            player:     'iframe',
            content:    '/convertisseur-38.aspx?popup=true',
            height:     600,
            width:      500
        });    
}
//Fonction pour enlever valeur dans text box entree membresfunction blurTbx(tbx, text){
    var q = document.getElementById(tbx);
    if(q.value == ''){
        q.style.color = '#aaa';
        q.value = text;
    }
}
function focusTbx(tbx, text){
    var q = document.getElementById(tbx);
    q.style.color = '#000';
    if(q.value == text) q.value = '';
}


