
function newWindow(doc)
{ 
	features = 
    'toolbar=no,location=no,directories=no,status=no,menubar=no,' +
	'scrollbars=no,resizable=no,width=600,height=370,left="50,top=10' 
	 dlg = window.open (doc,"pic",features) 
}

function JumpTo(s)
{
	if (document.selecter.select1.options[document.selecter.select1.selectedIndex].value != "none") {
		location = document.selecter.select1.options[document.selecter.select1.selectedIndex].value
    }
}
			
function LinkUp()
{
	var number = document.SearchForm.cbSearchSelect.selectedIndex;
	parent.middle.location.href = document.SearchForm.cbSearchSelect.options[number].value;
}
function searchSelectBox(in_sFormName, in_sInputName, in_sSelectName)
{
	sSearchString = document.forms[in_sFormName].elements[in_sInputName].value.toUpperCase();
	iSearchTextLength = sSearchString.length;
	for (j=0; j < document.forms[in_sFormName].elements[in_sSelectName].options.length; j++)
	{
		sOptionText = document.forms[in_sFormName].elements[in_sSelectName].options[j].text;
		sOptionComp = sOptionText.substr(0, iSearchTextLength).toUpperCase();
	    if(sSearchString == sOptionComp)
		{
			document.forms[in_sFormName].elements[in_sSelectName].selectedIndex = j;
			break;
		}
	}
}
																					
