/*-------------------------------------------------------------------------------------
(C) Mexion software development.
IMPORTANT: This is a commercial software product and every application of it must agree
to Mexion software license agreement. More information http://www.mexion.com
This notice may not be removed from the source code.
---------------------------------------------------------------------------------------
*/

function showHide(strLabelID, strDivID)
{
	div = document.getElementById(strDivID);
	label = document.getElementById(strLabelID);
	
	if(div.style.display == '')
		div.style.display = 'none';
	
	if(div.style.display == 'none'){
		div.style.display = 'block';
		label.innerHTML = 'Hide';
	}else{
		div.style.display = 'none';
		label.innerHTML = 'Show';
	}
}

var newwindow = '';

function SelectDiseasePop(url,name,varwin) {
	varwin ="width=screen.width,height=screen.height,left=0,top=0,scrollbars=yes,toolbar=no,status=no";
	if (!newwindow.closed && newwindow.location) {
		newwindow.location.href = url;
	}
	else {
		newwindow=window.open(url,name,varwin);
		if (!newwindow.opener) newwindow.opener = self;
	}
	if (window.focus) {newwindow.focus()}
	return false;
}
