// JavaScript Document
function InmomundosetCookie(name, value,sexpire) 
{
	var today = new Date();
	var expire = new Date();
	expire.setTime(today.getTime() + (1000*sexpire));
	document.cookie = name + "=" + escape(value) + "; domain=" + document.location.host + ((expire == null) ? "" : ("; expires=" + expire.toGMTString()));
}
function InmomundogetCookies(Name) 
{
	var search = Name + "=";
	if (document.cookie.length > 0) 
	{
		offset = document.cookie.indexOf(search);
		if (offset != -1) 
		{
			offset += search.length
			end = document.cookie.indexOf(";", offset)
			if (end == -1)
				end = document.cookie.length
			return unescape(document.cookie.substring(offset, end))
		}
	}
}
var Pagina=window.location.href;
var Inicio=0;
var Tipo='';
var Div='';
var Prec='';
var Text='';
if(document.location.pathname!=InmomundogetCookies("Pathant")&&InmomundogetCookies("Restart")!="NO")
{
	InmomundosetCookie('Inicio', '0',86400);
	InmomundosetCookie('Tipo', '',86400);
	InmomundosetCookie('Div', '',86400);
	InmomundosetCookie('Prec', '',86400);
	InmomundosetCookie('Text', '',86400);
}
InmomundosetCookie('Pathant', document.location.pathname,86400);
InmomundosetCookie('Restart', 'SI',86400);
if(typeof(InmomundogetCookies("Inicio"))!="undefined")
{
	Inicio=InmomundogetCookies("Inicio");
}
if(typeof(InmomundogetCookies("Tipo"))!="undefined")
{
	Tipo=InmomundogetCookies("Tipo");
}
if(typeof(InmomundogetCookies("Div"))!="undefined")
{
	Div=InmomundogetCookies("Div");
}
if(typeof(InmomundogetCookies("Prec"))!="undefined")
{
	Prec=InmomundogetCookies("Prec");
}
if(typeof(InmomundogetCookies("Text"))!="undefined")
{
	Text=InmomundogetCookies("Text");
}
Server="http://webs.inmomex.com/";
var Style_Links="";
if(typeof(Font_Links)!="undefined")
{
 	Style_Links="font-family:" + Font_Links + ";";
}
if(typeof(Font_Color_Links)!="undefined")
{
 	Style_Links+="color:" + Font_Color_Links + ";";
}
if(typeof(Font_Size_Links)!="undefined")
{
 	Style_Links+="font-size:" + Font_Size_Links + ";";
}
if(typeof(Font_Ostyle_Links)!="undefined")
{
 	Style_Links+=Font_Ostyle_Links;
}

document.write('\<script language="javascript" src="' + Server + 'funciones.js"\>\<\/script\>');
document.write('\<script language="javascript" src="' + Server + 'ajax.inc.php?' +
			   'Pais=' + Pais + '&Cuenta=' + Cuenta + 
			   '&Inicio=' + Inicio + '&Adsxpages=' + Adsxpages + 
			   '&Idioma=' + Idioma + '&Tipo=' + Tipo +   '&Div=' + Div + 
			   '&Prec=' + Prec + '&Text=' + Text + 
			   '&Show=' + Show + '&Geo=' + Geo + '&Cg=' + Cg + '&SizeAdd=' + SizeAdd +
			   '"\>\<\/script\>');
<!--document.write('\<script language="javascript" src="' + Server + 'ajax.inc.php?' + 'Pagina=' + document.location.href + '&Pais=' + Pais + '&Cuenta=' + Cuenta +  '&Inicio=' + Inicio + '&Adsxpages=' + Adsxpages + '&Idioma=' + Idioma + '&Tipo=' + Tipo +   '&Div=' + Div + '&Prec=' + Prec + '&Text=' + Text + '&Show=' + Show + '&Geo=' + Geo + '&Cg=' + Cg + '"\>\<\/script\>');-->