window.onload = initAll;

var desc = "Hover over a company name to view information about our clients.";
var clientLink = "client list";
var path = "logos2/";
var type = ".gif";
var linkText = "Client Website";
var currClientId = null;
var currClientLink = null;
var currClientDesc = null;
var hoverColor = 'd8e2e2';
var outColor = 'FFFFFF';

function initAll() { 
	showDescription();
	imagePreloader();
}

function imagePreloader() {
	var i = 0;
	var myImages = new Array([path] + "blank.gif", [path] + "aero.gif", [path] + "airaid.gif", [path] + "arp.gif",  [path] + "baer.gif", [path] + "bulldog.gif",  [path] + "center.gif",  [path] + "comp.gif",  [path] + "edel.gif",  [path] + "edge.gif",  [path] + "energy.gif",  [path] + "fitch.gif",  [path] + "grant.gif",  [path] + "hedman.gif",  [path] + "kc.gif",  [path] + "mahle.gif",  [path] + "msd.gif",  [path] + "painless.gif",  [path] + "revtek.gif",  [path] + "russell.gif",  [path] + "super.gif",  [path] + "tci.gif",  [path] + "td.gif",  [path] + "genn.gif",  [path] + "griffin", [path] + "cobra.gif",  [path] + "egr.gif",  [path] + "gobo.gif");
	for (i=0; i<23; i++) {
		imageObj = new Image();
		imageObj.src = myImages[i];
		}	
	}

function showDescription() {
	document.getElementById("description").innerHTML = "<br><b>" + desc + "</b>";
	document.getElementById("clientLink").innerHTML = "<i>" + clientLink + "</i>";
	document.getElementById("logo").src = path + "blank" + type;
}		

function rollOut() {
	document.getElementById([currClientId] + "Cell").style.backgroundColor = outColor;
}

function rollOver() {
	document.getElementById("logo").src = path + currClientId + type;
	document.getElementById("description").innerHTML = currClientDesc;
	document.getElementById("clientLink").innerHTML = "<a href=" + currClientLink + ">" + linkText + "</a>";
	document.getElementById([currClientId] + "Cell").style.backgroundColor = hoverColor;
}

// AIRAID
function airaidChange() {
	var airaidDesc = "AirAid specializes in intake systems and filters that are specifically designed to take full advantage of today's vehicle technology. Performance is in the latest dyno-proven techniques and innovative designs to improve upon intake system efficiency.";
	var airaidSite = 'http://www.airaid.com';
	currClientId = "airaid";
	currClientLink = airaidSite;
	currClientDesc = airaidDesc;
	rollOver();
}

// AUTOMOTIVE RACING PRODUCTS
function arpChange() {
	var arpDesc = "Automotive Racing Products produces a line of fasteners which includes virtually every fastener found in an engine and driveline. These range from quality high performance OEM replacement parts to exotic specialty hardware for Formula 1, IndyCar, NASCAR and NHRA drag racing and marine applications.";
	var arpSite = 'http://www.arp-bolts.com';
	currClientId = "arp";
	currClientLink = arpSite;
	currClientDesc = arpDesc;
	rollOver();
	}

// AEROMOTIVE
function aeroChange() {
	var aeroDesc = "Aeromotive fuel systems have become the absolute pinnacle in performance products. Through a rich racing heritage, real world testing and pure passion for performance, Aeromotive is fueling World Champions and enthusiasts alike. With a complete offering of fuel pumps, pressure regulators, filters and complete systems, Aeromotive offers the best in fuel delivery for everyone.";
	var aeroSite = 'http://www.aeromotiveinc.com';	
	currClientId = "aero";
	currClientLink = aeroSite;
	currClientDesc = aeroDesc;
	rollOver();
	}

// BAER BRAKE SYSTEMS
function baerChange() {
	var baerDesc = "Baer offers the industry's most complete line of performance brake products, from the new DecelaRotorTM line, offering entry level enthusiasts direct OE replacement rotors, to the family of race and road-going systems engineered and manufactured entirely by Baer.";
	var baerSite = 'http://www.baer.com';
	currClientId = "baer";
	currClientLink = baerSite;
	currClientDesc = baerDesc;
	rollOver();
}

