

//general workshop rollover functions

  if (document.images)
   {
     pic1on= new Image(119,28);
     pic1on.src="../images/intro_on.gif";  
     pic2on= new Image(119,28);
     pic2on.src="../images/beforeuwatch_on.gif"; 
     pic3on= new Image(119,28);
     pic3on.src="../images/lecturesactivities_on.gif";
     pic4on= new Image(119,28);
     pic4on.src="../images/classroom_on.gif";

     pic1off= new Image(119,28);
     pic1off.src="../images/intro_off.gif";
     pic2off= new Image(119,28);
     pic2off.src="../images/beforeuwatch_off.gif"; 
     pic3off= new Image(119,28);
     pic3off.src="../images/lecturesactivities_off.gif";
     pic4off= new Image(119,28);
     pic4off.src="../images/classroom_off.gif";
   }


function Navon(imgName)
 {
   if (document.images)
    {
      imgOn=eval(imgName + "on.src");
      document[imgName].src= imgOn;
    }
 }

function Navoff(imgName)
 {
   if (document.images)
    {
      imgOff=eval(imgName + "off.src");
      document[imgName].src= imgOff;
    }
 }


//function for opening psource document window
function openwin(URL,widthstring,height,name) {
	var width = parseInt(widthstring);
	var ua = navigator.appName;
	var plat = navigator.platform;
	var stat;
	if (!name) {
		name = "NVR";
	}
	if (width > 0 && (plat == "Win32")) {
		width += 20;
		
	}
	if (!width) {
		width = 520;
	} 
	if (!height) {
		height = 400;
	}
	
	if (ua == 'Netscape' && plat != "Win32") {
		stat = 'yes';
	} else {
		stat = 'no';
	}
	aWindow=window.open(URL,name,'width='+width+',height='+height+',toolbar=no,status='+stat+',scrollbars=yes,resize=no,menubar=no,directories=no');
	aWindow.focus();
	}
	


//function for the facilitator note pop-up window
	function facpop(where) {
	var PATH = "../facpop.html#"+where;
	if (!where) {
		PATH = "facpop.html";
	}
	popwin = window.open(PATH,"FAC",'height=200,width=450,scrollbars=YES,status=YES,menubar=no,directories=no');
	popwin.focus();
	}


