<!-- Javascript para la versión HTML //-->
<!--

function Subir(){
	document.write("<p align=center><a href='#subir'><img src='images/flecha_subir.gif' border=0></a>&nbsp;<a href='#subir'>Subir</a></p>");
}

function Volver(){
	document.write("<p align=center><a href='javascript:history.go(-1)'><img src='images/flecha_volver.gif' alt='Volver' border=0 align=middle></a>&nbsp;<a href='javascript:history.go(-1)'>Volver</a></p>");
}

function OpenWin(url, win, ancho, alto){
	window.open(url, win, 'location=0, menubar=1, toolbar=1, copyhistory=0, personalbar=0, status=1, width=' + ancho + ', height=' + alto + ', left=' + (screen.width-ancho)/2 + ', top=' + (((screen.height-alto)/2)-70) + ', resizable=1, scrollbars=1');
}

function OpenWin2(url){	window.open(url, 'newin', 'location=0, channelmode=0, directories=0, titlebar=0, menubar=0, toolbar=0, copyhistory=0, resizable=1, personalbar=0, status=0, scrollbars=1');}

function Mapa() {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,79,0" id="general" width="530" height="400"><param name="movie" value="images/mapa.swf"><param name="menu" value="false"><param name="quality" value="high"><param name="bgcolor" value="#FFFFFF"><embed name="general" src="images/mapa.swf" menu="false" quality="high" bgcolor="#FFFFFF" swLiveConnect="true" width="530" height="400" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>');
}

function Titular(nombre){
	document.write("<table class=titular width=100% height=19 cellpadding=0 cellspacing=0 border=0><tr><td background='images/titular.jpg' width=100%>&nbsp;" + nombre + "</td></tr></table>");
}

	function checkBrowser() {
		this.ver=navigator.appVersion
		this.dom=document.getElementById?1:0
		this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
		this.ie4=(document.all && !this.dom)?1:0;
		this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
		this.ns4=(document.layers && !this.dom)?1:0;
		this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5)
		return this
	}

	bw=new checkBrowser()

	lstart=110
	loop=true
	speed=100
	pr_step=1

	function makeObj(obj,nest) {
    		nest=(!nest) ? '':'document.'+nest+'.'
		this.el=bw.dom?document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+'document.'+obj):0;
  		this.css=bw.dom?document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+'document.'+obj):0;
		this.scrollHeight=bw.ns4?this.css.document.height:this.el.offsetHeight
		this.newsScroll=newsScroll;
		this.moveIt=b_moveIt; this.x; this.y;
    		this.obj = obj + "Object"
    		eval(this.obj + "=this")
    		return this
	}

	function b_moveIt(x,y) {
		this.x=x;this.y=y
		this.css.left=this.x
		this.css.top=this.y
	}

	function newsScroll(speed) {
		if(this.y>-this.scrollHeight){
			if (noclic) this.moveIt(0,this.y-pr_step)
				setTimeout(this.obj+".newsScroll("+speed+")",speed)
			} else if(loop) {
				this.moveIt(0,lstart)
				eval(this.obj+".newsScroll("+speed+")")
	  		}
	}

	function newsScrollInit() {
		oNewsCont=new makeObj('divNewsCont')
		oNewsScroll=new makeObj('divNewsText','divNewsCont')
		oNewsScroll.moveIt(0,lstart)
		oNewsCont.css.visibility='visible'
		oNewsScroll.newsScroll(speed)
	}

//-->