var mouseoverlesson=false;

function bookmark(url, description)
{
netscape="You are using Mozilla. Hit CTRL+D to add a bookmark to this site."
if (navigator.appName=='Microsoft Internet Explorer')
{
window.external.AddFavorite(url, description);
}
else if (navigator.appName=='Netscape')
{
alert(netscape);
}
}


function showmenu(menuid) {

var ee = document.getElementById(menuid);


ee.style.visibility = "visible";

}


function hidemenu(menuid) {
var ee = document.getElementById(menuid);


ee.style.visibility = "hidden";

}

function hideallmenu() {
	if(mouseoverlesson==false) {
		document.getElementById("lesson-dropdown").style.visibility = "hidden";
		document.getElementById("emag-dropdown").style.visibility = "hidden";
		
	}
	//	hidemenu();
}


/*function BreakInDetected(){
alert('OzzMusic.net reserves the right.Ask for permission.')
return false
}
function NetscapeBrowser(e){
if (document.layers||
document.getElementById&&!document.all){
if (e.which==2||e.which==3){
BreakInDetected()
return false
}
}
}
function InternetExploreBrowser(){
if (event.button==2){
BreakInDetected()
return false
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN)
document.onmousedown=NetscapeBrowser()
}
else if (document.all&&!document.getElementById){
document.onmousedown=InternetExploreBrowser()
}
document.oncontextmenu=new Function(
"BreakInDetected();return false")
*/

function openNewWindow(url,windowname) {
	newWindow = window.open(url,windowname,'status=0,toolbar=0,location=0,directories=0,resizable=0,scrollbars=0,height=600,width=525');
}