
// Load and create all image objects


loadImg('rewindOn','images/controls/rewindOn.gif');	
loadImg('rewindOff','images/controls/rewind.gif');
loadImg('forwardOn','images/controls/forwardOn.gif');	
loadImg('forwardOff','images/controls/forward.gif');
loadImg('playOn','images/controls/playOn.gif');	
loadImg('playOff','images/controls/play.gif');
loadImg('pauseOn','images/controls/pauseOn.gif');	
loadImg('pauseOff','images/controls/pause.gif');
loadImg('stopOn','images/controls/stopOn.gif');	
loadImg('stopOff','images/controls/stop.gif');
loadImg('increaseOn','images/controls/increaseOn.gif');	
loadImg('increaseOff','images/controls/increase.gif');
loadImg('decreaseOn','images/controls/decreaseOn.gif');	
loadImg('decreaseOff','images/controls/decrease.gif');
loadImg('muteOn','images/controls/muteOn.gif');	
loadImg('muteOff','images/controls/mute.gif');
loadImg('unmuteOn','images/controls/unmuteOn.gif');	
loadImg('unmuteOff','images/controls/unmute.gif');
loadImg('helpOn','images/controls/helpOn.gif');	
loadImg('helpOff','images/controls/help.gif');

// Basic preload function that creates image objects

function loadImg(imgObj,imgSrc) {
	if(document.images) {
		eval(imgObj+' = new Image()');
		eval(imgObj+'.src = "'+imgSrc+'"');
	}
}

// Basic Rollover function

function imageRoll(imgTarget,imgObject) {
	eval('document.getElementById(imgTarget).src = ' + imgObject + '.src');
}
	
