<!--
var popupScroll='no';
var resizable='yes';
var theWidth1;
var theHeight1;
var detailswin;


function open_Details_Window() {
	var theParameters = new Array(
		'theURL',
		'popupWidth',
		'popupHeight',
		'popupScroll',
		'resizable'
		);
	
	for (i=0; i < (open_Details_Window.arguments.length); i++) {
		theVar = theParameters[i];
		theValue = open_Details_Window.arguments[i];
		eval(theVar + "= theValue");
	}
	//detailswin.close();
	if (isOpen(detailswin))	{
			close_Details_Window(detailswin);
	}
	return(opendetails(theURL,popupWidth,popupHeight,popupScroll,resizable));
}


function opendetails(theURL,theWidth,theHeight,theScroll,theResizable)	{
theWidth1 = theWidth;
theHeight1 = theHeight;

detailsDetails = 'scrollbars=' + theScroll + ',resizable=' + theResizable + ',width=' + theWidth + ',height=' + theHeight +  ',left=100,top=40';
detailswin=window.open(theURL,'imagedetails',detailsDetails);
		openeddetails=true;
if (window.focus) {detailswin.focus()}
return(detailswin);

}


function close_win()	{
	close_Details_Window(detailswin);
}

function close_Details_Window(theWin)	{
	if (theWin) {
		theWin.close()
		}
}

function isOpen(theWindow)	{
	var isItOpen=false;
	if(theWindow)	{
		if(theWindow.closed==false)	{
			isItOpen=true;
		}
	}
	return isItOpen;
}

// This script is to filter the PD Blog by author
function doForm(text)	{
	theForm = document.getElementById("theform");
	theForm.username.value = text;
	theForm.submit();
}

//-->
