			var st701_properties_corp = new Array();
	
			st701_properties_corp["id"] = "589";
			st701_properties_corp["registered_name"] = "Benson Koh";
			st701_properties_corp["corporate_logo"] = "http://img.st701.com/corp_logos/589_Vu.jpg";
			st701_properties_corp["xml_hash"] = "e5c8rp9857kk4w8goowgsko4w";
	
var st701_properties_ad = new Array();


						
		st701_properties_ad[0] = new Array();
		st701_properties_ad[0]["title"] = "D15 &#45;  GRAND DUCHESS AT ST PATRICK&#39;S 3 BR TOPING SOON";
		st701_properties_ad[0]["title_full"] = "D15 &#45;  GRAND DUCHESS AT ST PATRICK&#39;S 3 BR TOPING SOON";
		st701_properties_ad[0]["link"] = "http://property.st701.com/properties/view/967456";
		st701_properties_ad[0]["for"] = "Sale";
		st701_properties_ad[0]["sale_price"] = "S$1,420,000";
		st701_properties_ad[0]["rent_price"] = "Price on Ask";
		st701_properties_ad[0]["sale_option"] = "Negotiable";
		st701_properties_ad[0]["rent_option"] = " ";
		st701_properties_ad[0]["project_name"] = "(Grand Duchess At St Patrick's)";
		st701_properties_ad[0]["street_name"] = "N.A.";
		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/10/30/a97b1dc64ae67bf0c1a2458095510b09_t.jpg";
		st701_properties_ad[0]["publish"] = "2009-11-20 00:32:05";
		st701_properties_ad[0]["area"] = "15";
		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;'>3</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>1,356 sqft</td></tr></table>";
					
		st701_properties_ad[1] = new Array();
		st701_properties_ad[1]["title"] = "D15 &#45;  GRAND DUCHESS AT ST PATRICK&#39;S 4 BEDROOM DUPLEX 2573";
		st701_properties_ad[1]["title_full"] = "D15 &#45;  GRAND DUCHESS AT ST PATRICK&#39;S 4 BEDROOM DUPLEX 2573";
		st701_properties_ad[1]["link"] = "http://property.st701.com/properties/view/967457";
		st701_properties_ad[1]["for"] = "Sale";
		st701_properties_ad[1]["sale_price"] = "S$2,830,300";
		st701_properties_ad[1]["rent_price"] = "Price on Ask";
		st701_properties_ad[1]["sale_option"] = "Estimated";
		st701_properties_ad[1]["rent_option"] = " ";
		st701_properties_ad[1]["project_name"] = "(Grand Duchess At St Patrick's)";
		st701_properties_ad[1]["street_name"] = "N.A.";
		st701_properties_ad[1]["type"] = "Condos / Apartment";
		st701_properties_ad[1]["classification"] = "Condominium";
		st701_properties_ad[1]["photo"] = "http://img.st701.com/ads/properties/2009/10/30/819593da3202b112faf4fa7528c65608_t.jpg";
		st701_properties_ad[1]["publish"] = "2009-11-20 00:30:36";
		st701_properties_ad[1]["area"] = "15";
		st701_properties_ad[1]["sold"] = "0";
		st701_properties_ad[1]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>4</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>2,573 sqft</td></tr></table>";
					
		st701_properties_ad[2] = new Array();
		st701_properties_ad[2]["title"] = "D11 &#45; Viva 2BR&#43;STUDY 1044 NXT TO NOVENA MRT";
		st701_properties_ad[2]["title_full"] = "D11 &#45; Viva 2BR&#43;STUDY 1044 NXT TO NOVENA MRT";
		st701_properties_ad[2]["link"] = "http://property.st701.com/properties/view/967448";
		st701_properties_ad[2]["for"] = "Sale";
		st701_properties_ad[2]["sale_price"] = "S$1,564,200";
		st701_properties_ad[2]["rent_price"] = "Price on Ask";
		st701_properties_ad[2]["sale_option"] = "";
		st701_properties_ad[2]["rent_option"] = " ";
		st701_properties_ad[2]["project_name"] = "(Viva)";
		st701_properties_ad[2]["street_name"] = "N.A.";
		st701_properties_ad[2]["type"] = "Condos / Apartment";
		st701_properties_ad[2]["classification"] = "Condominium";
		st701_properties_ad[2]["photo"] = "http://img.st701.com/ads/properties/2009/10/30/cb33636af5707c85fd2c05df0eace6d4_t.jpg";
		st701_properties_ad[2]["publish"] = "2009-11-20 00:26:45";
		st701_properties_ad[2]["area"] = "11";
		st701_properties_ad[2]["sold"] = "0";
		st701_properties_ad[2]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>2</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>1,044 sqft</td></tr></table>";
					
		st701_properties_ad[3] = new Array();
		st701_properties_ad[3]["title"] = "D11 &#45; Viva Penthouse for Sale, Next to Novena MRT!";
		st701_properties_ad[3]["title_full"] = "D11 &#45; Viva Penthouse for Sale, Next to Novena MRT!";
		st701_properties_ad[3]["link"] = "http://property.st701.com/properties/view/967449";
		st701_properties_ad[3]["for"] = "Sale";
		st701_properties_ad[3]["sale_price"] = "S$7,717,500";
		st701_properties_ad[3]["rent_price"] = "Price on Ask";
		st701_properties_ad[3]["sale_option"] = "";
		st701_properties_ad[3]["rent_option"] = " ";
		st701_properties_ad[3]["project_name"] = "(Viva)";
		st701_properties_ad[3]["street_name"] = "N.A.";
		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/10/30/03a70a608767f75280a467cc0f011a8b_t.jpg";
		st701_properties_ad[3]["publish"] = "2009-11-20 00:26:45";
		st701_properties_ad[3]["area"] = "11";
		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;'>5</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>5,575 sqft</td></tr></table>";
					
		st701_properties_ad[4] = new Array();
		st701_properties_ad[4]["title"] = "D11 &#45; Viva Penthouse For Sale &#45; Great Size, Great Location";
		st701_properties_ad[4]["title_full"] = "D11 &#45; Viva Penthouse For Sale &#45; Great Size, Great Location";
		st701_properties_ad[4]["link"] = "http://property.st701.com/properties/view/967450";
		st701_properties_ad[4]["for"] = "Sale";
		st701_properties_ad[4]["sale_price"] = "S$8,556,300";
		st701_properties_ad[4]["rent_price"] = "Price on Ask";
		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"] = "Condos / Apartment";
		st701_properties_ad[4]["classification"] = "Condominium";
		st701_properties_ad[4]["photo"] = "http://img.st701.com/ads/properties/2009/10/30/1e69c1cb6b8ef1a6bdd1f95a16a982b7_t.jpg";
		st701_properties_ad[4]["publish"] = "2009-11-20 00:26:44";
		st701_properties_ad[4]["area"] = "11";
		st701_properties_ad[4]["sold"] = "0";
		st701_properties_ad[4]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>4</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>6,339 sqft</td></tr></table>";
					
		st701_properties_ad[5] = new Array();
		st701_properties_ad[5]["title"] = "D11 &#45; Viva Penthouse for Sale &#45; Great Size, Great Location";
		st701_properties_ad[5]["title_full"] = "D11 &#45; Viva Penthouse for Sale &#45; Great Size, Great Location";
		st701_properties_ad[5]["link"] = "http://property.st701.com/properties/view/967451";
		st701_properties_ad[5]["for"] = "Sale";
		st701_properties_ad[5]["sale_price"] = "S$6,987,600";
		st701_properties_ad[5]["rent_price"] = "Price on Ask";
		st701_properties_ad[5]["sale_option"] = "Estimated";
		st701_properties_ad[5]["rent_option"] = " ";
		st701_properties_ad[5]["project_name"] = "(Viva)";
		st701_properties_ad[5]["street_name"] = "N.A.";
		st701_properties_ad[5]["type"] = "Condos / Apartment";
		st701_properties_ad[5]["classification"] = "Condominium";
		st701_properties_ad[5]["photo"] = "http://img.st701.com/ads/properties/2009/10/30/3294dbf28461fd5e0a94beab5f180f3b_t.jpg";
		st701_properties_ad[5]["publish"] = "2009-11-20 00:26:43";
		st701_properties_ad[5]["area"] = "11";
		st701_properties_ad[5]["sold"] = "0";
		st701_properties_ad[5]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>5</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>4,908 sqft</td></tr></table>";
					
		st701_properties_ad[6] = new Array();
		st701_properties_ad[6]["title"] = "D11 &#45; VIVA 4BR 1840SQFT BRAND NEW GREAT LAYOUT";
		st701_properties_ad[6]["title_full"] = "D11 &#45; VIVA 4BR 1840SQFT BRAND NEW GREAT LAYOUT";
		st701_properties_ad[6]["link"] = "http://property.st701.com/properties/view/967452";
		st701_properties_ad[6]["for"] = "Sale";
		st701_properties_ad[6]["sale_price"] = "S$2,880,000";
		st701_properties_ad[6]["rent_price"] = "Price on Ask";
		st701_properties_ad[6]["sale_option"] = "Estimated";
		st701_properties_ad[6]["rent_option"] = " ";
		st701_properties_ad[6]["project_name"] = "(Viva)";
		st701_properties_ad[6]["street_name"] = "N.A.";
		st701_properties_ad[6]["type"] = "Condos / Apartment";
		st701_properties_ad[6]["classification"] = "Condominium";
		st701_properties_ad[6]["photo"] = "http://img.st701.com/ads/properties/2009/10/30/a22d355c55a4f180b789d67c446f4b77_t.jpg";
		st701_properties_ad[6]["publish"] = "2009-11-20 00:26:42";
		st701_properties_ad[6]["area"] = "11";
		st701_properties_ad[6]["sold"] = "0";
		st701_properties_ad[6]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>4</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>1,840 sqft</td></tr></table>";
					
		st701_properties_ad[7] = new Array();
		st701_properties_ad[7]["title"] = "D11 &#45; VIVA 3BR BEST STACK FOR SALE";
		st701_properties_ad[7]["title_full"] = "D11 &#45; VIVA 3BR BEST STACK FOR SALE";
		st701_properties_ad[7]["link"] = "http://property.st701.com/properties/view/967453";
		st701_properties_ad[7]["for"] = "Sale";
		st701_properties_ad[7]["sale_price"] = "Price on Ask";
		st701_properties_ad[7]["rent_price"] = "Price on Ask";
		st701_properties_ad[7]["sale_option"] = "";
		st701_properties_ad[7]["rent_option"] = " ";
		st701_properties_ad[7]["project_name"] = "(Viva)";
		st701_properties_ad[7]["street_name"] = "N.A.";
		st701_properties_ad[7]["type"] = "Condos / Apartment";
		st701_properties_ad[7]["classification"] = "Condominium";
		st701_properties_ad[7]["photo"] = "http://img.st701.com/ads/properties/2009/10/30/1ba62fec32525a3163fd26ce0557d695_t.jpg";
		st701_properties_ad[7]["publish"] = "2009-11-20 00:26:41";
		st701_properties_ad[7]["area"] = "11";
		st701_properties_ad[7]["sold"] = "0";
		st701_properties_ad[7]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>3</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>1,323 sqft</td></tr></table>";
					
		st701_properties_ad[8] = new Array();
		st701_properties_ad[8]["title"] = "NORTHSTAR @ AMK &#45; SHOWROOM UNIT FOR SALE";
		st701_properties_ad[8]["title_full"] = "NORTHSTAR @ AMK &#45; SHOWROOM UNIT FOR SALE";
		st701_properties_ad[8]["link"] = "http://property.st701.com/properties/view/967454";
		st701_properties_ad[8]["for"] = "All";
		st701_properties_ad[8]["sale_price"] = "S$950,000";
		st701_properties_ad[8]["rent_price"] = "S$9,095";
		st701_properties_ad[8]["sale_option"] = "Estimated";
		st701_properties_ad[8]["rent_option"] = " Price from";
		st701_properties_ad[8]["project_name"] = "";
		st701_properties_ad[8]["street_name"] = "N.A.";
		st701_properties_ad[8]["type"] = "Industrial / Commercial";
		st701_properties_ad[8]["classification"] = "Factory";
		st701_properties_ad[8]["photo"] = "http://img.st701.com/ads/properties/2009/10/30/b2545063fe7e7c06625a10bb4cf0d7cf_t.jpg";
		st701_properties_ad[8]["publish"] = "2009-11-20 00:26:41";
		st701_properties_ad[8]["area"] = "Ang Mo Kio";
		st701_properties_ad[8]["sold"] = "0";
		st701_properties_ad[8]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>1,819 sqft</td></tr><tr><td>Tenure:</td><td style='padding:0 0 0 5px;'>60 years</td></tr></table>";
					
		st701_properties_ad[9] = new Array();
		st701_properties_ad[9]["title"] = "Villa Verde &#40;D23&#41; Terrace &#40;Corner&#41; For Sale";
		st701_properties_ad[9]["title_full"] = "Villa Verde &#40;D23&#41; Terrace &#40;Corner&#41; For Sale";
		st701_properties_ad[9]["link"] = "http://property.st701.com/properties/view/967445";
		st701_properties_ad[9]["for"] = "Sale";
		st701_properties_ad[9]["sale_price"] = "S$1,250,000";
		st701_properties_ad[9]["rent_price"] = "Price on Ask";
		st701_properties_ad[9]["sale_option"] = "Negotiable";
		st701_properties_ad[9]["rent_option"] = " ";
		st701_properties_ad[9]["project_name"] = "";
		st701_properties_ad[9]["street_name"] = "Villa Verde";
		st701_properties_ad[9]["type"] = "Landed";
		st701_properties_ad[9]["classification"] = "Terrace (Corner)";
		st701_properties_ad[9]["photo"] = "http://img.st701.com/ads/properties/2009/10/30/2f5e81de473ba80ef9fa5f7e8a922b68_t.jpg";
		st701_properties_ad[9]["publish"] = "2009-11-20 00:24:54";
		st701_properties_ad[9]["area"] = "23";
		st701_properties_ad[9]["sold"] = "0";
		st701_properties_ad[9]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>6</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>N.A.</td></tr></table>";
					
		st701_properties_ad[10] = new Array();
		st701_properties_ad[10]["title"] = "Boonview &#40;D20&#41; Condominium For Sale High Floor Showroom Cond";
		st701_properties_ad[10]["title_full"] = "Boonview &#40;D20&#41; Condominium For Sale High Floor Showroom Cond";
		st701_properties_ad[10]["link"] = "http://property.st701.com/properties/view/997499";
		st701_properties_ad[10]["for"] = "Sale";
		st701_properties_ad[10]["sale_price"] = "S$1,385,000";
		st701_properties_ad[10]["rent_price"] = "Price on Ask";
		st701_properties_ad[10]["sale_option"] = "Negotiable";
		st701_properties_ad[10]["rent_option"] = " ";
		st701_properties_ad[10]["project_name"] = "(Boonview)";
		st701_properties_ad[10]["street_name"] = "MARYMOUNT TERRACE";
		st701_properties_ad[10]["type"] = "Condos / Apartment";
		st701_properties_ad[10]["classification"] = "Condominium";
		st701_properties_ad[10]["photo"] = "http://img.st701.com/ads/properties/2009/11/13/ab8be443e3641ab6eab124cd455e5787_t.jpg";
		st701_properties_ad[10]["publish"] = "2009-11-19 23:56:59";
		st701_properties_ad[10]["area"] = "20";
		st701_properties_ad[10]["sold"] = "0";
		st701_properties_ad[10]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>3</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>1,518 sqft</td></tr></table>";
					
		st701_properties_ad[11] = new Array();
		st701_properties_ad[11]["title"] = "D07 &#45; TEXTILE CTR APT &#45; BEAUTIFUL VIEW";
		st701_properties_ad[11]["title_full"] = "D07 &#45; TEXTILE CTR APT &#45; BEAUTIFUL VIEW";
		st701_properties_ad[11]["link"] = "http://property.st701.com/properties/view/967461";
		st701_properties_ad[11]["for"] = "Rent";
		st701_properties_ad[11]["sale_price"] = "";
		st701_properties_ad[11]["rent_price"] = "S$2,700";
		st701_properties_ad[11]["sale_option"] = "Estimated";
		st701_properties_ad[11]["rent_option"] = " Estimated";
		st701_properties_ad[11]["project_name"] = "(Textile Centre)";
		st701_properties_ad[11]["street_name"] = "N.A.";
		st701_properties_ad[11]["type"] = "Condos / Apartment";
		st701_properties_ad[11]["classification"] = "Apartment";
		st701_properties_ad[11]["photo"] = "http://img.st701.com/ads/properties/2009/10/30/3d38ef419bf5af6991183a60d218136b_t.jpg";
		st701_properties_ad[11]["publish"] = "2009-11-08 00:36:00";
		st701_properties_ad[11]["area"] = "7";
		st701_properties_ad[11]["sold"] = "1";
		st701_properties_ad[11]["results_info"] = "<table cellpadding='0' cellspacing='0'><tr><td>No of bedrooms:</td><td style='padding:0 0 0 5px;'>2</td></tr><tr><td>Built-in Area:</td><td style='padding:0 0 0 5px;'>883 sqft</td></tr></table>";
	
				
	// This is an example rendering, this is called only once during page load.
	function st701_properties_render() {
		document.writeln('<table class="st701_ad_row">');
		if (st701_properties_ad) {
			with (document) {
				writeln('<tr>');
				
								
				writeln('<th class="st701_ad_row_header1">Photo</th>');
				writeln('<th class="st701_ad_row_header2">Classification</th>');
				writeln('<th class="st701_ad_row_header3">Ad Title</th>');
				writeln('<th class="st701_ad_row_header4">Date Posted</th>');
				writeln('<th class="st701_ad_row_header5">District/Estate</th>');
				writeln('<th class="st701_ad_row_header6">Asking</th>');
				writeln('<th class="st701_ad_row_header7">Status</th>');
				
								
				writeln('</tr>');
			}
			for (var i=0; i < st701_properties_ad.length; i++) {
				if (st701_properties_ad[i]['sold'] == "1")
					sSold = '<div class="st701_ad_row_sold">(SOLD)</div>';
				else
					sSold = '';
				
				with(document) {
					writeln('<tr>');
						
										
					sSalePrice = '<div>' + st701_properties_ad[i]['sale_price'] + '</div>';
					sRentPrice = '<div>' + st701_properties_ad[i]['rent_price'] + '</div>';
					sSaleOption = ((st701_properties_ad[i]['sale_option'] == '') ? '' : '<div>' + st701_properties_ad[i]['sale_option'] + '</div>');
					sRentOption = ((st701_properties_ad[i]['rent_option'] == '') ? '' : '<div>' + st701_properties_ad[i]['rent_option'] + '</div>');
					
					writeln('<td class="st701_ad_row_data1"><a target="_blank" href="' + st701_properties_ad[i]['link'] + '" onclick="return showPopup(0, this.href);"><img src="' + st701_properties_ad[i]['photo'] + '" border="0" title="' + st701_escape_quote(st701_properties_ad[i]['title_full']) + '" /></a></td>');
					writeln('<td class="st701_ad_row_data2">' + st701_properties_ad[i]['type'] + '</td>');
					writeln('<td class="st701_ad_row_data3"><div><a target="_blank" href="' + st701_properties_ad[i]['link'] + '" title="' + st701_escape_quote(st701_properties_ad[i]['title_full']) + '" onclick="return showPopup(0, this.href);">' + st701_properties_ad[i]['title'] + '</a></div></td>');
					writeln('<td class="st701_ad_row_data4">' + showDate(st701_properties_ad[i]['publish'], false) + '</td>');
					writeln('<td class="st701_ad_row_data5">' + st701_properties_ad[i]['area'] + '</td>');
					
					switch (st701_properties_ad[i]['for']) {
						case "Sale":
							writeln('<td class="st701_ad_row_data6">' + sSalePrice + ' ' + sSaleOption + ' ' + sSold + '</td>');
							writeln('<td class="st701_ad_row_data7">Sale</td>');
							break;
						case "Rent":
							if (sSold != '') sSold = '<div class="st701_ad_row_sold">(RENTED)</div>';
							writeln('<td class="st701_ad_row_data6">' + sRentPrice + ' ' + sRentOption + ' ' + sSold + '</td>');
							writeln('<td class="st701_ad_row_data7">Rent</td>');
							break;
						default:
							writeln('<td class="st701_ad_row_data6">');
							writeln(sSalePrice + ' ' + sSaleOption + ' ' + sSold + '<br />');
							writeln(sRentPrice + ' ' + sRentOption);
							writeln('</td>');
							writeln('<td class="st701_ad_row_data7">Sale<br />Rent</td>');
					}
					
										
					writeln('</tr>');
				}
			}
		}
		document.writeln("</table>");
	}

	function showDate(s, st) {
		var r = "";
		var Y; var M; var D;
		var h; var m; var s;
		if (s.length == 19) {
			//yyyy-mm-dd hh:mm:ss
			Y = toNumber(s.substr(0,4));
			M = toNumber(s.substr(5,2));
			D = s.substr(8,2);
			h = toNumber(s.substr(11,2));
			m = s.substr(14,2);
			s = toNumber(s.substr(17,2));
			r = D + "-" + monthToName(M) + "-" + Y;
			if (st) r += " " + hour12(h) + ":" + m + AMPM(h)
		}
		return r;
	}
	
	function monthToName(n) {
		var monthnames = new Array("Month", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec");
		return monthnames[n];
	}
	
	function AMPM(n) {
		if (n < 12) return "AM";
		else return "PM";
	}
	
	function hour12(n) {
		if (n == 0) return 12;
		else if (n > 12) return n - 12;
		else return n;
	}
	
	function toNumber(n) {
		var regexp = /^0+/;
		n = n.replace(regexp, "");
		return parseInt(n);
	}
	
	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();
	