function lightLink(e,f) { 
	if ( document.documentElement )
	{
	var this1 = document.getElementById(e);
	var this2 = document.getElementById(f);
	this1.style.backgroundColor = "#ffffcc";
	this1.style.color = "#0000ff";
	this2.style.backgroundColor = "#ffffff";
	this2.style.color = "#0000ff";
	}
	else { return false; }
}

function darkLink(e,f) { 
	if ( document.documentElement )
	{
	var this1 = document.getElementById(e);
	var this2 = document.getElementById(f);
	this1.style.backgroundColor = "#eff0f5";
	this1.style.color = "#0000ff";
	this2.style.backgroundColor = "#eff0f5";
	this2.style.color = "#0000ff";
	}
	else { return false; }
}


<!--------- Im.js ----->

function showLayer(layerid) { 

	layer = document.getElementById(layerid);
	layer.style.display = "block";
	
}

function hideLayer(layerid) {
	layer = document.getElementById(layerid);
	layer.style.display = "none";
}




<!--------- Mua.js  ----->


function linkMua()
{
document.write("<p>Notice the ");
document.write("<span id\=\"Mua\"  class\=\"link\" onclick\=\"showPs\(\)\;\" onkeypress\=\"showPs\(\)\;\">");
document.write("p tags nested inside the div tags<\/span>.");
document.write("Also notice the ");
document.write("<span id\=\"Mu\" class\=\"link\" onclick\=\"showCss\(\)\;\"  onkeypress\=\"showCss\(\)\;\">");
document.write("<acronym>CSS<\/acronym> that we\&\#039\;ve added inside<\/span>. ");
document.write("This is possible, because the standards have been developed to work together."); 
document.write("Let\&\#039\;s see the results, <span class\=\"c13\">next . . .<\/span><\/p>");



}


function showCss() 
{ 
	if (document.documentElement)
	{
	document.getElementById("mS").style.color="#ffffff"; 
	document.getElementById("mS").style.backgroundColor="#cc9999"; 
	document.getElementById("mS").style.fontWeight="bold"; 
	document.getElementById("Mu").style.color="#000000"; 
	document.getElementById("Mu").style.backgroundColor="#ffffff"; 
	document.getElementById("Mu").style.cursor="crosshair"; 
	document.getElementById("Mu").style.textDecoration="none"; 
	return;
	}

	else
	{
	alert("Find the CSS\:\n\n\<p style\=\"text-align\:\center\;\"\>");
	}
}

function showPs()
{
	if (document.documentElement)
	{
	document.getElementById("showP1").style.backgroundColor="#99cc99";
	document.getElementById("showP1").style.color="#ffffff"; 
	document.getElementById("showP2").style.backgroundColor="#99cc99";
	document.getElementById("showP2").style.color="#ffffff"; 
	document.getElementById("showP3").style.backgroundColor="#99cc99";
	document.getElementById("showP3").style.color="#ffffff"; 
	document.getElementById("showP4").style.backgroundColor="#99cc99";
	document.getElementById("showP4").style.color="#ffffff"; 
	document.getElementById("Mua").style.color="#000000"; 
	document.getElementById("Mua").style.backgroundColor="#ffffff"; 
	document.getElementById("Mua").style.cursor="crosshair"; 
	document.getElementById("Mua").style.textDecoration="none"; 
	return;
	}

	else
	{
	alert("Find the nesting\:\n\n\<div id\=\"ourExample\"\>\<p\>\.\.\.\<\/p\>\<p\>\.\.\.\<\/p\>\<\/div\>");
	}
}


<!--------- examples begin ----->

function showOurExample1() 
{
	if ( document.documentElement )
		{ 
		document.getElementById("ourExample").style.display="block";
		return; 
		}
	else
		{ 
		alert("The effects can be seen through MSIE5.5\+, Net6\+, and Opera7\+."); 
		}
}

function showOurExample2() 
{
	if ( document.documentElement )
		{ 
		document.getElementById("ourExample2").style.display="block"; 
		return;
		}
	else
		{ 
		alert("The effects can be seen through MSIE5.5\+, Net6\+, and Opera7\+."); 
		}
}

function showOurExample3() 
{
	if ( document.documentElement )
		{ 
		document.getElementById("ourExample3").style.display="block"; 
		return;
		}
	else 
		{ 
		alert("The effects can be seen through MSIE5.5\+, Net6\+, and Opera7\+."); 
		}
}

function hideOurExample3() 
{ 
	document.getElementById("ourExample3").style.display="none"; 
}

function closure3()
{
	if ( document.documentElement )
	{
document.write("<p style\=\"text-align\:center\;\">");
document.write("<a style\=\"background-color\:\#ffffcc\;color\:\#0000ff\;\" ");
document.write("href\=\"javascript\:void\\(0\)\;\" ");
document.write("onclick\=\"hideOurExample3\(\)\; return false\;\" ");
document.write("onkeypress\=\"hideOurExample3\(\)\; return false\;\">");
document.write("Close this note<\/a><\/p>");
return;
	}
	else { return false; }
}
