		function Proyectos()
		{
				this.pageid="";
				this.imageurl="";
				this.categoria="";
				this.nombre="";
				this.estrato="";
				this.tipo="";
				this.descripcion="";
				this.direccion="";
				this.ciudad="";
				this.redirigir="";
				this.getPageid=getPageid;
				this.setPageid=setPageid;
				this.getImageurl=getImageurl;
				this.setImageurl=setImageurl;
				this.getCategoria=getCategoria;
				this.setCategoria=setCategoria;
				this.getNombre=getNombre;
				this.setNombre=setNombre;
				this.getEstrato=getEstrato;
				this.setEstrato=setEstrato;
				this.getTipo=getTipo;
				this.setTipo=setTipo;
				this.getCiudad=getCiudad;
				this.setCiudad=setCiudad;
				this.getDescripcion=getDescripcion;
				this.setDescripcion=setDescripcion;
				this.getDireccion=getDireccion;
				this.setDireccion=setDireccion;
				this.setRedireccion=setRedireccion;
				this.getRedireccion=getRedireccion;
		}	
		function getPageid()
		{
			return this.pageid;	
		}
		function setPageid(valor)
		{
			this.pageid=valor;	
		}
		function getImageurl()
		{
			return this.imageurl;	
		}
		function setImageurl(valor)
		{
			var vec=valor.split("^");
			var urlima="";
			var ancho="";
			var alto="";
			var directorio="";
			for(j=0;j<vec.length;j++)
			{
				//alert(vec[j]);
				if(vec[j].indexOf("img=")!=-1)
				{
					urlima=vec[j].replace("img=","");
				}
				if(vec[j].indexOf("w=")!=-1)
				{
					ancho=vec[j].replace("w=","");
				}
				if(vec[j].indexOf("h=")!=-1)
				{
					alto=vec[j].replace("h=","");
				}
				if(vec[j].indexOf("strDir=")!=-1)
				{
					directorio=vec[j].replace("strDir=..","");
				}
			}
			ruta="http://www.solucionesinmobiliarias.com.co/"+directorio+urlima;
			imagen='<img src="'+ruta+'"  border="0" style="max-width:165px" />'
			this.imageurl=imagen;	
		}
		function getCategoria()
		{
			return this.categoria;	
		}
		function setCategoria(cate)
		{
			this.categoria=cate;	
		}
		function getNombre()
		{
			return this.nombre;	
		}
		function setNombre(valor)
		{
			this.nombre=valor;	
		}
		function getEstrato()
		{
			return this.estrato;	
		}
		function setEstrato(valor)
		{
			this.estrato=valor;	
		}
		function getTipo()
		{
			return this.tipo;	
		}
		function setTipo(valor)
		{
			this.tipo=valor;	
		}
		function getDescripcion()
		{
			return this.descripcion;	
		}
		function setDescripcion(valor)
		{
			this.descripcion=valor;	
		}
		function getDireccion()
		{
			return this.direccion;	
		}
		function setDireccion(valor)
		{
			this.direccion=valor;	
		}
		function getCiudad()
		{
			return this.ciudad;	
		}
		function setCiudad(valor)
		{
			this.ciudad=valor;	
		}
		function setRedireccion(valor)
		{
			this.redirigir=valor;	
		}
		function getRedireccion()
		{
			return this.redirigir;	
		}
