<!--

/*
  Instrucciones de uso:
  En el script para mostrar flotante escribir:
  
  tiempo_show = segundos para mostrar
  tiempo_cookie = dias
  
  document.write(showFloat('nombre', 'url', 'clickurl', posx, posy, width, height, tiempo_show, tiempo_cookie=7, trans=true));
  
  document.write(showFlash(nombre, flashurl, gifurl, clickurl, w, h, trans=false, targ=_blank, scale=default));

  document.write(showSide(nombre, url, clickurl, w, h, isFlash=false, trans=false, targ=_blank));
    
*/

   	var anuncioMC = false;
	var anuncioAOC = false;
	var anuncioTY = false;

	var MM_contentVersion = 5;
	var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
	if ( plugin ) {
		var words = navigator.plugins["Shockwave Flash"].description.split(" ");
	    for (var i = 0; i < words.length; ++i) {
			if (isNaN(parseInt(words[i]))) continue;
			var MM_PluginVersion = words[i]; 
	    }
		var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
	} else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersion.indexOf("Win") != -1)) {
		document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
		document.write('on error resume next \n');
		document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
		document.write('</SCR' + 'IPT\> \n');
	} 
	
	//clavo en el explorer....  averiguar que pasa
	MM_FlashCanPlay = true;
	
	var hay_float = false;
	var hay_side = false;
	
	function setFloat() {
		hay_float = true;
	}
	
	function hayFloat() {
		return hay_float;
	}

	function setSide() {
		hay_side = true;
	}
	
	function haySide() {
		return hay_side;
	}

    function fixMyDate(date) {
      var base = new Date(0);
      var skew = base.getTime();
      if (skew > 0)
        date.setTime(date.getTime() - skew);
    }
	
  function setMyCookie(name, value, dias, path, domain, secure) {
    // dias = numero de dias

    var now = new Date();
	fixMyDate(now);

	now.setTime(now.getTime() + dias * 24 * 60 * 60 * 1000);
	expires = now;

    var curCookie = name + "=" + escape(value) +
      ((expires) ? "; expires=" + expires.toGMTString() : "") +
      ((path) ? "; path=" + path : "") +
      ((domain) ? "; domain=" + domain : "") +
      ((secure) ? "; secure" : "");
    document.cookie = curCookie;
  }
  
  function getMyCookie(name) {
  var dc = document.cookie;
  var prefix = name + "=";
  var begin = dc.indexOf("; " + prefix);
  if (begin == -1) {
    begin = dc.indexOf(prefix);
    if (begin != 0) return null;
  } else
    begin += 2;
  var end = document.cookie.indexOf(";", begin);
  if (end == -1)
    end = dc.length;
  return unescape(dc.substring(begin + prefix.length, end));
}

function findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
	
function MyHide(n) {
  b = findObj(n);
  if (b != null) {
    b.style.visibility = 'hidden';
  }
}

var IE4 = (document.all) ? true : false;
var NS4 = (document.layers) ? true : false;

window.onerror = null;
var windowWidth    = 0;
var imageWidth     = 200;
var leftSpacer     = 775;
var topMargin = 5;
var slideTime = 1200;
var layerID = 'marca';

var ns6 = (!document.all && document.getElementById);
var ie4 = (document.all);
var ns4 = (document.layers);

function layerObject(id,left) {
	if (ns6) {
		this.obj = document.getElementById(id).style;
		this.obj.left = left;
		return this.obj;
	} else if(ie4) {
		this.obj = document.all[id].style;
		this.obj.left = left;
		return this.obj;
	} else if(ns4) {
		this.obj = document.layers[id];
		this.obj.left = left;
		return this.obj;
   }
}

function layerSetup() {
	floatLyr = new layerObject(layerID, 775);
	window.setInterval("main()", 10)
}

function floatObject() {
	if (ns4 || ns6) {
		findHt = window.innerHeight;
	} else if(ie4) {
		findHt = document.body.clientHeight;
	}
} 

function main() {
	if (ns4) {
		this.currentY = document.layers[layerID].top;
		this.scrollTop = window.pageYOffset;
		mainTrigger();
	} else if(ns6) {
		this.currentY = parseInt(document.getElementById(layerID).style.top);
		this.scrollTop = scrollY;
		mainTrigger();
	} else if(ie4) {
		this.currentY = eval(layerID).style.pixelTop;
		this.scrollTop = document.body.scrollTop;
		mainTrigger();
   }
}

