<!--

// these are the scripts that are called in the links.

var DHTML = (document.getElementById || document.all || document.layers);

function expand(i1,i2,i3,v1,v2,v3)
{
if (!DHTML) return;

a = new getObj(i1);
b = new getObj(i2);
c = new getObj(i3);
x = new getObj(v1);
y = new getObj(v2);
z = new getObj(v3);

a.style.display = 'none'
b.style.display = 'none'
c.style.display = 'none'
x.style.display = 'block'
y.style.display = 'block'
z.style.display = 'block'
}

function getObj(name)
{
if (document.getElementById)
{
this.obj = document.getElementById(name);
this.style = document.getElementById(name).style;
}
else if (document.all)
{
this.obj = document.all[name];
this.style = document.all[name].style;
}
else if (document.layers)
{
this.obj = document.layers[name];
this.style = document.layers[name];
}
}
// -->



var newWindow = null;
function closeWin(){
	if (newWindow != null){
		if(!newWindow.closed)
			newWindow.close();
	}
}

function popUpWin(url, type, strWidth, strHeight){
	closeWin();
	if (type == "fullScreen"){
		strWidth = screen.availWidth - 10;
		strHeight = screen.availHeight - 160;
	}
	var tools="";
	if (type == "standard" || type == "fullScreen") tools = "resizable,toolbar=yes,location=yes,scrollbars=yes,menubar=yes,width="+strWidth+",height="+strHeight+",top=0,left=0";
	if (type == "console") tools = "resizable,toolbar=no,location=no,scrollbars=yes,width="+strWidth+",height="+strHeight+",left=0,top=0";
	newWindow = window.open(url, 'newWin', tools);
	newWindow.focus();
}
