// JavaScript Manufacturers

// Initialise the effects

var renata, ate, bourns, cardinal, crystek, ctech, euroquartz, fox, htr, hymeg, iqd, koa, mc, millmax, mtron, piher, raltron, mec, tt, tyco, aker, mmd, hosonic, sir, abracon, newsun, viking, liket, tepro, interquip;



window.onload = function() {
	
	newsun = new fx.Combo('newsun', {height: true, opacity: true, duration: 500});
	viking = new fx.Combo('viking', {height: true, opacity: true, duration: 500});
	liket = new fx.Combo('liket', {height: true, opacity: true, duration: 500});
	tepro = new fx.Combo('tepro', {height: true, opacity: true, duration: 500});
	
	renata = new fx.Combo('renata', {height: true, opacity: true, duration: 500});

	ate = new fx.Combo('ate', {height: true, opacity: true, duration: 500});

	bourns = new fx.Combo('bourns', {height: true, opacity: true, duration: 500});

	cardinal = new fx.Combo('cardinal', {height: true, opacity: true, duration: 500});

	crystek = new fx.Combo('crystek', {height: true, opacity: true, duration: 500});

	ctech = new fx.Combo('ctech', {height: true, opacity: true, duration: 500});

	euroquartz = new fx.Combo('euroquartz', {height: true, opacity: true, duration: 500});
	
	fox = new fx.Combo('fox', {height: true, opacity: true, duration: 500});

	htr = new fx.Combo('htr', {height: true, opacity: true, duration: 500});

	hymeg = new fx.Combo('hymeg', {height: true, opacity: true, duration: 500});
	
	iqd = new fx.Combo('iqd', {height: true, opacity: true, duration: 500});

	koa = new fx.Combo('koa', {height: true, opacity: true, duration: 500});
	
	mec = new fx.Combo('mec', {height: true, opacity: true, duration: 500});

	mc = new fx.Combo('mc', {height: true, opacity: true, duration: 500});

	millmax = new fx.Combo('millmax', {height: true, opacity: true, duration: 500});

	mtron = new fx.Combo('mtron', {height: true, opacity: true, duration: 500});

	piher = new fx.Combo('piher', {height: true, opacity: true, duration: 500});

	raltron = new fx.Combo('raltron', {height: true, opacity: true, duration: 500});
	
	sir = new fx.Combo('sir', {height: true, opacity: true, duration: 500});

	tyco = new fx.Combo('tyco', {height: true, opacity: true, duration: 500});
  
  	aker = new fx.Combo('aker', {height: true, opacity: true, duration: 500});
  
  	mmd = new fx.Combo('mmd', {height: true, opacity: true, duration: 500});
  
	hosonic = new fx.Combo('hosonic', {height: true, opacity: true, duration: 500});
	abracon = new fx.Combo('abracon', {height: true, opacity: true, duration: 500});
	interquip = new fx.Combo('interquip', {height: true, opacity: true, duration: 500});


	

	// Hide them to begin with

	newsun.hide();
	viking.hide();
	liket.hide();
	tepro.hide();
	renata.hide();
	ate.hide();
	bourns.hide();
	cardinal.hide();
	crystek.hide();
	euroquartz.hide();
	fox.hide();
	mec.hide();
	htr.hide();
	hymeg.hide();
	iqd.hide();
	koa.hide();
	ctech.hide();
	mc.hide();
	millmax.hide();
	mtron.hide();
	piher.hide();
	raltron.hide();
	sir.hide();
	tyco.hide();
	aker.hide();
	mmd.hide();
	hosonic.hide();
	abracon.hide();
	interquip.hide();
	
	externalLinks();

}



function externalLinks() {

 if(!document.getElementsByTagName) return;

 var links_marcus,a,i;

 links_marcus = document.getElementsByTagName("a");

 for(i=0;i<links_marcus.length;i++) {

 a = links_marcus[i];

 if(a.getAttribute("rel") && a.getAttribute("rel").indexOf("external") > -1) {

   	 a.onclick = function() {

   	   	 window.open(this.href);

   	   	 return false;

   	 }

 	 }

 }

}
