var mes="Mountsage.com has disabled right click!";

function clickIE4(){
if (event.button==2){
alert(mes);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(mes);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(mes);return false")




function disableSelection(target)
{
if (typeof target.onselectstart!="undefined") //IE route
	target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
	target.style.MozUserSelect="none"
else //All other route (ie: Opera)
	target.onmousedown=function(){return false}
target.style.cursor = "default"
}









function spanishMain()
{
	document.write ('<center><table border=3 bordercolor=brown width=100%>');
	 document.write ('<tr>');
	   document.write ('<td>Please remember that:');
	    document.write ('<ol><li><b>el, la, los or las</b> in front mean "the".');
	       document.write ('<li><b>El</b> and <b>los</b> are used in front of masculine nouns.');
	       document.write ('<li><b>La</b> and <b>las</b> are used in front of feminine nouns.');
	       document.write ('<li><b>Los</b> and <b>las</b> are used in front of a plural noun.');
	    document.write ('</ol>');
	   document.write ('</td>');
	 document.write ('</tr>');
	document.write ('</table></center>');
}

function displayMainMenu()
{
	document.write ('<TR>');
		document.write ('<TD WIDTH=4 ROWSPAN=5 BGCOLOR="#124989"><IMG SRC="images/spacer.gif" WIDTH=4 HEIGHT=300 ALT=""></TD>');
		document.write ('<TD WIDTH=20% align="center" HEIGHT=120 bgcolor="#4682B4"><a href="http://mountsage.com"><img src="http://mountsage.com/testdrill/images/mountsage.jpg" title="Mountsage"></a></TD>');
		document.write ('<TD WIDTH=80% HEIGHT=120 bgcolor="#4682B4" class="companyname2">');
		//showGoog()
		document.write ('</TD>');
		document.write ('<TD WIDTH=4 ROWSPAN=5 BGCOLOR="#124989"><IMG SRC="images/spacer.gif" WIDTH=4 HEIGHT=5 ALT=""></TD>');
		document.write ('<TD WIDTH=1 HEIGHT=120><IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD>');
	document.write ('</TR>');
}

function showGoog()
{	
	document.write ('<!-- Search Google -->');
	//document.write ('<center>');
	document.write ('<form method="get" action="http://www.google.com/custom" target="_top">');

	document.write ('<label for="sbi" style="display: none">Enter your search terms</label>');
	document.write ('<input type="text" name="q" size="20" maxlength="255" value="" id="sbi"></input>');
	document.write ('<label for="sbb" style="display: none">Submit search form</label>');
	document.write ('<input type="submit" name="sa" value="Google Search" id="sbb"></input>');
	document.write ('<input type="hidden" name="client" value="pub-2121444707972492"></input>');
	document.write ('<input type="hidden" name="forid" value="1"></input>');
	document.write ('<input type="hidden" name="ie" value="ISO-8859-1"></input>');
	document.write ('<input type="hidden" name="oe" value="ISO-8859-1"></input>');
	document.write ('<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:70;L:http://mountsage.com/testdrill/images/mountsage.jpg;S:http://mountsage.com;FORID:1"></input>');
	document.write ('<input type="hidden" name="hl" value="en"></input>');

	document.write ('</form>');
	//document.write ('</center>');
	document.write ('<!-- Search Google -->');
}


function displayLeftMenu()
{
	document.write ('<tr>');
            document.write ('<td height="202" class="star" valign="top"><p>&nbsp;<p>&nbsp;<a href="index.html">* Home</a><p>&nbsp;');
	    document.write ('<a href="numbers1_20.html">* Numbers</a><br>');
	    document.write ('<a href="numbers10_100.html">* Numbers by 10s</a><br>');
	    document.write ('<a href="days.html">* Days</a><br>');
	    document.write ('<a href="months.html">* Months</a><br>');
	    document.write ('<a href="weather.html">* Weather</a><br>');
	    document.write ('<a href="colors.html">* Colors</a><br>');
	    document.write ('<a href="animals.html">* Animals</a><br>');
	    document.write ('<a href="fruits.html">* Fruits</a><br>');
	    document.write ('<a href="word.html">* Spanish Drills </a><br>');
	    document.write ('<a href="beginSpan.html">* Beginner Spanish</a><br>');
	    document.write ('<a href="greet.html">* To Greet</a><br>');
	    document.write ('<a href="askHelp.html">* To ask for help</a><br>');
	    document.write ('<a href="time.html">* Time / Date</a><br>');
	    document.write ('<a href="body.html">* Talk about body</a><br>');
	    document.write ('<a href="drill.html">* Acivities</a><br>');
	    document.write ('<a href="drill1.html">* To say what you...</a><br>');
        document.write ('</td></tr>');
}

function displayTopMenu()
{
	document.writeln ('<b><a href="http://mountsage.com" target="_blank">Mountsage.com</a>&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;');
	document.writeln ('<a href="http://hindi.mountsage.com" target="_blank">Hindi</a>&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;');
	document.writeln ('<a href="http://spanish.mountsage.com" target="_blank">Spanish</a>&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;');
	//document.writeln ('<a href="http://sambit.mountsage.com" target="_blank">Sambit</a>//&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;</b>');
}

function displayWordMenu()
{
	document.writeln ('<table><tr><td><b><a href="word.html">Drill 1</a>&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;</td>');
	document.writeln ('<td><b><a href="word2.html">Drill 2</a>&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;</td>');
	document.writeln ('<td><b><a href="word3.html">Drill 3</a>&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;</td>');
	document.writeln ('<td><b><a href="word4.html">Drill 4</a>&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;</td>');
	document.writeln ('<td><b><a href="word5.html">Drill 5</a>&nbsp;&nbsp;&nbsp;&nbsp; | &nbsp;&nbsp;&nbsp;&nbsp;</b></td></tr></table>');
}