// JavaScript Document
weight=new Array();
href=new Array();
comp=new Array();
weight[1]="4";
href[1]="./company.asp?CoID=APEB";
comp[1]="APE";

weight[2]="3";
href[2]="./company.asp?CoID=BECK";
comp[2]="Becker &amp; Hickl";

weight[3]="2";
href[3]="./company.asp?CoID=CASI";
comp[3]="CASIX";

weight[4]="5";
href[4]="./company.asp?CoID=CONT";
comp[4]="Continuum";

weight[5]="4";
href[5]="./company.asp?CoID=CEOP";
comp[5]="Cutting Edge Optronics";

weight[6]="2";
href[6]="./company.asp?CoID=EOTC";
comp[6]="EOT";

weight[7]="4";
href[7]="./company.asp?CoID=EXCI";
comp[7]="Exciton";

weight[8]="2";
href[8]="./company.asp?CoID=GAML";
comp[8]="Gam Laser";

weight[9]="4";
href[9]="./company.asp?CoID=HIGH";
comp[9]="High Q";

weight[10]="5";
href[10]="./company.asp?CoID=JDSU";
comp[10]="JDSU";

weight[11]="3";
href[11]="./company.asp?CoID=KIMM";
comp[11]="Kimmon";

weight[12]="1";
href[12]="./company.asp?CoID=LASN";
comp[12]="Lasnix";

weight[13]="2";
href[13]="./company.asp?CoID=LIGH";
comp[13]="Light Conversion";

weight[14]="1";
href[14]="./company.asp?CoID=MPBC";
comp[14]="MPB";

weight[15]="4";
href[15]="./company.asp?CoID=NKTP";
comp[15]="NKT Photonics";

weight[16]="1";
href[16]="./company.asp?CoID=NOIR";
comp[16]="NoIR";

weight[17]="3";
href[17]="./company.asp?CoID=OCEA";
comp[17]="Ocean Optics";

weight[18]="4";
href[18]="./company.asp?CoID=POWE";
comp[18]="PTI";

weight[19]="5";
href[19]="./company.asp?CoID=QUAN";
comp[19]="Quantronix";

weight[20]="1";
href[20]="./company.asp?CoID=QCOM";
comp[20]="Quantum Composers";

weight[21]="5";
href[21]="./company.asp?CoID=SIRA";
comp[21]="Sirah";

weight[22]="4";
href[22]="./company.asp?CoID=TEEM";
comp[22]="TEEM Photonics";

weight[23]="2";
href[23]="./company.asp?CoID=VIGO";
comp[23]="Vigo";





function fadecloud() {

o=document.getElementById("cdiv");



opacity=99;
setOpacity (o, opacity);

ddown=1;
fadeLoop1 ();


}


	
function fadeLoop1 () {
		if (ddown==1) {
		if (opacity >= 4) {
		//alert(opacity);
			setOpacity(o, opacity);
			opacity -= 6;
			window.setTimeout("fadeLoop1()", 15);
		} else {
		ddown=0;
		
		o.innerHTML=str;
		}
		}
		
		if (ddown==0) {
		if (opacity <= 95) {
			setOpacity(o, opacity);
			opacity += 2;
			window.setTimeout("fadeLoop1()", 40);
		} 
		}
	}


function setOpacity (o, opacity) {
	//o.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=" + opacity + ");"; // IE

		o.style.filter = "alpha(opacity:" + opacity + ")";	// IE
		

		o.style.KHTMLOpacity = opacity / 100;				// Konqueror
		o.style.MozOpacity = opacity / 100;					// Mozilla (old)
		o.style.opacity = opacity / 100;					// Mozilla (new)
	}
	
function opaq(id,oo) {

t=document.getElementById(id);
setOpacity (t,oo);
}

function swapTestys() {
str="<ol id='cloud'>";
for (j=1; j<24; j++) {


if (weight[j]>5) weight[j]=1;
wt=weight[j] * 1;

str=str + "<li><a class='b" + wt + "' href='" + href[j] + "'>" + comp[j] + " </a></li>\n";
weight[j]++;
}
str=str + "</ol>";
//alert(str);
fadecloud();

setTimeout('swapTestys()',5200);
}





