﻿function flyPop(bubbleID) {

	var popClass = new Array();
		popClass[0] = 'cur';
		popClass[1] = 'syl';
		popClass[2] = 'pap';
		popClass[3] = 'cas';
		popClass[4] = 'vid';
		
	var mapName = new Array();
		mapName[0] = '<img src="images/hpc/spacer.gif" id="spacerMap" usemap="#Curriculum" width="170" height="162" alt="" />';
		mapName[1] = '<img src="images/hpc/spacer.gif" id="spacerMap" usemap="#Syllabus" width="170" height="162" alt="" />';
		mapName[2] = '<img src="images/hpc/spacer.gif" id="spacerMap" usemap="#Paper" width="170" height="162" alt="" />';
		mapName[3] = '<img src="images/hpc/spacer.gif" id="spacerMap" usemap="#Case" width="170" height="162" alt="" />';
		mapName[4] = '<img src="images/hpc/spacer.gif" id="spacerMap" usemap="#Video" width="170" height="162" alt="" />';
				
	document.getElementById('rightPop').className = popClass[bubbleID];
	document.getElementById('rightPop').innerHTML = mapName[bubbleID];
	
}


function diePop() {	
	
	document.getElementById('rightPop').className = 'hide';

}
