// JavaScript Document
function NewWindow(url,w,h)
{
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,resizable=no'
	win = window.open(url,"new",settings)
	if(win.window.focus){win.window.focus();}
}

function popitup(url) {
	newwindow=window.open(url,'name','height=400,width=400,scrollbars=1,menubar=0,resizable=0,toolbar=0'); newwindow.moveTo(0,0);
	if (window.focus) {newwindow.focus()}
	return false;
}


function toggle(which)
{
   var e = document.getElementById(which)
if (e.style.display=="block")
	e.style.display="none";
        //pum1.src = "imgs/plus_arrow.gif"; // this for bullet image
	
else
e.style.display="block";

//pum2.src = "imgs/plus_arrow.gif";   // this for arrow image

}
