//Deshabilita ir hacia atrás
javascript:window.history.forward(1);

var AmpliarIFrame = true;
var AmpliarIFrameOP = "inicial";

if (is_ie && !is_ie7up || true) {
	var StyleNew = false;
} else {
	var StyleNew = true;
}
var EsParent = false;

String.prototype.trim = function(){ return this.replace(/^s+|s+$/g,'') }

/*
if (location.hostname.toUpperCase().trim() != "MANUEL") {
	isNN = document.layers ? 1 : 0; 
	function noContext(){return false;}
	
	function noClick(e){
	    if(isNN){
	        if(e.which > 1) {return false;}
	    } else { 
	        if(event.button > 1){return false;}
	    }
	}
	
	if(isNN){ 
	    document.captureEvents(Event.MOUSEDOWN);
	}
	
	document.oncontextmenu = noContext;
	document.onmousedown   = noClick;
	document.onmouseup     = noClick;
}
*/
//Hide status bar msg script- by javascriptkit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use

//configure status message to show
var statusmsg="";

function hidestatus(){
	window.status=statusmsg;
}

function ShowHideOver(Op,Cual) {
	var el = document.getElementById(Cual);
	if (Op) {
		el.style.display = "";
	} else {
		el.style.display = "none";
	}
}

var W3CDOM = (document.createElement && document.getElementsByTagName);
var wndTests = null;
var url = new Array();
var img = new Array();
var txt = new Array();
var txtTime = new Array();
var num = 0;
var txtnum = 0;

//*************************************************************************
var nextfield = null;
var MaxTextArea = 1000;

function CRKey(Campo,e)
{
	if (Campo.type == "textarea")
	{
		if (Campo.value.length > MaxTextArea) { Campo.value=Campo.value.substring(0,MaxTextArea); }
	}
	else
	{
		if( !e ) {
			//if the browser did not pass the event information to the
			//function, we will have to obtain it from the event register
			if( window.event ) {
				//DOM
				e = window.event;
			} else {
				//TOTAL FAILURE, WE HAVE NO WAY OF REFERENCING THE EVENT
				alert("Event error");
				return;
			}
		}
		if( typeof( e.which ) == 'number' ) {
			//NS 4, NS 6+, Mozilla 0.9+, Opera
			val_ASCII = e.which;
		} else if( typeof( e.keyCode ) == 'number'  ) {
			//IE, NS 6+, Mozilla 0.9+
			val_ASCII = e.keyCode;
		} else if( typeof( e.charCode ) == 'number'  ) {
			//also NS 6+, Mozilla 0.9+
			val_ASCII = e.charCode;
		} else {
			//TOTAL FAILURE, WE HAVE NO WAY OF OBTAINING THE KEY CODE
			if (val_ASCII == 0)
			{
				//alert("Error KeyUp");
				return;
			}
		}
		if (val_ASCII == 13)
		{
			var MyField = eval('document.'+nextfield);
			MyField.focus();
		}
	}
}

// Abre ventana de Información de Sesiones
function AbrirWin(PagDir)
{
		var PonerMenu = "";

		if (unescape(PagDir).toUpperCase().indexOf("MAPA") != -1) {
			PonerMenu = "menubar,";
		}

		if (StyleNew) {
			if (!EsParent) {
				tb_show(null, 'popup.htm?' + PagDir +'&TB_iframe=true&keepThis=true', null);
			} else {
				parent.tb_show(null, 'popup.htm?' + PagDir +'&TB_iframe=true&keepThis=true', null);
			}
		} else {
			var WinArgs = PonerMenu+'resizable=no,scrollbars=no,location=no,width=200,height=200,alwaysRaised=yes,dependent=yes,left=' + (screen.width -  200)/2 + ',top=25';
			AbrirWinInfoParam('popup.htm?' + PagDir,200,200,'no','no','yes','no');
		}
}
// Abre ventana de Información de Sesiones
function AbrirWinSroll(PagDir)
{
		var PonerMenu = "";

		if (unescape(PagDir).toUpperCase().indexOf("MAPA") != -1) {
			PonerMenu = "menubar,";
		}
		if (StyleNew) {
			if (!EsParent) {
				tb_show(null, 'popup.htm?' + PagDir +'&TB_iframe=true&keepThis=true', null);
			} else {
				parent.tb_show(null, 'popup.htm?' + PagDir +'&TB_iframe=true&keepThis=true', null);
			}
		} else {
			var WinArgs = PonerMenu+'resizable=no,scrollbars=no,location=no,width=200,height=200,alwaysRaised=yes,dependent=yes,left=' + (screen.width -  200)/2 + ',top=25';
			AbrirWinInfoParam('popup.htm?' + PagDir,200,200,'yes','no','yes','no');
		}
}

