//creates popup
function newWindow(filename, w,h)
{  
        popWin = window.open(filename,"popup","height="+h+",width="+w+",menubar=yes, scrollbars=yes, resizable=yes, leftmargin=0, topmargin=0"); 
popWin.focus ("popup");
}

function newWindowPlain(filename, w,h)
{  
        popWin = window.open(filename,"popup","height="+h+",width="+w+ ",toolbar = no, scrollbars=yes,  leftmargin=0, topmargin=0, menubar=yes", "dependent") ; popWin.focus ("popup");
}


//closes popup
function closePopUp ()
{
    if (popWin.document)
    {
        popWin.close(); return false;	
    }
}


//javacript redirect
function goTo(URL) {
	location.href = URL;
		}

//void function for backward compatibility
function voidThis() {}


// kills errors
function killError()
{
  return true;
}
//window.onerror = killError;


// defines text for status bar
window.defaultStatus = ""
