
function destacado(){
			this.id;
			this.auth;
			this.font_color;
			this.font_size;
			this.background_color;
			this.width;
			this.height;
			this.box_width;
			this.input_font_color;
			this.input_width;
			this.input_font_size;
			this.button_background;
			this.button_font_size;
			this.button_font_color;
			this.heading_background_1;
			this.heading_background_2;
			this.heading_font_color_1;
			this.heading_font_color_2;
		
		
		return this;
}

function destacar(obj){
		if(obj.width==null){
			obj.width = 200;
		}
		if(obj.height==null){
			obj.height = 180;
		}
		path = "http://www.mesainmobiliaria.com/destacados_publico.jsp?id="+obj.id;
//		path = "http://localhost:8888/mesa2/destacados_publico.jsp?id="+obj.id;
		if(obj.font_color!= null){ path += "&fc="+obj.font_color;}
		if(obj.auth!= null){ path += "&auth="+obj.auth;}
		if(obj.font_size!= null){ path += "&fs="+obj.font_size;}
		if(obj.background_color!=null){ path += "&bc="+obj.background_color;}
		if(obj.width!=null){ path += "&w="+obj.width;}
		if(obj.height!=null){ path += "&h="+obj.height;}
		if(obj.box_width!=null){ path += "&bw="+obj.box_width;}
		if(obj.input_font_color!=null){ path += "&ifc="+obj.input_font_color;}
		if(obj.input_width!=null){ path += "&iw="+obj.input_width;}
		if(obj.input_font_size!=null){ path += "&ifs="+obj.input_font_size;}
		if(obj.button_background!=null){ path += "&bb="+obj.button_background;}
		if(obj.button_font_size!=null){ path += "&bfs="+obj.button_font_size;}
		if(obj.button_font_color!=null){ path += "&bfc="+obj.button_font_color;}
		if(obj.heading_background_1!=null){ path += "&hb1="+obj.heading_background_1;}
		if(obj.heading_background_2!=null){ path += "&hb2="+obj.heading_background_2;}
		if(obj.heading_font_color_1!=null){ path += "&hfc1="+obj.heading_font_color_1;}
		if(obj.heading_font_color_2!=null){ path += "&hfc2="+obj.heading_font_color_2;}
		
		
		frame = "<iframe id='iFrame' src='"+path+"' width='"+obj.width+"' height='"+obj.height+"' border='0' frameborder='0' scrolling='no' align='center'></iframe>";
		return(frame);
 }



