function NewWindow(page,w,h,m,s,d,l,r,t,st,TOP,LEFT) {
var page; // Page to open
var w;   // Window Width
var h;   // Window Height  
var m;   // The File, Edit, View Menus
var s;  // Horizontal and vertical scrollbars
var l;  // The location box with the site URL
var d;  // the "What's New", "What Cool" links
var r;  // Can the window be resized?
var st; // Status bar (with "Document: Done")
var t;  // Back, Forward, Home, Stop toolbar
if(!LEFT)LEFT=0;
if(!TOP)TOP=0;
windowprops = "width="+w+",height="+h+",top="+TOP+",left="+LEFT;

windowprops += (m ? ",menubars" : "") +
(s ? ",scrollbars" : "") +
(l ? ",location" : "") +
(d ? ",directories" : "") +
(r ? ",resizable" : "") +
(st ? ",status" : "") +
(t ? ",toolbar" : "");

window.open(page, 'fullPopup', windowprops);
}
function highlightButton(s) {
     if ("INPUT"==event.srcElement.tagName)
       event.srcElement.className=s
   }
function BrowserCheck() {
	var b = navigator.appName
	if (b=="Netscape") this.b = "ns"
	else if (b=="Microsoft Internet Explorer") this.b = "ie"
	else this.b = b
	this.version = navigator.appVersion
	this.v = parseInt(this.version)
	this.ns = (this.b=="ns")
	this.nsplus = (this.b=="ns" && this.v>=4)
	this.ns4 = (this.b=="ns" && this.v==4)
	this.ns5 = (this.b=="ns" && this.v==5)
	this.ie = (this.b=="ie")
	this.ieplus = (this.b=="ie" && this.v>=4)
	this.ie4 = (this.version.indexOf('MSIE 4')>0)
	this.ie5 = (this.version.indexOf('MSIE 5')>0)
	this.min = (this.ns||this.ie)
}
is = new BrowserCheck()   

function VersionNavigateur(Netscape, Explorer) {
  if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||      
      (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
    return true;
else return false;
}

function OpenItem(ID){window.open("openitem.cfm?ID=" + ID,"ITEM","height=600,width=600,scrollbars");}

function listtoarray(list,delimiters) {
if(!delimiters){var delimiters=','}
_TempListSplitArray = list.split(delimiters)
return _TempListSplitArray
}