galleryDirectory = 'eurocopter/astar/';
var advantageMediaDirectory = 'eurocopter/astar/';
var choppers = new Array();
choppers['1'] = {'name':'Eurocopter AS350B3 A-Star','description':'<p>The A-star B3 is arguably the most powerful, fastest, and versatile medium single helicopter in the world. Paradigm Helicopters chose the A-star B3 to be able to surpass our competitor\'s<span id="chopperImage"><img src="images/smallastar.jpg" alt="" /></span> Bell 407 capability. You will enjoy cruise airspeeds in excess of <strong><span class="yellowtext">150 MPH</span></strong>, while being able to carry up to <strong><span class="yellowtext">5</span></strong> passengers in addition to the pilot. The B3 will out perform all aspects of the Bell 407 and will do it in a much safer platform. The B3 boasts Dual independent hydraulic systems and dual electronic fuel control computers. This level of safety and redundancy was only previously found in much larger multi-engine helicopters.</p><p>Paradigm\'s B3 has a large comfortable <strong><span class="yellowtext">AIR CONDITIONED</span></strong> cabin laid out in an open cockpit design. There is no "back seat", so all passengers have unprecedented visibility. Our aircraft have unlimited peripheral power supply access for all your carry on electronic needs. We have Bluetooth headset capability, which affords our clients to utilize their own cell phones comfortably through our aircraft\'s headset system.</p><p><strong><span class="yellowtext">COME FLY PARADIGM\'S STATE-OF-THE-ART FLEET!</span></strong></p>','passengers':5,'engine-type':'Turbomeca Ariel 2B1','engine-power':847,'load':2454,'speed':137,'speed-cruise':' Cruise','range-distance':349,'range-time':4.2,'passRate':2050,'passRateNight':2150,'transRate':1700,'dayRate':4000,'dayDTRate':1100,'displayRate':'$2050.00','displayRateNight':'$2150.00','displayDayRate':'<strong>$4000.00</strong>/day +<strong>$1100.00</strong>/hr','performance':'','flexibility':'','handling':''}
/*
choppers['2'] = {'name':'Enstrom 480B','description':'<p>The Enstrom 480 was developed to be an equally competent, light turbine helicopter to a market historically dominated by the Bell 206B Jet Ranger and MD500. A thorough development program, <span id="chopperImage"><img src="images/small480b.jpg" alt="" /></span> which included three test aircraft and over <strong><span class="yellowtext">1500</span></strong> hours of flight verification, led to FAA certification to <strong><span class="yellowtext">FAR 27</span></strong> standards in 1994. FAR 27</span> is a more current and rigorous certification basis than that achieved by the competitors in this class.</p><p>The 480B series has now been certified in <strong><span class="yellowtext">16</span></strong> countries and has already been operated in <strong><span class="yellowtext">18</span></strong> countries. With over <strong><span class="yellowtext">90</span></strong> aircraft in the field now, the 480B is proving to be a popular choice for a wide range of applications, including personal transport, flight instruction, law enforcement, power line patrol, executive transport (charter), electronic news gathering, pipeline patrol, aerial photography, sightseeing, and cargo/passenger delivery.</p>','passengers':3,'engine-type':'Rolls-Royce 250-C20W','engine-power':420,'load':1180,'speed':110,'speed-cruise':' Cruise','range-distance':355,'range-time':4.5,'passRate':1075,'passRateNight':1175,'transRate':775,'dayRate':2000,'dayDTRate':600,'displayRate':'$1075.00','displayRateNight':'$1175.00','displayDayRate':'<strong>$2000.00</strong>/day +<strong>$600.00</strong>/hr','performance':'','flexibility':'','handling':''}
*/
choppers['2'] = {'name':'Eurocopter EC120B Colibri','description':'<p>The EC120B Colibri, also known as the "Hummingbird" is one of the worlds quietest and most advanced helicopters ever built.  Its performance, versatility, comfort and low noise profile<span id="chopperImage"><img src="images/smallcolibri.jpg" alt="" /></span> makes this helicopter the choice of discerning entities all over the world.  This aircraft brings together the latest technologies in a lightweight, single-engine platform that comfortably seats the pilot and four passengers in a wide, unobstructed cabin. In addition to an exceptionally low vibration level, passengers appreciate the EC120\'s ample leg room and <strong><span class="yellowtext">AIR CONDITIONED</span></strong> environment. Adding to the helicopter\'s functionality is a panoramic view through its expansive glass windscreen and side windows, providing unmatched visibility for all those aboard.  The EC120B is the first single-engine helicopter to meet the requirements of the new FAR 27 safety regulations (structurally energy attenuating fuel system, pilot and passenger seats).</p><p>With its spacious cabin, unparalleled visibility and large compartment for baggage or cargo, the EC 120B is perfectly suited for transporting passengers anywhere.  Its <strong><span class="yellowtext">AIR CONDITIONED</span></strong> system, low vibration and noise level assure passenger comfort even on long rides.</p><p>The new generation of the Fenestron&reg; tail rotor is absolutely <strong><span class="yellowtext">STATE-OF-THE-ART</span></strong>.  It provides low noise level, high ground clearance, and unprecedented safety both on the ground and in flight.</p><p><strong><span class="yellowtext">COME FLY PARADIGM\'S STATE-OF-THE-ART FLEET!</span></strong></p>','passengers':4,'engine-type':'Turbomeca Arrius 2F','engine-power':504,'load':1590,'speed':120,'speed-cruise':' Cruise','range-distance':383,'range-time':4.3,'passRate':1135,'passRateNight':1275,'transRate':1015,'dayRate':2200,'dayDTRate':700,'displayRate':'$1135.00','displayRateNight':'$1215.00','displayDayRate':'<strong>$2200.00</strong>/day +<strong>$700.00</strong>/hr','performance':'','flexibility':'','handling':''}
choppers['3'] = {'name':'Schweizer 300C','description':'<p>The 300C is an extremely versatile light utility, piston-powered helicopter. Its wide range of options and accessories make the 300C easily adaptable to a multitude of diverse missions. <span id="chopperImage"><img src="images/small300c.jpg" alt="" /></span>Its unequaled maneuverability, impressive useful load and outstanding range and endurance allow the 300C to perform in environments where other piston helicopters fall short. The Schweizer Model 300C helicopter is known the world over as the finest and most versatile piston engine helicopter.</p><p style="padding-top: 15px;"><strong><span class="yellowtext">COME FLY PARADIGM\'S STATE-OF-THE-ART FLEET!</span></strong></p>','passengers':1,'engine-type':'Lycoming HIO-360','engine-power':190,'load':0,'speed':86,'speed-cruise':'','range-distance':191,'range-time':2.3,'passRate':360,'passRateNight':400,'transRate':0,'dayRate':0,'dayDTRate':0,'displayRate':'$360.00','displayRateNight':'$400.00','displayDayRate':'','performance':'','flexibility':'','handling':''}

