
function newWindow(filePath,winName,winProperties)
{var newWin=window.open(filePath,winName,winProperties);newWin.focus();}
function newWinStandard2(filePath)
{newWindow(filePath,'standard','width=400,height=600,scrollbars=yes,resizable=yes')}
function newWinStandard(filePath)
{newWindow(filePath,'standard','width=400,height=515,scrollbars=yes,resizable=yes')}
function openConfirmationWindow(page)
{newWindow(page,'DeleteConfirmation','status=yes,toolbar=0,location=0,directories=0,menubar=0, width=300, height=150, scrollbars=0,status=0,resizable=0,screenX=1,screenY=1,top=1,left=1')}
function closeWindow(page)
{window.opener.location=page;self.close()}
function removeClass(elId)
{if(document.getElementById)
{if(document.getElementById(elId))
{document.getElementById(elId).className=''}}}
function isOnlyLettersAndDigits(value)
{return trim(value).match(/^([0-9]|[a-z]|[A-Z])*$/);}
function trim(str)
{return str.replace(/^\s\s*/,'').replace(/\s\s*$/,'');}
