melodyginArr=new Array(0);
melodyginArr[0]='<img src="images/img_melodyginport.jpg" width="350" height="301" border="0" alt="portative melody gin" /><div class="instdesc">Portative Melody Gin</div>';
melodyginArr[1]='<img src="images/img_coinopmelodygin.jpg" width="350" height="298" border="0" alt="coin op melody gin" /><div class="instdesc">Coin-Op Melody Gin</div>';
melodyginArr[2]='<img src="images/img_singingcipher.jpg" width="350" height="726" border="0" alt="singing cipher" /><div class="instdesc">The Singing Cipher</div>';

swarmatronArr=new Array(0);	
swarmatronArr[0]='<img src="images/img_swarmatron.jpg" width="350" height="263" border="0" alt="the swarmatron" /><div class="instdesc">The Swarmatron</div>';
swarmatronArr[1]='<img src="images/img_protoswarmatron.jpg" width="350" height="263" border="0" alt="the prototype swarmatron" /><div class="instdesc">The Prototype Swarmatron</div>';

folksynthArr=new Array(0);	
folksynthArr[0]='<img src="images/img_alphatron.jpg" width="350" height="200" border="0" alt="the alphatron" /><div class="instdescl"><b>The Alphatron</b> is the first prototype Dewanatron. Built in 2002, it is based on an SN76477 chip which supports a two-oscillator synthesizer (with	noise generator) augmented with a custom low pass/band pass filter and full ADSR envelope generator. Three additional pulse width oscillators control internal switching that creates irregular combinations of sound sources and frequency modulation, and generates idiosyncracratic rhythms.</div>';
folksynthArr[1]='<img src="images/img_modela.jpg" width="350" height="263" border="0" alt="the model a" /><div class="instdescl"><b>The Model A</b> is the first cousin of the Alphatron and similar in its	operation and circuit design. Its parlor style console makes it suitable for use in formal living rooms and recital halls and its push-button mixer adds excitement to live performances.</div>';
folksynthArr[2]='<img src="images/img_chua.jpg" width="350" height="366" border="0" alt="the chua" /><div class="instdescl"><b>The Executive Chua Comber</b> is for exploring the chaotic behavior of a circuit designed by mathematician Leon Chua. Two Chua oscillators can be adjusted to independently comb thru various modes of increasing complexity, ultimately reaching mathematical chaos; they can also perturb each other\'s "orbits". It is housed in a former intercom shell.</div>';
folksynthArr[3]='<img src="images/img_astro.jpg" width="350" height="347" border="0" alt="the astro space organ" /><div class="instdescl"><b>The Astro-Space Organ</b> needs no white or black keys. In space there is no tonal center.</div>';
folksynthArr[4]='<img src="images/img_jamboree.jpg" width="350" height="761" border="0" alt="the jamboree" /><div class="instdescl"><b>The Jamboree</b> - a folk melody gin for indoor and outdoor recreational use.</div>';

courtesyArr=new Array(0);	
courtesyArr[0]='<img src="images/img_courtesymod.jpg" width="350" height="263" border="0" alt="the courtesy modulator" /><div class="instdescl"><b>The Courtesy Modulator</b> houses two oscillators, each capable of modulating the other as well as serving adjacent instruments. Valuable auxiliary sine waves are generated and provided to neighboring synthesizers. Each oscillator has controls for frequency, range, volume, and frequency modulation amplitude. A toggle switch divides the realm of sub-audio frequencies from the audio range.</div>';
courtesyArr[1]='<img src="images/img_fourbyfour.jpg" width="350" height="263" border="0" alt="the four by four" /><div class="instdescl"><b>The Four by Four</b> has a grid of 16 potentiometers controlling eight square-wave oscillators, each with a frequency and pulse width control. They are to switch on and off audio signals, control signals, and other signals.  The oscillators may be used in tandem to sum the waves, creating idiosyncratic and unpredictable rhythmic divisions to control a single switch.</div><div class="instdescl">Used as independent voices, audio signals alternately suppressed and released combine to make a chaotic yet canonic polyphony.</div>';
courtesyArr[2]='<img src="images/img_switchyard.jpg" width="350" height="263" border="0" alt="the switchyard" /><div class="instdescl"><b>The Switchyard</b> houses eight junctions in a solid state switching depot. Audio or control signals routed into the junctions can be switched on and off electronically by a remote dispatching device such as the Four by Four.</div><div class="instdescl">The Switchyard receives up to eight ungoverned signals and by means of its octolinear subtractive action restricts their flow, arbitrating and combining them to yield restrained and transparent music.</div> ';
courtesyArr[3]='<img src="images/img_rosterer.jpg" width="350" height="215" border="0" alt="the rosterer" /><div class="instdescl"><b>The Rosterer</b> is a serial row of potentiometers, much like the traditional sequencer, which advances from stage to stage with a unique voltage which can be applied to modulate pitch, time duration, frequency modulation amount, spectrum filter or any other voltage controlled parameter.</div> ';
courtesyArr[4]='<img src="images/img_rotaryordinator.jpg" width="350" height="523" border="0" alt="the rotary ordinator" /><div class="instdescl"><b>The Rotary Ordinator</b>: telephonically controlled timer banks fire triggers for a quartet of built-in analog synthesizers, each with ADSR envelope generators and low pass/band pass filters. While able to perform independently, polyrhythmic music can be expanded by an external trigger output signal to synchronize other instruments to its pulse.</div> ';
courtesyArr[5]='<img src="images/img_cartridge.jpg" width="350" height="228" border="0" alt="the cartridge organ" /><div class="instdescl"><b>The Cartridge Organ</b> fashions live musique concrète from six channels of simultaneously running magnetic tape loop cartridges. Three eight-track tape player mechanisms continuously provide acoustic and electronic sounds recorded over degaussed eight-track tapes; these sounds can be articulated through key switches, envelope generators, filters, etc. Unlike samples, the recorded sounds heard are tiny excerpts from a non-repeating ten-minute tape loop.</div> ';
courtesyArr[6]='<img src="images/img_scrambler.jpg" width="350" height="197" border="0" alt="the sequence scrambler" /><div class="instdescl"><b>The Sequence Scrambler</b> creates an externally triggered sequence whose order can be changed while keeping the potentiometer settings intact. The overall voltage range can be adjusted and inverted separately for each of the three outputs. Used to control audio and control frequencies, filters or any voltage controlled device.</div> ';

