////////////////////////////////////////////////////////////////////////////////
// POPUP CENTREE - NE PAS CHANGER LE NOM !
////////////////////////////////////////////////////////////////////////////////

function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
// EXEMPLE :
// <a href="http://www.yahoo.com/" onclick="NewWindow(this.href,'name','400','400','yes');return false;">Popup Yahoo.com</a>

////////////////////////////////////////////////////////////////////////////////
// POPUP CENTREE -> NON UTILISEE ET NON TESTEE
////////////////////////////////////////////////////////////////////////////////

function winBRopen(theURL, Name, popW, popH, scroll) { // V 1.0
var winleft = (screen.width - popW) / 2;
var winUp = (screen.height - popH) / 2;
winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',resizable'
Win = window.open(theURL, Name, winProp)
if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }

}
// <a href="target.html" onClick="winBRopen('http://www.yoursite.com','windowname','width goes here','height goes here','scroll yes no goes here');return false;">your link text goes here</a>