// BULLDOG WINCHES
function bulldogChange() {
	var bulldogDesc = "Bulldog Winches Company is a brand new company introducing a complete line of winches and winch accessories. Bulldog's focus is on quality, durable winches at competitive pricing. Extensive testing has proven these winches hold up under extreme conditions. Bulldog products open up a new customer base with its retail pricing up to 50% lower than competitive products. <p>(Midwest region only)</p>";
	var bulldogSite = 'http://www.bulldogwinch.com';
	currClientId = "bulldog";
	currClientLink = bulldogSite;
	currClientDesc = bulldogDesc;
	rollOver();
}

 // CENTERFORCE
function centerChange() {
	var centerDesc ="Centerforce performance clutches and flywheels are designed as bolt-in, factory styled components for easy installation. From a mildly modified daily driver to a full-on performance weekend racer, Centerforce offers multiple levels of clutches to perfectly meet the requirements of the driver and their vehicle. Centerforce is your link to performance!";
	var centerSite = 'http://www.centerforce.com';
	currClientId = "center";
	currClientLink = centerSite;
	currClientDesc = centerDesc;
	rollOver();
}

// COMP CAMS
function compChange() {
	var compDesc = "Comp Cams manufactures the most technologically advanced valve train components in the industry, for everything from high performance street applications to winning NASCAR and NHRA engines.";
	var compSite = 'http://www.compcams.com';
	currClientId = "comp";
	currClientLink = compSite;
	currClientDesc = compDesc;
	rollOver();
} 

// EDELBROCK
function edelChange() {
	var edelDesc = "One of the cornerstones of the 'hot rod' industry, today Edelbrock produces more than 8,100 performance products for domestics and imports, including nitrous systems, fuel rails, throttle bodies, exhaust headers, camshafts, fuel pumps, aluminum manifolds, turbos, exhaust systems, suspension and shocks, EFI systems, aluminum cylinder heads, water pumps, crate engines, brake and fuel lines and fluid transfer products. Edelbrock also manufactures aftermarket parts for Harley-Davidson and other motorcycles, plus ATVs.";
	var edelSite = 'http://www.edelbrock.com';
	currClientId = "edel";
	currClientLink = edelSite;
	currClientDesc = edelDesc;
	rollOver();
}

 // EDGE PRODUCTS
function edgeChange() {
	var edgeDesc = "Edge Products is a manufacturer of high-quality performance electronics for diesel applications. Whether you want power to tow, power to go or a simple increase in fuel efficiency, Edge Products will improve the capabilities and enjoyment of your vehicle.";
	var edgeSite = 'http://www.edgeproducts.com';
	currClientId = "edge";
	currClientLink = edgeSite;
	currClientDesc = edgeDesc;
	rollOver();
}

 // ENERGY SUSPENSION
function energyChange() {
	var energyDesc =  "Manufacturer of performance polyurethane SUSPENSION components for import and domestic cars, trucks and SUVs. Includes bushings for sway bars, control arms and leaf springs, motor and transmission mounts, body mounts and bumpstops."
	var energySite = 'http://www.energysuspension.com';
	currClientId = "energy";
	currClientLink = energySite;
	currClientDesc = energyDesc;
	rollOver();
}

 // FITCH FUEL CATALYST
function fitchChange() {
	var fitchDesc = "The Fitch Fuel Catalyst transforms gasoline and diesel into a superior quality of fuel, allowing a combustion engine to extract the maximum amount of energy with minimal emissions. Get more performance out of your engines for less: less money, less pollution, and less maintenance headaches.";
	var fitchSite = 'http://www.fitchfuelcatalyst.com';
	currClientId = "fitch";
	currClientLink = fitchSite;
	currClientDesc = fitchDesc;
	rollOver();
}

 // GRANT PRODUCTS
function grantChange() {
	var grantDesc = "Grant Products is the largest manufacturer of custom steering wheels in the USA. For over forty years, Grant has manufactured the highest quality, most innovative products that add personal style to any car or truck.";
	var grantSite = 'http://www.grantproducts.com';
	currClientId = "grant";
	currClientLink = grantSite;
	currClientDesc = grantDesc;
	rollOver();
}

 // HEDMAN HEDDERS
function hedmanChange() {
	var hedmanDesc = "Hedman Hedders has led the performance exhaust industry for 50 years. As a premier manufacturer of headers, h-pipes, exhaust tips, mufflers, exhaust systems and accessories, Hedman can offer the world's greatest selection of street headers, racing headers and performance exhaust systems.";
	var hedmanSite = 'http://www.hedman.com';
	currClientId = "hedman";
	currClientLink = hedmanSite;
	currClientDesc = hedmanDesc;
	rollOver();
}

 // KC HILITES