dpcArr=new Array(0);	
dpcArr[0]='<img src="images/img_dpc3.jpg" width="362" height="272" border="0" alt="dual primate console" name="dpcpic" />';
dpcArr[1]='<img src="images/img_dpc4.jpg" width="362" height="272" border="0" alt="dual primate console" name="dpcpic" />';
dpcArr[2]='<img src="images/img_dpc5.jpg" width="362" height="272" border="0" alt="dual primate console" name="dpcpic" />';
dpcArr[3]='<img src="images/img_dpc6.jpg" width="362" height="272" border="0" alt="dual primate console" name="dpcpic" />';

wallginArr=new Array(0);	
wallginArr[0]='<img src="images/img_fiddler.jpg" width="350" height="467" border="0" alt="melody gin" /><div class="instdesc">The Fiddler</div>';
wallginArr[1]='<img src="images/img_lamplighter.jpg" width="350" height="467" border="0" alt="the lamplighter" /><div class="instdesc">The Lamp Lighter</div>';
wallginArr[2]='<img src="images/img_clarion.jpg" width="350" height="503" border="0" alt="the clarion" /><div class="instdesc">The Clarion</div>';
wallginArr[3]='<img src="images/img_administrator.jpg" width="350" height="467" border="0" alt="the administrator" /><div class="instdesc">The Administrator</div>';
wallginArr[4]='<img src="images/img_speakerhouse.jpg" width="350" height="497" border="0" alt="the speaker of the house" /><div class="instdesc">The Speaker of the House</div>';
wallginArr[5]='<img src="images/img_commonwealth.jpg" width="350" height="553" border="0" alt="the commonwealth" /><div class="instdesc">The Commonwealth</div>';
wallginArr[6]='<img src="images/img_flyingdutchman.jpg" width="350" height="612" border="0" alt="the flying dutchman" /><div class="instdesc">The Flying Dutchman</div>';
wallginArr[7]='<img src="images/img_householder.jpg" width="350" height="967" border="0" alt="the householder" /><div class="instdesc">The Householder</div>';
wallginArr[8]='<img src="images/img_irregulator.jpg" width="350" height="706" border="0" alt="the irregulator" /><div class="instdesc">The Irregulator</div>';
wallginArr[9]='<img src="images/img_sentinel.jpg" width="350" height="611" border="0" alt="the sentinel" /><div class="instdesc">The Sentinel</div>';
wallginArr[10]='<img src="images/img_sepulchre.jpg" width="350" height="802" border="0" alt="the sepulchre" /><div class="instdesc">The Sepulchre</div>';
wallginArr[11]='<img src="images/img_knave.jpg" width="350" height="931" border="0" alt="the knave" /><div class="instdesc">The Knave</div>';



brooklynArr=new Array(0);	
brooklynArr[0]='<img src="images/img_brooklyn1.jpg" width="250" height="188" border="0" alt="irregular hours" />';
brooklynArr[1]='<img src="images/img_brooklyn2.jpg" width="250" height="188" border="0" alt="irregular hours" />';
brooklynArr[2]='<img src="images/img_brooklyn4.jpg" width="250" height="172" border="0" alt="irregular hours" />';
brooklynArr[3]='<img src="images/img_brooklyn6.jpg" width="250" height="188" border="0" alt="irregular hours" />';





var cyclenum=0;


function cyclepic(inst, dir)
{
	if(dir=="prev")
	{
		cyclenum=cyclenum-1;
		if(cyclenum<0)cyclenum=eval(inst + 'Arr').length-1;
	}
	else
	{
		cyclenum=cyclenum+1;
		if(cyclenum==eval(inst + 'Arr').length)cyclenum=0;
	}
	//document[inst + 'pic'].src='images/' + eval(inst + 'Arr')[cyclenum];
	document.getElementById('picholder').innerHTML = eval(inst + 'Arr')[cyclenum];
}
