// JavaScript Document
	var rub_off = new Array()
	var rub_on = new Array()
	var srub_off = new Array()
	var srub_on = new Array()
			
	//--- RUB ----
	for(i=1; i< 9; i++){
		rub_off[i]  = new Image(); rub_off[i].src  = "images/bt" + i + "h_of.gif";
		rub_on[i]  = new Image(); rub_on[i].src  = "images/bt" + i + "h_on.gif";
	}
	/*function fixe(){
		document.images['bt' + bloque].src = rub_on[bloque].src;
	}*/

	function over_rub(i){
		//if(bloque!= "undefined"){
		//	if (bloque!=i){
				document.images['bt' + i].src = rub_on[i].src;
			//}
		//}
	}

	function out_rub(i){
		//if(bloque!= "undefined"){
		//	if (bloque!=i){
					document.images['bt' + i].src = rub_off[i].src;
			//}
		//}
	}
	
	
//---------------------


if (navigator.userAgent.indexOf("Mozilla/4.0") != -1) {
	version = 4;
} else if (navigator.userAgent.indexOf("Mozilla/3.0") != -1) {
	version = 3;
} else if (navigator.userAgent.indexOf("Mozilla/2.0") != -1) {
	version = 2;
} else if (navigator.userAgent.indexOf("MSIE") != -1) {
	version = 1;
} else {
	version = 0;
}

var zoomwindow;

function popup (url) {

	var features;
	features = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,fullscreen=0";
	if (zoomwindow != null) {
		if (!zoomwindow.closed)
			zoomwindow.close();
	}
	zoomwindow = window.open(url,"ZOOMWINDOW",features);
	if (version == 3 || version == 4) {
		zoomwindow.focus();
	}
}
