<!-- hide from none JavaScript Browsers

var random_images = new Array ( );
random_images[0] = "images/logopic1.jpg";
random_images[1] = "images/logopic2.jpg";
random_images[2] = "images/logopic1.jpg";
random_images[3] = "images/logopic2.jpg";
random_images[4] = "images/logopic1.jpg";
random_images[5] = "images/logopic2.jpg";
random_images[6] = "images/logopic1.jpg";
random_images[7] = "images/logopic2.jpg";
random_images[8] = "images/logopic1.jpg";
random_images[9] = "images/logopic2.jpg";

// Pick a random image from the list,
// and set the image source to that image
function rand ( n )
{
  return ( Math.floor ( Math.random ( ) * n + 1 ) );
}


function pick_image ( )
{
  document.getElementById("random-image").src = random_images[rand(10)-1];
}

hall1 = new Image(2048,1536)
hall1.src = "images/Picture 036.jpg"
function showHall1()
{
 document.hall.src = hall1.src; return true;
}

hall2 = new Image(640,480)
hall2.src = "images/Picture 020.jpg"
function showHall2()
{
 document.hall.src = hall2.src; return true;
}


com1 = new Image(539,404)
com1.src = "images/computers.jpg"
function showCom1()
{
 document.comp.src = com1.src; return true;
}

com2 = new Image(2048,1536)
com2.src = "images/Picture 018.jpg"
function showCom2()
{
 document.comp.src = com2.src; return true;
}


play1 = new Image(539,404)
play1.src = "images/KPS_PICS 008.jpg"
function showPlay1()
{
 document.play.src = play1.src; return true;
}

play2 = new Image(2048,1536)
play2.src = "images/Picture 037.jpg"
function showPlay2()
{
 document.play.src = play2.src; return true;
}

play3 = new Image()
play3.src = "images/KPS_PICS 011.jpg"
function showPlay3()
{
 document.play.src = play3.src; return true;
}

aboutus = new Image(150,28)
aboutus.src = "images/aboutus.jpg"
aboutushover = new Image(150,28)
aboutushover.src = "images/aboutushover.jpg"

news= new Image(150,28)
news.src = "images/news.jpg"
newshover = new Image(150,28)
newshover.src = "images/newshover.jpg"

enrol= new Image(150,28)
enrol.src = "images/enrol.jpg"
enrolhover = new Image(150,28)
enrolhover.src = "images/enrolhover.jpg"

key= new Image(150,28)
key.src = "images/key.jpg"
keyhover = new Image(150,28)
keyhover.src = "images/keyhover.jpg"

pa = new Image(150,28)
pa.src = "images/parent.jpg"
phover = new Image(150,28)
phover.src = "images/parenthover.jpg"

schoolfeat= new Image(150,28)
schoolfeat.src = "images/schoolfeat.jpg"
schoolfeathover = new Image(150,28)
schoolfeathover.src = "images/schoolfeathover.jpg"

function aboutusSwap() {
document.aboutus.src = aboutushover.src; return true;
}
function aboutusSwapBack() {
document.aboutus.src = aboutus.src; return true;
}

function schoolfeatSwap() {
document.schoolfeat.src = schoolfeathover.src; return true;
}
function schoolfeatSwapBack() {
document.schoolfeat.src = schoolfeat.src; return true;
}

function pS() {
document.p.src = phover.src; return true;
}
function aSW() {
document.p.src = pa.src; return true;
}

function enrolSwap() {
document.enrol.src = enrolhover.src; return true;
}

function enrolSwapBack() {
document.enrol.src = enrol.src; return true;
}

function keySwap() {
document.key.src = keyhover.src; return true;
}
function keySwapBack() {
document.key.src = key.src; return true;
}

function newsSwap() {
document.news.src = newshover.src; return true;
}
function newsSwapBack() {
document.news.src = news.src; return true;
}
