<!--
/*********************************
 * author@TechSystems.com        *
 * http://www.portaldepot.net    *
 * management@portaldepot.net    *
 * (c)TechSystems.com 2005       *
 * All Rights Reserved.          *
 *********************************
 */

var vmenuwidth='150'; //default menu width
var vmenubgcolor='#72A4D2';  //Change menu bgcolor to your specifications.
var vmenufontcolor='#000080' //Change menu font color to your specifications.
var vhideMenuDelay=300; //menu disappear speed onMouseout (in miliseconds)

//Contents for menu 1. Home PageChange contents to your hyperlinks.
var vmenu1=new Array();
vmenu1[0]='<a href="http://www.brizenorton.org.uk/bn_school/whats_new.htm" target="_top">Whats New</a>';
vmenu1[1]='<a href="http://www.brizenorton.org.uk/bn_school/contacts.htm" target="_top">Contacts</a>';
vmenu1[2]='<a href="http://www.brizenorton.org.uk/bn_school/gallery.htm" target="_top">Gallery</a>';
vmenu1[3]='<a href="http://www.brizenorton.org.uk/bn_school/site_map.htm" target="_top">Site Map</a>';

//Contents for menu 2. About the School Change contents to your hyperlinks.
var vmenu2=new Array();
vmenu2[0]='<a href="http://www.brizenorton.org.uk/bn_school/our_school.htm" target="_top" >Our School</a>';
vmenu2[1]='<a href="http://www.brizenorton.org.uk/bn_school/location.htm" target="_top">Location</a>';
vmenu2[2]='<a href="http://www.brizenorton.org.uk/bn_school/staff.htm" target="_top">Meet the Staff</a>';
vmenu2[3]='<a href="http://www.brizenorton.org.uk/bn_school/grounds.htm" target="_top">School Grounds</a>';
vmenu2[4]='<a href="http://www.brizenorton.org.uk/bn_school/history.htm" target="_top">School History</a>';

//Contents for menu 3. Information Change contents to your hyperlinks.
var vmenu3=new Array();
vmenu3[0]='<a href="http://www.brizenorton.org.uk/bn_school/newsletter.htm" target="_top">Newsletters</a>';
vmenu3[1]='<a href="http://www.brizenorton.org.uk/bn_school/healthy_schools.htm#dinner_menus" target="_top">Dinner Menus</a>';
vmenu3[2]='<a href="http://www.brizenorton.org.uk/bn_school/safeguarding.htm" target="_top">Safeguarding</a>';
vmenu3[3]='<a href="http://www.brizenorton.org.uk/bn_school/term_dates.htm" target="_top">Term Dates</a>';
vmenu3[4]='<a href="http://www.brizenorton.org.uk/bn_school/2009_prospectus/prospectus.htm" target="_top">Prospectus</a>';
vmenu3[5]='<a href="http://www.brizenorton.org.uk/bn_school/policies.htm" target="_top">Policies</a>';
vmenu3[6]='<a href="http://www.brizenorton.org.uk/bn_school/ofsted.htm" target="_top">Ofsted Report</a>';
vmenu3[7]='<a href="http://www.brizenorton.org.uk/bn_school/every_child_matters.htm" target="_top">Every Child Matters</a>';
vmenu3[8]='<a href="http://www.brizenorton.org.uk/bn_school/extended_services.htm" target="_top">Extended Services</a>';
vmenu3[9]='<a href="http://www.brizenorton.org.uk/bn_school/eco_schools.htm" target="_top">Eco School</a>';
vmenu3[10]='<a href="http://www.brizenorton.org.uk/bn_school/healthy_schools.htm" target="_top">Healthy School</a>';
vmenu3[11]='<a href="http://www.brizenorton.org.uk/bn_school/global_school.htm" target="_top">Global School</a>';
vmenu3[12]='<a href="http://www.brizenorton.org.uk/bn_school/uniform.htm" target="_top">School Uniform</a>';
vmenu3[13]='<a href="http://www.brizenorton.org.uk/bn_school/achievements.htm" target="_top">School Achievements</a>';
//Contents for menu 4. Calendar Change contents to your hyperlinks.
var vmenu4=new Array();
vmenu4[0]='<a href="http://www.brizenorton.org.uk/bn_school/term_dates.htm" target="_top">Term Dates</a>';
vmenu4[1]='<a href="http://www.brizenorton.org.uk/cgi-bin/davcal/calendar.pl?dept=BNSC" target="_top">Calendar</a>';

