var chechkm8inactive = false;
var floatskyinactive = false;

function paintPublicity468x60morso () {
	sz = "468x60";
	st = "es.inforchat.com";
	pd = "e04registro_hispachat";
	isnt = "dcopt=ist";
	vartext = "tile=1";
	std = "http://ad.es.doubleclick.net/";
	var time = new Date();
	randnum= (time.getTime());
	if (navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.substring(0,1)>=5) {
		document.write ('<a href="'+std+'jump/'+st+'/'+pd+';sz='+sz+'">');
		document.write ('<img src="'+std+'ad/'+st+'/'+pd+';sz='+sz+'" width="468" height="60" border="0"></a>'); 
	}	else {
		document.write ('<SCR'+'IPT language="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';'+isnt+';sz='+sz+';'+vartext+';ord='+randnum+'?"></SCR'+'IPT>'); 
	}
}

function paintPublicity468x60p () {
	sz = "468x60";
	st = "es.inforchat.com";
	pd = "e01home_hispachat";
	isnt = "dcopt=ist";
	vartext = "tile=1";
	section ="";
	std = "http://ad.es.doubleclick.net/";
	var chechkm8inactive=false;
	var floatskyinactive=false;
	var time = new Date();
	randnum= (time.getTime());
	if (navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.substring(0,1)>=5) {
		document.write ('<a href="'+std+'jump/'+st+'/'+pd+';sz='+sz+'">');
		document.write ('<img src="'+std+'ad/'+st+'/'+pd+';sz='+sz+'" width="468" height="60" border="0"></a>');
	} else {
		document.write ('<SCR'+'IPT language="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';'+section+';'+isnt+';sz='+sz+';'+vartext+';ord='+randnum+'?"></SCR'+'IPT>');
	}
}

function paintPublicity468x60s () {
	sz = "468x60";
	st = "es.inforchat.com";
	pd = "e02subportadas_hispachat";
	isnt = "dcopt=ist";
	vartext = "tile=1";
	section ="";
	std = "http://ad.es.doubleclick.net/";
	var chechkm8inactive=false;
	var floatskyinactive=false;
	var time = new Date();
	randnum= (time.getTime());
	if (navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.substring(0,1)>=5) {
		document.write ('<a href="'+std+'jump/'+st+'/'+pd+';sz='+sz+'">');
		document.write ('<img src="'+std+'ad/'+st+'/'+pd+';sz='+sz+'" width="468" height="60" border="0"></a>'); 
	} else {
		document.write ('<SCR'+'IPT language="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';'+section+';'+isnt+';sz='+sz+';'+vartext+';ord='+randnum+'?"></SCR'+'IPT>'); 
	}
}

function paintPublicity468x60c () {
ord=Math.random()*10000000000000000;
document.write('<iframe src="http://ad.es.doubleclick.net/adi/es.inforchat.com/e03zona_chat_hispachat;tile=1;dcopt=ist;sz=468x60;ord=' + ord + '?" width="468" height="60" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling=no borderCOLOR="#000000">');
if (navigator.userAgent.indexOf("Gecko")==-1)
{document.write('<script language="JavaScript" src="http://ad.es.doubleclick.net/adj/es.inforchat.com/e03zona_chat_hispachat;tile=1;dcopt=ist;sz=468x60;abr=!ie;ord=' + ord + '?" type="text/javascript"><\/script>');
}
document.write('</iframe>');
setTimeout("self.location.reload()", 240000);
}
/*
function paintPublicity300x250p () {
	sz = "300x250";
	st = "es.inforchat.com";
	pd = "e01home_hispachat";
	vartext = "tile=2";
	section = "";
	std = "http://ad.es.doubleclick.net/";
	var time = new Date();
	randnum= (time.getTime());
	if (navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.substring(0,1)>=5) {
		document.write ('<a href="'+std+'jump/'+st+'/'+pd+';sz='+sz+'">');
		document.write ('<img src="'+std+'ad/'+st+'/'+pd+';sz='+sz+'" width="300" height="250" border="0"></a>');
	} else {
		document.write ('<SCR'+'IPT language="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';sz='+sz+';'+vartext+';'+section+';ord='+randnum+'?"></SCR'+'IPT>');
	}
}
*/
function paintPublicity120x300p () {
	sz = "120x300";
	st = "es.inforchat.com";
	pd = "e01home_hispachat";
	vartext = "tile=3";
	section = "";
	std = "http://ad.es.doubleclick.net/";
	var time = new Date();
	randnum= (time.getTime());
	if (navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.substring(0,1)>=5) {
		document.write ('<a href="'+std+'jump/'+st+'/'+pd+';sz='+sz+'">');
		document.write ('<img src="'+std+'ad/'+st+'/'+pd+';sz='+sz+'" width="120" height="300" border="0"></a>');
	} else {
		document.write ('<SCR'+'IPT language="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';sz='+sz+';'+vartext+';'+section+';ord='+randnum+'?"></SCR'+'IPT>'); 
	}
}

function paintPublicity124x81s () {
	sz = "124x81";
	st = "es.inforchat.com";
	pd = "e02subportadas_hispachat";
	vartext = "tile=7";
	section = "";
	std = "http://ad.es.doubleclick.net/";
	var time = new Date();
	randnum= (time.getTime());
	if (navigator.appName && navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.substring(0,1)>=5) {
		document.write ('<a href="'+std+'jump/'+st+'/'+pd+';sz='+sz+'">');
		document.write ('<img src="'+std+'ad/'+st+'/'+pd+';sz='+sz+'" width="124" height="81" border="0"></a>');
	}	else {
		document.write ('<SCR'+'IPT language="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';sz='+sz+';'+vartext+';'+section+';ord='+randnum+'?"></SCR'+'IPT>');
	}
}

function paintPublicity120x60c () {
	sz = "120x60";
	st = "es.inforchat.com";
	pd = "e03zona_chat_hispachat";
	vartext = "tile=7";
	section = "";
	std = "http://ad.es.doubleclick.net/";
	var time = new Date();
	randnum= (time.getTime());
	document.write('<IFRAME SRC="'+std+'adi/'+st+'/'+pd+';'+section+';sz='+sz+';'+vartext+';ord='+randnum+'?" WIDTH="120" HEIGHT="60" MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING=no BORDERCOLOR="#000000">');
	document.write('<SCRIPT LANGUAGE="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';'+section+';sz='+sz+';'+vartext+';ord='+randnum+'?" ><\/SCRIPT>');
	document.write('</IFRAME>');
}

function paintPublicitySkyp() {
	if (screen.width > 1000 && !floatskyinactive){
		bannerWoo.begin({pos:3,wid:100,hei:600});bannerWoo.end({pos:3});
		/*
		section ="";
		ord=Math.random()*10000000000000000;
		document.write('<SCRIPT LANGUAGE="JavaScript" SRC="http://ad.es.doubleclick.net/adj/es.inforchat.com/e01home_hispachat;tile=6;'+section+';sz=100x600;ord=' + ord + '?" ><\/SCRIPT>');
		function ver (){
			if (document.body.clientWidth > 890){
				document.getElementById('layer_100').style.visibility = 'visible';
			} else {
				document.getElementById('layer_100').style.visibility = 'hidden';
			}
		}
		window.onresize = ver;
		*/
	}
}

function paintPublicitySkys() {
	if (screen.width > 1000 && !floatskyinactive){
		bannerWoo.begin({pos:3,wid:100,hei:600});bannerWoo.end({pos:3});
		/*
		section ="";
		ord=Math.random()*10000000000000000;
		document.write('<SCRIPT LANGUAGE="JavaScript" SRC="http://ad.es.doubleclick.net/adj/es.inforchat.com/e02subportadas_hispachat;tile=6;'+section+';sz=100x600;ord=' + ord + '?" ><\/SCRIPT>');
		function ver (){
			if (document.body.clientWidth > 890){
				document.getElementById('layer_100').style.visibility = 'visible';
			}
			else {
				document.getElementById('layer_100').style.visibility = 'hidden';
			}
		}
		window.onresize = ver;
		*/
	}
}

function paintPublicity768x24c () {
	/*
	sz = "768x24";
	st = "es.inforchat.com";
	pd = "e03zona_chat_hispachat";
	vartext = "tile=3";
	section = "";
	std = "http://ad.es.doubleclick.net/";
	var time = new Date();
	randnum= (time.getTime());
	document.write('<IFRAME SRC="'+std+'adi/'+st+'/'+pd+';'+section+';sz='+sz+';'+vartext+';ord='+randnum+'?" WIDTH="768" HEIGHT="24" MARGINWIDTH="0" MARGINHEIGHT="0" HSPACE="0" VSPACE="0" FRAMEBORDER="0" SCROLLING=no BORDERCOLOR="#000000">');
	document.write('<SCRIPT LANGUAGE="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';'+section+';sz='+sz+';'+vartext+';ord='+randnum+'?" ><\/SCRIPT>');
	document.write('</IFRAME>');
	*/
}


function paintCheckM8p () {
	var cm8cat='hispachat.home';
	if (!chechkm8inactive) { 
		document.write('<SC'+'RIPT language="javascript" src="http://ad.ya.com/multiplescript/checkm8_init_1.js"></SCR'+'IPT>'); 
	}
}

function paintCheckM8s () {
	var cm8cat='hispachat.rot_gen';
	if (!chechkm8inactive) { 
		document.write('<SC'+'RIPT language="javascript" src="http://ad.ya.com/multiplescript/checkm8_init_1.js"></SCR'+'IPT>'); 
	}
}

function paintPublicity120x60p () {
	sz = "120x60";
	st = "es.inforchat.com";
	pd = "e01home_hispachat";
	vartext = "tile=8";
	section = "";
	std = "http://ad.es.doubleclick.net/";
	var time = new Date();
	randnum= (time.getTime());
	document.write('<SCRIPT LANGUAGE="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';'+section+';sz='+sz+';'+vartext+';ord='+randnum+'?" ><\/SCRIPT>');
}

function paintPublicity120x60s () {
	sz = "120x60";
	st = "es.inforchat.com";
	pd = "e02subportadas_hispachat";
	vartext = "tile=8";
	section = "";
	std = "http://ad.es.doubleclick.net/";
	var time = new Date();
	randnum= (time.getTime());
	document.write('<SCRIPT LANGUAGE="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';'+section+';sz='+sz+';'+vartext+';ord='+randnum+'?" ><\/SCRIPT>');
}

function paintPublicity120x150e () {
	var bust = Math.floor(89999999*Math.random()+10000000);
	document.writeln('<IFRAME src="http://advertpro.ya.com/servlet/view/banner/html/zone?zid=108&pid=0&random='+bust+'" height="150" width="120" hspace="0" vspace="0" frameborder="0" 	marginwidth="0" 		marginheight="0" scrolling="no">');
	document.writeln('<A href="http://advertpro.ya.com/servlet/click/zone?zid=108&pid=0&lookup=true&random='+bust+'" target="_blank">');
	document.writeln('<IMG src="http://advertpro.ya.com/servlet/view/banner/image/zone?zid=108&pid=0&random='+bust+'" height="150" width="120" hspace="0" vspace="0" border="0" alt="Clica aquí!">');
	document.writeln('</A>');
	document.writeln('</IFRAME>');
}

function paintPublicity400x100e (adcode) {
	ord=Math.random()*10000000000000000;
	zona=adcode;
	document.write('<script language="JavaScript" src="http://ad.es.doubleclick.net/adj/es.inforchat.com/e01home_hispachat;' + zona + ';sz=400x100;ord=' + ord + '?" type="text/javascript"><\/script>');
}
//nuevas publicidades
//nuevas publicidades
function paintPublicity770x40morso () {
	ord=Math.random()*10000000000000000;
	document.write('<script language="JavaScript" src="http://ad.es.doubleclick.net/adj/es.inforchat.com/e02subportadas_hispachat;ptile=2;sz=770x40;ord=' + ord + '?" type="text/javascript"></scr' + 'ipt>');
}
function paintPublicity770x40p(){
	ord=Math.random()*10000000000000000;
	document.write('<script language="JavaScript" src="http://ad.es.doubleclick.net/adj/es.inforchat.com/e01home_hispachat;ptile=2;sz=770x40;ord=' + ord + '?" type="text/javascript"></scr' + 'ipt>');
}
function paintPublicity728x90p(){
	bannerWoo.begin({pos:1,wid:728,hei:90});bannerWoo.end({pos:1});	
}
function paintPublicity728x90morso() {
	ord=Math.random()*10000000000000000;
	document.write('<script language="JavaScript" src="http://ad.es.doubleclick.net/adj/es.inforchat.com/e02subportadas_hispachat;ptile=1;dcopt=ist;sz=728x90;ord=' + ord + '?" type="text/javascript"></scr' + 'ipt>');
}
function paintPublicity300x250p(){
	/*ord=Math.random()*10000000000000000;
	document.write('<script language="JavaScript" src="http://ad.es.doubleclick.net/adj/es.inforchat.com/e01home_hispachat;ptile=3;sz=300x250;ord=' + ord + '?" type="text/javascript"></scr' + 'ipt>');*/
	bannerWoo.begin({pos:3,wid:300,hei:250});bannerWoo.end({pos:3});
}
function paintPublicity300x250s(){
	/*ord=Math.random()*10000000000000000;
	document.write('<script language="JavaScript" src="http://ad.es.doubleclick.net/adj/es.inforchat.com/e02subportadas_hispachat;ptile=3;sz=300x250;ord=' + ord + '?" type="text/javascript"></scr' + 'ipt>');*/
	bannerWoo.begin({pos:3,wid:300,hei:250});bannerWoo.end({pos:3});	
}
function paintPublicity770x40s(){
	ord=Math.random()*10000000000000000;
	document.write('<script language="JavaScript" src="http://ad.es.doubleclick.net/adj/es.inforchat.com/e02subportadas_hispachat;ptile=2;sz=770x40;ord=' + ord + '?" type="text/javascript"></scr' + 'ipt>');
}
function paintPublicity728x90s(){
	bannerWoo.begin({pos:1,wid:728,hei:90});bannerWoo.end({pos:1});	
}
//fin nuevas publicidades