
//----------------------------------------------------------------------------
// docasne pridano pro demonstraci variant prehledu efektu

        function my$(id){return document.getElementById(id);}
        function swapEff(code)
        {
            var name = new Array();
            var desc = new Array();
            
            
            name['AP'] = 'AP-2 Auto Pan';
            name['AT'] = 'AT-2 Auto Tuner';
            name['AW'] = 'AW-2 Auto Wah';
            name['BD'] = 'BD-2 BPM Delay';
            name['BL'] = 'BL-2 Blues Drive';
            name['CH'] = 'CH-2 Chorus';
            name['CHB'] = 'CH-2 Bass Chorus';
            name['CL'] = 'CL-2 Clean Preamp';
            name['CM'] = 'CM-2 Compressor';
            name['CP'] = 'CP-2 Crunch Preamp';
            name['DT'] = 'DT-2 Distortion';
            name['DTB'] = 'DT-2 Bass Distortion';
            name['EC'] = 'EC-2 Exciter';
            name['EG'] = 'EG-2 Expander Gate';
            name['FL'] = 'FL-2 Flanger';
            name['FLB'] = 'FL-2 Bass Flanger';
            name['GE'] = 'GE-2 Graphic Equalizer';
            name['GEB'] = 'GE-2 Bass Graphic Equalizer';
            name['HG'] = 'HG-2 HiGain Preamp';
            name['LC'] = 'LC-2 Level Control';
            name['NG'] = 'NG-2 Noise Gate';
            name['OD'] = 'OD-2 Overdrive';
            name['ODB'] = 'OD-2 Bass Overdrive';
            name['OT'] = 'OT-2 Octaver';
            name['PA'] = 'PA-2 Power Amp';
            name['PE'] = 'PE-2 Parametric equalizer';
            name['PH'] = 'PH-2 Phaser';
            name['PHB'] = 'PH-2 Bass Phaser';
            name['PW'] = 'PW-2 Pedal Wah';
            name['RV'] = 'RV-2 Reverb';
            name['SP'] = 'SP-2 Speaker Simulator';
            name['SPB'] = 'SP-2 Bass Speaker Simulator';
            name['TC'] = 'TC-2 Tone Control';
            name['TCB'] = 'TC-2 BassTone Control';
            name['TR'] = 'TR-2 Tremolo';
            
                
            desc['AP'] = 'This effect provides auto panning in stereo. It always creates stereo output so it can be used like a mono to stereo converter.';
            desc['AT'] = 'AT-2 is an automatic chromatic tuner. It provides an accuracy of 1 cent. If the tone is in tune, the middle green indicator shines. Otherwise the deviation is shown by the red indicators.';
            desc['AW'] = 'AW-2 delivers a wide variety of wah effects, including a dynamics-sensitive picking wah that changes with your picking strength and a modulation wah for automatic wah over a cycle of modulation.';
            desc['BD'] = 'BPM Delay is an effect that creates delayed repetitions of the incoming signal.';
            desc['BL'] = 'This effect has been designed as a natural sounding distortion. It provides sounds from light bluesy to mid driven distortions. It is also excellent for driving following effects, especially tube preamps.';
            desc['CH'] = 'Chorus creates the classic "chorusing" effect, where the incoming signal appears to be doubled.';
            desc['CHB'] = 'Chorus creates the classic "chorusing" effect, where the incoming signal appears to be doubled.';
            desc['CL'] = 'This effect works as a tube preamplifier. It brings a big variety of clean sounds. It is also possible to get very slightly overdriven sound by setting the maximum of the gain control.';
            desc['CM'] = 'Compressor limits the dynamic range of the incoming signal.';
            desc['CP'] = 'The effect works as a tube preamplifier. It makes it possible to get sounds from clean to mediumly distorted crunch sounds.';
            desc['DT'] = 'Distortion creates the classic sound of guitar amplifier distortion, and is useful on many sound sources.';
            desc['DTB'] = 'Distortion creates the classic sound of guitar amplifier distortion, and is useful on many sound sources.';
            desc['EC'] = 'Exciter';
            desc['EG'] = 'Expander-Gate acts as a noise gate, muting the incoming signal when it falls below the set threshold, or as a downward expander, reducing the volume of the incoming signal when it falls below the set threshold.';
            desc['FL'] = 'Flanger creates the classic "flange" sound.';
            desc['FLB'] = 'Flanger creates the classic "flange" sound.';
            desc['GE'] = 'The GE-2 has seven bands ranging from 100 Hz to 6.4 kHz, ideal for guitar sounds, with boost/cut of +/- 18 dB per band. This lets you completely control your sound.';
            desc['GEB'] = 'The GE-2 has seven bands ranging from 50 Hz to 10 kHz, ideal for guitar sounds, with boost/cut of +/- 18 dB per band. This lets you completely control your sound.';
            desc['HG'] = 'The HG-2 operates as a tube preamplifier. It provides a variety of sounds: from clean, through mediumly distorted, up to modern HiGain sounds.';
            desc['LC'] = 'This effect provides the easiest way to adjust the signal level in the effect chain. Also, it changes the stereo properties of the audio signal: It can merge both channels into one, create monophonic signal or swap the left and right channels.';
            desc['NG'] = 'Noise Gate is a dynamics effect whose function is to remove unwanted audio material below a certain threshold.';
            desc['OD'] = 'The Overdrive effect emulates the distortion of an overdriven tube amp. When saturated, it generates a warmer-sounding distortion with response to your picking style than the Distortion effect.';
            desc['ODB'] = 'The Overdrive effect emulates the distortion of an overdriven tube amp. When saturated, it generates a warmer-sounding distortion with response to your picking style than the Distortion effect.';
            desc['OT'] = 'The OT-2 Octaver produces sound one octave above and under the original tone. These two tones can be freely mixed with the input signal.';
            desc['PA'] = 'The Power Amp PA-2 effect is a software simulation of a tube power amplifier. It comprises simulations of four different tube combinations.';
            desc['PE'] = 'PE-2 is a 1-band parametric equalizer. It can be used to boost or cut frequency bands from audio signal using peak filter, adjust treble/bass using high/low shelving filters, or to completely cut highs, lows, or certain frequency range using high/low pass and notch filters.';
            desc['PH'] = 'The PH-2 produces a natural as well as an artificially sounding phasing effect.';
            desc['PHB'] = 'The PH-2 produces a natural as well as an artificially sounding phasing effect.';
            desc['PW'] = 'Pedal Wah is an effect which simulates the wah-wah pedal. It has adjustable resonance, so it can be used for subtle or more pronounced sound and range setting, which was designated to tune the effects lower range, so it can be fine tuned to your guitar or bass.';
            desc['RV'] = 'The RV-2 is a high quality reverb effect which allows you to add space to your recordings. It includes seven high density reverb modes and creates a rich stereo output.';
            desc['SP'] = 'This effect simulates guitar cabinets. You can choose from 15 simulations of 6 models, measured in the near field, far field, on-axis and off-axis.';
            desc['SPB'] = 'This effect simulates guitar cabinets. You can choose from 15 simulations of 6 models, measured in the near field, far field, on-axis and off-axis.';
            desc['TC'] = 'TC-2 is a amp equalizer simulating 5 various types of amplifiers. It controls the volume of three frequency bands.';
            desc['TCB'] = 'TC-2 is a amp equalizer simulating 5 various types of amplifiers. It controls the volume of three frequency bands.';
            desc['TR'] = 'The TR-2 varies the volume of original sound which reproduces the classic tremolo effects of \'60s amps.';

            
            my$('eff-img').src = '/files/images/screenshots/effects_narrow/'+code+'.png';            
            
            my$('eff-name').innerHTML = name[code];
            my$('eff-desc').innerHTML = desc[code];
        
        }
    
    
//     try{    
//         window.addEvent('domready', function() {
//     	//create our Accordion instance
//     	var myAccordion = new Accordion($('effects-left'), 'li.eff-toggler', 'ul.eff-element', {
//         		opacity: false,
//         		onActive: function(toggler, element){
//         			toggler.setStyle('color', 'white');
//         		},
//         		onBackground: function(toggler, element){
//         			toggler.setStyle('color', 'white');
//         		}
//     	   });
//         });
//     }
// 	catch (err){}
