﻿    function submitform()
    {
	    document.form.submit()
    }
    function searchform()
    {
	    document.searchform.submit()
    }

    function jumptopage(pg)
    {
	    document.next.page.value=pg;
	    document.next.submit()
    }

    function showwindow(thewidth,theheight,theurl)
    {
        if (!window.pdWindow)
        {
	        pdWindow = window.open(theurl,"PopOpt","width=" + thewidth + ",height=" + theheight + ",toolbar=0,status=0,location=0,menubar=0,scrollbars=yes,resizable=0");
        }
        else
	    {
	        if (!pdWindow.closed)
	        {
	            //pdWindow.focus();
	            pdWindow.close();
	            pdWindow = window.open(theurl,"PopOpt","width=" + thewidth + ",height=" + theheight + ",toolbar=0,status=0,location=0,menubar=0,scrollbars=yes,resizable=0");
	        }
	        else
	        {
	            pdWindow = window.open(theurl,"PopOpt","width=" + thewidth + ",height=" + theheight + ",toolbar=0,status=0,location=0,menubar=0,scrollbars=yes,resizable=0");
	        }
        }
   }