
StartMenu()




MFL		= 0; 					
MFT		= 195; 					
ALIGN		= "left"				
TMH		= 22;					
TMFS		= "8";					
TMFW		= "bold";				
TMFF		= " arial, verdana, helvetica, sans";	
TMC		= "FFFFFF";				
TMBC		= "000000";				
TMBI		= "picts/menu.gif";			
TMHC		= "000000";				
TMHBC		= "BEBEBE";				
TMHBI		= "picts/menuon.gif";			
MO		= TMH-2;				
SUBshift	= 0;					




SMH		= 22;					
SMFS		= "9";					
SMFW		= "normal";				
SMFF		= "arial,MS Sans Serif,sans-serif";	
SMC		= "333333";				
SMBC		= "FFFFFF";				
SMHC		= "000000";				
SMHBC		= "F0F0F0";				
var shadow	= "yes";				


SubMenu()







Top_Width[0]=110; Sub_Menu_Width[0]=138;
m[0]='Welcome';n[0]='OUR ENGLISH WEBSITE.html';st[0]="";s[0]=""
+l+"OUR ENGLISH WEBSITE.html"+r+" Just a few words... "+c


Top_Width[1]=158; Sub_Menu_Width[1]=186;
m[1]='Learning English';n[1]='Teaching and Learning.htm';st[1]="";s[1]=""
+l+"Teaching and Learning.htm"+r+" Teaching and Learning "+c
+l+"Language in Action.htm"+r+" Language in Action "+c


Top_Width[2]=155; Sub_Menu_Width[2]=183;
m[2]='Photo Galleries';n[2]='New Zealand school exchange.htm';st[2]="";s[2]=""
+l+"New Zealand school exchange.htm"+r+" New Zealand school exchange "+c
+l+"United Nations Competition.htm"+r+" United Nations Competition "+c
+l+"USP Competitions.htm"+r+" USP Competitions "+c

+l+"More Projects.htm"+r+" More Projects "+c
+l+"Fundraisings.htm"+r+" Fundraisings "+c
+l+"javascript:popUpSlideshow(\"slideshow.htm\")"+r+" Slideshow "+c



Top_Width[3]=125; Sub_Menu_Width[3]=150;
m[3]='Website Links';n[3]='Useful links.htm';st[3]="";s[3]=""
+l+"Useful links.htm"+r+" Useful links "+c
+l+"Our favourite links.htm"+r+" Our favourite links "+c



Top_Width[4]=150;Sub_Menu_Width[4]=177;
m[4]='E-News';n[4]='The latest news.htm';st[4]="";s[4]=""
+l+"The latest news.htm"+r+" The latest news "+c
+l+"Thank You.htm"+r+" Thank You "+c
+l+"Contact us.htm"+r+" Contact us "+c







ADJ[0]=MFL;
ADJ[1]=(Top_Width[0])+MFL;
ADJ[2]=(Top_Width[0]+Top_Width[1])+MFL;
ADJ[3]=(Top_Width[0]+Top_Width[1]+Top_Width[2])+MFL;
ADJ[4]=(Top_Width[0]+Top_Width[1]+Top_Width[2]+Top_Width[3])+MFL;








MENU=m.length

for (i=0; i < MENU; i++){





document.write("<div style='position:absolute;"+ALIGN+":"+ADJ[i]+";top:"+MFT+";width:"+Top_Width[i]+"' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>")

browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;
if (browser_type == "Netscape") {
document.write("<a class='menu_TOP' style='height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' href='"+n[i]+"'>"+m[i]+"</a></div>")
}
else {

document.write("<a class='menu_TOP' style='height:"+TMH+"; color:#"+TMC+"; background-image: url("+TMBI+"); background-color:#"+TMBC+"; font-size:"+TMFS+"pt; font-weight:"+TMFW+"; font-family: "+TMFF+"; "+spn+"' onmouseover=\"this.style.backgroundColor='#"+TMHBC+"';this.style.color='"+TMHC+"';this.style.backgroundImage='URL("+TMHBI+")'\"  onmouseout=\"this.style.backgroundColor='#"+TMBC+"';this.style.color='"+TMC+"';this.style.backgroundImage='URL("+TMBI+")'\" href='"+n[i]+"'>"+m[i]+"</a></div>")

}

}


