function writeFlash(fichier, width, height)
{
document.write('');
}
function writeFlash2(fichier, width, height)
{
document.write('');
}
function popup( page, mode )
{
prepath='pages/static/';
if (mode=='insidePopUp'){
prepath='';
}
var _width = 620;
var _height = 240;
var _scrollbars = 'no';
var _extension = '.jsp'
switch( page )
{
case 'mentions_legales': _width = 700; _height = 530; _scrollbars = 'no'; break;
case 'credits': _width = 550; _height = 400; _scrollbars = 'no'; break;
case 'faq': _width = 700; _height = 550; _scrollbars = 'YES'; prepath=''; _extension = '.do'; break;
case 'plan': _width = 550; _height = 400; _scrollbars = 'no'; break;
}
var _x = Math.round( (window.screen.width / 2) - (_width / 2) );
var _y = Math.round( (window.screen.height / 2) - (_height / 2) );
window.open( prepath + page + _extension, page,"menubar=no, status=no, scrollbars=" + _scrollbars + ", menubar=no, width=" + _width + ", height=" + _height + ", top=" + _y + ", left=" + _x );
}
function popupgc(page){
window.open(page,'fenetre_' + 12 + '_' + 13,'toolbar=0,directories=0,menubar=0,scrollbars=1,status=0,resizable=1,width=700,height=600,left=50,top=50');
}
function popupLien(page){
window.open(page,'fenetre_' + 12 + '_' + 13,'toolbar=0,directories=0,menubar=0,scrollbars=1,status=0,resizable=1,width=700,height=600,left=50,top=50');
}