
var msg = new Array();

msg[0] = "Click Jennifer Wright\'s link...";
msg[1] = "It\'s now similar to being logged in as that person - you can browse his/her \nresearch outputs, using the round radio buttons here to access each area.";
msg[2] = "Recall that for this demonstration, you are logged in as researcher: Prof. Arnold Ubermeister!\n\nNOTE: All personnel, projects, publications and ethics data is fictitious - in compliance with \nprivacy legislation in the State of Victoria.";
msg[3] = "Link Disabled - Demo Only - Please click another ROPES-related link...";
msg[4] = "Button disabled - unfortunately the demo doesn\'t extend to the display of queried researcher\'s data";
msg[5] = "Sorry - Functionality in this demonstration does not extend to searching \nfor  one\'s own projects... it does in ROPES, though!";
msg[6] = "Link Disabled - Demo Only - Normally the page containing a list \nof Faculty Publications Coordinators with their contact information \nwould open.";
msg[7] = "Sorry - Functionality in this demonstration does not permit the update of marked release changes.";
msg[8] = "Link Disabled - Demo Only - Try one of the first three project drill-down examples in this list.";

function doSubmitIt (url) {

window.open(url, '_self');

}

function doMsg (mesg) {

alert(mesg);

}

function showTheElement (showIt) {

 if (document.getElementById(showIt).style.display=='none')
 {
  document.getElementById(showIt).style.display='';
 }
 else
 {
  document.getElementById(showIt).style.display='none';
 } 

}


function goToFaculty()
{

 var frm = document.forms["login"];
 var selectedFac = frm.faculty.selectedIndex;

 var whichFac = new Array();

 whichFac[0] = "";
 whichFac[1] = "http://www.arts.monash.edu.au/";
 whichFac[2] = "http://www.artdes.monash.edu.au/";
 whichFac[3] = "http://www.buseco.monash.edu.au/";
 whichFac[4] = "http://www.education.monash.edu.au/";
 whichFac[5] = "http://www.eng.monash.edu.au/";
 whichFac[6] = "http://www.infotech.monash.edu.au/";
 whichFac[7] = "http://www.law.monash.edu.au/";
 whichFac[8] = "http://www.med.monash.edu.au/";
 whichFac[9] = "http://www.vcp.monash.edu.au/";
 whichFac[10] = "http://www.sci.monash.edu.au/";
 
 if(selectedFac > 0) {
 window.open(whichFac[selectedFac],"_self");
 } 
 else {
  alert('Something Odd Happening Here!');
 }

}


