<!--
//Pop Up Script 		

function popUp(url,wheight,wwidth)
  {
    var openString
    openString = "'toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=0,width=" + wwidth + ",height=" + wheight + "'"
    sealWin=window.open(url,"",openString);
  }

//Jump Menu Script

function jumpMenu(s)	
	{
		var d = s.options[s.selectedIndex].value;
   	  	window.location.href = d;
      	s.selectedIndex=0;
	}	

//Cell Resizing  

var intervalID
var hoffset = 900
function alter()
  {
    document.getElementById("tp").height = screen.height - hoffset
    clearInterval(intervalID)
    intervalID = window.setInterval("alter()", 1000);
  }
  
//Character Strip
function stringFilter (input, filteredValues)
  { 
    s = input.value;    
    var i;
    var returnString = "";
    for (i = 0; i < s.length; i++)
      {      
        if (filteredValues.indexOf(s.charAt(i)) == -1) returnString += s.charAt(i);
      }
    input.value = returnString;
 }  
//Field Padding 
function padFldNo(f, max)
{
	var fld_no = f.value
	fld_no = fld_no.replace(/^\s+/,'').replace(/\s+$/,'')
	
	if (!isNaN(fld_no) && fld_no.length > 0)
	{  		
		if (fld_no > 0)
		{
      		var pad = ""      		
      		
        		for (i=1;i<=(Math.abs(max)-fld_no.length);i++)
        		{            		
        			pad += "0"
        		}
        		
        		fld_no = pad + fld_no        		   		 		            	
        	}
        	else
        	{	fld_no = ""	}
	}  		
	
	return (fld_no) 
} 
// End the hiding -->