//Contents for menu 5 Visit the Classes Change contents to your hyperlinks.
var vmenu5=new Array();
vmenu5[0]='<a href="http://www.brizenorton.org.uk/bn_school/class1.htm" target="_top">Class 1</a>';
vmenu5[1]='<a href="http://www.brizenorton.org.uk/bn_school/class2.htm" target="_top">Class 2</a>';
vmenu5[2]='<a href="http://www.brizenorton.org.uk/bn_school/class3.htm" target="_top">Class 3</a>';
vmenu5[3]='<a href="http://www.brizenorton.org.uk/bn_school/class4.htm" target="_top">Class 4</a>';

//Contents for menu 6. Resources Change contents to your hyperlinks.
var vmenu6=new Array();
vmenu6[0]='<a href="http://www.brizenorton.org.uk/bn_school/class_letters.htm" target="_top">Class Letters</a>';
vmenu6[1]='<a href="http://www.brizenorton.org.uk/bn_school/parents_guides.htm" target="_top">Guides for Parents</a>';
vmenu6[2]='<a href="http://www.brizenorton.org.uk/bn_school/weblinks.htm" target="_top">Weblinks</a>';

//Contents for menu 7. Teacher's Area Change contents to your hyperlinks.
var vmenu7=new Array();
vmenu7[0]='<a href="http://www.brizenorton.org.uk/bn_school/teachers_resources.htm" target="_top">Teachers Resources</a>';
vmenu7[1]='<a href="http://www.brizenorton.org.uk/bn_school/teachers_weblinks.htm" target="_top">Teachers Weblinks</a>';
vmenu7[2]='<a href="http://www.brizenorton.org.uk/bn_school/teachers_policies.htm" target="_top">Teachers Policies</a>';

//Contents for menu 8. Children Area Change contents to your hyperlinks.
var vmenu8=new Array();
vmenu8[0]='<a href="http://www.brizenorton.org.uk/bn_school/school_council.htm" target="_top">School Council</a>';
vmenu8[1]='<a href="http://www.brizenorton.org.uk/bn_school/global_school.htm" target="_top">Global School</a>';
vmenu8[2]='<a href="http://www.brizenorton.org.uk/bn_school/celebrating_children.htm" target="_top">Celebrating Children</a>';
vmenu8[3]='<a href="http://www.brizenorton.org.uk/bn_school/childrens_school_plan.htm" target="_top">Childrens School Improvement Plan</a>';
vmenu8[4]='<a href="http://www.brizenorton.org.uk/bn_school/sport_at_brize.htm" target="_top">Sport at Brize</a>';
vmenu8[5]='<a href="http://www.brizenorton.org.uk/bn_school/art_at_brize.htm" target="_top">Art at Brize</a>';
vmenu8[6]='<a href="http://www.brizenorton.org.uk/bn_school/drama_at_brize.htm" target="_top">Drama at Brize</a>';
vmenu8[7]='<a href="http://www.brizenorton.org.uk/bn_school/music_at_brize.htm" target="_top">Music at Brize</a>';
vmenu8[8]='<a href="http://www.brizenorton.org.uk/bn_school/school_clubs.htm" target="_top">School Clubs</a>';

//Contents for menu 9. Governors & FriendsChange contents to your hyperlinks.
var vmenu9=new Array();
vmenu9[0]='<a href="http://www.brizenorton.org.uk/bn_school/governors.htm" target="_top">Governors</a>';
vmenu9[1]='<a href="http://www.brizenorton.org.uk/bn_school/school_association.htm" target="_top">School Association</a>';

//Contents for menu 10. Community & IT Links Change contents to your hyperlinks.
var vmenu10=new Array();
vmenu10[0]='<a href="http://www.klp.rm.com" target="_top" target="new">Kaleidos</a>';
vmenu10[1]='<a href="http://www.educationcity.com/uk/content/login-page" target="_top" target="new">Education City</a>';
vmenu10[2]='<a href="http://www.brizenorton.org.uk/community/" target="_top">Community Website</a>';
vmenu10[3]='<a href="http://www.burford.oxon.sch.uk" target="_top">Burford Community College Website</a>';


