// JavaScript Document

function messageOfDay() {
	var selection = (Math.floor(Math.random()*11));
	
	if(selection == 0){
		var imgHolder = "Lights";
		txtTerm = "Accent Light:";
		txtDef = "A light unit that emphasizes one subject. This might be a key light, a kicker, or a backlight.";
	}
	
	if(selection == 1){
		var imgHolder = "Sound";
		txtTerm = "Acoustics:";
		txtDef = "The science of the transmission of sound waves. Generally refers to the characteristics of auditoriums, theatres and studios with respect to their design.";	
	}
	
	if(selection == 2){
		var imgHolder = "Editing";
		txtTerm = "Action Cutting:";
		txtDef = "The cutting of film from one shot to another in a way yielding the impression that action is continuous and uninterrupted.";	
	}
	
	if(selection == 3){
		var imgHolder = "Sound";
		txtTerm = "ADR:";
		txtDef = "Automatic Dialog Replacement. Also known as \"looping.\" A process of re-recording dialog in the studio in synchronization with the picture.";	
	}
	
	if(selection == 4){
		var imgHolder = "Camera";
		txtTerm = "Aerial Shot:";
		txtDef = "An extremely high angle view of a subject usually taken from a crane or a high stationary camera position, but may also refer to a shot taken from an actual airplane or helicopter.";	
	}
	
	if(selection == 5){
		var imgHolder = "Editing";
		txtTerm = "Aliasing:";
		txtDef = "An undesirable distortion component that can arise in any digitally encoded information.";	
	}
	
	if(selection == 6){
		var imgHolder = "Lights";
		txtTerm = "Ambient Light:";
		txtDef = "General, nondirectional, room light.";	
	}
	
	if(selection == 7){
		var imgHolder = "Sound";
		txtTerm = "Ambient noise:";
		txtDef = "The total sound in a given area which is particular to that space.";	
	}
	
	if(selection == 8){
		var imgHolder = "Sound";
		txtTerm = "Amplitude:";
		txtDef = "The strength of an electronic signal as measured by its waveform height.";	
	}
	
	if(selection == 9){
		var imgHolder = "Misc";
		txtTerm = "Analog:";
		txtDef = "An electrical signal that continuously varies in strength as related to some form of input.";	
	}
	
	if(selection == 10){
		var imgHolder = "Misc";
		txtTerm = "Analog Recording:";
		txtDef = "A means of recording audio or video whereby the recorded signal is a physical representation of the waveform of the original signal.";	
	}
	
	document.getElementById('messageGenerate').innerHTML="<p><b>" + imgHolder + " - " + txtTerm + "</b><br /><br />" + txtDef + "</p>";
	
}