/* This code is Copyright (c) 1996 Nick Heinle and Athenia Associates, 
 * all rights reserved. In order to receive the right to license this 
 * code for use on your site the original code must be copied from the
 * Web site webreference.com/javascript/. License is granted to user to 
 * reuse this code on their own Web site if and only if this entire copyright
 * notice is included. Code written by Nick Heinle of webreference.com.


var wordArray = new makeArray('Oui', 'Yes', 'Da', 'Si');
var musicArray = new makeArray('../music/pop/relief1.mid', '../music/soundtrk/algarve1.mid', '../music/soundtrk/prelude1.mid', '../music/funky/groovy1.mid');

function makeArray(){
this.length = makeArray.arguments.length
for (var i = 0; i < this.length; i++)
this[i + 1] = makeArray.arguments[i]
}

function randNum (num) {
var now = new Date();
var rand = Math.round(num * Math.cos(now.getTime()));
if (rand < 0) rand = - rand; if (rand == 0) rand++;
return rand;
}
</SCRIPT>
</HEAD>
<BODY>
Here is a random word:
<SCRIPT>
document.write (wordArray[randNum(wordArray.length)]) 
</SCRIPT>
Here is a random song:
<SCRIPT>
document.write ('<EMBED CONTROLS = SMALLCONSOLE AUTOSTART = TRUE HEIGHT = 15 WIDTH = 140 LOOP = TRUE SRC = ' + musicArray[randNum(musicArray.length)] + '>');
</SCRIPT>
</BODY>
</HTML>
 */
 
var wordArray = new makeArray(
	'<h4 class="clipsfont">Massive Volume of Data to Characterize Turbine Rotors</h4><p class="clipsfont">&ldquo;<a href="turbine.html?pg=apps" class="links">...centering the huge rotors and rotating them while keeping them on center to a degree that won\'t affect the measurements is very difficult. But the hardest part has always been processing the enormous volume of data. ...I decided to take a different approach.</a>&rdquo;<br /><i>Neill Fleeman, Technical Director, Turbine Metrology LLC</i> (on the advantages of onboard processing)</p>', 

	'<h4 class="clipsfont">Acoustic Analysis Monitors Infrastructure</h4><p class="clipsfont">&ldquo;<a href="../apeng/pure.html?pg=apps" class="links">Microstar understands how people write software, and tailored their API so it really makes sense.</a>&rdquo;<br /><i>Monroe Thomas, Vice President, Pure Technologies Ltd</i></p>', 

	'<h4 class="clipsfont">Insights into Arrythmia</h4><p class="clipsfont">Dr. Stephan Rohr uses multi-channel features of DAP data acquisition boards to track impulse propagation at the cellular level through heart tissue.</p><p class="clipsfont">&ldquo;<a href="../apeng/bern.html?pg=apps" class="links">Previous A/D cards had to interact with the computer\'s operating system, which tended to disrupt measurements. Because DAPs are self-contained, they perform the data conversion very reliably and aren\'t affected by what the host computer is doing.</a>&rdquo;<br /><i>Dr Stephan Rohr, University of Bern</i></p>', 

	'<h4 class="clipsfont">Two-Dynamometer System Slip-Tests Transmission Components</h4><p class="clipsfont">&ldquo;<a href="../apeng/com.html?pg=apps" class="links">One of the keys to the success of this project was our ability to add a real-time processor to a PC in order to keep the mission-critical functions in a separate processor.</a>&rdquo;<br /><i>John Ritter, VP System Development, FCS-COM</i></p>',

	'<h4 class="clipsfont">The Quest for Improved Sound Quality</h4><p class="clipsfont">&ldquo;<a href="../apeng/piano.html?pg=apps" class="links">With a DAP, we can quickly convert a large amount of data into useful information. The other advantage is cost. With this device, we created a relatively inexpensive testing system, yet one that plays an important role in Petrof\'s quest for ways to further improve sound quality.</a>&rdquo;<br /> <i>Jan Skala, Petrof ltd</i> [Europe\'s largest piano manufacturer]</p>',

	'<h4 class="clipsfont">Onboard Intelligence Coordinates Complex Test Process</h4><p class="clipsfont">A versatile automobile seat tester using a DAP board outperforms similar systems based on PLC controls, coordinating strength, deflection, fatigue, and crash tests.</p><p class="clipsfont">&ldquo;<a href="../apeng/tmsi.html?pg=apps" class="links">The DAP let us build a great deal of functionality into this system at a very competitive price.</a>&rdquo;<br /><i>Dr. Jerry Potts, President, TMSI</i></p>',

	'<h4 class="clipsfont">Spectral Analysis of Broadband Sonar Identifies Fish</h4><p class="clipsfont">A ship-board real-time analysis system measures fish species, depth and population size. Each &ldquo;ping&rdquo; represents 100,000 data points. The system typically sends one ping per second.</p><p class="clipsfont">&ldquo;<a href="../apeng/scifish2.html?pg=apps" class="links">If we had tried to use Windows for handling all this data, we wouldn\'t have gotten real-time readings. With the DAP, a PC becomes a viable platform for this demanding application.</a>&rdquo;<br /> <i>Skip Denny, Chief Sonar Engineer, Scientific Fishery Systems Inc. (SciFish)</i></p>',

	'<h4 class="clipsfont">Simultaneous Control and Analysis for Muscle Mechanics Research</h4><p class="clipsfont">On the DAP board, an &ldquo;<a href="../apeng/slc.html?pg=apps" class="links">algorithm repeatedly updates the command signal controlling the actuator position and it continually samples analog waveforms representing the overall length, tension and sarcomere length of the preparation. [It injects] negative feed back to \'clamp\' any one of the acquired signals at a constant level.</a>&rdquo;<br /> <i>Kenneth S. Campbell, PhD, University of Kentucky</i></p>'

);
 
function makeArray(){
this.length = makeArray.arguments.length
for (var i = 0; i < this.length; i++)
this[i + 1] = makeArray.arguments[i]
}

function randNum (num) {
var now = new Date();
var rand = Math.round(num * Math.cos(now.getTime()));
if (rand < 0) rand = - rand; if (rand == 0) rand++;
return rand;
}

