var over = 'no';
var whichOne = ' ';
var homeFirst = 'yes';
var espanolFirst = 'yes';
var solitudeProjectFirst = 'yes';
var generalInformationFirst = 'yes';
var otherWorkFirst = 'yes';
var linksFirst = 'yes';
var no = 'no';

function on(pic)
{
	if ( document.images ) {
		over = 'yes';
		if ( document.layers ) {
			if ( whichOne != ' ') {
				eval( 'document.' + whichOne + 'Menu.visibility = "hidden"' );
			}			
			var whichFirst = eval( pic + 'First' );

			eval( pic + 'First = no' );
			eval( 'document.' + pic + 'Menu.visibility = "visible"');
		}
		if ( document.getElementById ) {
			if (whichOne != ' ') {
				eval( 'document.getElementById("' + whichOne + 'Menu").style.visibility = "hidden"' );
			}
			var whichFirst = eval( pic + 'First' );
			eval( pic + 'First = no' );
			eval( 'document.getElementById("' + pic + 'Menu").style.visibility = "visible"' );
		}
	}
}

function overChecker(pic)
{
	whichOne = pic;
	over = 'no';
	setTimeout('off()', 200);
}

function off()
{
    if(document.images) {
    	if (over == 'no') {
    		if ( document.layers ) {
 	  			eval( 'document.' + whichOne + 'Menu.visibility = "hidden"' );
    		}
    		if ( document.getElementById ) {
    			eval( 'document.getElementById("' + whichOne + 'Menu").style.visibility = "hidden"' );
    		}
    	}
    }
}