function mainTrigger() {
	var newTargetY = this.scrollTop + this.topMargin;
	if ( this.currentY != newTargetY ) {
		if ( newTargetY != this.targetY ) {
			this.targetY = newTargetY;
			floatStart();
		}
		animator();
	}
}

function floatStart() {
	var now = new Date();
	this.A = this.targetY - this.currentY;
	this.B = Math.PI / ( 2 * this.slideTime );
	this.C = now.getTime();
	if (Math.abs(this.A) > this.findHt) {
		this.D = this.A > 0 ? this.targetY - this.findHt : this.targetY + this.findHt;
		this.A = this.A > 0 ? this.findHt : -this.findHt;
	} else {
		this.D = this.currentY;
	}
}

function animator() {
	var now = new Date();
	var newY = this.A * Math.sin( this.B * ( now.getTime() - this.C ) ) + this.D;
	newY = Math.round(newY);
	if (( this.A > 0 && newY > this.currentY ) || ( this.A < 0 && newY < this.currentY )) {
		if ( ie4 )eval('document.all.' + layerID).style.pixelTop = newY;
		if ( ns4 )document.layers[layerID].top = newY;
		if ( ns6 )document.getElementById(layerID).style.top = newY + "px";
	}
}

function start() {
	if(ns6||ns4) {
		pageWidth = innerWidth;
		pageHeight = innerHeight;
		layerSetup();
		floatObject();
	} else if(ie4) {
		pageWidth = document.body.clientWidth;
		pageHeight = document.body.clientHeight;
		layerSetup();
		floatObject();
	}
	Fijar_intervalo('showit()', 100);
}

function Fijar_visibilidad(id, flag) {
  if (ns6) {
    var str = (flag) ? 'visible' : 'hidden';
	document.getElementById(id).style.visibility = str;
  } else  if (NS4) {
    var str = (flag) ? 'show' : 'hide';
    eval("document." + id).visibility = str;
  } else if (IE4) {
    var str = (flag) ? 'visible' : 'hidden';
    eval("document.all." + id).style.visibility = str;
  }
}

function GetWindowWidth() {
  if (NS4) {return window.innerWidth}
  else {return document.body.clientWidth}
}

function Fijar_posizquierda(id, xCoord) {
  if (ns6) {
	document.getElementById(id).style.left = xCoord;
  } else  if (NS4) {eval("document." + id).left = xCoord}
  else {eval("document.all." + id).style.left = xCoord}
}

function Fijar_intervalo(command, interval) {
  setInterval(eval('"' + command + '"'), interval);
}

