// displayBio(url) - pop up small team member bio window
function displayBio(url) {
mywin = window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,width=400,height=400');
}

// displayPicture(w,h) - opens a new window with the specified height and width

function displayPicture(w,h) {
                        picWindow=window.open("","fullsize","width="+w+",height="+h+"");
                        picWindow.focus()
}

// displayFlashDemo(url) - pop up flash demo
function FlashDemo(url) {
mywin = window.open(url,"win",'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=600,height=400');
}

// DownloadTips(url) - Download help and info
function DownloadTips(url) {
mywin = window.open(url,"win",'toolbar=1,location=0,directories=0,status=1,menubar=1,scrollbars=1,resizable=1,width=600,height=532');
}

// SWF movie windows
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function OpenCertDetails()	{
	thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=USPRIN76', 'anew', config='height=400,width=555,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
}

function d4qt_menu_goto( field )
{
	var url = field.options[field.selectedIndex].value;
	if(url.length != 0)
	{
		top.pagearea.location.href = url;
	}
}


// OpenBrWindow() - opens Broadcast room window

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

	function showhide(layer_ref) { 
		if(showhide.last == undefined) {
			showhide.last = document.getElementById('staticimage');
			return;
		}
		showhide.last.style.display = 'none';
		showhide.last = document.getElementById(layer_ref);
		if(showhide.last != undefined)
		{
			showhide.last.style.display = 'block';
		}
	}

function expandtext(thistag, tag) {
   styleObj=document.getElementById(thistag).style;
   if (styleObj.display=='none')
   {
   	styleObj.display='';
	tag.innerHTML = "Collapse";
   }
   else {
   	styleObj.display='none';
    tag.innerHTML = "View more &gt;";
   }
}

function expanddiagram(thistag, tag) {
   styleObj=document.getElementById(thistag).style;
   if (styleObj.display=='none')
   {
   	styleObj.display='';
	tag.innerHTML = "Collapse";
   }
   else {
   	styleObj.display='none';
    tag.innerHTML = "View diagram &gt;";
   }
}

function expandorder(thistag, tag) {
   styleObj=document.getElementById(thistag).style;
   if (styleObj.display=='none')
   {
   	styleObj.display='';
	tag.innerHTML = "Collapse";
   }
   else {
   	styleObj.display='none';
    tag.innerHTML = "Order CD &gt;";
   }
}
 function swapgClass(bName,bClass) {
    bName.className = bClass
    }

