	var st701_properties_corp = false;

var st701_properties_ad = new Array();


						
		st701_properties_ad[0] = new Array();
		st701_properties_ad[0]["title"] = "Laguna 88 &#40;D16&#41; Condominium 1130SQF 3 BDRMS $700k *GROUND FLOOR";
		st701_properties_ad[0]["title_full"] = "Laguna 88 &#40;D16&#41; Condominium 1130SQF 3 BDRMS $700k *GROUND FLOOR";
		st701_properties_ad[0]["link"] = "http://property.st701.com/properties/view/1010393";
		st701_properties_ad[0]["for"] = "Sale";
		st701_properties_ad[0]["sale_price"] = "Price on Ask";
		st701_properties_ad[0]["rent_price"] = "Price on Ask";
		st701_properties_ad[0]["sale_option"] = "";
		st701_properties_ad[0]["rent_option"] = " ";
		st701_properties_ad[0]["project_name"] = "(Laguna 88)";
		st701_properties_ad[0]["street_name"] = "EASTWOOD ROAD";
		st701_properties_ad[0]["type"] = "Condos / Apartment";
		st701_properties_ad[0]["classification"] = "Condominium";
		st701_properties_ad[0]["photo"] = "http://img.st701.com/ads/properties/2009/11/21/1dabbc9a98df002694ae056d46c24684_t.jpg";
		st701_properties_ad[0]["publish"] = "2009-11-21 10:42:41";
		st701_properties_ad[0]["area"] = "16";
		st701_properties_ad[0]["sold"] = "0";
		st701_properties_ad[0]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>N.A.</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>1,130 sqft</td></tr></table>";
					
		st701_properties_ad[1] = new Array();
		st701_properties_ad[1]["title"] = "2 Rooms@Choa Chu Kang Blk 404. chinese house. Master/common";
		st701_properties_ad[1]["title_full"] = "2 Rooms@Choa Chu Kang Blk 404. chinese house. Master/common";
		st701_properties_ad[1]["link"] = "http://property.st701.com/properties/view/1010389";
		st701_properties_ad[1]["for"] = "Rent";
		st701_properties_ad[1]["sale_price"] = "Price on Ask";
		st701_properties_ad[1]["rent_price"] = "S$600";
		st701_properties_ad[1]["sale_option"] = "";
		st701_properties_ad[1]["rent_option"] = " ";
		st701_properties_ad[1]["project_name"] = "";
		st701_properties_ad[1]["street_name"] = "N.A.";
		st701_properties_ad[1]["type"] = "HDB / HUDC";
		st701_properties_ad[1]["classification"] = "1 Room";
		st701_properties_ad[1]["photo"] = "http://img.st701.com/ads/properties/2009/11/21/c6100ec2e5c3e069e21c5251da046a79_t.jpg";
		st701_properties_ad[1]["publish"] = "2009-11-21 10:39:53";
		st701_properties_ad[1]["area"] = "Choa Chu Kang";
		st701_properties_ad[1]["sold"] = "0";
		st701_properties_ad[1]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>N.A.</td></tr><tr><td>Street Name:</td><td style='padding:0 0 0 5px;'>N.A.</td></tr></table>";
					
		st701_properties_ad[2] = new Array();
		st701_properties_ad[2]["title"] = "Room@Kallang MRT Blk 2. New flat. Chinese house. Common room";
		st701_properties_ad[2]["title_full"] = "Room@Kallang MRT Blk 2. New flat. Chinese house. Common room";
		st701_properties_ad[2]["link"] = "http://property.st701.com/properties/view/1010386";
		st701_properties_ad[2]["for"] = "Rent";
		st701_properties_ad[2]["sale_price"] = "Price on Ask";
		st701_properties_ad[2]["rent_price"] = "S$600";
		st701_properties_ad[2]["sale_option"] = "";
		st701_properties_ad[2]["rent_option"] = " ";
		st701_properties_ad[2]["project_name"] = "";
		st701_properties_ad[2]["street_name"] = "N.A.";
		st701_properties_ad[2]["type"] = "HDB / HUDC";
		st701_properties_ad[2]["classification"] = "1 Room";
		st701_properties_ad[2]["photo"] = "http://img.st701.com/ads/properties/2009/11/21/502b81d3c9dc436fe83287b09b148d52_t.jpg";
		st701_properties_ad[2]["publish"] = "2009-11-21 10:38:24";
		st701_properties_ad[2]["area"] = "Kallang / Whampoa";
		st701_properties_ad[2]["sold"] = "0";
		st701_properties_ad[2]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>N.A.</td></tr><tr><td>Street Name:</td><td style='padding:0 0 0 5px;'>N.A.</td></tr></table>";
					
		st701_properties_ad[3] = new Array();
		st701_properties_ad[3]["title"] = "EXPAT &#45; Short Term &#45; 27/11 to 26/12 &#45; Masterroom for Rent!!";
		st701_properties_ad[3]["title_full"] = "EXPAT &#45; Short Term &#45; 27/11 to 26/12 &#45; Masterroom for Rent!!";
		st701_properties_ad[3]["link"] = "http://property.st701.com/properties/view/1010385";
		st701_properties_ad[3]["for"] = "Rent";
		st701_properties_ad[3]["sale_price"] = "Price on Ask";
		st701_properties_ad[3]["rent_price"] = "S$1,100";
		st701_properties_ad[3]["sale_option"] = "";
		st701_properties_ad[3]["rent_option"] = " ";
		st701_properties_ad[3]["project_name"] = "(The Gardens at Bishan)";
		st701_properties_ad[3]["street_name"] = "SIN MING WALK";
		st701_properties_ad[3]["type"] = "Condos / Apartment";
		st701_properties_ad[3]["classification"] = "Condominium";
		st701_properties_ad[3]["photo"] = "http://img.st701.com/ads/properties/2009/11/21/d629cd6c4df593e06be419fe9a572b32_t.jpg";
		st701_properties_ad[3]["publish"] = "2009-11-21 10:37:50";
		st701_properties_ad[3]["area"] = "20";
		st701_properties_ad[3]["sold"] = "0";
		st701_properties_ad[3]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>1</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>N.A.</td></tr></table>";
					
		st701_properties_ad[4] = new Array();
		st701_properties_ad[4]["title"] = "Master Room@Clementi MRT Blk 320. $550 for 1 lady. Chinese hse";
		st701_properties_ad[4]["title_full"] = "Master Room@Clementi MRT Blk 320. $550 for 1 lady. Chinese hse";
		st701_properties_ad[4]["link"] = "http://property.st701.com/properties/view/1010383";
		st701_properties_ad[4]["for"] = "Rent";
		st701_properties_ad[4]["sale_price"] = "Price on Ask";
		st701_properties_ad[4]["rent_price"] = "S$550";
		st701_properties_ad[4]["sale_option"] = "";
		st701_properties_ad[4]["rent_option"] = " ";
		st701_properties_ad[4]["project_name"] = "";
		st701_properties_ad[4]["street_name"] = "N.A.";
		st701_properties_ad[4]["type"] = "HDB / HUDC";
		st701_properties_ad[4]["classification"] = "1 Room";
		st701_properties_ad[4]["photo"] = "http://img.st701.com/ads/properties/2009/11/21/45d97f42ec1195a4af169c879c814a28_t.jpg";
		st701_properties_ad[4]["publish"] = "2009-11-21 10:37:08";
		st701_properties_ad[4]["area"] = "Clementi";
		st701_properties_ad[4]["sold"] = "0";
		st701_properties_ad[4]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>N.A.</td></tr><tr><td>Street Name:</td><td style='padding:0 0 0 5px;'>N.A.</td></tr></table>";
	
				
	// This is an example rendering, this is called only once during page load.
	function st701_properties_render() {
		if (st701_properties_ad) {
			document.writeln('<div class="st701_ad_column">');
			for (var i=0; i < st701_properties_ad.length; i++) {
				with(document) {
					writeln('<div class="st701_ad_column_box">');
						
										
					writeln('<div class="st701_ad_column_data1"><a onclick="return showPopup(0, this.href);" target="_blank" href="' + st701_properties_ad[i]['link'] + '"><img src="' + st701_properties_ad[i]['photo'] + '" border="0" title="' + st701_escape_quote(st701_properties_ad[i]['title_full']) + '" /></a></div>');
					switch (st701_properties_ad[i]['for']) {
						case "Sale":
							writeln('<div class="st701_ad_column_data2">' + st701_properties_ad[i]['type'] + ' for Sale</div>');
							break;
						case "Rent":
							writeln('<div class="st701_ad_column_data2">' + st701_properties_ad[i]['type'] + ' for Rent</div>');
							break;
						default:
							writeln('<div class="st701_ad_column_data2">' + st701_properties_ad[i]['type'] + ' for Sale/Rent</div>');
					}
					writeln('<div class="st701_ad_column_data3" title="' + st701_escape_quote(st701_properties_ad[i]['title_full']) + '">' + st701_properties_ad[i]['title'] + '</div>');
					
										
					writeln('</div>');
				}
			}
			document.writeln('</div>');
		}
	}
	
	function st701_escape_quote(s) {
		return s.replace(/\"/g, "&quot;");
	}
	
		
	function showPopup(n, s) {
		if (n == 1) {
			window.open(s, '', 'scrollbars=1,width=762,height=700,menubar=0,location=0');
			return false;
		} else {
			return true;
		}
	}
	
	st701_properties_render();
	