var IE = ( '\v' == 'v' );

function resizeDiv(){
	//window.document.getElementById('res').innerText = arriba.clientWidth;
	if ( IE ){	
		if(contenido){
			if (arriba.clientWidth>1024){
				contenido.style.width = 1024;
			} else {
				contenido.style.width = arriba.clientWidth;
			}
		}
	}
}

function estilo(est){
	try{this.setAttribute('className',est);}catch(e){}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function ampliar(titulo,foto){
	MM_openBrWindow('../popUp.asp?t='+titulo+'&f='+foto,'popUp','width=400,height=300')
}

if (navigator.appName == 'Microsoft Internet Explorer' && (navigator.platform.substring(0,3) == 'Win')) {
	scw=screen.Width; sch=screen.Height;
} else if (navigator.appName == 'Netscape' || navigator.platform == 'MacPPC') {
	scw=screen.width; sch=screen.height;
} else {
	scw=screen.width; sch=screen.height;
}