function AbrirWinInfo(PagDir, Ancho, Alto)
{
		var WinArgs = 'status=no,resizable=no,scrollbars=no,location=no,width='+Ancho+',height='+Alto+',alwaysRaised=yes,dependent=yes,left=' + (screen.width -  Ancho)/2 + ',top=25';
		if (StyleNew) {
			if (!EsParent) {
				tb_show(null, PagDir+'&TB_iframe=true&keepThis=true&width='+Ancho+'&height='+Alto, null);
			} else {
				parent.tb_show(null, PagDir+'&TB_iframe=true&keepThis=true&width='+Ancho+'&height='+Alto, null);
			}
		} else {
			wndTests = window.open(PagDir,'bearmex',WinArgs);
			if (window.focus) {wndTests.focus()}
		}
}

function AbrirWinInfoScroll(PagDir, Ancho, Alto)
{
		var WinArgs = 'status=no,resizable=no,scrollbars=yes,location=no,width='+Ancho+',height='+Alto+',alwaysRaised=yes,dependent=yes,left=' + (screen.width -  Ancho)/2 + ',top=25';
		if (StyleNew) {
			if (!EsParent) {
				tb_show(null, PagDir+'?TB_iframe=true&keepThis=true&width='+Ancho+'&height='+Alto, null);
			} else {
				parent.tb_show(null, PagDir+'?TB_iframe=true&keepThis=true&width='+Ancho+'&height='+Alto, null);
			}
		} else {
			wndTests = window.open(PagDir,'bearmex',WinArgs);
			if (window.focus) {wndTests.focus()}
		}
}

function AbrirWinInfoParam(PagDir, Ancho, Alto, Scroll, Rezisable, Status, Menu)
{
		var WinArgs = 'menubar='+Menu+',status='+Status+',resizable='+Rezisable+',scrollbars='+Scroll+',location=no,width='+Ancho+',height='+Alto+',alwaysRaised=yes,dependent=yes,left=' + (screen.width -  Ancho)/2 + ',top=25';
		wndTests = window.open(PagDir,'bearmex',WinArgs);
		if (window.focus) {wndTests.focus()}
}