function showit(){
  if (navigator.appVersion.indexOf('Mac') == -1){
    windowWidth = GetWindowWidth();
	if (windowWidth >= imageWidth + leftSpacer ) {
		Fijar_visibilidad(layerID, true);
        Fijar_posizquierda(layerID, leftSpacer);
	} else {
		Fijar_visibilidad(layerID, false);
        Fijar_posizquierda(layerID, 0);
	}
  }
}

	function showFloat(nombre, surl, clickurl, posx, posy, w, h, shtime, ckt, transp,ws) {
		var ret = '';
		var dominio = (ws != null)? ws : '';
		var cktime = (ckt != null)? ckt : 7;
		var trans = (transp != null)? transp : true;
		if (hayFloat()) return ret;
        if ( MM_FlashCanPlay ) {
			if (getMyCookie('plcom_float_' + nombre) == null) {
            	ret += ('<div id="layer_' + nombre + '" style="position:absolute; left:' + posx + 'px; top:' + posy + 'px; width:' + w + '; height:' + h + '; z-index:1"> ');
            	ret += ('  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="' + w + '" height="' + h + '">');
            	ret += ('    <param name="movie" value="' + surl + '?clickTAG=' + clickurl + '">');
            	ret += ('    <param name=quality value=high>');
            	if (trans) ret += ('    <param name="wmode" value="transparent">');
            	ret += ('    <embed src="' + surl + '?clickTAG=' + clickurl + '" width="' + w + '" height="' + h + ' quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash"');
            	if (trans) ret += (' wmode="transparent" ');
            	ret += ('></embed>');
                ret += ('  </object>');
            	ret += ('</div>');
				setMyCookie('plcom_float_' + nombre, 'true', cktime, "/");
				setTimeout('MyHide("layer_' + nombre + '")', shtime * 1000);
				setFloat();
			} // end-if noexiste
        } // end-if flashcanplay
		return ret;
	} // end  showFloat

	function showSide(nombre, url, clickurl, w, h, isFl, transp, targ) {
		var ret = '';
		var isFlash = (isFl != null)? isFl : false;
		var trans = (transp != null)? transp : true;
		var tt = (targ != null)? targ : "_blank";
		if (haySide()) return ret;
        if ( MM_FlashCanPlay ) {
			ret += '<div id="marca" style="position:absolute; left:775; top:5; width:' + w + '; height:' + h + '; z-index:1; visibility: hidden;">';
			if (isFlash) {
            	ret += ('  <object ID="' + nombre + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="' + w + '" height="' + h + '">');
            	ret += ('    <param name="movie" value="' + url + '?clickTAG=' + clickurl + '">');
            	ret += ('    <param name=quality value=high>');
            	if (trans) ret += ('    <param name="wmode" value="transparent">');
            	ret += ('    <embed src="' + url + '?clickTAG=' + clickurl + '" width="' + w + '" height="' + h + ' quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" NAME="' + nombre + '" ');
            	if (trans) ret += (' wmode="transparent" ');
            	ret += ('></embed>');
                ret += ('  </object>');
		    } else { // es GIF
	        	ret += ('<a href="' + clickurl + '" target="' + tt + '"><IMG id="' + nombre + '" name="' + nombre);
	        	ret += ('" SRC="' + url + '" WIDTH="' + w + '" HEIGHT="' + h + '" BORDER="0"></a>');
	        } // end-if isFlash
        	ret += '</div>';
			setSide();
        } // end-if flashcanplay
        ret += '<scr' + 'ipt>\n<!--\n';
		ret += 'start();\n';
		ret += '//-->\n</scr' + 'ipt>\n';
		return ret;
	} // end  showSide
	
	function showSide2(nombre, url, w, h, isFl, transp, targ) {
	// Para usar cuando no queremos enviar un clickurl sino que queremos incluirlo en el url
		var ret = '';
		var isFlash = (isFl != null)? isFl : false;
		var trans = (transp != null)? transp : true;
		var tt = (targ != null)? targ : "_blank";
		if (haySide()) return ret;
        if ( MM_FlashCanPlay ) {
			ret += '<div id="marca" style="position:absolute; left:775; top:5; width:' + w + '; height:' + h + '; z-index:1; visibility: hidden;">';
			if (isFlash) {
            	ret += ('  <object ID="' + nombre + '" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="' + w + '" height="' + h + '">');
            	ret += ('    <param name="movie" value="' + url + '">');
            	ret += ('    <param name=quality value=high>');
            	if (trans) ret += ('    <param name="wmode" value="transparent">');
            	ret += ('    <embed src="' + url + '" width="' + w + '" height="' + h + ' quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" NAME="' + nombre + '" ');
            	if (trans) ret += (' wmode="transparent" ');
            	ret += ('></embed>');
                ret += ('  </object>');
		    } else { // es GIF
	        	ret += ('<a href="' + url + '" target="' + tt + '"><IMG id="' + nombre + '" name="' + nombre);
	        	ret += ('" SRC="' + url + '" WIDTH="' + w + '" HEIGHT="' + h + '" BORDER="0"></a>');
	        } // end-if isFlash
        	ret += '</div>';
			setSide();
        } // end-if flashcanplay
        ret += '<scr' + 'ipt>\n<!--\n';
		ret += 'start();\n';
		ret += '//-->\n</scr' + 'ipt>\n';
		return ret;
	} // end  showSide2	


	function showSideMediaC(nombre, w, h) {
		// Para usar especialmente para un TAG de monitores AOC
		var ret='';
	    if ( MM_FlashCanPlay ) {
			var aamRnd = Math.round(Math.random() * 100000000);
			if (!pageNum) {var pageNum = Math.round(Math.random() * 100000000)};
			adserver = "http://ds.clickexperts.net";
			var turno= Math.random()*6;
			turno=Math.round(turno);
			if (turno<3) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.NOTAS/camp_id=13/aamsz=468X60";
			else if (turno==2) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.ENTRETENIMIENTO/camp_id=13/aamsz=468X60";
			else if (turno==3) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.ECONIMIA/camp_id=13/aamsz=468X60";
			else if (turno==4) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.DEPORTES/camp_id=13/aamsz=468X60";
			else if (turno==5) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.CULTURA/camp_id=13/aamsz=468X60";
			document.writeln('<SCR'+'IPT language="JavaScript1.1" SRC="' + adserver + '/jserver/acc_random=' + aamRnd + "/pageid=" + pageNum + target + '"></SCR'+'IPT>');
	    } // end-if flashcanplay
		document.writeln(ret);
		
		ret = '';

		return ret;
	}	
	
	function showSideMediaC1(nombre, w, h) {
		// Para usar especialmente para un TAG de Compass Bank
		document.writeln('<img alt="img" src="/pl/comun/images/spacer.gif" width="210" height="3" />');
		var ret='';
	    if ( MM_FlashCanPlay ) {
			var aamRnd = Math.round(Math.random() * 100000000);
			if (!pageNum) {var pageNum = Math.round(Math.random() * 100000000)};
			adserver = "http://ds.clickexperts.net";
			target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.ROS/camp_id=11/aamsz=200X300";
			document.writeln('<div id="marca" style="position:absolute; left:775; top:5; width:200; height:300; z-index:1; visibility: hidden;">');
			document.writeln('<SCR'+'IPT language="JavaScript1.1" SRC="' + adserver + '/jserver/acc_random=' + aamRnd + "/pageid=" + pageNum + target + '"></SCR'+'IPT>');
    	    document.writeln('</div>');
			setSide();
	    } // end-if flashcanplay
    	ret += ('<scr' + 'ipt>\n<!--\n');
		ret += ('start();\n');
		ret += ('//-->\n</scr' + 'ipt>\n');
		document.writeln(ret);
		
		ret = '';

		return ret;
	}		

	function showSideMediaC2(nombre, w, h) {
		// Para usar especialmente para un TAG de Toyota
		document.writeln('<img alt="img" src="/pl/comun/images/spacer.gif" width="210" height="3" />');
		var ret='';
	    if ( MM_FlashCanPlay ) {
			var aamRnd = Math.round(Math.random() * 100000000);
			if (!pageNum) {var pageNum = Math.round(Math.random() * 100000000)};
			adserver = "http://ds.clickexperts.net";
			target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.ROS/camp_id=14/aamsz=300X250";
			document.writeln('<div id="marca" style="position:absolute; left:775; top:5; width:200; height:250; z-index:1; visibility: hidden;">');
			document.writeln('<SCR'+'IPT language="JavaScript1.1" SRC="' + adserver + '/jserver/acc_random=' + aamRnd + "/pageid=" + pageNum + target + '"></SCR'+'IPT>');
    	    document.writeln('</div>');
			setSide();
	    } // end-if flashcanplay
    	ret += ('<scr' + 'ipt>\n<!--\n');
		ret += ('start();\n');
		ret += ('//-->\n</scr' + 'ipt>\n');
		document.writeln(ret);
		
		ret = '';

		return ret;
	}
	
	
	function showSideMediaC3() {
		// Para usar especialmente para un TAG de monitores AOC en 120x600
		var ret='';
	    if ( MM_FlashCanPlay ) {
			var aamRnd = Math.round(Math.random() * 100000000);
			if (!pageNum) {var pageNum = Math.round(Math.random() * 100000000)};
			adserver = "http://ds.clickexperts.net";
			var turno= Math.random()*6;
			turno=Math.round(turno);
			if (turno<3) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.NOTAS/camp_id=13/aamsz=120X600";
			else if (turno==3) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.ECONIMIA/camp_id=13/aamsz=120X600";
			else if (turno==4) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.DEPORTES/camp_id=13/aamsz=120X600";
			else if (turno==5) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.CULTURA/camp_id=13/aamsz=120X600";
			else if (turno==6) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.ENTRETENIMIENTO/camp_id=13/aamsz=120X600";
			document.writeln('<SCR'+'IPT language="JavaScript1.1" SRC="' + adserver + '/jserver/acc_random=' + aamRnd + "/pageid=" + pageNum + target + '"></SCR'+'IPT>');
	    } // end-if flashcanplay
		document.writeln(ret);
		
		ret = '';

		return ret;
	}	
	
	function showSideMediaC4() {
		// Para usar especialmente para un TAG de monitores AOC en 120x600
		var ret='';
	    if ( MM_FlashCanPlay ) {
			var aamRnd = Math.round(Math.random() * 100000000);
			if (!pageNum) {var pageNum = Math.round(Math.random() * 100000000)};
			adserver = "http://ds.clickexperts.net";
			var turno= Math.random()*6;
			turno=Math.round(turno);
			if (turno<3) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.NOTAS/camp_id=13/aamsz=200X300";
			else if (turno==3) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.CULTURA/camp_id=13/aamsz=200X300";
			else if (turno==4) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.DEPORTES/camp_id=13/aamsz=200X300";
			else if (turno==5) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.ECONIMIA/camp_id=13/aamsz=200X300";
			else if (turno==6) target="/site=MG_PRENSALIBREGU/area=MG_PRENSALIBREGU.ENTRETENIMIENTO/camp_id=13/aamsz=200X300";
			document.writeln('<div id="marca" style="position:absolute; left:775; top:5; width:200; height:250; z-index:1; visibility: hidden;">');			
			document.writeln('<SCR'+'IPT language="JavaScript1.1" SRC="' + adserver + '/jserver/acc_random=' + aamRnd + "/pageid=" + pageNum + target + '"></SCR'+'IPT>');
    	    document.writeln('</div>');
			setSide();			
	    } // end-if flashcanplay
    	ret += ('<scr' + 'ipt>\n<!--\n');
		ret += ('start();\n');
		ret += ('//-->\n</scr' + 'ipt>\n');
		document.writeln(ret);		
		
		ret = '';

		return ret;
	}	

	function showSideORLANDI(nombre, w, h) {
	// Para usar especialmente para un TAG de Orlandi Valuta
		var ret = '';
		if (haySide()) return ret;
        if ( MM_FlashCanPlay ) {
			var rnd = (new String(Math.random())).substring(2,8) + (((new Date()).getTime()) & 262143);		
		    ret += ('<div id="marca" style="position:absolute; left:775; top:5; width:' + w + '; height:' + h + '; z-index:1; visibility: hidden;">');
            ret += ('<scr' + 'ipt language="JavaScr'+'ipt1.1" type="text/javas'+ 'cript" src="http://ads.us.e-planning.net/eb/3/1b57/dec360082e32c104?o=j&p=c8dbf970b6b3bfe2&rnd=' + rnd + '">');
            ret += ('</scr'+'ipt></div><noscript><a href="http://ads.us.e-planning.net/ei/3/1b57/dec360082e32c104?it=i&rnd=$RANDOM&p=c8dbf970b6b3bfe2" target="_blank"><img width="190" height="300" alt="e-planning.net ad" src="http://ads.us.e-planning.net/eb/3/1b57/dec360082e32c104?o=i&rnd=2352&p=c8dbf970b6b3bfe2" border="0" /></a></noscript>');
			setSide();
        } // end-if flashcanplay
        ret += ('<scr' + 'ipt>\n<!--\n');
		ret += ('start();\n');
		ret += ('//-->\n</scr' + 'ipt>\n');
		return ret;
	}
	
	function showSideCISCO(nombre, w, h) {
	// Para usar especialmente para un TAG seguidor de CISCO
		var ret = '';
		if (haySide()) return ret;
        if ( MM_FlashCanPlay ) {
		    ret += '<div id="marca" style="position:absolute; left:775; top:5; width:' + w + '; height:' + h + '; z-index:1; visibility: hidden;">';
			ret += ('<iframe src="http://view.atdmt.com/LT3/iview/prnslsmb0080000071lt3/direct/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width='+w+' height='+h+'>');
            ret += ('<scr' + 'ipt language="JavaScript" type="text/javas'+ 'cript">');
			ret += ('document.write(\'<a href="http://clk.atdmt.com/LT3/go/prnslsmb0080000071lt3/direct/01/" target="_blank"><img src="http://view.atdmt.com/LT3/view/prnslsmb0080000071lt3/direct/01/"/></a>\');');
            ret += ('</scr'+'ipt><noscript><a href="http://clk.atdmt.com/LT3/go/prnslsmb0080000071lt3/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/LT3/view/prnslsmb0080000071lt3/direct/01/" /></a></noscript></iframe>');
			ret += '</div>';
			setSide();
        } // end-if flashcanplay
        ret += '<scr' + 'ipt>\n<!--\n';
		ret += 'start();\n';
		ret += '//-->\n</scr' + 'ipt>\n';
		return ret;
	}	
	
	function showFloatCisco(nombre,w,h,posx,posy)	{
		var ret = '';
		if (hayFloat()) return ret;
        if ( MM_FlashCanPlay ) {
			if (getMyCookie('plcom_float_' + nombre) == null) {
			    ret += ('<div id="layer_' + nombre + '" style="position:absolute; left:' + posx + 'px; top:' + posy + 'px; width:' + w + '; height:' + h + '; z-index:1"> ');
            	ret += ('<iframe src=\'http://view.atdmt.com/LT3/iview/prnslsmb0080000073lt3/direct/01?click=\' frameborder=0 scrolling=\'no\' marginheight=0  marginwidth=0 topmargin=0 leftmargin=0 allowtransparency=\'true\' width=\'190\' height=\'200\'> ');
            ret += ('<scr' + 'ipt language=\'JavaScript\' type=\'text/javas'+ 'cript\'> document.write("<a href=\'http://clk.atdmt.com/LT3/go/prnslsmb0080000073lt3/direct/01/\' target=\'_blank\'><img  src=\'http://view.atdmt.com/LT3/view/prnslsmb0080000073lt3/direct/01/\' /></a>"); ');
            ret += ('</scr'+'ipt><noscript><a href="http://clk.atdmt.com/LT3/go/prnslsmb0080000073lt3/direct/01/" target="_blank"><img border="0" src="http://view.atdmt.com/LT3/view/prnslsmb0080000073lt3/direct/01/" /></a></noscript>');
            	ret += ('</iframe> </div>');
				setMyCookie('plcom_float_' + nombre, 'true', 7, "/");
				setTimeout('MyHide("layer_' + nombre + '")', 7000);
				setFloat();
			} // end-if noexiste
        } // end-if flashcanplay
		return ret;	
	}
	
	function showSkyAlamo (w,h) {
		var ret = '';
		ret = ('<SCR'+'IPT LANGUAGE="JavaS'+'cript1.1" SRC="http://www.icover.com.br/RealMedia/ads/adstream_jx.ads/prensalibre.com/ros@Right!Right"></scr'+'ipt>');
		return ret;
	}
	
	function showFloatAmericanAir(nombre, w, h,posx,posy) {
		var ret = '';
		if (hayFloat()) return ret;
        if ( MM_FlashCanPlay ) {
			/*if (getMyCookie('plcom_float_' + nombre) == null) {
            	ret += ('<div id="layer_' + nombre + '" style="position:absolute; left:' + posx + 'px; top:' + posy + 'px; width:' + w + '; height:' + h + '; z-index:1"> ');
            ret += ('<SCR'+'IPT LANGUAGE="JavaScript" type="text/javascript" SRC="http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=4690460&amp;u=&amp;n=Insert_Time_Stamp_Here&amp;cltk=Insert_Click_Track_URL_Here">');
            ret += ('</script><noscript><a href="http://s0b.bluestreak.com/ix.e?hr&amp;s=4690460" target=_top><img src="http://s0b.bluestreak.com/ix.e?ir&amp;s=4690460" border=0 alt=""></a></noscript>');
            	ret += ('</div>');
				setMyCookie('plcom_float_' + nombre, 'true', 1, "/");
				setTimeout('MyHide("layer_' + nombre + '")', 7000);
				setFloat();
			} // end-if noexiste*/
        } // end-if flashcanplay
		return ret;
	} // end  showFloat	
	
	
	function showFloatTACA(nombre, surl, clickurl, posx, posy, w, h, shtime, ckt, transp) {
		var ret = '';
		var cktime = (ckt != null)? ckt : 7;
		var trans = (transp != null)? transp : true;
		if (hayFloat()) return ret;
        if ( !ie4 ) {
			if (getMyCookie('plcom_float_' + nombre) == null) {
            	ret += ('<div id="layer_' + nombre + '" style="position:absolute;left:' + posx + 'px;top:' + posy + 'px;width:' + w + ';height:' + h + ';z-index:2"> ');
            	ret += ('<sc' + 'ript language=JavaScript type=text/javascript src=http://view.atdmt.com/LT3/jview/lprnetac0040000043lt3/direct/01?click=>');
				ret += ('</scr' + 'ipt><nos' + 'cript><a href=http://clk.atdmt.com/LT3/go/lprnetac0040000043lt3/direct/01/ target=_blank>');
				ret += ('<img border=0 src=http://view.atdmt.com/LT3/view/lprnetac0040000043lt3/direct/01/ />');
                ret += ('</a></nosc' + 'ript>');
            	ret += ('</div>');
				setMyCookie('plcom_float_' + nombre, 'true', cktime, "/");
				setTimeout('MyHide("layer_' + nombre + '")', shtime * 1000);
				setFloat();
			} // end-if noexiste
        } // end-if !ie4
		return ret;
	} // end  showFloat
	
	function sideBegin(w,h) {
		var ret = '';
		if (haySide()) return ret;
		ret += '<div id="marca" style="position:absolute; left:775; top:5; width:' + w + '; height:' + h + '; z-index:1; visibility: hidden;">';
		ret += '<SCR' + 'IPT LANGUAGE=JavaScript type=text/javascript \n SRC=http://s0b.bluestreak.com/ix.e?jss&amp;wmode=Window&amp;s=1568506&amp;u=&amp;n=Insert_Time_Stamp_Here&amp;cltk=Insert_Click_Track_URL_Here> \n</sc' + 'ript> <noscript> <a href=http://s0b.bluestreak.com/ix.e?hr&amp;s=1568506 target=_top><img src=http://s0b.bluestreak.com/ix.e?ir&amp;s=1568506 border=0> </a></nos' + 'cript>';
       	ret += '</div>';
		setSide();
        ret += '<scr' + 'ipt>\n<!--\n';
		ret += 'start();\n';
		ret += '//-->\n</scr' + 'ipt>\n';
		return ret;
	}
	
    function startSide() {
	    setSide();
		var ret='';
        ret += '<scr' + 'ipt>\n<!--\n';
		ret += 'start();\n';
		ret += '//-->\n</scr' + 'ipt>\n';
		return ret;
	}
	
	function showFlash(nombre, flashurl, gifurl, clickurl, w, h, transp, targ, scale) {
		var trans = (transp != null)? transp : false;
		var tt = (targ != null)? targ : "_blank";
		var ret = '';
        if ( MM_FlashCanPlay ) {
        	ret += ('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" id="' + nombre + '" name="' + nombre + '" WIDTH="' + w + '" HEIGHT="' + h + '" ALIGN="">');
        	ret += (' <PARAM NAME=movie VALUE="' + flashurl + '?clickTAG=' + clickurl + '"> <PARAM NAME=quality VALUE=high>'); 
           	if (trans) ret += ('    <param name="wmode" value="transparent">');
           	if (scale != null) ret += ('    <param name="scale" value="' + scale + '">');
        	ret += (' <EMBED src="' + flashurl + '?clickTAG=' + clickurl + '" quality=high ');
           	if (trans) ret += (' wmode="transparent" ');
           	if (scale != null) ret += (' scale="' + scale + '" ');
        	ret += (' swLiveConnect=FALSE WIDTH="' + w + '" HEIGHT="' + h + '" NAME="' + nombre + '" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
        	ret += (' </EMBED>');
        	ret += (' </OBJECT>');
        } else{
        	ret += ('<a href="' + clickurl + '" target="' + tt + '"><IMG id="' + nombre);
        	ret += ('" name="' + nombre + '" SRC="' + gifurl + '" WIDTH="' + w + '" HEIGHT="' + h + '" BORDER=0></a>');
        }
        return ret;
	} // end  showFlash
	
	
		function showFlashXHTML(nombre, flashurl, gifurl, clickurl, w, h, transp, targ, scale) {
			var trans = (transp != null)? transp : false;
			var tt = (targ != null)? targ : "_blank";
			var ret = '';
        	ret += ('<object type="application/x-shockwave-flash" data="' + flashurl + '" id="' + nombre + '" width="' + w + '" height="' + h + '">');
	        ret += (' <PARAM NAME=movie VALUE="' + flashurl + '?clickTAG=' + clickurl + '" /> <PARAM NAME=quality VALUE=high />'); 
    	    if (trans) ret += ('    <param name="wmode" value="transparent">');
        	ret += (' <img src="' + gifurl + '" WIDTH="' + w + '" HEIGHT="' + h + '" BORDER=0 />');
	        ret += (' </object>');
    	    return ret;
	} // end  showFlash
	
	
	function showAOC() {
		
	}

//-->