function kcChange() {
	var kcDesc = "KC HiLiTES is the dominant force in auxiliary and off road lighting! As the original manufacturer of off road lighting, beginning with the Daylighter®, they have established a rock solid reputation for quality and performance. Specializing in the Truck, SUV, Jeep and 4x4 markets, their product offering continues to evolve. KC HiLiTES offers a complete line of auxiliary Fog & Driving lights, Off Road lights, HID systems, Flood lights, Light Bars, light Covers, Wiring accessories as well as other specialized lighting products."
	var kcSite = 'http://www.kchilites.com';
	currClientId = "kc";
	currClientLink = kcSite;
	currClientDesc = kcDesc;
	rollOver();
}

 // MAHLE MOTOR SPORTS
function mahleChange() {
	var mahleDesc = "From powering the Champions in the world’s premier racing series to delivering winning performance at local dirt tracks around the country, MAHLE means performance! MAHLE Motorsports was founded in 2000 to bring the MAHLE tradition of excellence and performance to the North American motorsport marketplace. Today, MAHLE is more than pistons. They also produce a line of piston rings that is setting new standards for quality and performance while offering value that is unsurpassed in the industry.";
	var mahleSite = 'http://www.mahlemotorsports.com';
	currClientId = "mahle";
	currClientLink = mahleSite;
	currClientDesc = mahleDesc;
	rollOver();
}

 // MSD IGNITION
function msdChange() {
	var msdDesc = "Manufacturer of performance and racing ignition controls, distributors, coils, plug wires and accessories. Also starters, alternators, powersport ignition systems and fuel-injection components.";
	var msdSite = 'http://www.msdignition.com';
	currClientId = "msd";
	currClientLink = msdSite;
	currClientDesc = msdDesc;
	rollOver();
}

 // PAINLESS PERFORMANCE
function painlessChange() {
	var painlessDesc = "Painless Performance manufacturers high end wiring harnesses for cars and trucks. From race cars and hot rods to street machines for your level of performance or auto restoration needs.";
	var painlessSite = 'http://www.painlessperformance.com';
	currClientId = "painless";
	currClientLink = painlessSite;
	currClientDesc = painlessDesc;
	rollOver();
}

 // REVTEK
function revtekChange() {
	var revtekDesc = "Revtek is a manufacturer of rugged and affordable Suspension Lift Systems. Present applications include most late model Toyota trucks and SUVs, Ford SuperDuty trucks and Excursion SUV, Dodge Ram trucks, the Jeep Liberty and the Nissan Titan.";
	var revtekSite = 'http://www.revtek.com';
	currClientId = "revtek";
	currClientLink = revtekSite;
	currClientDesc = revtekDesc;
	rollOver();
}

 // RUSSELL PERFORMANCE
function russellChange() {
	var russellDesc = "Russell Performance, an Edelbrock company, has been the leader in advanced fluid transfer for over a quarter of a century. They produce a complete line of hose and fittings for fuel, brake, water and oil systems for automotive, motorcycle and marine as well as an array of performance accessories.";
	var russellSite = 'http://www.russellperformance.com';
	currClientId = "russell";
	currClientLink = russellSite;
	currClientDesc = russellDesc;
	rollOver();
}

 // SUPERCHIPS
function superChange() {
	var superDesc = "Superchips is the leader in electronic tuning products for late model cars and light trucks. Founded in England in 1983, Superchips was one of the first companies to specialize in tuning vehicles with computer controlled fuel-injection systems. Today, Superchips primarily sells hand-held tuners which achieve the same dramatic drivetrain improvements, without the hassle of popping the hood, pulling out the vehicle control module and replacing a chip.";
	var superSite = 'http://www.superchips.com';
	currClientId = "super";
	currClientLink = superSite;
	currClientDesc = superDesc;
	rollOver();
}

 // TCI AUTOMOTIVE
function tciChange() {
	var tciDesc =  "TCI's track-tested transmissions, torque converters and components can turn that muscle into rear-wheel power. Designed, built and tested by hardcore racers and enthusiasts, TCI transmission products are specifically engineered to crank out race-winning power mile after grueling mile, run after punishing run.";
	var tciSite = 'http://www.tciauto.com';
	currClientId = "tci";
	currClientLink = tciSite;
	currClientDesc = tciDesc;
	rollOver();
}

 // TD PERFORMANCE