// You can add any number of menues you just have to follow the schema above to 
//add additional menues.
//you will also have to add a coordinated menue item in the body code of the verticle menu. 
//Also in the "function populateVMenu(menu)" below you have to add an,
//else if (vmenu == "vmenu4"){vdropMenuObj.innerHTML = vmenu4.join("");} statements, 
//for each addition.
//Also in the "function hideVMenu()" below you have to add the
//vmenuItem4 = document.getElementById("vm4"); and the
//vmenuItem4.style.color=vmenufontcolor; statements, for each addition.


var vdropMenuObj = document.getElementById("vpopUpMenu"); 
document.write('<div id="vpopUpMenu" style="visibility:hidden;width:'+vmenuwidth+';background-color:'+vmenubgcolor+'" onMouseover="clearHideVMenu()" onMouseout="delayHideVMenu()"></div>');

function vgetPos(vobj,vPos){
var ivPos = 0;
while (vobj != null) {
ivPos += vobj["offset" + vPos];
vobj = vobj.offsetParent;}
return ivPos;
}

function dropVMenu( voffsetX, voffsetY,vobj, vmenu, vwidth){
vdropMenuObj = document.getElementById("vpopUpMenu");

populateVMenu(vmenu);
viewVMenu(vwidth);

if (vmenu){
//The number 139 below is the approximate width of the Verticle Menu, you will
//have to change this value to match your own requirements. The number 4
//below is a fine tuner for the y positioning. You may or may not have to change 
//this number.
vpopUpMenu.style.left = vgetPos(vobj,"Left") + 60;
vpopUpMenu.style.top = vgetPos(vobj,"Top") + 20;
vpopUpMenu.style.textAlign = "left";}
}

function populateVMenu(vmenu){
vdropMenuObj = document.getElementById("vpopUpMenu");
if (vmenu == "vmenu1"){
vdropMenuObj.innerHTML = vmenu1.join("");}
if (vmenu == "vmenu2"){
vdropMenuObj.innerHTML = vmenu2.join("");}
if (vmenu == "vmenu3"){
vdropMenuObj.innerHTML = vmenu3.join("");}
if (vmenu == "vmenu4"){
vdropMenuObj.innerHTML = vmenu4.join("");}
if (vmenu == "vmenu5"){
vdropMenuObj.innerHTML = vmenu5.join("");}
if (vmenu == "vmenu6"){
vdropMenuObj.innerHTML = vmenu6.join("");}
if (vmenu == "vmenu7"){
vdropMenuObj.innerHTML = vmenu7.join("");}
if (vmenu == "vmenu8"){
vdropMenuObj.innerHTML = vmenu8.join("");}
if (vmenu == "vmenu9"){
vdropMenuObj.innerHTML = vmenu9.join("");}
else if (vmenu == "vmenu10"){
vdropMenuObj.innerHTML = vmenu10.join("");}
}

function viewVMenu(vwidth){
vdropMenuObj = document.getElementById("vpopUpMenu");
vdropMenuObj.style.width=vwidth;
vdropMenuObj.style.visibility="visible";
}

function delayHideVMenu(){
vdelayhide=setTimeout("hideVMenu()",vhideMenuDelay)
}

function hideVMenu(){
vdropMenuObj = document.getElementById("vpopUpMenu");
vdropMenuObj.style.visibility="hidden";
menuItem1 = document.getElementById("vm1");
menuItem1.style.color=vmenufontcolor;
menuItem2 = document.getElementById("vm2");
menuItem2.style.color=vmenufontcolor;
menuItem3 = document.getElementById("vm3");
menuItem3.style.color=vmenufontcolor;
menuItem4 = document.getElementById("vm4");
menuItem4.style.color=vmenufontcolor;
menuItem5 = document.getElementById("vm5");
menuItem5.style.color=vmenufontcolor;
menuItem6 = document.getElementById("vm6");
menuItem6.style.color=vmenufontcolor;
menuItem7 = document.getElementById("vm7");
menuItem7.style.color=vmenufontcolor;
menuItem8 = document.getElementById("vm8");
menuItem8.style.color=vmenufontcolor;
menuItem9 = document.getElementById("vm9");
menuItem9.style.color=vmenufontcolor;
menuItem10 = document.getElementById("vm10");
menuItem10.style.color=vmenufontcolor;
}

function clearHideVMenu(){
if (typeof vdelayhide!="undefined"){
clearTimeout(vdelayhide);
}
}
// -->
