<!-- //
function menu(){
document.write("<h1>")
document.write("Link to Us!")
document.write("</h1>")
document.write("<span class=\"unnamed4\">If you can add a link from your website to ours, we will really appreciate it and link back to you! You can just ")
document.write("copy and paste the following two lines (HTML code) into your page for a text link and <a href=\"mailto: webmaster@bestessays.com\">email</a> back to us with your code.</span><br><br>")
document.write("<textarea name=\"script\" cols=\"48\" rows=\"5\" onclick=\"this.focus();this.select()\" readonly=\"readonly\">")
document.write("&lt;a href=&quot;http://www.bestessays.com&quot;&gt;&lt;strong&gt;Essays&lt;/strong&gt;&lt;/a&gt; - BestEssays.com provides custom written essays, term papers and research papers.")
document.write("</textarea>")
document.write("<br><br>")
	return true;
	}

function l1(){
document.write("<li><b>")
document.write("<a href=\"http://www.primaryschool.com.au\">Free Lesson Plans & Education Resources</a> - ")
document.write("Safe & easy access to Primary School resources for  students, their parents and teachers.")
document.write("Categorises web-based resources using a structure based on the primary school curriculum & ")
document.write("provides professional development for teachers.")
document.write("<br></li><br>")
	return true;
	}
    
function hiddenLayer(tableId) {
document.getElementById(tableId).style.display = "none";
}

function showQualityLevel(tableId) {
    tableToQuality = [];
    tableToQuality['table_0_0'] = 0;
    tableToQuality['table_1_0'] = 0;
    tableToQuality['table_2_0'] = 0;
    tableToQuality['table_3_0'] = 0;
    tableToQuality['table_4_0'] = 1;
    tableToQuality['table_5_0'] = 1;
    tableToQuality['table_6_0'] = 1;
    tableToQuality['table_7_0'] = 3;
    tableToQuality['table_8_0'] = 2;
    tableToQuality['table_9_0'] = 3;
    tableToQuality['table_10_0'] = 4;
    tableToQuality['table_11_0'] = 4;
    tableToQuality['table_12_0'] = 5;
    tableToQuality['table_13_0'] = 6;
    tableToQuality['table_14_0'] = 0;
    tableToQuality['table_15_0'] = 0;
    tableToQuality['table_16_1'] = 7;
    tableToQuality['table_17_4'] = 7;
    tableToQuality['table_18_0'] = 8;
    tableToQuality['table_19_0'] = 8;

	i = 0;
	while (t = document.getElementById('level-'+i)) {
		t.style.display = 'none';
		i++;
	}

	if (t = document.getElementById('level-'+tableToQuality[tableId])) {
		t.style.display = '';
	} else {
		document.getElementById('level-0').style.display = '';
	}
}

function showLayer(tableId) {
	if (t = document.getElementById('sel_product')) {
		showQualityLevel(t.value);
	}

    selectAll()
	document.getElementById(tableId).style.display = "inline";
}


function selectAll()
{
 for(i = 0; i < count_tables; i++)
 { 	
 	for (j in pages_groups[i])
 	{
	 	table = 'table_'+i+'_'+pages_groups[i][j]; 	
	 	document.getElementById(table).style.display = "none"; 	 
 	} 
 		
 } 
}
    
// -->