function tdChange() {
	var tdDesc =  "Originally synonymous with transmission adapters, 45 years later, the name Trans-Dapt is also known worldwide for advanced designed carburetor and EFI spacers, engine swap motor mounts, oil filtration products, customizing products and nearly 1400 other quality products to make your Car, Truck, SUV or Marine application run at peak performance.";
	var tdSite = 'http://www.tdperformance.com';
	currClientId = "td";
	currClientLink = tdSite;
	currClientDesc = tdDesc;
	rollOver();
}
// Gennie Shifter
function gennChange() {
	var gennDesc = "Gennie Shifter, a manufacturer of the highest quality aftermarket parts including; shifters, indicators, e-brakes handles & cables, throttle & kick down cables, brake & throttle pedal assemblies, engine & transmission dipsticks, shift knobs, brodie knobs, & shift knob adapters. 'The Original & Still the Best™'"
	var gennSite = 'http://www.gennieshifter.com';
	currClientId = "genn";
	currClientLink = gennSite;
	currClientDesc = gennDesc;
	rollOver();
}

// EGR
function egrChange() {
	var egrDesc = " The Group’s Automotive Division is the preferred designer and manufacturer of thermoformed automotive parts to nearly 50 OEMs around the world. Its product range includes Ground Effect kits, Spoilers, Hoodshields and WindowVisors. As well as supplying many OEMs, the Corporation also services the North American aftermarket and offers a wide range of high quality products including SuperGuards, In Channel Slimline WindowVisors, Fender Flares and SunRoof Visors."
	var egrSite = 'http://www.egrusa.com/';
	currClientId = "egr";
	currClientLink = egrSite;
	currClientDesc = egrDesc;
	rollOver();
}
// GOBO
function goboChange() {
	var goboDesc = "GOBOXES, LLC, introduced their new line of patent pending, premium quality, logo shaped toolboxes at the 2007 SEMA show. GOBOXES has obtained license agreements from General Motors and the Ford Motor Company to produce a variety of specialty toolboxes, work benches and roller carts in several sizes and color combinations which display the owner’s brand loyalty. John Whitaker, designer and President of GOBOXES, LLC, has taken some of the world’s most recognizable trademarks, the Chevrolet Bowtie and the Ford oval and turned an ordinary toolbox into a piece of art that any car enthusiast would love to have in their garage."
	var goboSite = 'http://www.goboxes.com';
	currClientId = "gobo";
	currClientLink = goboSite;
	currClientDesc = goboDesc;
	rollOver();
}
// COBRA TIES
function cobraChange() {
	var cobraDesc = "Cobra Cable Ties sets the standard in premium cable tie fasteners with the all new low profile Cobra Ties.  The low profile tie is Snagproof, UV rated, extremely durable and proudly made in the USA.  Cobra also offers a complete line of traditional cable ties, specialty ties as well as top notch tools of the trade."
	var cobraSite = 'http://cobracabletie.com/';
	currClientId = "cobra";
	currClientLink = cobraSite;
	currClientDesc = cobraDesc;
	rollOver();
}
// GRIFFIN
function griffinChange() {
	var griffinDesc = "Griffin Thermal Products offers over 100,000 top of the line radiators for cars and trucks.  Since 1981 Griffin has been known for their outstanding quality products, Griffin aluminum radiators set the standard on the street, off road or race track. Griffin also offers a complete line of accessories including intercoolers, electric fans, billet catch cans and much more. Griffin products are proudly made in the USA."
	var griffinSite = 'http://www.griffinrad.com/';
	currClientId = "griffin";
	currClientLink = griffinSite;
	currClientDesc = griffinDesc;
	rollOver();
}
	
/* Default Client Template
// CLIENTNAME
function xxxChange() {
	var xxxDesc = "xxxxx."
	var xxxSite = 'http://www.XXX.com';
	currClientId = "xxx";
	currClientLink = xxxSite;
	currClientDesc = xxxDesc;
	rollOver();
}

//on HTML side
<td id="xxxCell">
<a href="" id="xxxId" onmouseover="xxxChange();" onmouseout="rollOut();" onclick="return false;">
*/