function paintChuecaAd(){
document.write('<a href="http://acceso.ya.com/adsl/"><img src="http://www.chueca.com/imgchueca/adsl_chueca.gif" width=126 height=83 alt="" border="0"></a>');
}

function PaintChueca468x60Ad()
{
sz = "468x60";
st = "es.chueca.com";
pd = "e01home";
isnt = "dcopt=ist";
vartext = "p=";
std = "http://ad.es.doubleclick.net/";
var time = new Date();
randnum= (time.getTime());
if (document.cookie.length > 0) {
cookies=unescape(document.cookie);
offset = cookies.indexOf("YAKEYS=");
if (offset != -1) {
offset = cookies.indexOf("P1=");
if (offset != -1) {
end =cookies.indexOf("|", offset);
vartext=cookies.substring(offset, end);}}}
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 paint_pub215x200(){
	sz = "200x200";
	st = "es.chueca.com";
	pd = "e01home";
	vartext = "p=";
	std = "http://ad.es.doubleclick.net/";
	
	var time = new Date();
	randnum= (time.getTime());
	
	if (document.cookie.length > 0) {
	cookies=unescape(document.cookie);
	offset = cookies.indexOf("YAKEYS=");
	if (offset != -1) {
	offset = cookies.indexOf("P1=");
	if (offset != -1) {
	end =cookies.indexOf("|", offset);
	vartext=cookies.substring(offset, end);}}}
	
	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="200" height="200" border="0"></a>'); }
	else {
	document.write ('<SCR'+'IPT language="JavaScript" SRC="'+std+'adj/'+st+'/'+pd+';sz='+sz+';'+vartext+';ord='+randnum+'?"></SCR'+'IPT>'); }
	 
}