for (i=0; i < MENU; i++){




document.write("<div id='SUB"+i+"' class='menu_DIV' style='position: absolute; "+ALIGN+":"+(ADJ[i]+SUBshift)+";top:"+(MFT+MO)+";width:"+Sub_Menu_Width[i]+";background-color:#"+SMBC+";' onmouseover='o["+i+"].ShowMenu()' onmouseout='o["+i+"].HideMenu()'>"+s[i]+"</div>")


}



function StartMenu()
{

var D6=window,Y7=document;
function DETECT()
{
this.ver=navigator.appVersion;this.agent=navigator.userAgent;this.dom=Y7.getElementById?1:0;this.opera5=this.agent.indexOf("Opera 5")>-1;this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom && !this.opera5)?1:0;this.ie6=(this.ver.indexOf("MSIE 6")>-1 && this.dom && !this.opera5)?1:0;this.ie4=(Y7.all && !this.dom && !this.opera5)?1:0;this.ie=this.ie4||this.ie5||this.ie6;this.mac=this.agent.indexOf("Mac")>-1;this.ns6=(this.dom && parseInt(this.ver)>=5)?1:0;this.ns4=(Y7.layers && !this.dom)?1:0;this.BWD=(this.ie6||this.ie5||this.ie4||this.ns4||this.ns6||this.opera5);return this
}
BWD=new DETECT();z=0;b=0;
spn="";
if(BWD.opera5||BWD.ns6)
{
b=2
};
if(BWD.ie)
{
spn=" width: 100%"
}else{
z=6
}

} 


function SubMenu()
{

document.write("<TABLE cellpadding='0' cellspacing='0' border='0' width='100%' BGCOLOR='#"+TMBC+"'><tr><td>");
document.write("<img src='picts/spacer.gif' width='100%' height='"+TMH+"'><br>");
document.write("</td></tr></table>");

   if (shadow == "yes") {
document.write("<TABLE cellpadding='0' cellspacing='0' border='0' width='100%' background='picts/shadow1.gif'><tr><td>");
document.write("<IMG SRC='picts/spacer.gif' border='0' width='20' height='11'><br>");
document.write("</td></tr></table>");
}

document.write("<div width='100%' style='height:"+TMH+";position:absolute;top:"+MFT+";width:100%;background-image: url("+TMBI+"); background-color:#"+TMBC+";z-level:-2'></div>")

browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;
if (browser_type == "Netscape") {
l="<a class='menu_SUB' style='height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' href='";
}
else {
l="<a class='menu_SUB' style='height:"+SMH+"; color:#"+SMC+"; background-color:#"+SMBC+"; font-size:"+SMFS+"pt; font-weight:"+SMFW+"; font-family: "+SMFF+";"+spn+"' onmouseover=\"this.style.backgroundColor='#"+SMHBC+"';this.style.color='"+SMHC+"'\"  onmouseout=\"this.style.backgroundColor='#"+SMBC+"';this.style.color='"+SMC+"'\" href='";
}
r="'>";
c="</a>";


m=new Array();n=new Array();s=new Array();Sub_Menu_Width=new Array();su=new Array();st=new Array();Top_Width=new Array();ADJ=new Array()

}


function lib_obj(obj,nest){nest=(!nest) ? "":'document.'+nest+'.';this.evnt=BWD.dom? document.getElementById(obj):BWD.ie4?document.all[obj]:BWD.ns4?eval(nest+"document.layers." +obj):0;this.css=BWD.dom||BWD.ie4?this.evnt.style:this.evnt;this.ref=BWD.dom||BWD.ie4?document:this.css.document;this.x=parseInt(this.css.top)||this.css.pixeltop||this.evnt.offsettop||0;this.y=parseInt(this.css.left)||this.css.pixelleft||this.evnt.offsetleft||0;return this}
function lib_doc_size(){this.x=0;this.x2=BWD.ie && document.body.offsetWidth-20||innerWidth||0;this.y=0;this.y2=BWD.ie && document.body.offsetHeight-5||innerHeight||0;this.x50=this.x2/2;this.y50=this.y2/2;return this;}
lib_obj.prototype.ShowMenu = function(){this.css.visibility="visible"}
lib_obj.prototype.HideMenu = function(){this.css.visibility="hidden"}
function libinit(){page=new lib_doc_size();o=new Array();for (i=0; i < MENU; i++){o[i]=new lib_obj('SUB'+i);o[i].HideMenu()}}
libinit()



