// JavaScript Document



 var data;

 

 function participantIcon(pageObject, imageName, rolloverText) {

	this.pageObject = pageObject;

	this.imageName = imageName;

	this.rolloverText = rolloverText;

}



function rolloverText(text) {

var id = 'nameRollover';

var theText = "benjamin";

if (document.getElementById) {

		x = document.getElementById(id);

		x.innerHTML = '';

		x.innerHTML = text;

} else if (document.all) {

		x = document.all[id];

		x.innerHTML = text;

} else if (document.layers) {

		x = document.layers[id];

		text2 = '<P CLASS="testclass">' + text + '</P>;';

		x.document.open();

		x.document.write(text2);

		x.document.close();

	}

}



function iconMouseOver(sender) {

if (!data) data = iconData();

var theIcon;

for (i = 0; i < data.length; i++) 

	if (data[i].pageObject == sender) {

	theIcon = data[i];

	break;

	}

if (!theIcon) return;

sender.src = "http://www.dshed.net/digitised/reveal/interface/images/participant_icons/on/" + theIcon.imageName;

rolloverText(theIcon.rolloverText);

}



function iconMouseOut(sender) {

if (!data) data = iconData();

var theIcon;

for (i = 0; i < data.length; i++) 

	if (data[i].pageObject == sender) {

	theIcon = data[i];

	break;

	}

if (!theIcon) return;

sender.src = "http://www.dshed.net/digitised/reveal/interface/images/participant_icons/off/" + theIcon.imageName;

rolloverText("Participant: Rollover image for more info");

}





function iconData() {

var theIconData = new Array();

theIconData[0] = new participantIcon(document.chantelle, "chantelle.gif", "Participant: Chantelle");

theIconData[1] = new participantIcon(document.edf, "edf.gif", "Participant: Ed F");

theIconData[2] = new participantIcon(document.edp, "edp.gif", "Participant: Ed P");

theIconData[3] = new participantIcon(document.ellie, "ellie.gif", "Participant: Ellie");

theIconData[4] = new participantIcon(document.emma, "emma.gif", "Participant: Emma");

theIconData[5] = new participantIcon(document.garry, "garry.gif", "Participant: Garry");

theIconData[6] = new participantIcon(document.hannah, "hannah.gif", "Participant: Hannah");

theIconData[7] = new participantIcon(document.holly, "holly.gif", "Participant: Holly");

theIconData[8] = new participantIcon(document.huw, "huw.gif", "Participant: Huw");

theIconData[9] = new participantIcon(document.james, "james.gif", "Participant: James");

theIconData[10] = new participantIcon(document.jeanie, "jeanie.gif", "Participant: Jeanie");

theIconData[11] = new participantIcon(document.jesse, "jesse.gif", "Participant: Jesse");

theIconData[12] = new participantIcon(document.kamika, "kamika.gif", "Participant: Kamika");

theIconData[13] = new participantIcon(document.lee, "lee.gif", "Participant: Lee");

theIconData[14] = new participantIcon(document.martin, "martin.gif", "Participant: Martin");

theIconData[15] = new participantIcon(document.mary, "mary.gif", "Participant: Mary");

theIconData[16] = new participantIcon(document.matthew, "matthew.gif", "Participant: Matthew");

theIconData[17] = new participantIcon(document.molly, "molly.gif", "Participant: Molly");

theIconData[18] = new participantIcon(document.paula, "paula.gif", "Participant: Paula");

theIconData[19] = new participantIcon(document.petea, "petea.gif", "Participant: Pete A");

theIconData[20] = new participantIcon(document.petef, "petef.gif", "Participant: Pete F");

theIconData[21] = new participantIcon(document.punisher, "punisher.gif", "Participant: Punisher");

theIconData[22] = new participantIcon(document.robc, "robc.gif", "Participant: Rob C");

theIconData[23] = new participantIcon(document.robp, "robp.gif", "Participant: Rob P");

theIconData[24] = new participantIcon(document.ron, "ron.gif", "Participant: Ron");

theIconData[25] = new participantIcon(document.ruth, "ruth.gif", "Participant: Ruth");

theIconData[26] = new participantIcon(document.simone, "simone.gif", "Participant: Simone");

theIconData[27] = new participantIcon(document.stacy, "stacy.gif", "Participant: Stacy");

theIconData[28] = new participantIcon(document.sue, "sue.gif", "Participant: Sue");

theIconData[29] = new participantIcon(document.tamsin, "tamsin.gif", "Participant: Tamsin");

theIconData[30] = new participantIcon(document.tank, "tank.gif", "Participant: Tank");

theIconData[31] = new participantIcon(document.terry, "terry.gif", "Participant: Terry");

theIconData[32] = new participantIcon(document.tiggi, "tiggi.gif", "Participant: Tiggi");

theIconData[33] = new participantIcon(document.umal, "umal.gif", "Participant: Umal");

theIconData[34] = new participantIcon(document.vicki, "vicki.gif", "Participant: Vicki");

theIconData[35] = new participantIcon(document.wayne, "wayne.gif", "Participant: Wayne");

	

	return theIconData;

}



function openLandscapeWindow(creationID) {

var theURL;

  theURL = "http://www.dshed.net/digitised/reveal/creation/object/" + creationID;

  window.open(theURL,'creationLandscapePopup','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=700,height=570');

}



function openPortraitWindow(creationID) {

var theURL;

  theURL = "http://www.dshed.net/digitised/reveal/creation/object/" + creationID;

  window.open(theURL,'creationPortraitPopup','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=505,height=570');

}



function openPanoWindow(creationID) {

var theURL;

  theURL = "http://www.dshed.net/digitised/reveal/creation/object/" + creationID;

  window.open(theURL,'creationPanoPopup','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=750,height=350');

}

 n=navigator.appName

 ns=(n=="Netscape")

 ie=(n=="Microsoft Internet Explorer")

// BROWSER DETECTION SCRIPT SETS STYLESHEET

// Navigator 6 and up

if (navigator.appVersion.indexOf('Mac') != -1){

	

	if (ns) {

	

  		document.write('<'+'link rel="stylesheet" href="http://www.dshed.net/digitised/reveal/interface/ns_reveal.css" type="text/css" />');

	}

	

	else if (ie) {

		document.write('<'+'link rel="stylesheet" href="http://www.dshed.net/digitised/reveal/interface/reveal_mac_ie.css" type="text/css" />');

	

	}else{

	

		document.write('<'+'link rel="stylesheet" href="http://www.dshed.net/digitised/reveal/interface/reveal_mac_netscape.css" type="text/css" />');

	

	

	}



}else if (ns){

  		document.write('<'+'link rel="stylesheet" href="http://www.dshed.net/digitised/reveal/interface/ns_reveal.css" type="text/css" />');



}else {



  		document.write('<'+'link rel="stylesheet" href="http://www.dshed.net/digitised/reveal/interface/reveal.css" type="text/css" />');

}



