function popupwindow(url,name,w,h,s) {

LeftPosition = (screen.width) ? (screen.width- w)/2 : 0;
TopPosition = (screen.height) ? (screen.height- h)/2 : 0;

   var popup = window.open(url,name,"scrollbars="+s+",width="+w+",height="+h+",menubar=no,toolbar=no,top="+TopPosition+",left="+LeftPosition+",location=no,directories=no,resizable=no");

if (popup.focus) { popup.focus(); }
}


function DisplayDiv(sName) {

div = document.getElementById(sName);

SC1.style.display = 'none';
SC2.style.display = 'none';
SC3.style.display = 'none';
SC1.style.overflow = 'hidden';
SC2.style.overflow = 'hidden';
SC3.style.overflow = 'hidden';

	if ( div.style.display == "none" ) {
	div.style.display = 'block';
	} else {
	div.style.display = 'none';
	}
}

