		var _host = "http://www.diariopanorama.com/diario";
		//var player = null;
		/*function playerReady(thePlayer) {
			player = window.document[thePlayer.id];
		}*/
		
		function loadNewFile(myflv, myimagen){	
			var player = window.document["plytele"];
			player.sendEvent('LOAD', {file: myflv, image: myimagen});
			player.sendEvent('PLAY');
		}
		
		function setTele(myflv, img, divcontent) {
		/*	var flashvars = {
				icons: "none",
				logo: _host+"/utiles/v2.0/imagenes/logo.png",
				file: myflv,
				image: img,
				backcolor: "FF6600",
				frontcolor: "FFFFFF",
				menu: "false",
				stretching: "exactfit",
				controlbar: "over",
				skin: _host+"/overlay.swf"
			}
		
			var params = {
				allowfullscreen:"true", 
				allowscriptaccess:"always"
			}
		
			var attributes = {
				id:"plytele",  
				name:"plytele"
			}
		
			swfobject.embedSWF("player.swf", divcontent, "300", "230", "8", false, flashvars, params, attributes);*/
			
			var ply = _host+"/player.swf";
			var skin = _host+"/overlay.swf";
			var logo = _host+"/utiles/v2.0/imagenes/logo.png";
			var s1 = new SWFObject(ply, "plytele", "300", "230", "8", "#FFFFFF");
			var param = "icons=none&logo="+logo+"&file="+myflv+"&image="+img+"&backcolor=000000&frontcolor=FFFFFF&menu=false&stretching=exactfit&controlbar=over&skin="+skin;	
			s1.addParam("flashvars", param);		
			s1.addParam("allowfullscreen","true");
			s1.addParam("wmode","transparent");
			s1.addParam("allowscriptaccess","always");
			s1.write(divcontent);			
	}
	
	function setComentario(obj){		
	
		this.onRollOver = onRollOver;
		function onRollOver(obj){
			var guia = "guia"+obj.id;
			document.getElementById("titulo_tele_id").innerHTML = obj.alt;
			for(i=1; i<=4; i++){
				if(document.getElementById("guiaimg"+i).name != "act"){
					document.getElementById("guiaimg"+i).className = "guia0";
				}
			}
			document.getElementById(guia).className = "guia";
		}
		
		this.onRollOut = onRollOut;
		function onRollOut(){
			for(i=1; i<=4; i++){
				if(document.getElementById("guiaimg"+i).name != "act"){
					document.getElementById("guiaimg"+i).className = "guia0";
				}else{
					var id_activa = "guiaimg"+i;
					var imgactiva = document.getElementById("img"+i);
				}
			}
			document.getElementById("titulo_tele_id").innerHTML = imgactiva.alt;
			document.getElementById(id_activa).className = "guia_activa";				
		}
		
		this.setTitulo = setTitulo;
		function setTitulo(){
			var guia = "guia"+obj.id;
			document.getElementById("titulo_tele_id").innerHTML = obj.alt;
			for(i=1; i<=4; i++){
				document.getElementById("guiaimg"+i).className = "guia0"
			}
			document.getElementById(guia).name = "act";
			document.getElementById(guia).className = "guia_activa";
		}
		
		this.Click = Click;
		function Click(obj){
			var guia = "guia"+obj.id;
			document.getElementById("titulo_tele_id").innerHTML = obj.alt;
			for(i=1; i<=4; i++){
				if(document.getElementById("guiaimg"+i).name == "act"){
					document.getElementById("guiaimg"+i).name = "";
				}	
				document.getElementById("guiaimg"+i).className = "guia0";
			}
			document.getElementById(guia).className = "guia_activa";
			document.getElementById(guia).name = "act";
		}
		

	}
