/*
url : valid url to a document (required)
name : name of the created window (optionnal)
option : dispaly options of the window (optionnal)
*/

function ReverseContentDisplay(d) {
if(d.length < 1) { return; }
if(document.getElementById(d).style.display == "none")
	{ 
		document.getElementById(d).style.display = ""; 
	}
else
	{ 
		document.getElementById(d).style.display = "none"; 
	}
}

function openWindow(url,name,option) 
{
var name = name == null ? 'openwin' : name;
var option = option == null ? '' : option;
var currentWin = window.open(url, name, option);
currentWin.focus();
}

