// Nav() is to automatically navigate to a page upon a dropdown selection
function nav(listid)
   {
   //var w = document.myform.mylist.selectedIndex;
   var w = document.getElementById(listid).selectedIndex;
   var url_add = document.getElementById(listid).options[w].value;
   
   window.location.href = url_add;
   }
// setlist function is used to synchronize to the the correct drop-down option after a browser back button action.
function setlist(args)
  {
  //window.alert(args.listid+'----'+args.optionno);	  
  document.getElementById(args.listid).options[args.optionno].selected=true;
  }
function openpopupdirsumm(url) {	
	if (url) {
		//window.alert(url);
		window.open(url,"window2","location=1,status=1,scrollbars=1,resizable=1,width=650,height=300");	
		}
		else
		{
		window.alert('nothing to open');	
		}
}