function switchChopper(chopper)
{
if (chopper == 2) 
	{
	updateThumbnails('Colibri');
	document.getElementById('diagram').src = 'images/diagram-ec120.gif';
	}
else if (chopper == 3) 
	{
	updateThumbnails('Schweizer');
	document.getElementById('diagram').src = 'images/diagram-300c.gif';
	}
else {
	updateThumbnails('A-Star');
	document.getElementById('diagram').src = 'images/diagram-astar.gif';
	}
document.getElementById('tab1Cont').className = 'chopperoff';
document.getElementById('tab2Cont').className = 'chopperoff';
document.getElementById('tab3Cont').className = 'chopperoff';
document.getElementById('helitabsec').style.backgroundImage = "url('images/fleettabbg"+chopper+".jpg')";
document.getElementById('tab'+chopper+'Cont').className = 'chopperon';
document.getElementById('chopperName').innerHTML = choppers[chopper]['name'];
document.getElementById('chopperDescription').innerHTML = choppers[chopper]['description'];
document.getElementById('engine-type').innerHTML = choppers[chopper]['engine-type'];
document.getElementById('engine-power').innerHTML = choppers[chopper]['engine-power'];
document.getElementById('passengers').innerHTML = choppers[chopper]['passengers'];
document.getElementById('speed').innerHTML = choppers[chopper]['speed'];
document.getElementById('speed-cruise').innerHTML = choppers[chopper]['speed-cruise'];
document.getElementById('range-distance').innerHTML = choppers[chopper]['range-distance'];
document.getElementById('range-time').innerHTML = choppers[chopper]['range-time'];
document.getElementById('hrate').innerHTML = choppers[chopper]['displayRate'];
document.getElementById('nrate').innerHTML = choppers[chopper]['displayRateNight'];
if (choppers[chopper]['load'] == 0) {document.getElementById('loadContainer').style.display='none';}
else {
	document.getElementById('loadContainer').style.display='';
	document.getElementById('load').innerHTML = choppers[chopper]['load'];
	}
if (choppers[chopper]['displayDayRate'] == '') {document.getElementById('drateContainer').style.display='none';}
else {
	document.getElementById('drateContainer').style.display='';
	document.getElementById('drate').innerHTML = choppers[chopper]['displayDayRate'];
	}
document.getElementById('gallerybarChopper').innerHTML = choppers[chopper]['name'];
advantageMediaDirectory = galleryDirectory;
document.getElementById('specs-image').src = 'images/'+advantageMediaDirectory+'specs.jpg';
document.getElementById('rates-image').src = 'images/'+advantageMediaDirectory+'rates.jpg';
document.getElementById('diagramBarChopper').innerHTML = choppers[chopper]['name'];

}

function toggleElement(id) {
var contentID = id+'Content';
var actionID = id+'Action';
if (document.getElementById(contentID).style.display == 'none')
	{
	document.getElementById(actionID).innerHTML = '- Hide';
	document.getElementById(contentID).style.display = '';
	}
else {
	document.getElementById(actionID).innerHTML = '+ View';
	document.getElementById(contentID).style.display = 'none';
	}
}