function ePopup(url, sess_name, sess_value, title, subtitle, name, width, height)
{
	url = url.replace(/&/g, "%26");
	url = url.replace(/ /g, "%20");
	title = title.replace(/ /g, "%20");
	subtitle = subtitle.replace(/ /g, "%20");
	subtitle = subtitle.replace(/&/g, "%25");
	win = window.open("popup.php?" + sess_name + "=" + sess_value + "&url=" + url + "&title=" + title + "&subtitle=" + subtitle + "&popup_name=" + name + "&width=" + width + "&height=" + height, name, "menubar=no,location=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height);
	win.focus();
}

function openWindow(url, name, width, height)
{
	win = window.open(url, name, "menubar=no,location=no,scrollbars=yes,resizable=yes,width=" + width + ",height=" + height);
	win.focus();
}

function displayDesc(name, id, sess_name, sess_value)
{
	ePopup("page.jsp?noborder=yes&pid=neutral&content=" + id , sess_name, sess_value, name, "", "", 600, 480); 
}

 