/*
Impresiones Web : Sponsor Publicidad : www.impresionesweb.com
*/
var tabla='';
var ipn='';
var anun_texto=false;
anun_texto=true; //if (window.parent.document == window.document) {iwdocument=window.document;} else {iwdocument=window.parent.document;}
//if (typeof(iwdocument.iw_ad_f468) != 'undefined')
//{
// document.write('<');
// document.write('/ifr' + 'ame>');
//}
//else
//{
function iw_encodeURIComponent(str) {
if (typeof(encodeURIComponent) == 'function') {
return encodeURIComponent(str);
} else {
return escape(str);
}
}
function iw_quita_alm(str)
{
var aux=str;
if (str.charAt(0)=="#")
aux=str.substr(1);
return(aux);
}
if (typeof(iw_ad_ventas) == 'undefined') iw_b_ventas=0; else iw_b_ventas=iw_ad_ventas;
if (typeof(iw_ad_tipo) == 'undefined') iw_b_tipo=0; else iw_b_tipo=iw_ad_tipo;
if (typeof(iw_ad_modo) == 'undefined') iw_b_modo=0; else iw_b_modo=iw_ad_modo;
if (typeof(iw_ad_alternativo) == 'undefined')
var iw_b_alternativo=iw_encodeURIComponent('http://alt.impresionesweb.com/alternativo-468x60.php?ref=5374&pais=ES&tipo='+ iw_b_tipo +'&modo='+iw_b_modo+'&tabla='+tabla+'&ipn='+ipn);
else
var iw_b_alternativo=iw_encodeURIComponent(iw_ad_alternativo);
if ((iw_b_tipo == 1) || (iw_b_tipo == 2))
{
if (typeof(impresionesweb_color_titulo) == 'undefined') var iw_c_titulo='0000FF'; else var iw_c_titulo=iw_quita_alm(impresionesweb_color_titulo);
if (typeof(impresionesweb_color_cuerpo) == 'undefined') var iw_c_cuerpo='000000'; else var iw_c_cuerpo=iw_quita_alm(impresionesweb_color_cuerpo);
if (typeof(impresionesweb_color_fondo) == 'undefined') var iw_c_fondo='F5F5F9'; else var iw_c_fondo=iw_quita_alm(impresionesweb_color_fondo);
if (typeof(impresionesweb_color_url) == 'undefined') var iw_c_url='0000FF'; else var iw_c_url=iw_quita_alm(impresionesweb_color_url);
if (typeof(impresionesweb_color_borde) == 'undefined') var iw_c_borde='939395'; else var iw_c_borde=iw_quita_alm(impresionesweb_color_borde);
if ( (iw_b_tipo == 2) || ((anun_texto) && (iw_b_tipo != 0) ) )
{
var srcs='http://webmaster.impresionesweb.com/rr/iwtc.php?idrotador=5374&tamano=468x60&rx=aHR0cDovL3d3dy5mYW5tYW5pYS5uZXQvb3RqdW5pb3IxLmh0bQ%3D%3D&iw_tabla=' + tabla + '&iw_ipn=' + ipn + '&iw_alternativo=' + iw_b_alternativo + '&iw_ventas=' + iw_b_ventas + '&iw_tipo=' + iw_b_tipo + '&iw_c_titulo=' + iw_c_titulo + '&iw_c_cuerpo=' + iw_c_cuerpo + '&iw_c_fondo=' + iw_c_fondo + '&iw_c_url=' + iw_c_url + '&iw_c_borde=' + iw_c_borde;
}
else
{var srcs='http://www.impresionesweb.com/r/iwgtc.php?idrotador=5374&rx=aHR0cDovL3d3dy5mYW5tYW5pYS5uZXQvb3RqdW5pb3IxLmh0bQ%3D%3D&tamano=468x60&iw_tabla=' + tabla + '&iw_ipn=' + ipn + '&iw_alternativo=' + iw_b_alternativo + '&iw_ventas=' + iw_b_ventas + '&iw_tipo=' + iw_b_tipo + '&iw_c_titulo=' + iw_c_titulo + '&iw_c_cuerpo=' + iw_c_cuerpo + '&iw_c_fondo=' + iw_c_fondo + '&iw_c_url=' + iw_c_url + '&iw_c_borde=' + iw_c_borde;
}
}
else
{var srcs='http://www.impresionesweb.com/r/iwgc.php?idrotador=5374&rx=aHR0cDovL3d3dy5mYW5tYW5pYS5uZXQvb3RqdW5pb3IxLmh0bQ%3D%3D&tamano=468x60&iw_tabla=' + tabla + '&iw_ipn=' + ipn + '&iw_alternativo=' + iw_b_alternativo + '&iw_ventas=' + iw_b_ventas + '&iw_tipo=' + iw_b_tipo;}
function escapar(str) { return (str != null) ? '"' + str + '"' : '""'; }
if ((navigator.appName == 'Microsoft Internet Explorer') && (navigator.userAgent.indexOf('Opera')<0) )
var IWdir='about:blank';
else
var IWdir=escapar(srcs);
document.write('<');
document.write('/ifr' + 'ame>');
if (navigator.appName == 'Microsoft Internet Explorer')
{
IWbody=document.body;
IWScript2 = document.createElement ("script");
IWScript2.setAttribute ("language", "javascript");
IWScript2.setAttribute ("text", "document.frames.iw_ads.location.replace ("+escapar(srcs)+");");
if (IWbody.children.length > 0)
IWbody.insertBefore(IWScript2, IWbody.children[IWbody.children.length-1]);
else
IWbody.insertBefore(IWScript2);
}
if (((typeof(iw_ad_txtlink) == 'undefined') && ((iw_b_tipo == 1) || (iw_b_tipo == 2)) ) || ((typeof(iw_ad_txtlink) != 'undefined') && (iw_ad_txtlink==1)))
{
if ((window.parent.document != null) && (typeof(window.parent.document) != 'undefined') && (window.parent.document == window.document)) {
iw_doc=window.document;
} else {
if ((window.parent.document != null) && (typeof(window.parent.document) != 'undefined')) {
iw_doc=window.parent.document;
if (top.frames.length!=0) {
if (window.document.parentWindow.frameElement.tagName == 'FRAME')
iw_doc=false;
}
} else iw_doc=false;
}
if (iw_doc != false) {
url='http://textlink.impresionesweb.com/textlink_iw.php?pais=ES&iw_tabla=' + tabla + '&iw_ipn=' + ipn+'&idrotador=5374';
IWbody=iw_doc.body; IWScript3 = iw_doc.createElement ("script"); IWScript3.setAttribute ("language", "javascript"); IWScript3.setAttribute ("src", url);
if (navigator.appName == 'Microsoft Internet Explorer') {
if (IWbody.children.length > 0) IWbody.insertBefore(IWScript3, IWbody.children[IWbody.children.length-1]);
else IWbody.insertBefore(IWScript3);
} else {
if (IWbody.childNodes.length > 0) IWbody.insertBefore(IWScript3, IWbody.childNodes[IWbody.childNodes.length-1]);
else IWbody.insertBefore(IWScript3);
}
iw_ad_txtlink=1;
}
} //}
//if (window.parent.document == window.document) {iwdocument=window.document;} else {iwdocument=window.parent.document;}
//eval(iwdocument.iw_ad_f468=1);
iw_ad_alternativo=void(0);