/*
Cross browser Marquee script- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

//Specify the marquee's width
var marqueewidth="100%";
//Specify the marquee's height
var marqueeheight="12px";
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=2;
//configure background color:
var marqueebgcolor="#062d80";
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1;

//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent='** PRESS RELEASE ** :  I.D.E.A.S LAUNCHES INTEGRI-TECH. FOR FURTHER DETAILS CLICK <a href="integri_tech.html" style="text-decoration:underline;">HERE</a> OR GO TO THE SECTION INTEGRI-TECH.'

////NO NEED TO EDIT BELOW THIS LINE////////////

marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS;
var copyspeed=marqueespeed;
var pausespeed=(pauseit==0)? copyspeed: 0;

document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>');

var actualwidth='';
var cross_marquee;

function populate() {
	cross_marquee= document.getElementById("iemarquee");
	cross_marquee.style.left=document.getElementById("marquee2").offsetWidth + 8 + "px";
	cross_marquee.innerHTML=marqueecontent;
	actualwidth= document.getElementById("temp").offsetWidth;
	lefttime=setInterval("scrollmarquee()",20);
}

function scrollmarquee() {
	if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
		cross_marquee.style.left=cross_marquee.offsetLeft-copyspeed+"px";
	else
		cross_marquee.style.left=document.getElementById("marquee2").offsetWidth + 8 + "px";
}

with (document) {
	write('<table border="0" cellspacing="0" cellpadding="0" width="100%"><tr><td style="font-size:12px;">');
	write('<div id="marquee1" style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden;">');
	write('<div id="marquee2" style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+';" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">');
	write('<div id="iemarquee" style="position:absolute;left:0px;top:0px; width:9000px"></div>');
	write('</div></div>');
	write('</tr></td></table>');
}

window.onload=populate;