function popUp(URL,width,height) {
	day = new Date();
	id = day.getTime();
	eval("page"+id+"=window.open(URL,'"+id+"','toolbar=0,scrollbars=0,location=1,statusbar=0,menubar=0,resizable=0,width="+width+",height="+height+",left=540,top=412');");
}

function darken(teller) {
	apl[teller][1] = "darker";
	changes();
}

function lighten(teller) {
	apl[teller][1] = "lighter";
	setTimeout("changes()",70);
}

function changes() {
	next_loop = true;
	for (i=0;i<apl.length;i++) {
  		obj = link_table.rows[i*2].cells[0];
		opacity = apl[i][0];
		if (apl[i][1] == "darker") {
			opacity += 20;
			apl[i][0] = opacity;
			if (apl[i][0] >= 100)
				apl[i][1] = "";
			else 
				next_loop = false;
			nOpac = opacity;
  		}
 		else {
  			if (apl[i][1] == "lighter") {
     				opacity -= 5;
     				apl[i][0] = opacity;
     				if (apl[i][0] < 50) 
     					apl[i][1] = "";
    			 	else
     					next_loop = false;
	 			nOpac = opacity;
  			}
 		}
		if(document.all && document.getElementById)
			obj.style.filter="alpha(opacity="+opacity+")";
  		if(!document.all && document.getElementById)
   			obj.style.MozOpacity = opacity + '%';
 	}
 	if (next_loop == false) 
 		timer = setTimeout("changes()",100);
  	else 
   		clearTimeout(timer);
}

var apl = new Array();
apl[0] = new Array(45,"");
apl[1] = new Array(45,"");
apl[2] = new Array(45,"");
apl[3] = new Array(45,"");
apl[4] = new Array(45,"");
apl[5] = new Array(45,"");