var vocab = new Array();
vocab[0] = new Array('Semiconductor','Any of a class of solids (as germanium or silicon) whose electrical conductivity is between that of a conductor and that of an insulator in being nearly as great as that of a metal at high temperatures and nearly absent at low temperatures','Semiconductors','semiconductor.html');
vocab[1] = new Array('Insulator','A material that is a poor conductor (as of electricity or heat)','Doping','doping.html');
vocab[2] = new Array('Resistance','The opposition offered by a body or substance to the passage through it of a steady electric current','Doping','doping.html');
vocab[3] = new Array('Majority Charge Carrier','When extrinsic conduction occurs, the number of free electrons and holes are not equal. The more numerous charge carrier is the majority charge carrier. For example, if silicon is doped with phosphorous, then the free electrons are the more numerous charge carrier','Doping','doping.html');
vocab[4] = new Array('Current','A flow of electric charge in amps (A)','Doping','doping.html');
vocab[5] = new Array('Voltage','Electric potential or potential difference expressed in volts (V)','Doping','doping.html');
vocab[6] = new Array('Hole','What is left when an electron in the lattice is knocked loose from its position, leaving behind an electron deficiency','Doping','doping.html');
vocab[7] = new Array('P = I<sup>2</sup> R','<br>P - Power (Watt)<br><br>I - Current (Amp)<br>R - Resistance (Ohm)','Superconductors','superconductor.html');
vocab[8] = new Array('Absolute Zero','A theoretical temperature characterized by complete absence of heat and equivalent to exactly -273.15°C or -459.67°F','Superconductors','superconductor.html');
vocab[9] = new Array('Superconductor','A material that exhibits superconductivity, or a complete disappearance of electrical resistance in a substance especially at very low temperatures.','Superconductors','superconductor.html');
vocab[10] = new Array('PV=mRT','<br>P - Pressure<br>V - Volume<br>=<br>m - Number of Moles<br>R - The Gas Constant<br>T - Temperature','Vacuums','vacuum1.html');
vocab[11] = new Array('Unit','A determinate quantity (as of length, time, heat, or value) adopted as a standard of measurement','Vacuums','vacuum1.html');
vocab[12] = new Array('Unit Systems','<TABLE cellSpacing=1 cellPadding=1 width=100% border=1><TR><TD align=middle colSpan=3><FONT face=Verdana>Our Unit Systems</FONT></TD></TR><TR><TD><FONT face=Verdana>Measure</FONT></TD><TD><FONT face=Verdana>English</FONT></TD><TD><FONT face=Verdana>Metric</FONT></TD></TR><TR><TD><FONT face=Verdana>Length</FONT></TD><TD><FONT face=Verdana>Meters (m)</FONT></TD><TD><FONT face=Verdana>Feet (ft)</FONT></TD></TR><TR><TD><FONT face=Verdana>Force</FONT></TD><TD><FONT face=Verdana>Newtons (N)</FONT></TD><TD><FONT face=Verdana>Pound (lbf)</FONT></TD></TR><TR><TD><FONT face=Verdana>Pressure</FONT></TD><TD><FONT face=Verdana>Pascal (Pa)</FONT></TD><TD><FONT face=Verdana>Psi</FONT></TD></TR></TABLE>','Vacuums','vacuum1.html');
vocab[13] = new Array('Exhaust Stroke','The fourth stroke of a four-stroke cycle where the piston moves upward from bottom dead center to top dead center and pushes the burned exhaust gases out of the cylinder','Vacuum Pumps','vacuum1.html');
vocab[14] = new Array('Intake Stroke','In a four-stroke cycle engine, it is the piston\'s first stroke down in pulling fuel and air into the combustion chamber as it causes a partial vacuum','Vacuum Pumps','vacuum1.html');
vocab[15] = new Array('Alloy','A substance having metallic properties and being composed of two or more chemical elements of which at least one is a metal','','');
vocab[16] = new Array('Micron','A metric unit of length equal to one millionth of a meter','','');
vocab[17] = new Array('Vapor','A visible or invisible suspension in the air of particles of some substance. The gaseous state of a substance that is liquid or solid under ordinary conditions.','Vapor Deposition','pvd.html');
vocab[18] = new Array('Carbide','Compound of carbon and one or more metallic elements. For cutting tools, tungsten carbide, titanium carbide, tantalum carbide, or a combination of these in a cobalt or nickel matrix provides hardness, wear resistance, and heat resistance. Other elements added to carbide include vanadium, niobium, columbium, and hafnium.','','');
vocab[19] = new Array('Substrate','The body or base layer of something onto which other layers are deposited to form the thin film coating.','','');
vocab[20] = new Array('Crystal Structure','A repeating arrangement of atomic elements or compounds.','Diamonds','diamonds.html');
var order = new Array('8','15','18','20','4','13','6','1','14','3','16','7','10','2','0','19','9','11','12','17','5')

