function reverseTable2(tab_id) 
{
    tab = document.getElementById(tab_id);
	
	if (tab.style.display == 'none') {
	    tab.style.display = 'block';
	} else {
	      tab.style.display = 'none';
	  }

    return false;
}

function popUp(url, width, height)
{ 
    LeftPosition = (screen.width-width)/2;
    TopPosition = (screen.height-height)/2 - 10;

    var str="directories=no,location=yes,resizable=yes,scrollbars=yes,status=no,toolbar=no,width=" + width + ",height=" + height + ", left=" + LeftPosition + ", top=" + TopPosition;
    win = window.open(url, "", str);
    win.window.focus();
    win.window.width = 300;
      
}