function AbrirWinAbandon()
{
		var WinArgs = 'status=no,resizable=no,scrollbars=no,location=no,width=0,height=0,alwaysRaised=yes,dependent=yes,left=0,top=0';
		wndTests = window.open('abandon.asp','bearmex',WinArgs);
		if (window.focus) {wndTests.focus()}
}
// Abre ventana de Registro
function AbrirWinReg(FuseAction, ScrollBar, Ancho, Alto)
{

	if (StyleNew) {
		if (!EsParent) {
			tb_show(null, myself+FuseAction+'&TB_iframe=true&keepThis=true&width='+Ancho+'&height='+Alto, null);
		} else {
			parent.tb_show(null, myself+FuseAction+'&TB_iframe=true&keepThis=true&width='+Ancho+'&height='+Alto, null);
		}
		return;
	} else {
		var PagDir = myself+FuseAction;
		var WinArgs = 'resizable=no,scrollbars='+ScrollBar+',location=no,width='+Ancho+',height='+Alto+',alwaysRaised=yes,dependent=yes,left=' + (screen.width -  Ancho)/2 + ',top=25';
		wndTests = window.open(PagDir,'bearmex',WinArgs);
		if (window.focus) {wndTests.focus()}
	}

}
// Abre ventana FLAH Video
function AbrirWinFLASHOBJ (cual) {

	if (StyleNew) {
		var TipoArc = "cfm";
		if (PHPself.toUpperCase().indexOf(".PHP") != -1) { TipoArc = "php"; }
		if (!EsParent) {
			tb_show(":: BearMex :: Video", 'FlashWin.'+TipoArc+'?VideoName='+cual+'&TB_iframe=true&keepThis=true&width=440&height=365&scroll=No', null);
		} else {
			parent.tb_show(":: BearMex :: Video", 'FlashWin.'+TipoArc+'?VideoName='+cual+'&TB_iframe=true&keepThis=true&width=440&height=365&scroll=No', null);
		}
		return;
	}

	var html = "";
	var flash = "";

/*
	html = '<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>:: BearMex.com ::</title><scr'+'ipt language="JavaScr'+'ipt" src="js/swfobj.js" type="text/javasc'+'ript"></scr'+'ipt></head>';
	html += '<body bgcolor="#000000" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" onload="FitPic(\'FlashObj\');window.focus();">';
*/

	flash += '<scr'+'ipt language="JavaScr'+'ipt" type="text/javascr'+'ipt">AC_FL_RunContent("codebase", "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0", ';
	flash += '"quality","high","pluginspage","http://www.adobe.com/go/getflashplayer_es","align","middle","play","true","loop","true","scale","showall","devicefont","false",';
	flash += '"menu","false","allowFullScreen","true","allowFullScreen","false","allowScriptAccess","sameDomain","salign","",';
	flash += '"width","440","height","365","name","videos","src","videos","movie","videos","FlashVars","_vidScript='+cual+'","id","FlashObj","wmode","window","bgcolor","#999999");</scr'+'ipt>';
	
	html = '<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>:: BearMex.com ::</title></head>';
	html += '<body bgcolor="#000000" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" onload="FitPic(\'FlashObj\');window.focus();">';

	html += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="440" height="365" id="FlashObj" align="middle">';
	html += '<param name="allowScriptAccess" value="sameDomain" />';
	html += '<param name="movie" value="videos.swf?_vidScript='+cual+'">';
	html += '<param name="quality" value="high" />';
	html += '<param name="bgcolor" value="#000000" />';
	html += '<param name="allowFullScreen" value="true" />';
	html += '<embed src="videos.swf?_vidScript='+cual+'" quality="high" bgcolor="#000000" width="440" height="365" name="FlashObj" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	html += '</object>';
	html += '</body></html>';
	html += '<scr'+'ipt>';
	html += 'function FitPic(Objeto){';
	html += 'var NS = (navigator.appName=="Netscape")?true:false;';
	html += 'var Obj = document.getElementById(Objeto);';
	html += 'iWidth = (NS)?window.innerWidth:document.body.clientWidth;';
	html += 'iHeight = (NS)?window.innerHeight:document.body.clientHeight;';
	html += 'iWidth = Obj.width - iWidth;';
	html += 'iHeight = Obj.height - iHeight;';
	html += 'window.resizeBy(iWidth, iHeight);';
	html += 'window.moveTo((screen.width -  Obj.width)/2,25);';
	html += 'window.self.focus();}';
	html += '</scr'+'ipt>';

	AbrirWinInfo('',200,200);
	wndTests.document.open();
	wndTests.document.write(html);
	wndTests.document.close();
}
// Abre ventana FLAH
function AbrirWinFLASH (cual, ancho, alto, colorSTR) {

	if (StyleNew) {
		if (!EsParent) {
			tb_show(":: BearMex :: Video", cual+'&TB_iframe=true&keepThis=true&width='+ancho+'&height='+alto+'&scroll=No', null);
		} else {
			parent.tb_show(":: BearMex :: Video", cual+'&TB_iframe=true&keepThis=true&width='+ancho+'&height='+alto+'&scroll=No', null);
		}
		return;
	}

	var html = "";

	html = '<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><title>:: BearMex.com ::</title></head>';
	html += '<body bgcolor="#000000" leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0" onload="FitPic(\'FlashObj\');window.focus();">';
	html += '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="'+ancho+'" height="'+alto+'" id="FlashObj" align="middle">';
	html += '<param name="allowScriptAccess" value="sameDomain" />';
	html += '<param name="movie" value="'+cual+'">';
	html += '<param name="quality" value="high" />';
	html += '<param name="bgcolor" value="#'+colorSTR+'" />';
	html += '<embed src="'+cual+'" quality="high" bgcolor="#'+colorSTR+'" width="'+ancho+'" height="'+alto+'" name="FlashObj" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';
	html += '</object>';
	html += '</body></html>';
	html += '<scr'+'ipt>';
	html += 'function FitPic(Objeto){';
	html += 'var NS = (navigator.appName=="Netscape")?true:false;';
	html += 'var Obj = document.getElementById(Objeto);';
	html += 'iWidth = (NS)?window.innerWidth:document.body.clientWidth;';
	html += 'iHeight = (NS)?window.innerHeight:document.body.clientHeight;';
	html += 'iWidth = Obj.width - iWidth;';
	html += 'iHeight = Obj.height - iHeight;';
	html += 'window.resizeBy(iWidth, iHeight);';
	html += 'window.moveTo((screen.width -  Obj.width)/2,25);';
	html += 'window.self.focus();}';
	html += '</scr'+'ipt>';
	AbrirWinInfo('',200,200);
	wndTests.document.open();
	wndTests.document.write(html);
	wndTests.document.close();
}