function getVocabList() { //open a new window and display all vocab information
	winPrint=window.open("","","width=700,height=600,menubar,scrollbars=yes,resizable");
	winPrint.document.clear();
	winPrint.document.write(popVocab());
	winPrint.focus();
}	
function popVocab() {
	var textP = '<HTML>\n<HEAD>\n<TITLE>Vocabulary for Thin Films</TITLE>\n<style type="text/css">\nTABLE{color:Black;font:10px Verdana;background-color : #ffffff;}\n</style>\n</HEAD>\n';
	if (is_ie4up) textP += '<script src="highlight.js"></script><BODY>\n<form name="search" onsubmit="javascript:return findInPage()" action="javascript:void(0)"><table cellpadding="1" cellspacing="1" border="0" width=100%>\n<tr><td align="left" colspan="2"><img alt="Thin Film Dictionary" src="images/dictionary.gif">Find a Word on This Page<input name="string" type=text size=15 onChange="n = 0;" value=""><input type="submit" value="Search" onclick="return findInPage()"></td>';
	else textP += '<BODY>\n<table cellpadding="1" cellspacing="1" border="0" width=100%>\n<tr><td align="left" colspan="2"><img alt="Thin Film Dictionary" src="images/dictionary.gif"></td>';
	textP += '<td align="right"><a href="javascript:window.close()">Close</a></td></tr><tr bgcolor="#000099">\n\t<td colspan="3" align="center"><h1><font color="white">Vocabulary for Thin Films</font></h1></td>\n</tr>\n<tr bgcolor="#cccccc">\n\t<td class="lgray">Word / Equation:</td>\n\t<td class="lgray">Meaning:</td>\n\t<td class="lgray">Applies to:</td>\n\t\n</tr>\n';
	a="#ffffff";
	for (iP=0; iP<order.length; iP++) {
	tempv = 0;temp = "";
	if (vocab[order[iP]][0]) {
			temp += "<tr bgcolor=\""+a+"\">\n\t<td>"+vocab[order[iP]][0]+"&nbsp;</td>\n\t<td>"+vocab[order[iP]][1]+"&nbsp;</td>\n\t<td><a href=\"javascript:window.close();window.opener.document.location='"+vocab[order[iP]][3]+"'\">"+vocab[order[iP]][2]+"</a></td>\n\t\n</tr>\n";
			tempv++;
			if (a == "#cccccc") a = "#ffffff";else a = "#cccccc";
	} else { var temp = ""; }
		textP += temp;
	}
	textP += '<tr><td colspan="2" align="left"><font face="arial, helvetica" size="-2">Free JavaScripts provided<br>by <a href="http://javascriptsource.com">The JavaScript Source</a></font></td><td align="right">Created by <a href="mailto:scottvirkler@hotmail.com">Scott Virkler</a></td></tr></table></form>\n</BODY>\n</HTML>';
	return textP;

}

function showVocab(item,event) {
	vocabName = vocab[item][0];
	vocabText = vocab[item][1];
	text = '<font color="#0000FF">'+vocabName+'</font> - '+vocabText;
	if (is_nav6up) {
		theDiv = document.getElementById("vocab");
		tempX = event.clientX+window.scrollX;
		tempY = event.clientY+window.scrollY;
	}
	else if (is_ie4up) {
		theDiv = document.all["vocab"];
		tempX = window.event.clientX + document.body.scrollLeft;
		tempY = window.event.clientY + document.body.scrollTop;
	} else {}
	if (is_ie4up || is_nav6up) { // grab the x-y pos.s if browser is IE
		status = "X: " + tempX + "Y: " + tempY;
		theDiv.style.width = 175;
		theDiv.innerHTML = text;
		theDiv.style.left = 0//tempX;
		if (tempY < 266) tempY = 266;
		theDiv.style.top = tempY;
		theDiv.style.visibility = "visible";
	} else {  // grab the x-y pos.s if browser is NS
		tempX = e.pageX;
		tempY = e.pageY;
		status = "X: " + e.pageX + "Y: " + e.pageY;
		if (tempX < 0){tempX = 0}
		if (tempY < 0){tempY = 0}  
	}  
}
function hideVocab() {
	if (is_ie4up) {
		document.all["vocab"].style.visibility = "hidden";
	} else if (is_nav6up) {
		document.getElementById("vocab").style.visibility = "hidden";
	} else {}
}
