var aWidth = screen.width
var aHeight = screen.height
var helpWin = null

function apri(fi, wi, he, na) {
	var myX = parseInt( (aWidth-wi)/2 )
	var myY = parseInt( (aHeight-he)/2 )

/*	if ( helpWin!=null ) {
		helpWin.close()
		helpWin = null
	} */
	
	helpWin = window.open( fi , na , "width="+wi+",height="+he+",location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no") 
	helpWin.moveTo(myX,myY)
}





menu_status = new Array();

function showHide(theid){
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);
        if(menu_status[theid] != 'show') {
           switch_id.className = 'show';
           menu_status[theid] = 'show';
        }
    }
}