function close_child_window() {
	if (wndTests != null && wndTests && wndTests.open) {
		wndTests.close();
		wndTests = null;
	}
}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}















var TxtNumAux = 0;

function URL_Ejecuta() {
alert("si llama a funcion");
	xmlHttp=GetXmlHttpObject();
	if (xmlHttp==null) {
		RecargarPag();
		return;
	} 
	var url="/index.cfm?fuseaction=inicio.clima&sid="+Math.random();
	xmlHttp.onreadystatechange=stateChanged;
	xmlHttp.open("GET",url,true);
	xmlHttp.send(null);
}

function stateChanged() {

	if (xmlHttp.readyState==4) {
		alert("ya regresó con la info...\n"+xmlHttp.responseText);
		document.getElementById('TxtRollUp').innerHTML = xmlHttp.responseText;
		LimpiarClima();
	}
}

function GetXmlHttpObject() {
	
	var xmlHttp=null;
	
	try {
		// Firefox, Opera 8.0+, Safari
		xmlHttp=new XMLHttpRequest();
	} catch (e) {
		// Internet Explorer
		try {
			xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
		} catch (e) {
			xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
		}
	}
	return xmlHttp;
}
function InitTextRollUp(){

	img1 = newImage("imgs/fiestas/bearpride2008/AnimPride08_04.gif");
	img2 = newImage("imgs/nichoAnim.gif");

	if (idioma == ""){
	txtTime[0] = 27000;
	txtTime[1] = 27000;
	//txtTime[2] = 27000;
	//txtTime[3] = 24000;
		//if (EsPerfiles == 0) { txt[0] = 'Primer Sitio de Eventos para Osos en M&eacute;xico'; }
		//else { txt[0] = 'Primer Sitio de Perfiles para Osos en M&eacute;xico'; }
		//txt[0] = 'Primer Sitio de Eventos para Osos en M&eacute;xico';
		//txt[0] = '<img src="imgs/fiestas/aniversario_2008/aniv08Anim03.gif" alt="" width="460" height="59" border="0">';
		//txt[0] = '<a href="javascript:AbrirWinInfoParam(\'dsp_MrBearMex08.html\',800,600,\'yes\',\'no\',\'no\',\'no\');"><img src="imgs/fiestas/bearpride2008/aniv08MrBearMex.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[0] = '<a href="'+myself+'inicio.inicial" onclick="parent.Opciones(\''+myself+'inicio.inicial\');" target="frameOP1"><img src="imgs/fiestas/aniversario2009/aniv2009_Anim1.gif" alt="" width="460" height="59" border="0"></a>';
//		txt[0] = '<iframe src="'+myself+'inicio.clima" name="Clima" id="Clima" width="460px;" height="59px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" allowTransparency="true" frameSpacing="0"></iframe>';
		txt[0] = '<a href="'+myself+'inicio.Nicho#CHELERO" onclick="parent.Opciones(\''+myself+'inicio.nicho\');" target="frameOP1"><img src="imgs/varios/nicho/NOCHES/Nicho_Domingo_Chelero_20100721_HEADER.jpg" alt="" width="460" height="59" border="0"></a>';
		txt[1] = '<a href="'+myself+'inicio.Nicho" onclick="parent.Opciones(\''+myself+'inicio.nicho\');" target="frameOP1"><img src="imgs/nichoAnim.gif" alt="" width="460" height="59" border="0"></a>';
//		txt[1] = '<a href="'+myself+'inicio.inicial#ESPUMA" onclick="parent.Opciones(\''+myself+'inicio.inicial\');" target="frameOP1"><img src="imgs/fiestas/espuma2010/espuma2010Anim1.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[2] = '<a href="http://www.latinhotparty.com" target="_blank"><img src="imgs/fiestas/LHP/201002_VALLARTA/lovehotparty2010_ES.gif" alt="" width="460" height="59" border="0"/></a>';
		//txt[1] = '<a href="'+myself+'inicio.inicial#FOTO" onclick="parent.Opciones(\''+myself+'inicio.inicial\');" target="frameOP1"><img src="imgs/varios/concurso_foto/header_fotos_consurso.jpg" alt="" width="460" height="59" border="0"/></a>';
//		txt[2] = '<a href="http://www.redorgullo.com.mx/" target="_blank"><img src="imgs/varios/nicho/Marcha2009.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<a href="http://beartualpodcast.screencastdev.com/" target="_blank"><img src="imgs/varios/woofcast/woofcastAnim01.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[2] = '<a href="http://www.bearcall.org/" target="_blank"><img src="imgs/fiestas/otros/bearcall.jpg" alt="" width="460" height="59" border="0" style="border:solid 1px ##333;margin-bottom:5px;"></a>';
		//txt[1] = '<img src="imgs/noticias/anodis_chuecatown.jpg" alt="" width="460" height="59" border="0">';
		//txt[2] = '<a href="'+myself+'inicio.inicial" onclick="parent.Opciones(\''+myself+'inicio.inicial\');" target="frameOP1"><img src="imgs/nichoAnim.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[3] = '<a href="http://www.josespinnin.com/" target="_blank"><img src="imgs/links/spinnin.jpg" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<img src="imgs/fiestas/living/ososAnim5.gif" alt="" width="460" height="59" border="0">';
		//txt[2] = '<a href="'+myself+'inicio.inicial#NIKITA" onclick="parent.Opciones(\''+myself+'inicio.inicial\');" target="frameOP1"><img src="imgs/varios/nikita/nikitaAnim6.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<img src="imgs/varios/nikita/nikitaAnim7.gif" alt="" width="460" height="59" border="0">';
		//txt[1] = '<a href="'+myself+'inicio.inicial#NIKITA" onclick="parent.Opciones(\''+myself+'inicio.inicial\');" target="frameOP1"><img src="imgs/varios/nikita/nikitaAnim6.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[2] = '<a href="'+myself+'inicio.inicial" onclick="parent.Opciones(\''+myself+'inicio.inicial\');" target="frameOP1"><img src="imgs/fiestas/bearleather2007/BannerAnim.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[2] = '<a href="'+myself+'inicio.inicial" onclick="parent.Opciones(\''+myself+'inicio.inicial\');" target="frameOP1"><img src="imgs/fiestas/bearpride2007/BearPrideAnim.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<table width="460" height="59" border="0" cellspacing="0" cellpadding="0" datapagesize="0"><tr><td><img src="imgs/fiestas/posada/posadaAnim.gif" alt="" width="460" height="59" border="0"></td></tr></table>'
		//txt[0] = '<table width="460" height="59" border="0" cellspacing="0" cellpadding="0" datapagesize="0"><tr><td><img src="imgs/fiestas/corazon/corazonAnim01.gif" alt="" width="460" height="59" border="0"></td></tr></table>'
		//txt[1] = '<a href="javascript:AbrirWinReg(\'inicio.MrLeather07 \',1);" onMouseover="hidestatus()"><img src="imgs/fiestas/bearleather2007/AnimBases.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<a href="'+myself+'fotos.039_fiestaleather2007_05_" onclick="parent.Opciones(\''+myself+'fotos.fotos\');" target="frameOP1"><img src="imgs/fiestas/anibearsario_2007/anivAnimVotar.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[0] = '<a href="'+myself+'fotos.030_mrbearmex07_04_" onclick="parent.Opciones(\''+myself+'fotos.fotos\');" target="frameOP1"><img src="imgs/fiestas/anibearsario_2007/anivAnimVotar.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<img src="imgs/fiestas/t-shirt/t-shirt-Anim1.gif" alt="" width="460" height="59" border="0">';
		//txt[2] = '<a href="http://www.bear411.com/" target="_blank"><img src="imgs/links/bear411.jpg" alt="" width="460" height="59" border="0"></a>';
		//txt[3] = '<a href="http://www.bearwww.com/" target="_blank"><img src="imgs/links/banbearwww.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[5] = '<a href="'+myself+'noticias.info&noticia_id=101" onclick="parent.Opciones(\''+myself+'noticias.noticias\');" target="frameOP1"><img src="imgs/varios/banner_aids.gif" alt="" width="460" height="59" border="0"></a>';
	}
	else {
	txtTime[0] = 27000;
	txtTime[1] = 27000;
	//txtTime[2] = 24000;
	//txtTime[3] = 24000;
		//if (EsPerfiles == 0) { txt[0] = 'First Event Site for Bears in Mexico'; }
		//else { txt[0] = 'First Profiles Site for Bears in Mexico'; }
		//txt[1] = '<a href="/?fuseaction=inicio.inicialEN" onclick="parent.Opciones(\'/?fuseaction=inicio.inicialEN\');" target="frameOP1"><img src="imgs/fiestas/bearleather2006/leatherAnim.gif" alt="" width="460" height="59" border="0"></a>'
		//txt[1] = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="460" height="59" id="travel" align="middle"><param name="allowScriptAccess" value="never" /><param name="movie" value="imgs/varios/diversity-travel.swf" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="imgs/varios/diversity-travel.swf" menu="false" quality="high" bgcolor="#FFFFFF" width="460" height="59" name="travel" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>';
		//txt[0] = '<img src="imgs/fiestas/bearpride2008/AnimPride08_04.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[0] = '<a href="'+myself+'inicio.inicialEN" onclick="parent.Opciones(\''+myself+'inicio.inicialEN\');" target="frameOP1"><img src="imgs/fiestas/aniversario2009/aniv2009_Anim1.gif" alt="" width="460" height="59" border="0"></a>';
		txt[0] = '<img src="imgs/varios/nicho/NOCHES/Nicho_Domingo_Chelero_20100721_HEADER.jpg" alt="" width="460" height="59" border="0"></a>';
		txt[1] = '<a href="'+myself+'inicio.NichoEN" onclick="parent.Opciones(\''+myself+'inicio.mainEN\');" target="frameOP1"><img src="imgs/nichoAnim.gif" alt="" width="460" height="59" border="0"/></a>';
//		txt[1] = '<img src="imgs/fiestas/espuma2010/espuma2010Anim1.gif" alt="" width="460" height="59" border="0">';
		//txt[1] = '<a href="http://www.latinhotparty.com/en" target="_blank"><img src="imgs/fiestas/LHP/201002_VALLARTA//lovehotparty2010_EN.gif" alt="" width="460" height="59" border="0"/></a>';		//txt[1] = '<a href="http://www.redorgullo.com.mx/" target="_blank"><img src="imgs/varios/nicho/Marcha2009.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<a href="http://beartualpodcast.screencastdev.com/" target="_blank"><img src="imgs/varios/woofcast/woofcastAnim01.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[2] = '<a href="http://www.bearcall.org/" target="_blank"><img src="imgs/fiestas/otros/bearcall.jpg" alt="" width="460" height="59" border="0" style="border:solid 1px ##333;margin-bottom:5px;"></a>';
		//txt[3] = '<a href="http://www.josespinnin.com/" target="_blank"><img src="imgs/links/spinnin.jpg" alt="" width="460" height="59" border="0"></a>';
		//txt[2] = '<a href="'+myself+'inicio.inicialEN#URBAN2008" onclick="parent.Opciones(\''+myself+'inicio.inicialEN\');" target="frameOP1"><img src="imgs/fiestas/urban2008/urban2008Anim1.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[2] = '<img src="imgs/fiestas/aniversario_2008/aniv08Anim03.gif" alt="" width="460" height="59" border="0">';
		//txt[3] = '<a href="http://www.josespinnin.com/" target="_blank"><img src="imgs/links/spinnin.jpg" alt="" width="460" height="59" border="0"></a>';
		//txt[2] = '<img src="imgs/varios/nicho/nichoAnim1.gif" alt="" width="460" height="59" border="0">';
		//txt[1] = '<img src="imgs/fiestas/living/ososAnim5.gif" alt="" width="460" height="59" border="0">';
		//txt[2] = '<a href="http://www.haztelaprueba.org.mx" target="_blank"><img src="imgs/links/anodis_sida.jpg" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<a href="'+myself+'inicio.inicialEN" onclick="parent.Opciones(\''+myself+'inicio.inicialEN\');" target="frameOP1"><img src="imgs/fiestas/bearleather2007/BannerAnim.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<a href="'+myself+'inicio.inicial#POSADA" onclick="parent.Opciones(\''+myself+'inicio.inicial\');" target="frameOP1"><img src="imgs/fiestas/posada2007/posadaAnim1.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[2] = '<a href="'+myself+'inicio.inicialEN" onclick="parent.Opciones(\''+myself+'inicio.inicialEN\');" target="frameOP1"><img src="imgs/fiestas/bearpride2007/BearPrideAnim.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[1] = '<img src="imgs/fiestas/t-shirt/t-shirt-Anim1.gif" alt="" width="460" height="59" border="0">';
		//txt[3] = '<a href="http://www.bear411.com/" target="_blank"><img src="imgs/links/bear411.jpg" alt="" width="460" height="59" border="0"></a>';
		//txt[4] = '<a href="http://www.bearwww.com/" target="_blank"><img src="imgs/links/banbearwww.gif" alt="" width="460" height="59" border="0"></a>';
		//txt[3] = '<a href="'+myself+'noticias.info&noticia_id=101" onclick="parent.Opciones(\''+myself+'noticias.noticias\');" target="frameOP1"><img src="imgs/varios/banner_aids.gif" alt="" width="460" height="59" border="0"></a>';
	}
	txtnum = 0;
	if (idioma == "" || true) {
		TxtRollUp();
	}
}


function TxtRollUp(){
	if (!W3CDOM) return;
	var Tiempo = txtTime[txtnum];
	document.getElementById('TxtRollUp').innerHTML = txt[txtnum];
	txtnum = txtnum + 1;
	if(txtnum >= txt.length) txtnum = 0;
	window.setTimeout("TxtRollUp()", Tiempo);
}

function InitPicRollUp(){

	url[0] = "javascript:AbrirWin('imgs/kominik/plantaluz.jpg&Kóminik');";
	img[0] = "imgs/kominik/plantaluzCH.jpg";
	url[1] = "javascript:AbrirWin('imgs/kominik/bataclan.jpg&Kóminik');";
	img[1] = "imgs/kominik/bataclanCH.jpg";
	url[2] = "javascript:AbrirWin('imgs/kominik/soulbar1.jpg&Kóminik');";
	img[2] = "imgs/kominik/soulbar1CH.jpg";
	
	num=0;

	PicRollUp();
}

function PicRollUp(){
	if (!W3CDOM) return;
	document.PicRoll.src = img[num];
	document.getElementById("banlink").href=url[num];
	num=num+1;
	if(num>=img.length) num=0;
	window.setTimeout("PicRollUp()", 3000);
}
