

// Specify the image files
var Pic = new Array();

// the pattern, adding to the array below
Pic[0] = 'assets/homepage/quote01.gif'
Pic[1] = 'assets/homepage/quote02.gif'
Pic[2] = 'assets/homepage/quote03.gif'
Pic[3] = 'assets/homepage/quote04.gif'
Pic[4] = 'assets/homepage/quote05.gif'
Pic[5] = 'assets/homepage/quote06.gif'

var Text = new Array();
var Link = new Array();
var Target = new Array();


		Text[0] = 'ESS Technology Announces Sabre Reference Audio Digital to Analog Converter Delivering Unprecedented Dynamic Range of 134dB'
	
		Text[1] = 'Leadis Technology Announces Advanced Low Power QVGA One Billion-Color AMOLED LCD Driver IC'
	
		Text[2] = 'Altera Continues Its Productivity Leadership Position With Quartus II Software Version 8.1 '
	
		Text[3] = 'Analog Devices’ broadband Quadrature Modulator is industry’s first to integrate automatic gain control'
	
		Text[4] = 'SMART Modular Technologies Releases its Xcel-10 2.5" Solid State Drive for Enterprise Applications'
	
		Text[5] = 'Semtech Solves Telecom\'s Stringent Lightning Surge Requirement With Industry\'s First 2.5V 100A Protection Device'
	
		Link[0] = 'http://www.esstech.com/IR/Pr_2008/01_07_08.pdf'
	
		Link[1] = 'http://ir.leadis.com/releasedetail.cfm?ReleaseID=326092'
	
		Link[2] = 'http://www.altera.com/corporate/news_room/releases/products/nr-quartusiiv81.html'
	
		Link[3] = 'http://www.analog.com/en/press-release/10_28_08_ADI_Broadband_Quadrature_Modulator/press.html'
	
		Link[4] = 'http://www.smartm.com/news/article.cfm?newsID=283'
	
		Link[5] = 'http://www.semtech.com/press/products/semtech_solves_telecom%27s_stringent_lightning_surge_requirement_with_industry%27s_first_2.5v_100a_protection_device/'
	
		Target[0] = '_blank'
	
		Target[1] = '_blank'
	
		Target[2] = '_blank'
	
		Target[3] = '_blank'
	
		Target[4] = '_blank'
	
		Target[5] = '_blank'
	

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 5000;
// Duration of crossfade (seconds)
var crossFadeDuration = 2;
// Whether images are shown randomly (otherwise sequential)
var randomDisplay = false;

// do not edit anything below this line
var z;
var t;
var c;
var j = 0;
var p = Text.length;
var preLoad = new Array();
for (i = 0; i < p; i++) {
preLoad[i] = new Image();
preLoad[i].src = Pic[i];
}

function runSlideShow(l) {

if (document.all) {
	//document.images.anim01.style.filter="blendTrans(duration=2)";
	//document.images.anim01.style.filter="blendTrans(duration=crossFadeDuration)";
	//document.images.anim01.filters.blendTrans.Apply();
}

if (randomDisplay == true) {
	c = Math.floor(Math.random()*p);
	if (z = c) {
		c = Math.floor(Math.random()*p);
	}
	//document.images.anim01.src = preLoad[c].src;
	//document.links[1].href = Lin[c];
	document.getElementById('news_text').innerHTML = Text[c];
	document.getElementById('news_link').href = Link[c];
	document.getElementById('news_link').target = Link[c];
	z = c;
} else {
	//document.images.anim01.src = preLoad[l].src;
	//document.links[1].href = Link[l];
	document.getElementById('news_text').innerHTML = Text[l];
	document.getElementById('news_link').href = Link[l];
	document.getElementById('news_link').target = Link[l];
}
if (document.all) {
//document.images.anim01.filters.blendTrans.Play();
}
j = j + 1;
if (j > (p - 1)) j = 0;
t = setTimeout('runSlideShow(' + j + ')', slideShowSpeed);
}

