function OLDverFoto(ubicacion,texto,anchura,altura) {
/*
	Ventana=open("","","top=10,left=100,toolbar=no,directories=no,menubar=no,width=" + anchura + ",height=" + altura);
	Ventana.document.write("<head><title>Cursa Ciclista del Llobregat &laquo;Berga-Sant Boi&raquo;</title></head><body leftmargin='0' marginheight='0' marginwidth='0' topmargin='0'><table border=0 cellspacing=0 cellpadding=0 align='left'><tr><td style='font-family:Verdana,Arial; font-size:7pt; color:#6699ff; font-weight:Bold; padding:2px;'>" + texto + "</td></tr><tr><td onclick='window.close();'><img src='"+ ubicacion + "' alt='" + texto + "' border=0></td></tr></table></body>");
*/
}


function BSB_masFotos() {
	window.open("/ccsantboi/cas/carreras/berga-santboi/fotos/otros_anyos.html","","width=200,height=50,top=100,left=100,resizable=no,scrollbars=no");
}


PositionX = 100;
PositionY = 100;
defaultWidth = 500;
defaultHeight = 500;
var AutoClose = true;
if (parseInt(navigator.appVersion.charAt(0))>=4){
	var isNN=(navigator.appName=="Netscape")?1:0;
	var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;
}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=100,height=100,left='+PositionX+',top='+PositionY;
function verFoto(imageURL,imageTitle){
	if (isNN){imgWin=window.open('about:blank','',optNN);}
	if (isIE){imgWin=window.open('about:blank','',optIE);}
	with (imgWin.document){
	writeln('<html><head><title>Cargando ...</title><link rel="stylesheet" type="text/css" href="/berga-santboi/css/web.css">');
	writeln('<sc'+'ript>');
	writeln('var isNN,isIE;');
	writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
	writeln('isNN=(navigator.appName=="Netscape")?1:0;');
	writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
	writeln('function reSizeToImage(){');
	writeln('if (isIE){');
	writeln('window.resizeTo(100,100);');
	writeln('width=100-(document.body.clientWidth-document.images[0].width);');
	writeln('height=100-(document.body.clientHeight-document.images[0].height);');
	writeln('window.resizeTo(width,height);}');
	writeln('if (isNN){'); 
	writeln('window.innerWidth=document.images["imagenes"].width;');
	writeln('window.innerHeight=document.images["imagenes"].height;}}');
	writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
	if (!AutoClose) writeln('</head><body bgcolor=000000 scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
	else writeln('</head><body bgcolor=ffffff scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()" class="popup">');
	writeln('<span class="titPeq">'+imageTitle+'</span><br><table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%"><tr><td><img name="imagenes" src='+imageURL+' alt="'+imageTitle+'" border="0"></td></tr></table></body></html>');
	close(); 
	}
}