// JavaScript Document
var newWin = null;
function closeWin(){
if (newWin != null){
if(!newWin.closed)
newWin.close();
}
}
function popUp(strURL,strType,strHeight,strWidth) {
closeWin();
var strOptions="";
if (strType=="fiche1") strOptions="(toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=1, width=660, height=600, left=175, top=0)";
if (strType=="agenda") strOptions="(toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=1, width=660, height=600, left=5, top=0)";
if (strType=="fichermd") strOptions="(toolbar=0, location=0, directories=0, status=0, scrollbars=1, resizable=1, copyhistory=0, menuBar=1, width=660, height=600, left=175, top=0)";
newWin = window.open(strURL, 'newWin', strOptions);
newWin.focus();
} 
