
<!--

	var js10 = true;
	var js11 = false;
	
	var intMessageLength = 2;
	var intScrollDelay = 150;
	var intPauseDelay = 5000;

	strImage1_on = "images/nav_aro_on.gif";
	strImage2_on = "images/nav_top_on.gif";
	strImage1_off = "images/nav_aro_off.gif";
	strImage2_off = "images/nav_top_off.gif";

	//<td width=110 valign="top" align="left">
	//<a href="index.asp" onMouseOver="RollOver('nav_aro1','nav_top1'); window.status='Home Page'; return true" onMouseOut="Mout('nav_aro1','nav_top1'); return true;">
	//<img src="images/nav_top_off.gif" name="nav_top1" border="0" width="110" height="8"></a><br>
	//</td>

	function RollOver(img_name1,img_name2) {
		if (js11) {
			document.images[img_name1].src = strImage1_on;
			document.images[img_name2].src = strImage2_on;
		}
	}


	function Mout(img_name1,img_name2) {
		if (js11) 	{
			document.images[img_name1].src = strImage1_off;
			document.images[img_name2].src = strImage2_off;
		}
	}



	// JavaScript Scrolling Text

	//     Usage:
	// (1) Set the width (in pixels) of the scroller
	// (2) Set the height (in pixels) of the scroller
	// (3) Set the background color of the scroller
	//     (you can use HEX codes like 'ffeedd' or
	//     color names such as 'lightyellow')
	// (4) Fill in your own strScrollMsgText (and markup).
	//     You can use as much strScrollMsgText as you like.

	var scrollerwidth=448			// (1)
	var scrollerheight=50			// (2)
	var scrollerbgcolor='#ffffff'	// (3)



	var strScrollMsgText=new Array()  // (4) Below here
	strScrollMsgText[0]="<font face='arial' size='2'><a href='about.asp'><font color='black'>eComp Solutions focuses on cutting-edge technologies that meet the business challenges of today and tomorrow...</font></a></font>"
	strScrollMsgText[1]="<font face='arial' size='2'><a href='services.asp'><font color='black'>We develop software based on client specifications that can either be distributed through CD-ROMs or deployed through the Internet...</font></a></font>"
	strScrollMsgText[2]="<font face='arial' size='2'><a href='products.asp'><font color='black'>eComp Solutions develop E-Commerce websites as well as other types of interactive web applications using emerging Internet technologies...</font></a></font>"
	strScrollMsgText[3]="<font face='arial' size='2'><a href='services.asp?opt=char'><font color='black'>We take pride in providing complimentary Information Technology services to qualified non-profit organizations within the community...</font></a></font>"



	///////----------------------------------------------------

	if (strScrollMsgText.length>1)
	i=2
	else
	i=0

	function makeNS1(vbannerNS){
	NSbanner=eval(vbannerNS)
	if (NSbanner.top>0&&NSbanner.top<=intMessageLength){
	NSbanner.top=0
	setTimeout("makeNS1(NSbanner)",intPauseDelay)
	setTimeout("makeNS2(document.main.document.second)",intPauseDelay)
	return
	}
	if (NSbanner.top>=NSbanner.document.height*-1){
	NSbanner.top-=intMessageLength
	setTimeout("makeNS1(NSbanner)",intScrollDelay)
	}
	else{
	NSbanner.top=scrollerheight
	NSbanner.document.write(strScrollMsgText[i])
	NSbanner.document.close()
	if (i==strScrollMsgText.length-1)
	i=0
	else
	i++
	}
	}

	function makeNS2(vbannerNS){
	NSbanner2=eval(vbannerNS)
	if (NSbanner2.top>0&&NSbanner2.top<=intMessageLength){
	NSbanner2.top=0
	setTimeout("makeNS2(NSbanner2)",intPauseDelay)
	setTimeout("makeNS1(document.main.document.first)",intPauseDelay)
	return
	}
	if (NSbanner2.top>=NSbanner2.document.height*-1){
	NSbanner2.top-=intMessageLength
	setTimeout("makeNS2(NSbanner2)",intScrollDelay)
	}
	else{
	NSbanner2.top=scrollerheight
	NSbanner2.document.write(strScrollMsgText[i])
	NSbanner2.document.close()
	if (i==strScrollMsgText.length-1)
	i=0
	else
	i++
	}
	}

	function makeIE1(vbannerIE){
	IEbanner=eval(vbannerIE)
	if (IEbanner.style.pixelTop>0&&IEbanner.style.pixelTop<=intMessageLength){
	IEbanner.style.pixelTop=0
	setTimeout("makeIE1(IEbanner)",intPauseDelay)
	setTimeout("makeIE2(secondBanner)",intPauseDelay)
	return
	}
	if (IEbanner.style.pixelTop>=IEbanner.offsetHeight*-1){
	IEbanner.style.pixelTop-=intMessageLength
	setTimeout("makeIE1(IEbanner)",intScrollDelay)
	}
	else{
	IEbanner.style.pixelTop=scrollerheight
	IEbanner.innerHTML=strScrollMsgText[i]
	if (i==strScrollMsgText.length-1)
	i=0
	else
	i++
	}
	}

	function makeIE2(vbannerIE){
	IEbanner2=eval(vbannerIE)
	if (IEbanner2.style.pixelTop>0&&IEbanner2.style.pixelTop<=intMessageLength){
	IEbanner2.style.pixelTop=0
	setTimeout("makeIE2(IEbanner2)",intPauseDelay)
	setTimeout("makeIE1(firstBanner)",intPauseDelay)
	return
	}
	if (IEbanner2.style.pixelTop>=IEbanner2.offsetHeight*-1){
	IEbanner2.style.pixelTop-=intMessageLength
	setTimeout("makeIE2(secondBanner)",intScrollDelay)
	}
	else{
	IEbanner2.style.pixelTop=scrollerheight
	IEbanner2.innerHTML=strScrollMsgText[i]
	if (i==strScrollMsgText.length-1)
	i=0
	else
	i++
	}
	}


	function startscroll(bScroll){
		if (bScroll==1){
			if (document.all){
			makeIE1(firstBanner)
			secondBanner.style.top=scrollerheight
			}
			else if (document.layers){
			makeNS1(document.main.document.first)
			document.main.document.second.top=scrollerheight+intMessageLength
			document.main.document.second.visibility='show'
			}
		}
	}



	//Netscape 6 - BEGIN
	var delay=5000 //set delay between message change (in miliseconds)
	var fcontent=new Array()
	var fwidth=448 //set scroller width
	var fheight=50 //set scroller height

	fcontent[0]="<font face='arial' size='2'><a href='about.asp'><font color='black'>eComp Solutions focuses on cutting-edge technologies that meet the business challenges of today and tomorrow...</font></a></font>"
	fcontent[1]="<font face='arial' size='2'><a href='services.asp'><font color='black'>We develop software based on client specifications that can either be distributed through CD-ROMs or deployed through the Internet...</font></a></font>"
	fcontent[2]="<font face='arial' size='2'><a href='products.asp'><font color='black'>eComp Solutions develops E-Commerce websites as well as other types of interactive web applications using emerging Internet technologies...</font></a></font>"
	fcontent[3]="<font face='arial' size='2'><a href='services.asp?opt=char'><font color='black'>We take pride in providing complimentary Information Technology services to qualified non-profit organizations within the community...</font></a></font>"


	var ie4=document.all&&!document.getElementById
	var ns4=document.layers
	var DOM2=document.getElementById
	var faderdelay=0
	var index=0

	if (DOM2)
	faderdelay=2000

	//function to change content
	function changecontent(){
	if (index>=fcontent.length)
	index=0
	if (DOM2){
	document.getElementById("fscroller").style.color="rgb(255,255,255)"
	document.getElementById("fscroller").innerHTML=fcontent[index]
	colorfade()
	}
	else if (ie4)
	document.all.fscroller.innerHTML=fcontent[index]
	else if (ns4){
	document.fscrollerns.document.fscrollerns_sub.document.write(fcontent[index])
	document.fscrollerns.document.fscrollerns_sub.document.close()
	}

	index++
	setTimeout("changecontent()",delay+faderdelay)
	}

	// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////
	// Modified by Dynamicdrive.com

	frame=20;
	hex=255  // Initial color value.

	function colorfade() {	         	
	// 20 frames fading process
	if(frame>0) {	
	hex-=12; // increase color value
	document.getElementById("fscroller").style.color="rgb("+hex+","+hex+","+hex+")"; // Set color value.
	frame--;
	setTimeout("colorfade()",20);	
	}
	else{
	document.getElementById("fscroller").style.color="rgb(0,0,0)";
	frame=20;
	hex=255
	}   
	}
	
//-->

