﻿/* This script and many more are available free online at
The JavaScript Source!! http://javascript.internet.com
Created by: thamba | http://www.thamba.com/
Adapted by Lee Underwood */

/*
function hideall(){
  for (count=0; count<4; count+=1) // set "count" to one more than the total images/links
  document.getElementById('box0'+count).style.display='none';
}

function showbox(box){
  document.getElementById(box).style.display='block';
}*/

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=450,height=350');
return false;
}


function hideallClass(){
  for (count=0; count<41; count+=1) // set "count" to one more than the total images/links
  document.getElementById('point0'+count).style.display='none';
}

function showClass(point){
  document.getElementById(point).style.display='block';
}

function JelicOver()
{
document.Jelic.src ="MPM_images/Program-Jelic2.gif";
}
function JelicOut()
{
document.Jelic.src ="MPM_images/Program-Jelic.gif";
}

function MPMOver()
{
document.MPM.src ="MPM_images/Program-MPM2.gif";
}
function MPMOut()
{
document.MPM.src ="MPM_images/Program-MPM.gif";
}

function KMIOver()
{
document.KMI.src ="MPM_images/Program-KMI2.gif";
}
function KMIOut()
{
document.KMI.src ="MPM_images/Program-KMI.gif";
}

function mouseOver()
{
document.b1.src ="MPM_images/Login2c.gif";
}
function mouseOut()
{
document.b1.src ="MPM_images/Login2.gif";
}

function GoTopMouseOver()
{
document.imgGoTop.src ="MPM_images/GoTop2b.gif";
}
function GoTopMouseOut()
{
document.imgGoTop.src ="MPM_images/GoTop2.gif";
}

function ProgMouseOver()
{
document.imgProg.src ="MPM_images/prog_details2.gif";
}

function ProgMouseOut()
{
document.imgProg.src ="MPM_images/prog_details1.gif";
}

function NewsMouseOver()
{
document.imgNews.src ="MPM_images/news_details2.gif";
}

function NewsMouseOut()
{
document.imgNews.src ="MPM_images/news_details1.gif";
}

function EventMouseOver()
{
document.imgEvent.src ="MPM_images/event_details2.gif";
}

function EventMouseOut()
{
document.imgEvent.src ="MPM_images/event_details1.gif";
}

function readMouseOver4()
{
document.imgread4.src ="MPM_images/read_more2.gif";
}

function readMouseOut4()
{
document.imgread4.src ="MPM_images/read_more1.gif";
}

function readMouseOver3()
{
document.imgread3.src ="MPM_images/read_more2.gif";
}

function readMouseOut3()
{
document.imgread3.src ="MPM_images/read_more1.gif";
}

function readMouseOver2()
{
document.imgread2.src ="MPM_images/read_more2.gif";
}

function readMouseOut2()
{
document.imgread2.src ="MPM_images/read_more1.gif";
}

function readMouseOver1()
{
document.imgread1.src ="MPM_images/read_more2.gif";
}

function readMouseOut1()
{
document.imgread1.src ="MPM_images/read_more1.gif";
}

function courseMouseOver()
{
document.course_pic.src ="MPM_images/course_details2b.jpg";
}

function courseMouseOut()
{
document.course_pic.src ="MPM_images/course_details.jpg";
}



