charles 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE +22 -0
- data/README.md +10 -0
- data/Rakefile +13 -0
- data/bin/charles +23 -0
- data/charles.gemspec +25 -0
- data/lib/charles/document.rb +177 -0
- data/lib/charles/images.rb +77 -0
- data/lib/charles/internal_attributes.rb +40 -0
- data/lib/charles/misc.rb +84 -0
- data/lib/charles/version.rb +3 -0
- data/lib/charles.rb +66 -0
- data/optimise.rb +72 -0
- data/test/articles/20120525_1525_straitstimes.com.content.txt +5 -0
- data/test/articles/20120525_1525_straitstimes.com.html +1929 -0
- data/test/articles/20120525_1534_bbc.co.uk.content.txt +19 -0
- data/test/articles/20120525_1534_bbc.co.uk.html +1777 -0
- data/test/articles/20120525_1727_bbc.co.uk.content.txt +39 -0
- data/test/articles/20120525_1727_bbc.co.uk.html +1889 -0
- data/test/articles/20120525_1730_channelnewsasia.com.content.txt +19 -0
- data/test/articles/20120525_1730_channelnewsasia.com.html +963 -0
- data/test/articles/20120525_1733_channelnewsasia.com.content.txt +19 -0
- data/test/articles/20120525_1733_channelnewsasia.com.html +923 -0
- data/test/articles/20120525_1736_nytimes.com.content.txt +21 -0
- data/test/articles/20120525_1736_nytimes.com.html +856 -0
- data/test/articles/20120525_1743_nytimes.com.content.txt +11 -0
- data/test/articles/20120525_1743_nytimes.com.html +98 -0
- data/test/articles/20120525_1747_techcrunch.com.content.txt +11 -0
- data/test/articles/20120525_1747_techcrunch.com.html +1098 -0
- data/test/articles/20120528_0929_washingtonpost.com.content.txt +23 -0
- data/test/articles/20120528_0929_washingtonpost.com.html +3335 -0
- data/test/articles/20120528_0931_latimes.com.content.txt +45 -0
- data/test/articles/20120528_0931_latimes.com.html +6371 -0
- data/test/articles/20120528_0938_entertainment.time.com.content.txt +31 -0
- data/test/articles/20120528_0938_entertainment.time.com.html +1261 -0
- data/test/articles/20120528_0943_bloomberg.com.content.txt +13 -0
- data/test/articles/20120528_0943_bloomberg.com.html +2874 -0
- data/test/articles/20120528_0947_reuters.com.content.txt +35 -0
- data/test/articles/20120528_0947_reuters.com.html +1563 -0
- data/test/articles/20120528_1106_reuters.com.content.txt +5 -0
- data/test/articles/20120528_1106_reuters.com.html +551 -0
- data/test/articles/20120528_1109_musicthing.blogspot.co.uk.content.txt +19 -0
- data/test/articles/20120528_1109_musicthing.blogspot.co.uk.html +865 -0
- data/test/articles/20120528_1114_mobileinc.co.uk.content.txt +15 -0
- data/test/articles/20120528_1114_mobileinc.co.uk.html +550 -0
- data/test/articles/20120528_1119_forbes.com.content.txt +15 -0
- data/test/articles/20120528_1119_forbes.com.html +1406 -0
- data/test/articles/20120528_1122_techcrunch.com.content.txt +58 -0
- data/test/articles/20120528_1122_techcrunch.com.html +1131 -0
- data/test/articles/20120528_1126_blogs.adobe.com.content.txt +13 -0
- data/test/articles/20120528_1126_blogs.adobe.com.html +303 -0
- data/test/articles/20120528_1142_thestar.com.my.content.txt +27 -0
- data/test/articles/20120528_1142_thestar.com.my.html +943 -0
- data/test/articles/20120528_1146_suntimes.com.content.txt +33 -0
- data/test/articles/20120528_1146_suntimes.com.html +5166 -0
- data/test/articles/20120528_1148_asiaone.com.content.txt +27 -0
- data/test/articles/20120528_1148_asiaone.com.html +1070 -0
- data/test/articles/20120529_1120_online.wsj.com.content.txt +56 -0
- data/test/articles/20120529_1120_online.wsj.com.html +3035 -0
- data/test/articles/20120529_1122_online.wsj.com.content.txt +35 -0
- data/test/articles/20120529_1122_online.wsj.com.html +2725 -0
- data/test/articles/20120529_1127_smh.com.au.content.txt +13 -0
- data/test/articles/20120529_1127_smh.com.au.html +2034 -0
- data/test/articles.yml +221 -0
- data/test/test_charles.rb +70 -0
- metadata +279 -0
@@ -0,0 +1,1929 @@
|
|
1
|
+
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
32
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
33
|
+
|
34
|
+
<head>
|
35
|
+
<meta name="ROBOTS" content="NOARCHIVE">
|
36
|
+
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
37
|
+
<meta http-equiv="Pragma" content="no-cache">
|
38
|
+
<meta http-equiv="Cache-Control" content="no-cache">
|
39
|
+
<meta http-equiv="Expires" content="0">
|
40
|
+
|
41
|
+
<title>PAP: Chance to start afresh in Hougang</title>
|
42
|
+
|
43
|
+
<meta name="title" content="PAP: Chance to start afresh in Hougang" />
|
44
|
+
<meta name="description" content="The Peoples Action Party (PAP) ended its campaign in Hougang on Thursday with a call for change in the ward, urging voters to start afresh with its young candidate." />
|
45
|
+
<link rel="image_src" href="/STI/STIMEDIA/image/20120524/ST_IMAGES_RALLYSHARPt.jpg" />
|
46
|
+
|
47
|
+
<link href="/STI/STIMEDIA/2011/style/bn_story.cssi" rel="stylesheet" type="text/css" />
|
48
|
+
|
49
|
+
|
50
|
+
<script type="text/javascript" src="/STI/STIMEDIA/2011/js/common.js"></script>
|
51
|
+
|
52
|
+
<link rel='shortcut icon' href='/STI/STIMEDIA/common/favicon.ico'>
|
53
|
+
<link rel="apple-touch-icon" href="/STI/STIMEDIA/common/57-iphone.png" />
|
54
|
+
<link rel="apple-touch-icon" sizes="72x72" href="/STI/STIMEDIA/common/72-ipad.png" />
|
55
|
+
<link rel="apple-touch-icon" sizes="114x114" href="/STI/STIMEDIA/common/114-iphone4.png" />
|
56
|
+
<link rel="alternate" title="The Straits Times Breaking News - Singapore" href="http://straitstimes.com.feedsportal.com/c/32792/f/524617/index.rss" type="application/rss+xml">
|
57
|
+
<link rel="alternate" title="The Straits Times Breaking News - Asia" href="http://www.straitstimes.com/STI/STIFILES/rss/break_asia.xml" type="application/rss+xml">
|
58
|
+
<link rel="alternate" title="The Straits Times Breaking News - SE Asia" href="http://www.straitstimes.com/STI/STIFILES/rss/break_sea.xml" type="application/rss+xml">
|
59
|
+
<link rel="alternate" title="The Straits Times Breaking News - Money" href="http://www.straitstimes.com/STI/STIFILES/rss/break_money.xml" type="application/rss+xml">
|
60
|
+
<link rel="alternate" title="The Straits Times Breaking News - World" href="http://www.straitstimes.com/STI/STIFILES/rss/break_world.xml" type="application/rss+xml">
|
61
|
+
<link rel="alternate" title="The Straits Times Breaking News - Sports" href="http://www.straitstimes.com/STI/STIFILES/rss/break_sport.xml" type="application/rss+xml">
|
62
|
+
<link rel="alternate" title="The Straits Times Breaking News - Technology" href="http://www.straitstimes.com/STI/STIFILES/rss/break_tech.xml" type="application/rss+xml">
|
63
|
+
<link rel="alternate" title="The Straits Times Breaking News - Lifestyle" href="http://www.straitstimes.com/STI/STIFILES/rss/break_lifestyle.xml" type="application/rss+xml">
|
64
|
+
|
65
|
+
<link rel="alternate" title="The Straits Times Print Edition - Prime" href="http://www.straitstimes.com/STI/STIFILES/rss/prime.xml" type="application/rss+xml">
|
66
|
+
<link rel="alternate" title="The Straits Times Print Edition - Singapore" href="http://www.straitstimes.com/STI/STIFILES/rss/singapore.xml" type="application/rss+xml">
|
67
|
+
<link rel="alternate" title="The Straits Times Print Edition - Asia" href="http://www.straitstimes.com/STI/STIFILES/rss/asia.xml" type="application/rss+xml">
|
68
|
+
<link rel="alternate" title="The Straits Times Print Edition - World" href="http://www.straitstimes.com/STI/STIFILES/rss/world.xml" type="application/rss+xml">
|
69
|
+
<link rel="alternate" title="The Straits Times Print Edition - Money" href="http://www.straitstimes.com/STI/STIFILES/rss/money.xml" type="application/rss+xml">
|
70
|
+
<link rel="alternate" title="The Straits Times Print Edition - Review" href="http://www.straitstimes.com/STI/STIFILES/rss/review.xml" type="application/rss+xml">
|
71
|
+
<link rel="alternate" title="The Straits Times Print Edition - Insight" href="http://www.straitstimes.com/STI/STIFILES/rss/insight.xml" type="application/rss+xml">
|
72
|
+
<link rel="alternate" title="The Straits Times Print Edition - Sports" href="http://www.straitstimes.com/STI/STIFILES/rss/sports.xml" type="application/rss+xml">
|
73
|
+
<link rel="alternate" title="The Straits Times Print Edition - Forum" href="http://www.straitstimes.com/STI/STIFILES/rss/forum.xml" type="application/rss+xml">
|
74
|
+
<link rel="alternate" title="The Straits Times Print Edition - Life!" href="http://www.straitstimes.com/STI/STIFILES/rss/life.xml" type="application/rss+xml">
|
75
|
+
<link rel="alternate" title="The Straits Times Print Edition - Most Read" href="http://www.straitstimes.com/STI/STIFILES/rss/mostreadstories.xml" type="application/rss+xml">
|
76
|
+
|
77
|
+
<link rel="alternate" title="The Sunday Times Print Edition - News" href="http://www.straitstimes.com/STI/STIFILES/rss/sun_news.xml" type="application/rss+xml">
|
78
|
+
<link rel="alternate" title="The Sunday Times Print Edition - Invest" href="http://www.straitstimes.com/STI/STIFILES/rss/sun_invest.xml" type="application/rss+xml">
|
79
|
+
<link rel="alternate" title="The Sunday Times Print Edition - Think" href="http://www.straitstimes.com/STI/STIFILES/rss/sun_think.xml" type="application/rss+xml">
|
80
|
+
<link rel="alternate" title="The Sunday Times Print Edition - Sports" href="http://www.straitstimes.com/STI/STIFILES/rss/sun_sweat.xml" type="application/rss+xml">
|
81
|
+
<link rel="alternate" title="The Sunday Times Print Edition - Lifestyle" href="http://www.straitstimes.com/STI/STIFILES/rss/sun_lifestyle.xml" type="application/rss+xml">
|
82
|
+
|
83
|
+
|
84
|
+
<script>
|
85
|
+
var d_names = new Array("Sunday", "Monday", "Tuesday","Wednesday", "Thursday", "Friday", "Saturday");
|
86
|
+
var m_names = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
|
87
|
+
|
88
|
+
function getURLParam(strParamName) {
|
89
|
+
var strReturn = "";
|
90
|
+
var strHref = window.location.href;
|
91
|
+
if ( strHref.indexOf("?") > -1 ){
|
92
|
+
var strQueryString = strHref.substr(strHref.indexOf("?"));
|
93
|
+
var aQueryString = strQueryString.split("&");
|
94
|
+
for ( var iParam = 0; iParam < aQueryString.length; iParam++ ){
|
95
|
+
if (aQueryString[iParam].indexOf(strParamName + "=") > -1 ){
|
96
|
+
var aParam = aQueryString[iParam].split("=");
|
97
|
+
strReturn = aParam[1];
|
98
|
+
break;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
return strReturn;
|
103
|
+
}
|
104
|
+
|
105
|
+
function generateNavBar(type){
|
106
|
+
if(!type || !type.length) return;
|
107
|
+
var nav_item_str="";
|
108
|
+
|
109
|
+
for(i=1;i<type.length;i++){
|
110
|
+
if (type[i].Class == ""){
|
111
|
+
if(type[i].Name == "School Pocket Money Fund")
|
112
|
+
{
|
113
|
+
nav_item_str=nav_item_str+'<li> <a href="'+type[i].Link+'" style="height:28px; line-height:125%;">'+type[i].Name+'</a></li>';
|
114
|
+
}
|
115
|
+
else
|
116
|
+
{
|
117
|
+
nav_item_str=nav_item_str+'<li> <a href="'+type[i].Link+'">'+type[i].Name+'</a></li>';
|
118
|
+
}
|
119
|
+
}else {
|
120
|
+
nav_item_str=nav_item_str+'<li class="'+type[i].Class+'"> <a href="'+type[i].Link+'">'+type[i].Name+'</a></li>';
|
121
|
+
}
|
122
|
+
}
|
123
|
+
|
124
|
+
var nav_item_header="";
|
125
|
+
|
126
|
+
if (type[0].Link!=""){
|
127
|
+
nav_item_header='<a href="'+type[0].Link+'" class="drop">'+type[0].Name+'</a>';
|
128
|
+
|
129
|
+
}else {
|
130
|
+
nav_item_header='<a class="drop">'+type[0].Name+'</a>';
|
131
|
+
}
|
132
|
+
|
133
|
+
var nav_str=nav_item_header+'<div class="dropdown_1column"><div class="col_1"><ul class="greybox">'+nav_item_str+'</ul></div></div>';
|
134
|
+
|
135
|
+
return nav_str;
|
136
|
+
}
|
137
|
+
|
138
|
+
function generateFooterItem(type){
|
139
|
+
if(!type || !type.length) return;
|
140
|
+
var nav_footer_item = "";
|
141
|
+
var last_item_count=type.length;
|
142
|
+
|
143
|
+
for(i=0;i<last_item_count;i++){
|
144
|
+
|
145
|
+
if (!type[i].footer)
|
146
|
+
continue;
|
147
|
+
|
148
|
+
if (i > 0){
|
149
|
+
nav_footer_item=nav_footer_item+" • ";
|
150
|
+
}
|
151
|
+
|
152
|
+
if (type[i].Link!=""){
|
153
|
+
nav_footer_item=nav_footer_item+'<a href="'+type[i].Link+'">'+type[i].Name+'</a>';
|
154
|
+
}else {
|
155
|
+
|
156
|
+
nav_footer_item=nav_footer_item+'<a >'+type[i].Name+'</a>';
|
157
|
+
}
|
158
|
+
|
159
|
+
if (i==0){
|
160
|
+
nav_footer_item=nav_footer_item+": ";
|
161
|
+
}
|
162
|
+
|
163
|
+
}
|
164
|
+
nav_footer_item=nav_footer_item+"<br />";
|
165
|
+
|
166
|
+
return nav_footer_item;
|
167
|
+
}
|
168
|
+
|
169
|
+
function chkSearch(searchfrm)
|
170
|
+
{
|
171
|
+
var inputString = searchfrm.q.value;
|
172
|
+
|
173
|
+
if(inputString=="Search StraitsTimes.com"){
|
174
|
+
alert("Please do not leave your first search field empty.");
|
175
|
+
return false;
|
176
|
+
} else {
|
177
|
+
|
178
|
+
var messageIndex = "STI";
|
179
|
+
var selectedValue = messageIndex;
|
180
|
+
searchfrm.method ="POST";
|
181
|
+
searchfrm.action ="/vgn-ext-templating/sti/SearchPage.jsp";
|
182
|
+
searchfrm.submit();
|
183
|
+
|
184
|
+
}
|
185
|
+
|
186
|
+
}
|
187
|
+
function getCommenDate(){
|
188
|
+
var d = new Date();
|
189
|
+
d.setDate(d.getDate()-1);
|
190
|
+
var mth=d.getMonth()+1;
|
191
|
+
if (mth < 10)
|
192
|
+
mth="0"+mth;
|
193
|
+
var date = d.getDate();
|
194
|
+
if(date < 10)
|
195
|
+
date = "0" + date;
|
196
|
+
return (d.getFullYear()+""+mth+""+date+"T00:00:00");
|
197
|
+
}
|
198
|
+
|
199
|
+
var vgnpdateparam=getURLParam('vgnpdate');
|
200
|
+
var vgnpreviewparam=getURLParam('vgnpreview');
|
201
|
+
var homeurl="http://www.straitstimes.com";
|
202
|
+
</script>
|
203
|
+
|
204
|
+
|
205
|
+
|
206
|
+
<script type="text/javascript">
|
207
|
+
var pageinfo = {};
|
208
|
+
pageinfo.hidden_displayMastDate="Friday, 25 May 2012 ";
|
209
|
+
pageinfo.hidden_launchDate="20120525";
|
210
|
+
pageinfo.hidden_section_name='Breaking News';
|
211
|
+
pageinfo.url='http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_802924.html';
|
212
|
+
pageinfo.p_COTag="STI-BREAK";
|
213
|
+
pageinfo.articleid="802924";
|
214
|
+
pageinfo.GALaunchDate="May 25, 2012 Friday ";
|
215
|
+
pageinfo.facebookAbstract="The Peoples Action Party (PAP) ended its campaign in Hougang on Thursday with a call for change in the ward, urging voters to start afresh with its young candidate.";
|
216
|
+
pageinfo.adtag="bn_sg_story";
|
217
|
+
|
218
|
+
var _gaq = _gaq || [];
|
219
|
+
_gaq.push(['_setAccount', 'UA-11908285-1']);
|
220
|
+
if (pageinfo.GALaunchDate){
|
221
|
+
_gaq.push(['_setCustomVar', 1,'Launchdate',pageinfo.GALaunchDate,3]);
|
222
|
+
_gaq.push(["_setCustomVar", 2,"Abstract", pageinfo.facebookAbstract,3]);
|
223
|
+
}
|
224
|
+
_gaq.push(['_trackPageview']);
|
225
|
+
(function() {
|
226
|
+
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
227
|
+
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
228
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
229
|
+
})();
|
230
|
+
</script>
|
231
|
+
|
232
|
+
<!-- Begin comScore Tag -->
|
233
|
+
<script>
|
234
|
+
document.write(unescape("%3Cscript src='" + (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js' %3E%3C/script%3E"));
|
235
|
+
</script>
|
236
|
+
<script>
|
237
|
+
COMSCORE.beacon({c1:2,c2:6288331,c3:"",c4:"",c5:"",c6:"",c15:""});
|
238
|
+
</script>
|
239
|
+
<noscript>
|
240
|
+
<img src="http://b.scorecardresearch.com/p?c1=2&c2=6288331&c3=&c4=&c5=&c6=&c15=&cj=1" />
|
241
|
+
</noscript>
|
242
|
+
<!-- End comScore Tag -->
|
243
|
+
<!-- Dennis -->
|
244
|
+
<script language='JavaScript' type='text/javascript' src='/STI/STIFILES/media_ads/adscripts2.js'></script>
|
245
|
+
<!---Dennis--->
|
246
|
+
</head>
|
247
|
+
<body>
|
248
|
+
<script>document.write("<iframe width='0' height='0' src='http://www.straitstimes.com/Prime+News/clear.gif?"+new Date().getTime()+"' frameborder='no' style='display: none;'></iframe>");</script>
|
249
|
+
<!--start of utility bar-->
|
250
|
+
<div id="utilWrap">
|
251
|
+
<div id="util">
|
252
|
+
<div class="float-left"><a href="http://www.sph.com.sg"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/sphWebsite.png" alt="Sph Website" /></a></div>
|
253
|
+
<div class="float-right">
|
254
|
+
<div class="util_Date" id="span_displayMastHead"></div><div class="util_Updated">Last updated at 3.09 pm</div>
|
255
|
+
<div class="util_Reader"><a href="/STI/STIMEDIA/sp/reader/streader.html">Reader</a></div>
|
256
|
+
<div class="util_Epaper"><a class="EP">E-paper</a></div>
|
257
|
+
<script language='javascript'>
|
258
|
+
var user=jQuery.cookie("HTTP_user_id");
|
259
|
+
var luser="";
|
260
|
+
if (user!=null) {
|
261
|
+
luser=user.toLowerCase();
|
262
|
+
if (luser == "anonymous" || luser == "anonymous|anonymous") {
|
263
|
+
window.location= p_logoutLink;
|
264
|
+
}
|
265
|
+
}
|
266
|
+
if(user != null && user !=0 && luser!=null && luser != "anonymous" && luser != "anonymous|anonymous") {
|
267
|
+
document.writeln('<div class="util_Login">');
|
268
|
+
document.writeln("Hello, ");
|
269
|
+
if(user ==0) {
|
270
|
+
// do nothing
|
271
|
+
} else {
|
272
|
+
document.writeln(user);
|
273
|
+
document.writeln("</div>");
|
274
|
+
}
|
275
|
+
//http://soet.asia1.com.sg/sub/updateinformation.action?userId=' + user + '
|
276
|
+
//http://www.straitstimes.com/EditAccountPage.html
|
277
|
+
document.writeln('<div class="util_Subscribe"><a href="http://subst.asiaone.com/sub/updateinformation.action">My Account</a></div>');
|
278
|
+
document.writeln('<div class="util_Subscribe"><a href="http://sphauth.asiaone.com/amserver/UI/Logout?logoutdest=http://www.straitstimes.com">Log Out</a></div> ');
|
279
|
+
} else {
|
280
|
+
document.writeln('<div class="util_Login"><a href="http://sphreg.asiaone.com/RegAuth2/stpLogin.html?goto=http://www.straitstimes.com/vgn-ext-templating/sti/common/STIRedirect.jsp?dlink='+location.href+'" onclick="jQuery.colorbox({width:\'522px\',height:\'330px\', href:\'/STI/STIFILES/ssi/2011/login/login-in-form.html\',scrolling:false});return false;">Log in</a></div>');
|
281
|
+
document.writeln('<div class="util_Subscribe"><a href="http://www.stsubscribe.com.sg/">Subscribe</a></div>');
|
282
|
+
}
|
283
|
+
//document.writeln("</table>")
|
284
|
+
</script>
|
285
|
+
</div>
|
286
|
+
</div>
|
287
|
+
</div>
|
288
|
+
<!--end of utility bar-->
|
289
|
+
|
290
|
+
<div id="leaderboardWrap">
|
291
|
+
<div id="leaderboard">
|
292
|
+
<script type="text/javascript">
|
293
|
+
|
294
|
+
if(pageinfo.adtag == "home"){
|
295
|
+
|
296
|
+
document.write('<script language="JavaScript1.1" src="http://adtag.asiaone.com/tag/st/js/st_home_top.js"><\/script>');
|
297
|
+
|
298
|
+
}
|
299
|
+
|
300
|
+
</script>
|
301
|
+
|
302
|
+
<div style="clear: both; font-size: 5px;"> </div>
|
303
|
+
<div class="float-left">
|
304
|
+
|
305
|
+
|
306
|
+
|
307
|
+
|
308
|
+
<!--start of leaderboard-->
|
309
|
+
<script language="JavaScript1.1" src="http://adtag.asiaone.com/tag/st/js/st_bn_sg_lb.js"></script>
|
310
|
+
|
311
|
+
|
312
|
+
|
313
|
+
|
314
|
+
|
315
|
+
</div>
|
316
|
+
<div class="float-right">
|
317
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
318
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
319
|
+
<head>
|
320
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
321
|
+
<title>Untitled Document</title>
|
322
|
+
<style type="text/css">
|
323
|
+
.st701banner { width:222px; overflow:hidden; background:#FFFFFF; }
|
324
|
+
.st701banner img { border:none; }
|
325
|
+
.st701-clearboth { clear:both; height:0; }
|
326
|
+
.st701-nav { width:220px; overflow:hidden; font-family:Arial, Helvetica, sans-serif; font-size:11px; font-weight:bold; color:#333333; border:solid 1px #dfe3e6; text-transform:uppercase; line-height:100%; }
|
327
|
+
.st701-nav ul, .st701-nav ul li { margin:0; padding:0; }
|
328
|
+
.st701-nav li { float:left; list-style:none outside none; height:21px; }
|
329
|
+
.st701-nav a { display:block; height:16px; text-align:center; padding:5px 0 0 0; background:url(http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/st701-nav-bkgrd.gif) bottom repeat-x #FFFFFF; }
|
330
|
+
.st701-nav a:link, .st701-nav a:active, .st701-nav a:visited { color:#333333; text-decoration:none; }
|
331
|
+
.st701-nav a:hover { color:#000000; text-decoration:underline; }
|
332
|
+
.st701-jobs { border-left:solid 6px #009ddc; width:40px; }
|
333
|
+
.st701-cars { border-left:solid 6px #cc0000; width:42px; }
|
334
|
+
.st701-property { border-left:solid 6px #669900; width:68px; }
|
335
|
+
.st701-class { border-left:solid 6px #ff9900; width:46px; }
|
336
|
+
</style>
|
337
|
+
</head>
|
338
|
+
|
339
|
+
<body>
|
340
|
+
<!-- ST701 BANNER start -->
|
341
|
+
<div class="st701banner">
|
342
|
+
<div><a href="http://www.st701.com/?utm_source=StraitsTimes&utm_medium=Header&utm_campaign=SPH" target="_blank"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/st701-stjobs-main.gif" alt="STJOBS.sg" width="222" height="67" border="0" /></a></div>
|
343
|
+
<div class="st701-nav">
|
344
|
+
<ul>
|
345
|
+
<li><a href="http://www.stjobs.sg/?utm_source=StraitsTimes&utm_medium=Header&utm_campaign=SPH" target="_blank" class="st701-jobs">Jobs</a></li>
|
346
|
+
<li><a href="http://cars.st701.com/?utm_source=StraitsTimes&utm_medium=Header&utm_campaign=SPH" target="_blank" class="st701-cars">Cars</a></li>
|
347
|
+
<li><a href="http://www.stproperty.sg/?utm_source=StraitsTimes&utm_medium=Header&utm_campaign=SPH" target="_blank" class="st701-property">Property</a></li>
|
348
|
+
<li><a href="http://shops.st701.com/?utm_source=StraitsTimes&utm_medium=Header&utm_campaign=SPH" target="_blank" class="st701-class">Shops</a></li>
|
349
|
+
</ul>
|
350
|
+
<div class="st701-clearboth"></div>
|
351
|
+
</div>
|
352
|
+
</div>
|
353
|
+
<!-- ST701 BANNER ends -->
|
354
|
+
</body>
|
355
|
+
</html>
|
356
|
+
|
357
|
+
<!--
|
358
|
+
<img width="222" height="90" border="0" usemap="#Map2" src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/st701rightear.gif">
|
359
|
+
<map id="Map2" name="Map2">
|
360
|
+
<area title="Singapore Classifieds at ST701" target="_blank" href="http://www.st701.com/" coords="0,0,221,66" shape="rect">
|
361
|
+
<area title="Search for jobs at ST701 JOBS" target="_blank" href="http://jobs.st701.com/?utm_source=StraitsTimes&utm_medium=Banner&utm_campaign=SPH" coords="1,67,43,89" shape="rect">
|
362
|
+
<area title="Search for cars at ST701 CARS" target="_blank" href="http://cars.st701.com/?utm_source=StraitsTimes&utm_medium=Banner&utm_campaign=SPH" coords="44,67,93,89" shape="rect">
|
363
|
+
<area title="Search for property at ST701 PROPERTY" target="_blank" href="http://property.st701.com/?utm_source=StraitsTimes&utm_medium=Banner&utm_campaign=SPH" coords="94,67,168,89" shape="rect">
|
364
|
+
<area title="Search for products and services at ST701 SHOPS" target="_blank" href="http://shops.st701.com/?utm_source=StraitsTimes&utm_medium=Banner&utm_campaign=SPH" coords="169,67,221,89" shape="rect">
|
365
|
+
</map>
|
366
|
+
-->
|
367
|
+
|
368
|
+
</div>
|
369
|
+
|
370
|
+
<div class="clear0px"> </div>
|
371
|
+
</div>
|
372
|
+
</div>
|
373
|
+
<!--start of st-->
|
374
|
+
<div id="stWrap">
|
375
|
+
<div id="st">
|
376
|
+
<div class="wright">
|
377
|
+
<div class="wweather">
|
378
|
+
<!DOCTYPE html
|
379
|
+
PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
|
380
|
+
<div></div>
|
381
|
+
<div class="weather"><a href="/Weather/weather_forecast.html">Singapore weather</a><div class="low">27�C</div> -
|
382
|
+
<div class="high">32�C</div>
|
383
|
+
</div>
|
384
|
+
</div>
|
385
|
+
<div class="wsearch">
|
386
|
+
<form name="searchformtop" onSubmit="return chkSearch(document.searchformtop);" >
|
387
|
+
<fieldset class="search">
|
388
|
+
<input name="q" type="text" class="graybox" value="Search StraitsTimes.com" onclick="this.value='';jQuery(this).removeClass();jQuery(this).addClass('box');"/>
|
389
|
+
<button class="btn" title="Submit Search" type="Submit">Search</button>
|
390
|
+
</fieldset>
|
391
|
+
</form>
|
392
|
+
</div>
|
393
|
+
<div class="clear0px"> </div>
|
394
|
+
<!-- End Search Field Item -->
|
395
|
+
</div>
|
396
|
+
<div class="clearall"> </div>
|
397
|
+
</div>
|
398
|
+
<div class="clear0px"> </div>
|
399
|
+
</div>
|
400
|
+
<!--end of st-->
|
401
|
+
|
402
|
+
<script type="text/javascript">
|
403
|
+
function myTipOff(mtipLink) {
|
404
|
+
jQuery.colorbox({innerWidth:"480px",innerHeight:"550px",href:mtipLink,scrolling:false});
|
405
|
+
return false;
|
406
|
+
}
|
407
|
+
</script>
|
408
|
+
|
409
|
+
<!--start of nav-->
|
410
|
+
<div id="navWrap2">
|
411
|
+
<div id="navWrap">
|
412
|
+
<div id="nav">
|
413
|
+
<!--start of mega navigation-->
|
414
|
+
<ul id="menu" style="width: 960px;">
|
415
|
+
<div class="menuhome" ><a id="home_link"> </a></div>
|
416
|
+
<li id="header_navbar_bn"></li>
|
417
|
+
|
418
|
+
<!-- End Breaking News Item -->
|
419
|
+
<li id="header_navbar_prem"></li>
|
420
|
+
<!-- End Premium Item -->
|
421
|
+
<li><a href="http://www.straitstimes.com/STI/STIMEDIA/sp/stsite/section-razorTV.html" class="drop">Videos</a>
|
422
|
+
<div class="dropdown_1column">
|
423
|
+
<div class="col_1">
|
424
|
+
<ul class="greybox">
|
425
|
+
<li> <a href="http://www.straitstimes.com/STI/STIMEDIA/sp/stsite/section-razorTV.html" target="_blank">Top Stories</a> </li>
|
426
|
+
<li> <a href="http://www.razor.tv/site/servlet/segment/main/news/" target="_blank">News</a> </li>
|
427
|
+
<li> <a href="http://www.razor.tv/site/servlet/segment/main/currentaffairs/" target="_blank">Current Affairs</a> </li>
|
428
|
+
<li> <a href="http://www.razor.tv/site/servlet/segment/main/entertainment/" target="_blank">Entertainment</a> </li>
|
429
|
+
<li> <a href="http://www.razor.tv/site/servlet/segment/main/lifestyle/" target="_blank">Lifestyle</a> </li>
|
430
|
+
<li> <a href="http://www.razor.tv/site/servlet/segment/main/lifestyle/Food/" target="_blank">Food</a> </li>
|
431
|
+
<li> <a href="http://www.razor.tv/site/servlet/segment/main/lifestyle/fashion/" target="_blank">Fashion</a> </li>
|
432
|
+
<li> <a href="http://www.razor.tv/site/servlet/segment/main/most_popular" target="_blank">Popular</a> </li>
|
433
|
+
</ul>
|
434
|
+
</div>
|
435
|
+
</div>
|
436
|
+
</li>
|
437
|
+
<!-- End Razor TV Item -->
|
438
|
+
<li><a href="http://www.straitstimes.com/STI/STIMEDIA/sp/stsite/section-stomp.html" class="drop">Citizen Journalism</a>
|
439
|
+
<div class="dropdown_1column">
|
440
|
+
<div class="col_1">
|
441
|
+
<ul class="greybox">
|
442
|
+
<li> <a href="http://www.straitstimes.com/STI/STIMEDIA/sp/stsite/section-stomp.html" target="_blank">What's Hot</a> </li>
|
443
|
+
<li> <a href="http://club.stomp.com.sg/clubstomp" target="_blank">Club Stomp</a> </li>
|
444
|
+
<li> <a href="http://talkback.stomp.com.sg/forums/index.php" target="_blank">Talkback</a> </li>
|
445
|
+
<li> <a href="http://www.stomp.com.sg/isayyousay/" target="_blank">I Say, You Say</a> </li>
|
446
|
+
<li> <a href="http://youthphoria.stomp.com.sg/" target="_blank">Youthphoria</a> </li>
|
447
|
+
<li> <a href="http://thecourtroom.stomp.com.sg/courtroom" target="_blank">Court Room</a> </li>
|
448
|
+
<li> <a href="http://www.stomp.com.sg/asklibby/" target="_blank">Ask Libby</a></li>
|
449
|
+
<li> <a href="http://getai.stomp.com.sg/getai/" target="_blank">Getai A-go-go</a> </li>
|
450
|
+
<li> <a href="http://www.stomp.com.sg/lovein/" target="_blank">Love Stories</a> </li>
|
451
|
+
<li> <a href="http://diy.stomp.com.sg/" target="_blank">DIY Video</a> </li>
|
452
|
+
<li> <a href="http://reallife.stomp.com.sg/reallife/" target="_blank">Reallife.sg</a> </li>
|
453
|
+
<li> <a href="http://www.stomp.com.sg/heygoondus/" target="_blank">Hey Goondus!</a> </li>
|
454
|
+
</ul>
|
455
|
+
</div>
|
456
|
+
</div>
|
457
|
+
</li>
|
458
|
+
<!-- End Stomp Item -->
|
459
|
+
<li id="header_navbar_community"></li>
|
460
|
+
<!-- End Community Item -->
|
461
|
+
<li><a href="#" class="drop">Photos / Art</a>
|
462
|
+
<div class="dropdown_1column">
|
463
|
+
<div class="col_1">
|
464
|
+
<ul class="greybox">
|
465
|
+
<li> <a href="http://www.straitstimes.com/ttl">Through the Lens</a> </li>
|
466
|
+
<li> <a href="http://www.straitstimes.com/News+In+Pictures/News+In+Pictures.html">News in Pictures</a> </li>
|
467
|
+
<li> <a href="http://www.straitstimes.com/Features/Infographics/Infographics.html">Infographics</a> </li>
|
468
|
+
<!--<li> <a href="#">Tech Toons</a> </li>-->
|
469
|
+
</ul>
|
470
|
+
</div>
|
471
|
+
</div>
|
472
|
+
</li>
|
473
|
+
|
474
|
+
<!-- End Features Item -->
|
475
|
+
<li style="padding: 5px 6px 6px 8px;"><a href="http://www.ftse.com/Indices/FTSE_ST_Index_Series/index.jsp">FTSE ST Index</a></li>
|
476
|
+
<!-- End Specials Item -->
|
477
|
+
</ul>
|
478
|
+
|
479
|
+
<div class="social">
|
480
|
+
<img width="147" height="30" border="0" usemap="#Map" src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/footer/icons4.png" alt="twitter,facebook,rss,newsletter icons"/>
|
481
|
+
<map id="Map" name="Map">
|
482
|
+
<area href="http://twitter.com/stcom" coords="0,0,32,32" shape="rect" title="twitter">
|
483
|
+
<area href="http://www.facebook.com/TheStraitsTimes" coords="38,0,70,32" shape="rect" title="facebook">
|
484
|
+
<area href="http://www.straitstimes.com/STI+On+The+Go/RSS+News+Feed/RSS+News+Feed.html" coords="78,0,108,32" shape="rect" title="RSS">
|
485
|
+
<area href="http://subst.asiaone.com/sub/updateinformation.action#tab3" coords="116,0,146,32" shape="rect" title="Newsletter">
|
486
|
+
</map>
|
487
|
+
</div>
|
488
|
+
|
489
|
+
<!--End .social-->
|
490
|
+
<!--end of mega navigation-->
|
491
|
+
<div class="clear1px"> </div>
|
492
|
+
</div>
|
493
|
+
|
494
|
+
<!--start sub navigation-->
|
495
|
+
<div id="navWrapSub">
|
496
|
+
<div id="navSub">
|
497
|
+
<ul id="menuSub">
|
498
|
+
<li><a href="http://discussion.straitstimes.com">The Conversation <img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/new.gif"></a></li>
|
499
|
+
<li><a href="javascript:void(0);" onclick="myTipOff('/vgn-ext-templating/sti/MyTipOff.jsp?go=now');return false;">My Tip-Off <img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/new.gif"></a></li>
|
500
|
+
<li><a href="http://www.straitstimes.com/Parliament/Parliament.html">Parliament</a></li>
|
501
|
+
<li><a href="http://www.straitstimes.com/Motoring/Motoring.html">Motoring</a></li>
|
502
|
+
<li><a href="http://www.straitstimes.com/Project_Syndicate/Project_Syndicate.html">Global Perspectives</a></li>
|
503
|
+
<li><a href="http://www.straitstimes.com/spmf/School+Pocket+Money+Fund.html">School Pocket Money Fund</a></li>
|
504
|
+
<li><a href="http://www.straitstimes.com/childaid/">ChildAid</a></li>
|
505
|
+
<li><a href="http://www.straitstimes.com/STI/mnt/html/st701/jobs/">Jobs</a></li>
|
506
|
+
<li><a href="http://www.straitstimes.com/STI/mnt/html/st701/property/">Property</a></li>
|
507
|
+
<li><a href="http://www.straitstimes.com/STI/mnt/html/st701/shops/">Shops</a></li>
|
508
|
+
<li><a href="http://www.straitstimes.com/STI/mnt/html/st701/cars/">Cars</a></li>
|
509
|
+
</ul>
|
510
|
+
</div>
|
511
|
+
</div>
|
512
|
+
<!--end sub navigation-->
|
513
|
+
</div>
|
514
|
+
</div>
|
515
|
+
<!--end of nav-->
|
516
|
+
|
517
|
+
|
518
|
+
|
519
|
+
|
520
|
+
|
521
|
+
<script>
|
522
|
+
var xmlHttp;
|
523
|
+
function srvTime(){
|
524
|
+
try {
|
525
|
+
//FF, Opera, Safari, Chrome
|
526
|
+
xmlHttp = new XMLHttpRequest();
|
527
|
+
}
|
528
|
+
catch (err1) {
|
529
|
+
//IE
|
530
|
+
try {
|
531
|
+
xmlHttp = new ActiveXObject('Msxml2.XMLHTTP');
|
532
|
+
}
|
533
|
+
catch (err2) {
|
534
|
+
try {
|
535
|
+
xmlHttp = new ActiveXObject('Microsoft.XMLHTTP');
|
536
|
+
}
|
537
|
+
catch (eerr3) {
|
538
|
+
//AJAX not supported, use CPU time.
|
539
|
+
alert("AJAX not supported");
|
540
|
+
}
|
541
|
+
}
|
542
|
+
}
|
543
|
+
xmlHttp.open('HEAD',window.location.href.toString(),false);
|
544
|
+
xmlHttp.setRequestHeader("Content-Type", "text/html");
|
545
|
+
xmlHttp.send('');
|
546
|
+
return xmlHttp.getResponseHeader("Date");
|
547
|
+
}
|
548
|
+
|
549
|
+
|
550
|
+
//var date = new Date(st);
|
551
|
+
|
552
|
+
|
553
|
+
|
554
|
+
if (pageinfo.hidden_launchDate) {
|
555
|
+
navdate = pageinfo.hidden_launchDate;
|
556
|
+
jQuery("#span_displayMastHead").text(pageinfo.hidden_displayMastDate);
|
557
|
+
epaper_date = navdate.substring(0, 4) + "-" + navdate.substring(4, 6) + "-" + navdate.substring(6, 8);
|
558
|
+
} else {
|
559
|
+
var st = srvTime();
|
560
|
+
var today = new Date(st);
|
561
|
+
var month = today.getMonth() + 1
|
562
|
+
var year = today.getFullYear()
|
563
|
+
var day = today.getDate()
|
564
|
+
var day_of_week = today.getDay();
|
565
|
+
|
566
|
+
if (day < 10)
|
567
|
+
day = "0" + day
|
568
|
+
if (month < 10)
|
569
|
+
month = "0" + month
|
570
|
+
|
571
|
+
navdate = year + "" + month + "" + day;
|
572
|
+
epaper_date = year + "-" + month + "-" + day;
|
573
|
+
// form the display mast date for services page
|
574
|
+
var curr_mastdate = d_names[day_of_week] + ", " + day + " " + m_names[month - 1] + " " + year;
|
575
|
+
jQuery("#span_displayMastHead").text(curr_mastdate);
|
576
|
+
}
|
577
|
+
|
578
|
+
//form link
|
579
|
+
//for epaper link
|
580
|
+
jQuery("a[class='EP']").attr("href", "http://epaper.straitstimes.com/fvx/fvx.php?param=" + epaper_date);
|
581
|
+
|
582
|
+
var display_day = jQuery("div.util_Date").text();
|
583
|
+
var display_day_array = display_day.split(",");
|
584
|
+
|
585
|
+
//set the masthead pic
|
586
|
+
|
587
|
+
if (display_day_array[0] == "Sunday"
|
588
|
+
&& pageinfo.hidden_section_name.indexOf('The<span class=\"big\">Big</span>Story') < 0) {
|
589
|
+
jQuery("#st").attr("id", "suntimes");
|
590
|
+
jQuery("#suntimes div.float-right")
|
591
|
+
.before(
|
592
|
+
'<div class="w370"><a href="http://www.straitstimes.com"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/theSundayTimesL.gif"></a></div>');
|
593
|
+
} else {
|
594
|
+
if (pageinfo.hidden_section_name) {
|
595
|
+
if (pageinfo.hidden_section_name == "Home") {
|
596
|
+
jQuery("#st div.wright")
|
597
|
+
.before(
|
598
|
+
'<div class="wleft"><div class="wst"><a href="'+homeurl+'/Home.html"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/straitstimes2012.png"></a></div><div id="stindex" class="wsti"></div><div class="clear0px"> </div></div>');
|
599
|
+
|
600
|
+
jQuery.ajax({
|
601
|
+
url: "/STI/STIFILES/ssi/2011/header/sti_index.html",
|
602
|
+
async: false,
|
603
|
+
success: function(msg){
|
604
|
+
jQuery("#stindex").html(msg);
|
605
|
+
}
|
606
|
+
});
|
607
|
+
} else if (pageinfo.hidden_section_name == "razor") {
|
608
|
+
|
609
|
+
jQuery("#st div.float-right")
|
610
|
+
.before(
|
611
|
+
'<div class="float-left"><a href="http://www.straitstimes.com"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/st.gif"></a><a href="http://www.razor.tv"><img border="0" src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/mastRazor.png"></a></div><div class="pageSection" id="pageSectiondiv">Videos</div>');
|
612
|
+
|
613
|
+
} else if (pageinfo.hidden_section_name == "stomp") {
|
614
|
+
|
615
|
+
jQuery("#st div.float-right")
|
616
|
+
.before(
|
617
|
+
'<div class="float-left"><a href="http://www.straitstimes.com"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/st.gif"></a><a href="http://www.stomp.com.sg"><img border="0" src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/mastStomp.png"></a></div><div class="pageSection" id="pageSectiondiv">Citizen Journalism</div>');
|
618
|
+
|
619
|
+
} else {
|
620
|
+
|
621
|
+
jQuery("#st div.wright")
|
622
|
+
.before('<div class="wleft"><div class="wstAlt"><div class="logo"><a href="'+homeurl+'/Home.html"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/st2012.png"></a></div><div class="pageSection" id="pageSectiondiv"></div></div><div id="stindex" class="wsti"></div><div class="clear0px"> </div></div>');
|
623
|
+
jQuery.ajax({
|
624
|
+
url: "/STI/STIFILES/ssi/2011/header/sti_index.html",
|
625
|
+
async: false,
|
626
|
+
success: function(msg){
|
627
|
+
jQuery("#stindex").html(msg);
|
628
|
+
}
|
629
|
+
});
|
630
|
+
//console.log("hidden section name: " +pageinfo.hidden_section_name);
|
631
|
+
/**
|
632
|
+
if(typeof pageinfo.url == 'undefined') {
|
633
|
+
console.log('no url');
|
634
|
+
} else {
|
635
|
+
console.log("url: " + pageinfo.url);
|
636
|
+
}
|
637
|
+
**/
|
638
|
+
if (pageinfo.hidden_section_name.indexOf("Singapore")!= -1) {
|
639
|
+
jQuery("#pageSectiondiv").html(pageinfo.hidden_section_name.replace("Singapore","S'pore"));
|
640
|
+
} else if (pageinfo.hidden_section_name.indexOf("Technology")!=-1) {
|
641
|
+
jQuery("#pageSectiondiv").html(pageinfo.hidden_section_name.replace("Technology","Tech"));
|
642
|
+
} else if (pageinfo.hidden_section_name.indexOf("Prime News")!=-1) {
|
643
|
+
jQuery("#pageSectiondiv").html(pageinfo.hidden_section_name.replace("Prime News","Top of the News"));
|
644
|
+
} else if (pageinfo.hidden_section_name.indexOf("Review")!=-1) {
|
645
|
+
jQuery("#pageSectiondiv").html(pageinfo.hidden_section_name.replace("Review","Opinion"));
|
646
|
+
|
647
|
+
// pageinfo.url check not to show 'Top of the News' for Story pages. - Ganesh.
|
648
|
+
} else if (pageinfo.hidden_section_name=="Premium" && typeof pageinfo.url == 'undefined') {
|
649
|
+
jQuery("#pageSectiondiv").html(pageinfo.hidden_section_name+'<span class="pageSectionRed" style="font-size:37px;">Top of the News</span>');
|
650
|
+
} else {
|
651
|
+
jQuery("#pageSectiondiv").html(pageinfo.hidden_section_name);
|
652
|
+
}
|
653
|
+
}
|
654
|
+
}
|
655
|
+
}
|
656
|
+
|
657
|
+
//for the rest
|
658
|
+
bnnavlink = homeurl + "/BreakingNews/to_be_rep" + "_" + navdate + ".html";
|
659
|
+
|
660
|
+
var navbar = {
|
661
|
+
"BN" : [ {
|
662
|
+
"Name" : "Breaking News",
|
663
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "Breaking+News"),
|
664
|
+
"Class" : "",
|
665
|
+
"footer" : true
|
666
|
+
}, {
|
667
|
+
"Name" : "Singapore",
|
668
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "Singapore/Singapore"),
|
669
|
+
"Class" : "",
|
670
|
+
"footer" : true
|
671
|
+
}, {
|
672
|
+
"Name" : "SE Asia",
|
673
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "SE%2BAsia/SE%2BAsia"),
|
674
|
+
"Class" : "",
|
675
|
+
"footer" : true
|
676
|
+
}, {
|
677
|
+
"Name" : "Asia",
|
678
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "Asia/Asia"),
|
679
|
+
"Class" : "",
|
680
|
+
"footer" : true
|
681
|
+
}, {
|
682
|
+
"Name" : "World",
|
683
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "World/World"),
|
684
|
+
"Class" : "",
|
685
|
+
"footer" : true
|
686
|
+
}, {
|
687
|
+
"Name" : "Money",
|
688
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "Money/Money"),
|
689
|
+
"Class" : "",
|
690
|
+
"footer" : true
|
691
|
+
}, {
|
692
|
+
"Name" : "Sports",
|
693
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "Sport/Sport"),
|
694
|
+
"Class" : "",
|
695
|
+
"footer" : true
|
696
|
+
}, {
|
697
|
+
"Name" : "Technology",
|
698
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "Tech%2Band%2BScience/Tech%2Band%2BScience"),
|
699
|
+
"Class" : "",
|
700
|
+
"footer" : true
|
701
|
+
}, {
|
702
|
+
"Name" : "Lifestyle",
|
703
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "Lifestyle/Lifestyle"),
|
704
|
+
"Class" : "",
|
705
|
+
"footer" : true
|
706
|
+
}, {
|
707
|
+
"Name" : "ANN",
|
708
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "ANN/ANN"),
|
709
|
+
"Class" : "",
|
710
|
+
"footer" : false
|
711
|
+
}, {
|
712
|
+
"Name" : "All",
|
713
|
+
"Link" : bnnavlink.replace(/to_be_rep/g, "Breaking+News"),
|
714
|
+
"Class" : "",
|
715
|
+
"footer" : false
|
716
|
+
}, {
|
717
|
+
"Name" : "Photo galleries",
|
718
|
+
"Link" : "http://photos.straitstimes.com",
|
719
|
+
"Class" : "pg",
|
720
|
+
"footer" : true
|
721
|
+
} ],
|
722
|
+
|
723
|
+
"PremWeekdays" : [ {
|
724
|
+
"Name" : "Premium",
|
725
|
+
"Link" : homeurl + "/Premium/Premium_" + navdate + ".html",
|
726
|
+
"Class" : "",
|
727
|
+
"footer" : true
|
728
|
+
}, {
|
729
|
+
"Name" : "Top of the News",
|
730
|
+
"Link" : homeurl + "/Prime+News/Prime+News_" + navdate + ".html",
|
731
|
+
"Class" : "",
|
732
|
+
"footer" : true
|
733
|
+
}, {
|
734
|
+
"Name" : "Singapore",
|
735
|
+
"Link" : homeurl + "/Singapore/Singapore_" + navdate + ".html",
|
736
|
+
"Class" : "",
|
737
|
+
"footer" : true
|
738
|
+
}, {
|
739
|
+
"Name" : "Asia",
|
740
|
+
"Link" : homeurl + "/Asia/Asia_" + navdate + ".html",
|
741
|
+
"Class" : "",
|
742
|
+
"footer" : true
|
743
|
+
}, {
|
744
|
+
"Name" : "World",
|
745
|
+
"Link" : homeurl + "/World/World_" + navdate + ".html",
|
746
|
+
"Class" : "",
|
747
|
+
"footer" : true
|
748
|
+
}, {
|
749
|
+
"Name" : "Money",
|
750
|
+
"Link" : homeurl + "/Money/Money_" + navdate + ".html",
|
751
|
+
"Class" : "",
|
752
|
+
"footer" : true
|
753
|
+
}, {
|
754
|
+
"Name" : "Sports",
|
755
|
+
"Link" : homeurl + "/Sports/Sports_" + navdate + ".html",
|
756
|
+
"Class" : "",
|
757
|
+
"footer" : true
|
758
|
+
}, {
|
759
|
+
"Name" : "Life!",
|
760
|
+
"Link" : homeurl + "/Life%2521/Life%2521_" + navdate + ".html",
|
761
|
+
"Class" : "",
|
762
|
+
"footer" : true
|
763
|
+
}, {
|
764
|
+
"Name" : "Insight",
|
765
|
+
"Link" : homeurl + "/Insight/Insight.html",
|
766
|
+
"Class" : "",
|
767
|
+
"footer" : true
|
768
|
+
}, {
|
769
|
+
"Name" : "Opinion",
|
770
|
+
"Link" : homeurl + "/Review/Review_" + navdate + ".html",
|
771
|
+
"Class" : "",
|
772
|
+
"footer" : true
|
773
|
+
}, {
|
774
|
+
"Name" : "Forum Letters",
|
775
|
+
"Link" : homeurl + "/ST+Forum/ST+Forum_" + navdate + ".html",
|
776
|
+
"Class" : "",
|
777
|
+
"footer" : true
|
778
|
+
}, {
|
779
|
+
"Name" : "All",
|
780
|
+
"Link" : homeurl + "/Premium/Premium_All_" + navdate + ".html",
|
781
|
+
"Class" : "",
|
782
|
+
"footer" : false
|
783
|
+
} ],
|
784
|
+
"PremSunday" : [ {
|
785
|
+
"Name" : "Premium",
|
786
|
+
"Link" : homeurl + "/Premium/Premium_" + navdate + ".html",
|
787
|
+
"Class" : "",
|
788
|
+
"footer" : true
|
789
|
+
}, {
|
790
|
+
"Name" : "News",
|
791
|
+
"Link" : homeurl + "/News/News_" + navdate + ".html",
|
792
|
+
"Class" : "",
|
793
|
+
"footer" : true
|
794
|
+
}, {
|
795
|
+
"Name" : "Invest",
|
796
|
+
"Link" : homeurl + "/Invest/Invest_" + navdate + ".html",
|
797
|
+
"Class" : "",
|
798
|
+
"footer" : true
|
799
|
+
}, {
|
800
|
+
"Name" : "Think",
|
801
|
+
"Link" : homeurl + "/Think/Think_" + navdate + ".html",
|
802
|
+
"Class" : "",
|
803
|
+
"footer" : true
|
804
|
+
}, {
|
805
|
+
"Name" : "Sports",
|
806
|
+
"Link" : homeurl + "/Sports/Sports_" + navdate + ".html",
|
807
|
+
"Class" : "",
|
808
|
+
"footer" : true
|
809
|
+
}, {
|
810
|
+
"Name" : "Lifestyle",
|
811
|
+
"Link" : homeurl + "/Lifestyle/Lifestyle_" + navdate + ".html",
|
812
|
+
"Class" : "",
|
813
|
+
"footer" : true
|
814
|
+
}, {
|
815
|
+
"Name" : "All",
|
816
|
+
"Link" : homeurl + "/Premium/Premium_All_" + navdate + ".html",
|
817
|
+
"Class" : "",
|
818
|
+
"footer" : false
|
819
|
+
}
|
820
|
+
|
821
|
+
],
|
822
|
+
"Community" : [ {
|
823
|
+
"Name" : "Communities",
|
824
|
+
"Link" : "",
|
825
|
+
"Class" : "",
|
826
|
+
"footer" : true
|
827
|
+
}, {
|
828
|
+
"Name" : "Blogs",
|
829
|
+
"Link" : "http://blogs.straitstimes.com/",
|
830
|
+
"Class" : "",
|
831
|
+
"footer" : true
|
832
|
+
}, {
|
833
|
+
"Name" : "Forum Letters",
|
834
|
+
"Link" : homeurl + "/ST+Forum/ST+Forum.html",
|
835
|
+
"Class" : "",
|
836
|
+
"footer" : true
|
837
|
+
}, {
|
838
|
+
"Name" : "Polls",
|
839
|
+
"Link" : homeurl + "/Take+Our+Poll/Take+Our+Poll.html",
|
840
|
+
"Class" : "",
|
841
|
+
"footer" : true
|
842
|
+
}
|
843
|
+
|
844
|
+
],
|
845
|
+
"Features" : [ {
|
846
|
+
"Name" : "Photo / Art",
|
847
|
+
"Link" : "",
|
848
|
+
"Class" : "",
|
849
|
+
"footer" : true
|
850
|
+
}, {
|
851
|
+
"Name" : "Through the Lens",
|
852
|
+
"Link" : homeurl + "/ttl",
|
853
|
+
"Class" : "",
|
854
|
+
"footer" : true
|
855
|
+
}, {
|
856
|
+
"Name" : "News in Pictures",
|
857
|
+
"Link" : homeurl + "/News+In+Pictures/News+In+Pictures.html",
|
858
|
+
"Class" : "",
|
859
|
+
"footer" : true
|
860
|
+
}, {
|
861
|
+
"Name" : "Infographics",
|
862
|
+
"Link" : homeurl + "/Features/Infographics/Infographics.html",
|
863
|
+
"Class" : "",
|
864
|
+
"footer" : true
|
865
|
+
}
|
866
|
+
|
867
|
+
],
|
868
|
+
"Specials" : [ {
|
869
|
+
"Name" : "Specials",
|
870
|
+
"Link" : "",
|
871
|
+
"Class" : "",
|
872
|
+
"footer" : true
|
873
|
+
}, {
|
874
|
+
"Name" : "Childaid",
|
875
|
+
"Link" : homeurl + "/childaid",
|
876
|
+
"Class" : "",
|
877
|
+
"footer" : true
|
878
|
+
}, {
|
879
|
+
"Name" : "SPMF",
|
880
|
+
"Link" : homeurl + "/spmf/School+Pocket+Money+Fund.html",
|
881
|
+
"Class" : "",
|
882
|
+
"footer" : true
|
883
|
+
} ],
|
884
|
+
"Home" : [ {
|
885
|
+
"Name" : "Home",
|
886
|
+
"Link" : homeurl + "/Home_" + navdate + ".html",
|
887
|
+
"Class" : ""
|
888
|
+
} ]
|
889
|
+
|
890
|
+
}
|
891
|
+
|
892
|
+
var webspecialarray = {
|
893
|
+
"spmf" : [ {
|
894
|
+
"url" : homeurl + "/spmf/School+Pocket+Money+Fund.html",
|
895
|
+
"img_src" : "http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/webspecialIconForSPMF.gif",
|
896
|
+
"img_width" : "114",
|
897
|
+
"img_height" : "190",
|
898
|
+
"img_alt" : "School Pocket Money Fund image"
|
899
|
+
} ]
|
900
|
+
}
|
901
|
+
|
902
|
+
jQuery("#header_navbar_bn").html(generateNavBar(navbar.BN));
|
903
|
+
|
904
|
+
if (display_day_array[0] == "Sunday") {
|
905
|
+
jQuery("#header_navbar_prem").html(generateNavBar(navbar.PremSunday));
|
906
|
+
} else {
|
907
|
+
jQuery("#header_navbar_prem").html(generateNavBar(navbar.PremWeekdays));
|
908
|
+
}
|
909
|
+
jQuery("#header_navbar_community").html(generateNavBar(navbar.Community));
|
910
|
+
//jQuery("#header_navbar_multimedia").html(generateNavBar(navbar.Multimedia));
|
911
|
+
jQuery("#header_navbar_features").html(generateNavBar(navbar.Features));
|
912
|
+
//jQuery("#header_navbar_projects").html(generateNavBar(navbar.Projects));
|
913
|
+
jQuery("#home_link").attr("href", navbar.Home[0].Link);
|
914
|
+
</script>
|
915
|
+
<!--start of main-->
|
916
|
+
<div id="main">
|
917
|
+
<ul id='crumbs'> <li><a href='http://www.straitstimes.com'>Home</a></li><li><a href='/Breaking%2BNews/Breaking%2BNews_20120525.html'>Breaking News</a></li><li><a href='/Breaking%2BNews/Singapore/Singapore_20120525.html'>Singapore</a></li><li><a>Story</a></li></ul>
|
918
|
+
<div class="clear1px"> </div>
|
919
|
+
<!--close .crumbs-->
|
920
|
+
<div class="w710 mr10">
|
921
|
+
<div class="panel mb10">
|
922
|
+
<!--start of story-->
|
923
|
+
<div class="story">
|
924
|
+
<div id="storycontent">
|
925
|
+
<a href="javascript:void(0);"><div class="kicker">HOUGANG BY-ELECTION</div></a><div class="clearall"> </div>
|
926
|
+
<!--close .kicker, if any-->
|
927
|
+
<h1> PAP: Chance to start afresh in Hougang
|
928
|
+
</h1>
|
929
|
+
<h2>PM Lee, Khaw Boon Wan urge residents to back young candidate</h2>
|
930
|
+
<div class="clearall"> </div>
|
931
|
+
<div class="storyLeft">
|
932
|
+
<div class="storyActions">
|
933
|
+
<div class="published">Published on May 25, 2012</div>
|
934
|
+
<ul id="btn_pe_navlist">
|
935
|
+
<li id="btn_pe_print"><a href="/print/BreakingNews/Singapore/Story/STIStory_802924.html"></a></li>
|
936
|
+
<li id="btn_pe_email"><a href="javascript:void(0);" onclick="sendemail('/vgn-ext-templating/v/index.jsp?vgnextoid=17fac6fd279a9010VgnVCM1000000a35010aRCRD&vgnvcmid=b99c0ff7d4087310VgnVCM100000430a0a0aRCRD&vgnorgchannel=ed1dfcb3bcc1b110VgnVCM100000350a0a0aRCRD');return false;"></a></li>
|
937
|
+
</ul>
|
938
|
+
|
939
|
+
<div class="clearall"> </div>
|
940
|
+
<div id="story_sharing_tool"></div>
|
941
|
+
<div class="clearall"> </div>
|
942
|
+
<div class="webspecial" style="display:none;" id="webspecial-div"> </div>
|
943
|
+
<div class="purchase"><a href="http://www.businesstimes.com.sg/newspost"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/newspost.gif" />Purchase this article for republication</a></div>
|
944
|
+
<div class="clearall"> </div>
|
945
|
+
<div class="purchase"><a href="http://www.photobank.com.sg/"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/photobank.gif" />Buy SPH photos</a></div>
|
946
|
+
<div class="clearall"> </div>
|
947
|
+
<div class="clearall"> </div>
|
948
|
+
<div id="random_img_container"></div>
|
949
|
+
</div>
|
950
|
+
</div>
|
951
|
+
<!--close .storyLeft-->
|
952
|
+
<div class="storyRight" >
|
953
|
+
<!--start of story image, if any-->
|
954
|
+
|
955
|
+
<div class="sizeL">
|
956
|
+
<img src="/STI/STIMEDIA/image/20120524/ST_IMAGES_RALLYSHARP.jpg" />
|
957
|
+
<div class="caption">PM Lee showing hands-on support for Mr Choo, who was repeatedly described as 'sincere, idealistic and hardworking'. -- ST PHOTO: CHEW SENG KIM</div>
|
958
|
+
</div>
|
959
|
+
<!--end of story image, if any-->
|
960
|
+
|
961
|
+
<!-- storyAds:start -->
|
962
|
+
<div class="storyIMU">
|
963
|
+
<script language="JavaScript1.1" src="http://adtag.asiaone.com/tag/st/js/st_bn_sg_imu.js"></script>
|
964
|
+
</div>
|
965
|
+
<!-- storyAds:end -->
|
966
|
+
|
967
|
+
|
968
|
+
|
969
|
+
<div class="byline">By
|
970
|
+
RACHEL CHANG
|
971
|
+
</div>
|
972
|
+
|
973
|
+
<!--start of story text-->
|
974
|
+
<p>The People's Action Party (PAP) ended its campaign in Hougang on Thursday with a call for change in the ward, urging voters to start afresh with its young candidate.</p>
|
975
|
+
|
976
|
+
|
977
|
+
<p>'Hougang, let's turn over a new page and start again,' declared party chairman Khaw Boon Wan at the PAP's final rally of the by-election on Thursday night. </p>
|
978
|
+
|
979
|
+
|
980
|
+
<p>With the ward in opposition hands since 1991, Hougang residents had been adversely affected, said Mr Khaw.<br></br><object> <param name="movie" value="http://image.razor.tv/site/flashplayer/razortv2-embed.swf"></param> <param name="wmode" value="transparent"></param> <param name="flashvars" value="file=http%3A//www.razor.tv/site/servlet/stream/playerXml%3Frepeat%3Dfalse%26autostart%3Dfalse%26video%3Dcontentbean%3A77672%26browserUrl%3Dhttp%3A//www.razor.tv/site/servlet/segment/main/news/&adsurl=http%3A//www.razor.tv%3A80/site/servlet/adsVideo/%3Fstream%3Dcontentbean%3A77672%26channel%3Dcontentbean%3A90&isembed=true&hideall=true&hidebnt=true"></param> <embed allowfullscreen="true" width="550" type="application/x-shockwave-flash" height="365" src="http://image.razor.tv/site/flashplayer/razortv2-embed.swf" flashvars="file=http%3A//www.razor.tv/site/servlet/stream/playerXml%3Frepeat%3Dfalse%26autostart%3Dfalse%26video%3Dcontentbean%3A77672%26browserUrl%3Dhttp%3A//www.razor.tv/site/servlet/segment/main/news/&adsurl=http%3A//www.razor.tv%3A80/site/servlet/adsVideo/%3Fstream%3Dcontentbean%3A77672%26channel%3Dcontentbean%3A90&isembed=true&hideall=true&hidebnt=true"></embed> </object></p>
|
981
|
+
|
982
|
+
|
983
|
+
<p>'This is a good chance for a fresh start.'</p>
|
984
|
+
|
985
|
+
|
986
|
+
|
987
|
+
|
988
|
+
|
989
|
+
<script language='javascript'>
|
990
|
+
var subrenderfile="/Subscription/Breaking+News/Singapore/Story/STIStory_802924.html";
|
991
|
+
</script>
|
992
|
+
<div id="subhtmldiv"></div>
|
993
|
+
<script language='javascript'>
|
994
|
+
if(!document.domain || document.domain=="sph.straitstimes.com" || ( user != null && user !=0 && luser!=null && luser != "anonymous" && luser != "anonymous|anonymous")) {
|
995
|
+
jQuery("#subhtmldiv").html("Loading...Please wait....");
|
996
|
+
jQuery.ajax({
|
997
|
+
url: subrenderfile,
|
998
|
+
async: false,
|
999
|
+
success: function(msg){
|
1000
|
+
jQuery("#subhtmldiv").html( msg );
|
1001
|
+
}
|
1002
|
+
});
|
1003
|
+
} else {
|
1004
|
+
document.writeln('<div class="clearall"> </div><h5>TO READ THE FULL STORY...</h5><div style="width:177px; margin:12px auto; height:24px;"><a class="sbutton" style="width:54px; float:left; margin:0 10px 0 0;" href="http://sphreg.asiaone.com/RegAuth2/stpLogin.html?goto=http://www.straitstimes.com/vgn-ext-templating/sti/common/STIRedirect.jsp?dlink='+location.href+'" onclick="jQuery.colorbox({width:\'522px\',height:\'330px\', href:\'/STI/STIFILES/ssi/2011/login/login-in-form.html\',scrolling:false});return false;"><span>Log in</span></a> <a class="sbutton" style="width:76px; float:left; margin:0;" href="http://www.stsubscribe.com.sg/"><span>Subscribe</span></a></div>');
|
1005
|
+
}
|
1006
|
+
</script>
|
1007
|
+
|
1008
|
+
|
1009
|
+
|
1010
|
+
|
1011
|
+
<div class="clearall"> </div>
|
1012
|
+
<div class="clearall"> </div>
|
1013
|
+
<div id="facebook_like_container"></div>
|
1014
|
+
<div id="google-ads"><script language="JavaScript1.1" src="http://adtag.asiaone.com/tag/st/js/st_google_bottom.js"></script></div>
|
1015
|
+
<!--end of story text-->
|
1016
|
+
|
1017
|
+
<!--end of story-->
|
1018
|
+
<!--start of comments-->
|
1019
|
+
<div class="comments"> <script language="javascript">
|
1020
|
+
var disqus_shortname = 'thestraitstimes';
|
1021
|
+
var disqus_identifier = disqus_shortname+'702827942';
|
1022
|
+
var disqus_url = 'http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_802924.html';
|
1023
|
+
</script>
|
1024
|
+
<script language="javascript">
|
1025
|
+
var disqus_config = null;
|
1026
|
+
var ldapemail = jQuery.cookie("HTTP_mail");
|
1027
|
+
var usercookie_exist= false;
|
1028
|
+
var isLoginToDisqus = jQuery.cookie("disqus_login");
|
1029
|
+
var ssologout = "http://sphauth.asiaone.com/amserver/UI/Logout?logoutdest="+location.href;
|
1030
|
+
|
1031
|
+
if (user != null && user !=0 && luser!=null && luser != "anonymous" && luser != "anonymous|anonymous"){
|
1032
|
+
usercookie_exist=true;
|
1033
|
+
}
|
1034
|
+
|
1035
|
+
//alert(user);
|
1036
|
+
//alert(isLoginToDisqus);
|
1037
|
+
//case 1 : If user log into ST and he is not logged into ST yet, always do SSO
|
1038
|
+
if (isLoginToDisqus != "true" && usercookie_exist) {
|
1039
|
+
//alert("case 1");
|
1040
|
+
//console.log("case 1:If user log into ST and he is not logged into ST yet, always do SSO");
|
1041
|
+
jQuery.ajax( {
|
1042
|
+
'type' : 'GET',
|
1043
|
+
'url' : '/vgn-ext-templating/createSSO',
|
1044
|
+
'cache' : false,
|
1045
|
+
'data' : 'id=' + user + '&username=' + user + '&email=' + ldapemail + '&logout=false',
|
1046
|
+
'success' : function(jsonData) {
|
1047
|
+
//alert('id=' + user + '&username=' + user + '&email=' + ldapemail + '&logout=false');
|
1048
|
+
//alert(jsonData);
|
1049
|
+
if(jsonData.response.error != 1){
|
1050
|
+
disqus_config = function () {
|
1051
|
+
this.page.remote_auth_s3 = jsonData.response.message + ' ' + jsonData.response.hmac + ' ' + jsonData.response.timestamp;
|
1052
|
+
this.page.api_key = jsonData.response.public_key;
|
1053
|
+
this.sso = {
|
1054
|
+
logout: ssologout
|
1055
|
+
};
|
1056
|
+
}
|
1057
|
+
jQuery.cookie('disqus_login', 'true');
|
1058
|
+
}
|
1059
|
+
|
1060
|
+
callDisqus();
|
1061
|
+
|
1062
|
+
}
|
1063
|
+
});
|
1064
|
+
|
1065
|
+
}
|
1066
|
+
//case 2:If user log into ST and disqus already, no need to do SSO
|
1067
|
+
else if (isLoginToDisqus == "true" && usercookie_exist)
|
1068
|
+
{
|
1069
|
+
//alert("case 2");
|
1070
|
+
//console.log("case 2:If user log into ST and disqus already, no need to do SSO");
|
1071
|
+
|
1072
|
+
disqus_config = function () {
|
1073
|
+
this.sso = {logout: ssologout};};
|
1074
|
+
callDisqus();
|
1075
|
+
|
1076
|
+
|
1077
|
+
|
1078
|
+
}
|
1079
|
+
//case 3: if user log out from ST but do not log out from disqus
|
1080
|
+
else if (isLoginToDisqus != null && !usercookie_exist) {
|
1081
|
+
//alert("case 3");
|
1082
|
+
//console.log("case 3:if user log out from ST but do not log out from disqus");
|
1083
|
+
jQuery.ajax( {
|
1084
|
+
'type' : 'GET',
|
1085
|
+
'url' : '/vgn-ext-templating/createSSO',
|
1086
|
+
'cache' : false,
|
1087
|
+
'data' : 'id=' + user + '&username=' + user + '&email=' + ldapemail + '&logout=true',
|
1088
|
+
'success' : function(jsonData) {
|
1089
|
+
|
1090
|
+
if(jsonData.response.error != 1){
|
1091
|
+
disqus_config = function () {
|
1092
|
+
this.page.remote_auth_s3 = jsonData.response.message + ' ' + jsonData.response.hmac + ' ' + jsonData.response.timestamp;
|
1093
|
+
this.page.api_key = jsonData.response.public_key;
|
1094
|
+
|
1095
|
+
this.sso = {
|
1096
|
+
name: "straitstimes",
|
1097
|
+
button: "http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/disqusST.png",
|
1098
|
+
icon: "http://www.straitstimes.com/STI/STIMEDIA/common/favicon.ico",
|
1099
|
+
url: "http://www.straitstimes.com/STI/STIFILES/ssi/2011/login/login-in-form-full.html",
|
1100
|
+
logout: ssologout,
|
1101
|
+
width: "480",
|
1102
|
+
height: "250"
|
1103
|
+
};
|
1104
|
+
}
|
1105
|
+
jQuery.cookie('disqus_login', null);
|
1106
|
+
|
1107
|
+
callDisqus();
|
1108
|
+
}
|
1109
|
+
|
1110
|
+
}
|
1111
|
+
});
|
1112
|
+
}
|
1113
|
+
//case 4: if user never log into both ST and disqus
|
1114
|
+
else {
|
1115
|
+
//alert("case4");
|
1116
|
+
//console.log("case 4:if user never log into both ST and disqus");
|
1117
|
+
disqus_config = function () {
|
1118
|
+
this.sso = {
|
1119
|
+
name: "straitstimes",
|
1120
|
+
button: "http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/disqusST.png",
|
1121
|
+
icon: "http://www.straitstimes.com/STI/STIMEDIA/common/favicon.ico",
|
1122
|
+
url: "http://www.straitstimes.com/STI/STIFILES/ssi/2011/login/login-in-form-full.html",
|
1123
|
+
logout: ssologout,
|
1124
|
+
width: "480",
|
1125
|
+
height: "250"
|
1126
|
+
};
|
1127
|
+
};
|
1128
|
+
|
1129
|
+
callDisqus();
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
|
1133
|
+
|
1134
|
+
|
1135
|
+
|
1136
|
+
function callDisqus(){
|
1137
|
+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
|
1138
|
+
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
1139
|
+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
1140
|
+
|
1141
|
+
}
|
1142
|
+
|
1143
|
+
</script>
|
1144
|
+
<noscript>
|
1145
|
+
Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>
|
1146
|
+
</noscript>
|
1147
|
+
<div id="disqus_thread"></div>
|
1148
|
+
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
|
1149
|
+
|
1150
|
+
</div>
|
1151
|
+
</div>
|
1152
|
+
<!--end of comments-->
|
1153
|
+
<div class="clearall"> </div>
|
1154
|
+
</div> <!--close .storyRight-->
|
1155
|
+
|
1156
|
+
</div>
|
1157
|
+
|
1158
|
+
</div>
|
1159
|
+
<script>
|
1160
|
+
var top_story_array = [ '803060' , '803047' , '803072' , '802992' , '802956' , '802985' , '803050' , '802924' , '802928' , '803038' ];
|
1161
|
+
</script>
|
1162
|
+
<a onclick="this.blur(); return true;" href="javascript:void();" class="sbanner" id="story_top_banner" style="display:none;"><span>More Top Stories</span></a>
|
1163
|
+
|
1164
|
+
<div class="panelx" id="story_top_content" style="display:none;">
|
1165
|
+
<div class="itemTopStory mr10"><a href="/BreakingNews/Singapore/Story/STIStory_803060.html">
|
1166
|
+
<img src="/STI/STIMEDIA/image/20120410/ST_IMAGES_P1BLURBS11-0IOm.jpg" width="100" alt="COI into December SMRT rail disruptions ends after 6 weeks"/>
|
1167
|
+
<h4>COI into December SMRT rail disruptions ends after 6 weeks</h4>
|
1168
|
+
</a></div>
|
1169
|
+
<div class="itemTopStory mr10"><a href="/BreakingNews/Singapore/Story/STIStory_803047.html">
|
1170
|
+
<img src="/STI/STIMEDIA/image/20120525/kidsread-tedchenm.jpg" width="100" alt="More primary schools encouraged to set up kidsREAD programme"/>
|
1171
|
+
<h4>More primary schools encouraged to set up kidsREAD programme</h4>
|
1172
|
+
</a></div>
|
1173
|
+
<div class="itemTopStory mr10"><a href="/BreakingNews/Singapore/Story/STIStory_803072.html">
|
1174
|
+
<img src="/STI/STIMEDIA/image/20110826/manufacture.limwuilinagm.jpg" width="100" alt="Manufacturing output falls 0.3% year-on-year in April"/>
|
1175
|
+
<h4>Manufacturing output falls 0.3% year-on-year in April</h4>
|
1176
|
+
</a></div>
|
1177
|
+
<div class="itemTopStory mr10"><a href="/BreakingNews/Singapore/Story/STIStory_802992.html">
|
1178
|
+
<img src="/STI/STIMEDIA/image/20120419/showboxaptmt-btmugilanrajasegeranm.jpg" width="100" alt="Shoebox flats 'almost inhuman', says CapitaLand CEO"/>
|
1179
|
+
<h4>Shoebox flats 'almost inhuman', says CapitaLand CEO</h4>
|
1180
|
+
</a></div>
|
1181
|
+
<div class="itemTopStory mr10"><a href="/BreakingNews/Singapore/Story/STIStory_802956.html">
|
1182
|
+
<img src="/STI/STIMEDIA/image/20120524/ST_IMAGES_GRXIAXUE25_8m.jpg" width="100" alt="Blogger Xiaxue fights back against Facebook abuse"/>
|
1183
|
+
<h4>Blogger Xiaxue fights back against Facebook abuse</h4>
|
1184
|
+
</a></div>
|
1185
|
+
<div class="itemTopStory mr10"><a href="/BreakingNews/Singapore/Story/STIStory_802985.html">
|
1186
|
+
<img src="/STI/STIMEDIA/image/20120524/ST_IMAGES_ETBUYERBUAAm.jpg" width="100" alt="Buyers from China lose property top spot"/>
|
1187
|
+
<h4>Buyers from China lose property top spot</h4>
|
1188
|
+
</a></div>
|
1189
|
+
<div class="itemTopStory"><a href="/BreakingNews/Singapore/Story/STIStory_803050.html">
|
1190
|
+
<img src="/STI/STIMEDIA/image/20120525/ecocarmainppicturem.jpg" width="100" alt="From planes to cars, she keeps her education moving forward"/>
|
1191
|
+
<h4>From planes to cars, she keeps her education moving forward</h4>
|
1192
|
+
</a></div>
|
1193
|
+
<div class="clear1px"> </div>
|
1194
|
+
</div>
|
1195
|
+
|
1196
|
+
|
1197
|
+
|
1198
|
+
|
1199
|
+
|
1200
|
+
</div>
|
1201
|
+
<div class="w240">
|
1202
|
+
<!--div class="skyscraper mb10"-->
|
1203
|
+
|
1204
|
+
<!--/div-->
|
1205
|
+
|
1206
|
+
<div class="panelTopOtherStories">
|
1207
|
+
<div class="stabrow">
|
1208
|
+
<div class="float-left"><a id="prevstory" class="sbutton" style="width:66px;margin:0 0 0 0;" href="javascript:void;" onclick="this.blur(); return true;"><span>Previous</span></a></div>
|
1209
|
+
<div class="float-right"><a id="nextstory" class="sbutton" style="width:42px;margin:0 0 0 0;" href="javascript:void;" onclick="this.blur(); return true;"><span>Next</span></a></div>
|
1210
|
+
</div>
|
1211
|
+
<div class="clear1px"> </div>
|
1212
|
+
</div>
|
1213
|
+
|
1214
|
+
<a class="sbanner" href="#" onclick="this.blur(); return true;"><span>Singapore</span></a>
|
1215
|
+
<div class="panelx mb10" id="storyindex">
|
1216
|
+
<div class="headline">
|
1217
|
+
<h6>3:09 PM</h6>
|
1218
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_803088.html" title="">Police appeal for information on man involved in loansharking case</a></p>
|
1219
|
+
</div>
|
1220
|
+
<div class="headline">
|
1221
|
+
<h6>2:08 PM</h6>
|
1222
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_803078.html" title="">Police appeal for information on whereabouts of 65-year-old woman</a></p>
|
1223
|
+
</div>
|
1224
|
+
<div class="headline">
|
1225
|
+
<h6>1:14 PM</h6>
|
1226
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_803072.html" title="">Manufacturing output falls 0.3% year-on-year in April</a></p>
|
1227
|
+
</div>
|
1228
|
+
<div class="headline">
|
1229
|
+
<h6>12:24 PM</h6>
|
1230
|
+
<p><a href="/The-Big-Story/The-Big-Story-2/Story/STIStory_803062.html" title="">Hougang By-Election: Cooling-off Day before Polling Day on Saturday</a></p>
|
1231
|
+
</div>
|
1232
|
+
<div class="headline">
|
1233
|
+
<h6>12:11 PM</h6>
|
1234
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_803060.html" title="">COI into December SMRT rail disruptions ends after 6 weeks</a></p>
|
1235
|
+
</div>
|
1236
|
+
<div class="headline">
|
1237
|
+
<h6>11:26 AM</h6>
|
1238
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_803050.html" title="">From planes to cars, she keeps her education moving forward</a></p>
|
1239
|
+
</div>
|
1240
|
+
<div class="headline">
|
1241
|
+
<h6>11:24 AM</h6>
|
1242
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_803049.html" title="">Doctor jailed 4 weeks for causing cyclist's death</a></p>
|
1243
|
+
</div>
|
1244
|
+
<div class="headline">
|
1245
|
+
<h6>12:00 PM</h6>
|
1246
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_803047.html" title="">More primary schools encouraged to set up kidsREAD programme</a></p>
|
1247
|
+
</div>
|
1248
|
+
<div class="headline">
|
1249
|
+
<h6>9:39 AM</h6>
|
1250
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_803029.html" title="">CAAS, NATS ink cooperation agreement on air traffic management</a></p>
|
1251
|
+
</div>
|
1252
|
+
<div class="headline">
|
1253
|
+
<h6>6:00 AM</h6>
|
1254
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802994.html" title="">SGX and UOB unit setting up centre to train futures traders</a></p>
|
1255
|
+
</div>
|
1256
|
+
<div class="headline">
|
1257
|
+
<h6>6:00 AM</h6>
|
1258
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802993.html" title="">Customers spend more if a firm is family-friendly, survey shows</a></p>
|
1259
|
+
</div>
|
1260
|
+
<div class="headline">
|
1261
|
+
<h6>6:00 AM</h6>
|
1262
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802992.html" title="">Shoebox flats 'almost inhuman', says CapitaLand CEO</a></p>
|
1263
|
+
</div>
|
1264
|
+
<div class="headline">
|
1265
|
+
<h6>6:00 AM</h6>
|
1266
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802991.html" title="">20 Singapore firms head for China services trade fair</a></p>
|
1267
|
+
</div>
|
1268
|
+
<div class="headline">
|
1269
|
+
<h6>6:00 AM</h6>
|
1270
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802989.html" title="">'Engage staff' to boost productivity</a></p>
|
1271
|
+
</div>
|
1272
|
+
<div class="headline">
|
1273
|
+
<h6>6:00 AM</h6>
|
1274
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802988.html" title="">Maybank Singapore reports rise in Q1 profits</a></p>
|
1275
|
+
</div>
|
1276
|
+
<div class="headline">
|
1277
|
+
<h6>6:00 AM</h6>
|
1278
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802986.html" title="">DBS bid to take over Danamon in limbo</a></p>
|
1279
|
+
</div>
|
1280
|
+
<div class="headline">
|
1281
|
+
<h6>6:00 AM</h6>
|
1282
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802985.html" title="">Buyers from China lose property top spot</a></p>
|
1283
|
+
</div>
|
1284
|
+
<div class="headline">
|
1285
|
+
<h6>6:00 AM</h6>
|
1286
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802983.html" title="">Charged with helping loan shark</a></p>
|
1287
|
+
</div>
|
1288
|
+
<div class="headline">
|
1289
|
+
<h6>6:00 AM</h6>
|
1290
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802981.html" title="">Apex court rejects clan ouster appeal</a></p>
|
1291
|
+
</div>
|
1292
|
+
<div class="headline">
|
1293
|
+
<h6>6:00 AM</h6>
|
1294
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802980.html" title="">TCM physician sorry for SMSes to ex-patients</a></p>
|
1295
|
+
</div>
|
1296
|
+
<div class="headline">
|
1297
|
+
<h6>6:00 AM</h6>
|
1298
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802979.html" title="">Spider-Man, Batman at Dhoby Ghaut?</a></p>
|
1299
|
+
</div>
|
1300
|
+
<div class="headline">
|
1301
|
+
<h6>6:00 AM</h6>
|
1302
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802978.html" title="">Drug smuggler who escaped gallows gets 18 years</a></p>
|
1303
|
+
</div>
|
1304
|
+
<div class="headline">
|
1305
|
+
<h6>6:00 AM</h6>
|
1306
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802977.html" title="">Loan shark runner with a heart gets jail term cut</a></p>
|
1307
|
+
</div>
|
1308
|
+
<div class="headline">
|
1309
|
+
<h6>6:00 AM</h6>
|
1310
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802976.html" title="">Cat owners urged to be responsible</a></p>
|
1311
|
+
</div>
|
1312
|
+
<div class="headline">
|
1313
|
+
<h6>6:00 AM</h6>
|
1314
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802975.html" title="">Facebook fan page for Asean arts and culture</a></p>
|
1315
|
+
</div>
|
1316
|
+
<div class="headline">
|
1317
|
+
<h6>6:00 AM</h6>
|
1318
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802974.html" title="">Top Green Mark for National Heart Centre</a></p>
|
1319
|
+
</div>
|
1320
|
+
<div class="headline">
|
1321
|
+
<h6>6:00 AM</h6>
|
1322
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802972.html" title="">Empty, not forgotten</a></p>
|
1323
|
+
</div>
|
1324
|
+
<div class="headline">
|
1325
|
+
<h6>6:00 AM</h6>
|
1326
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802971.html" title="">Tips for rearing healthy children</a></p>
|
1327
|
+
</div>
|
1328
|
+
<div class="headline">
|
1329
|
+
<h6>6:00 AM</h6>
|
1330
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802969.html" title="">Rustic fun to boost inter-faith bonding</a></p>
|
1331
|
+
</div>
|
1332
|
+
<div class="headline">
|
1333
|
+
<h6>6:00 AM</h6>
|
1334
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802966.html" title="">Once a taxi, now a winning artwork</a></p>
|
1335
|
+
</div>
|
1336
|
+
<div class="headline">
|
1337
|
+
<h6>6:00 AM</h6>
|
1338
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802964.html" title="">Daily HFMD checks at primary schools</a></p>
|
1339
|
+
</div>
|
1340
|
+
<div class="headline">
|
1341
|
+
<h6>6:00 AM</h6>
|
1342
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802962.html" title="">Dislodged claws 'not on my radar'</a></p>
|
1343
|
+
</div>
|
1344
|
+
<div class="headline">
|
1345
|
+
<h6>6:00 AM</h6>
|
1346
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802961.html" title="">Awards for trio who rescued family</a></p>
|
1347
|
+
</div>
|
1348
|
+
<div class="headline">
|
1349
|
+
<h6>6:00 AM</h6>
|
1350
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802959.html" title="">Retailers hope for boost in Great Singapore Sale</a></p>
|
1351
|
+
</div>
|
1352
|
+
<div class="headline">
|
1353
|
+
<h6>6:00 AM</h6>
|
1354
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802958.html" title="">Singapore to host top biology contest</a></p>
|
1355
|
+
</div>
|
1356
|
+
<div class="headline">
|
1357
|
+
<h6>6:00 AM</h6>
|
1358
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802956.html" title="">Blogger Xiaxue fights back against Facebook abuse</a></p>
|
1359
|
+
</div>
|
1360
|
+
<div class="headline">
|
1361
|
+
<h6>6:00 AM</h6>
|
1362
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802954.html" title="">Take a shot at army life this weekend</a></p>
|
1363
|
+
</div>
|
1364
|
+
<div class="headline">
|
1365
|
+
<h6>6:00 AM</h6>
|
1366
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802953.html" title="">NTU team develops super-fast chip</a></p>
|
1367
|
+
</div>
|
1368
|
+
<div class="headline">
|
1369
|
+
<h6>6:00 AM</h6>
|
1370
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802951.html" title="">Casino watchdog to beef up staff training</a></p>
|
1371
|
+
</div>
|
1372
|
+
<div class="headline">
|
1373
|
+
<h6>6:00 AM</h6>
|
1374
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802950.html" title="">Fibre network: Just how many homes are cabled?</a></p>
|
1375
|
+
</div>
|
1376
|
+
<div class="headline">
|
1377
|
+
<h6>6:00 AM</h6>
|
1378
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802947.html" title="">A campaign to win hearts</a></p>
|
1379
|
+
</div>
|
1380
|
+
<div class="headline">
|
1381
|
+
<h6>6:00 AM</h6>
|
1382
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802946.html" title="">Call for switch by PAP voters</a></p>
|
1383
|
+
</div>
|
1384
|
+
<div class="headline">
|
1385
|
+
<h6>6:00 AM</h6>
|
1386
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802944.html" title="">My conscience is clear, says Png of NCMP saga</a></p>
|
1387
|
+
</div>
|
1388
|
+
<div class="headline">
|
1389
|
+
<h6>6:00 AM</h6>
|
1390
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802942.html" title="">Low sets out WP's impact in Parliament</a></p>
|
1391
|
+
</div>
|
1392
|
+
<div class="headline">
|
1393
|
+
<h6>6:00 AM</h6>
|
1394
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802941.html" title="">Voters urged to rethink loyalties</a></p>
|
1395
|
+
</div>
|
1396
|
+
<div class="headline">
|
1397
|
+
<h6>6:00 AM</h6>
|
1398
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802939.html" title="">PM on PAP's chances in Hougang and NCMP issue</a></p>
|
1399
|
+
</div>
|
1400
|
+
<div class="headline">
|
1401
|
+
<h6>6:00 AM</h6>
|
1402
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802937.html" title="">Khaw points to PAP Government's track record</a></p>
|
1403
|
+
</div>
|
1404
|
+
<div class="headline">
|
1405
|
+
<h6>6:00 AM</h6>
|
1406
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802936.html" title="">Youth volunteers to help closer to home</a></p>
|
1407
|
+
</div>
|
1408
|
+
<div class="headline">
|
1409
|
+
<h6>6:00 AM</h6>
|
1410
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802933.html" title="">Two men charged over match-fixing</a></p>
|
1411
|
+
</div>
|
1412
|
+
<div class="headline">
|
1413
|
+
<h6>6:00 AM</h6>
|
1414
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802932.html" title="">FairPrice first to increase staff salaries</a></p>
|
1415
|
+
</div>
|
1416
|
+
<div class="headline">
|
1417
|
+
<h6>6:00 AM</h6>
|
1418
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802928.html" title="">WP keeps up First World Parliament aim</a></p>
|
1419
|
+
</div>
|
1420
|
+
<div class="headline">
|
1421
|
+
<h6>6:00 AM</h6>
|
1422
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802929.html" title="">Bosses okay higher pay but not built-in raise</a></p>
|
1423
|
+
</div>
|
1424
|
+
<div class="headline">
|
1425
|
+
<h6>6:00 AM</h6>
|
1426
|
+
<p><a href="/BreakingNews/Singapore/Story/STIStory_802924.html" title="">PAP: Chance to start afresh in Hougang</a></p>
|
1427
|
+
</div>
|
1428
|
+
</div>
|
1429
|
+
<div class="clear1px"> </div>
|
1430
|
+
|
1431
|
+
|
1432
|
+
|
1433
|
+
<a class="sbanner" href="javascript:void(0);" onclick="this.blur(); return true;"><span>Most Popular</span></a>
|
1434
|
+
|
1435
|
+
<div class="panelx mb10">
|
1436
|
+
<div class="mostPopular">
|
1437
|
+
<ol>
|
1438
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_802091.html">Singapore inflation rises to 5.4% in April, driven by accommodation cost</a></li>
|
1439
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_802117.html">NWC recommends pay rise of $50 or more for low-wage workers</a></li>
|
1440
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_802076.html">SMRT to be more 'pro-active' in $900m programme</a></li>
|
1441
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_802025.html">Woman caught with $640,000 worth of Ice at airport</a></li>
|
1442
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_801975.html">Workers' Party faces allegations of dishonesty</a></li>
|
1443
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_802073.html">New Order, Garbage and Snow Patrol to play at Fort Canning</a></li>
|
1444
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_802092.html">Vietnamese woman jailed for cheating by swapping iPhones</a></li>
|
1445
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/Asia/Story/STIStory_802068.html">S. Korea to carry out first chemical castration on rapist</a></li>
|
1446
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/World/Story/STIStory_802037.html">Schizophrenic man believed he was beheading an alien</a></li>
|
1447
|
+
<li><a href="http://www.straitstimes.com/BreakingNews/Singapore/Story/STIStory_801980.html">Alleged pimp in online vice ring faces new charges</a></li>
|
1448
|
+
|
1449
|
+
</ol>
|
1450
|
+
</div>
|
1451
|
+
</div>
|
1452
|
+
|
1453
|
+
|
1454
|
+
|
1455
|
+
<div id="story-all-channel-div">
|
1456
|
+
|
1457
|
+
</div>
|
1458
|
+
|
1459
|
+
<script type="text/javascript">
|
1460
|
+
// story changes
|
1461
|
+
var title = jQuery.trim($('#main').find('h1').text());
|
1462
|
+
$('div.headline, #storyindex li').each(function() {
|
1463
|
+
var t = $.trim($(this).find('a').text());
|
1464
|
+
if(t == title) {
|
1465
|
+
var node = $(this).next().find('a');
|
1466
|
+
if(node.text() && jQuery.trim(node.text()) != '') {
|
1467
|
+
var html = '<div id="storyNav"><div class="next">NEXT STORY: <a href="' + node.attr('href') + '">' + node.text() + '<img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/nipRight.png"></a></div></div>';
|
1468
|
+
$(html).insertBefore($('#facebook_like_container'));
|
1469
|
+
}
|
1470
|
+
return false;
|
1471
|
+
}
|
1472
|
+
});
|
1473
|
+
|
1474
|
+
// section name process
|
1475
|
+
$('#crumbs li').each(function() {
|
1476
|
+
var txt = jQuery.trim($(this).text());
|
1477
|
+
if(txt == 'Breaking News' || txt == 'Premium') {
|
1478
|
+
if ($(this).next().html().indexOf("Singapore") != -1) {
|
1479
|
+
var name = '<span class="pageSectionRed" style="font-size: 24px;">' + $(this).next().html() + '</span>';
|
1480
|
+
} else if ($(this).next().html().indexOf("Tech and Science") != -1) {
|
1481
|
+
var name = '<span class="pageSectionRed" style="font-size: 20px;">' + $(this).next().html() + '</span>';
|
1482
|
+
} else if ($(this).next().html().indexOf("Prime News") != -1) {
|
1483
|
+
var name = '<span class="pageSectionRed">' + "Top of the News" + '</span>';
|
1484
|
+
} else if ($(this).next().html().indexOf("Review") != -1) {
|
1485
|
+
var name = '<span class="pageSectionRed">' + "Opinion" + '</span>';
|
1486
|
+
} else {
|
1487
|
+
var name = '<span class="pageSectionRed">' + $(this).next().html() + '</span>';
|
1488
|
+
}
|
1489
|
+
$('#pageSectiondiv').html($('#pageSectiondiv').text() + name);
|
1490
|
+
return false;
|
1491
|
+
}
|
1492
|
+
});
|
1493
|
+
|
1494
|
+
// colorbox for media
|
1495
|
+
if(!$('#pic-rotator-img').length) {
|
1496
|
+
$('div.sizeL').find('img:first').attr('id', 'pic-rotator-img');
|
1497
|
+
}
|
1498
|
+
|
1499
|
+
if($('#pic-rotator-info').length) {
|
1500
|
+
$('#pic-rotator-info img').each(function() { $(this).wrap($('<a></a>').attr('rel', 'cbxgrp').addClass('cbx')
|
1501
|
+
.attr('href', $(this).attr('src').replace('.jpg', 'e.jpg')).attr('title', $(this).next().html()));});
|
1502
|
+
} else {
|
1503
|
+
if($('#pic-rotator-img').length) {
|
1504
|
+
$('#pic-rotator-img').wrap($('<a></a>').addClass('cbx').attr('title', $('#pic-rotator-img').next().text()).attr('href', $('#pic-rotator-img').attr('src').replace('.jpg', 'e.jpg')));
|
1505
|
+
}
|
1506
|
+
}
|
1507
|
+
|
1508
|
+
if(!$('#pic-caption').length) {
|
1509
|
+
$('div.sizeL').find('div.caption:first').attr('id', 'pic-caption');
|
1510
|
+
}
|
1511
|
+
|
1512
|
+
if($('#pic-rotator-img').length) {
|
1513
|
+
$('#pic-rotator-img').css('cursor', 'pointer').hover(function() {
|
1514
|
+
$('.storyRight div.sizeL').css('position', 'relative').prepend('<span style="position: absolute; top: 20px; left: 20px; width: 40px; height: 40px; cursor: pointer; " class="imageOver"></span>');
|
1515
|
+
}).mouseout(function() {
|
1516
|
+
$('.storyRight div.sizeL').find('span.imageOver').remove();
|
1517
|
+
}).click(function() {
|
1518
|
+
var src = $(this).attr('src');
|
1519
|
+
$('#pic-rotator-info img').each(function() {
|
1520
|
+
if($(this).attr('src').indexOf(src) >= 0) {
|
1521
|
+
$(this).closest('a').trigger('click');
|
1522
|
+
return false;
|
1523
|
+
}
|
1524
|
+
});
|
1525
|
+
});
|
1526
|
+
}
|
1527
|
+
|
1528
|
+
$('a.cbx').colorbox({scrolling:false, onComplete: function() {
|
1529
|
+
$("#cboxTitle").hide();
|
1530
|
+
var element = $(this).colorbox.element();
|
1531
|
+
var title = $(element).attr("title");
|
1532
|
+
$("<div style='line-height: 16px; padding: 5px;'>"+title+"</div>").insertAfter("#cboxPhoto");
|
1533
|
+
$(this).colorbox.resize();
|
1534
|
+
$('#cboxCurrent').text($('#cboxCurrent').text().replace('image', 'Image'));
|
1535
|
+
//_rsEvent(pageinfo.url,pageinfo.p_COTag);
|
1536
|
+
if(pageinfo.p_COTag!="STI-SUNDAY" && pageinfo.p_COTag!="STI"){
|
1537
|
+
_rsEvent("StoryImage","ST-NIP");
|
1538
|
+
}else if(pageinfo.p_COTag=="STI-BREAK"){
|
1539
|
+
_rsEvent("StoryImage","ST-NIP");
|
1540
|
+
}else{
|
1541
|
+
_rsEvent(pageinfo.url,pageinfo.p_COTag);
|
1542
|
+
}
|
1543
|
+
}});
|
1544
|
+
|
1545
|
+
|
1546
|
+
var kickers = $('div.kicker');
|
1547
|
+
if(kickers.length) {
|
1548
|
+
var k = $(kickers[0]);
|
1549
|
+
if(k.parent()[0].tagName == 'A') {
|
1550
|
+
k.parent().replaceWith(k);
|
1551
|
+
}
|
1552
|
+
}
|
1553
|
+
|
1554
|
+
var selected_div;
|
1555
|
+
var prev_div;
|
1556
|
+
var next_div;
|
1557
|
+
var loc;
|
1558
|
+
|
1559
|
+
if (pageinfo.hidden_section_name=='Breaking News' || pageinfo.hidden_section_name=='Parliament' || pageinfo.hidden_section_name=='Forum Letters'){
|
1560
|
+
selected_div = jQuery("#storyindex div.headline p a[href*="+pageinfo.articleid+"]").parent().parent();
|
1561
|
+
prev_div = selected_div.prevAll("div.headline:first");
|
1562
|
+
next_div = selected_div.nextAll("div.headline");
|
1563
|
+
|
1564
|
+
} else {
|
1565
|
+
selected_div = jQuery("#storyindex li a[href*="+pageinfo.articleid+"]").parent();
|
1566
|
+
prev_div = selected_div.prevAll("li:first");
|
1567
|
+
next_div = selected_div.nextAll("li");
|
1568
|
+
}
|
1569
|
+
|
1570
|
+
selected_div.css("font-weight", "bold");
|
1571
|
+
|
1572
|
+
if (prev_div.text() == ''){
|
1573
|
+
jQuery("#prevstory").hide();
|
1574
|
+
}
|
1575
|
+
if (next_div.text() == ''){
|
1576
|
+
jQuery("#nextstory").hide();
|
1577
|
+
}
|
1578
|
+
|
1579
|
+
|
1580
|
+
|
1581
|
+
jQuery("#prevstory").click(function() {
|
1582
|
+
if (pageinfo.hidden_section_name=='Breaking News' || pageinfo.hidden_section_name=='Parliament' || pageinfo.hidden_section_name=='Forum Letters'){
|
1583
|
+
loc=prev_div.children("p").children("a").attr("href");
|
1584
|
+
}else{
|
1585
|
+
loc=prev_div.children("a").attr("href");
|
1586
|
+
}
|
1587
|
+
location.href=loc;
|
1588
|
+
return false;
|
1589
|
+
|
1590
|
+
});
|
1591
|
+
|
1592
|
+
jQuery("#nextstory").click(function() {
|
1593
|
+
if (pageinfo.hidden_section_name=='Breaking News' || pageinfo.hidden_section_name=='Parliament' || pageinfo.hidden_section_name=='Forum Letters'){
|
1594
|
+
loc=next_div.children("p").children("a").attr("href");
|
1595
|
+
}else{
|
1596
|
+
loc=next_div.children("a").attr("href");
|
1597
|
+
}
|
1598
|
+
|
1599
|
+
|
1600
|
+
location.href=loc;
|
1601
|
+
|
1602
|
+
return false;
|
1603
|
+
});
|
1604
|
+
|
1605
|
+
if (jQuery("#photoGallery_storypage").length){
|
1606
|
+
jQuery("a[rel='photoGallery']").colorbox({onComplete: function() {jQuery("#cboxTitle").hide();jQuery("<div class='colorboxcaption'>"+jQuery(this).colorbox.element().attr("title")+"</div>").insertAfter("#cboxPhoto");jQuery(this).colorbox.resize();
|
1607
|
+
if(pageinfo.p_COTag=="STI-BREAK"){
|
1608
|
+
_rsEvent("StoryImage","ST-NIP");
|
1609
|
+
} else {_rsEvent(pageinfo.url,pageinfo.p_COTag);}}});
|
1610
|
+
}
|
1611
|
+
|
1612
|
+
|
1613
|
+
|
1614
|
+
function sendemail(sendlink) {
|
1615
|
+
if ( user != null && user !=0 && luser!=null && luser != "anonymous" && luser != "anonymous|anonymous"){
|
1616
|
+
jQuery.colorbox({innerWidth:"480px",innerHeight:"550px",href:sendlink,scrolling:false});jQuery("#cboxClose").hide();
|
1617
|
+
}else {
|
1618
|
+
jQuery.colorbox({width:'522px',height:'330px', href:'/STI/STIFILES/ssi/2011/login/login-in-form.html',scrolling:false});
|
1619
|
+
}
|
1620
|
+
|
1621
|
+
return false;
|
1622
|
+
|
1623
|
+
};
|
1624
|
+
|
1625
|
+
//for top story listing
|
1626
|
+
if (typeof(top_story_array) != "undefined" && jQuery.inArray(pageinfo.articleid,top_story_array) != -1){
|
1627
|
+
|
1628
|
+
jQuery("#story_top_banner").show();
|
1629
|
+
if (jQuery("#story_top_content div a[href*="+pageinfo.articleid+"]").length)
|
1630
|
+
{
|
1631
|
+
|
1632
|
+
jQuery("#story_top_content div a[href*="+pageinfo.articleid+"]").parent().hide();
|
1633
|
+
|
1634
|
+
if (jQuery.inArray(pageinfo.articleid,top_story_array)==6){
|
1635
|
+
jQuery("#story_top_content div.itemTopStory:nth-child(6)").removeClass("mr10");
|
1636
|
+
}
|
1637
|
+
jQuery("#story_top_content").show();}
|
1638
|
+
else {
|
1639
|
+
|
1640
|
+
jQuery("#story_top_content div.itemTopStory:last").hide();
|
1641
|
+
jQuery("#story_top_content div.itemTopStory:nth-child(6)").removeClass("mr10");
|
1642
|
+
|
1643
|
+
|
1644
|
+
jQuery("#story_top_content").show();
|
1645
|
+
|
1646
|
+
|
1647
|
+
}
|
1648
|
+
|
1649
|
+
|
1650
|
+
|
1651
|
+
}
|
1652
|
+
|
1653
|
+
|
1654
|
+
|
1655
|
+
if (jQuery("#facebook_like_container").length){
|
1656
|
+
jQuery("#facebook_like_container").html("<iframe src='http://www.facebook.com/plugins/like.php?href="+pageinfo.url+"&layout=standard&show_faces=true&action=like&colorscheme=light&height=80' scrolling='no' frameborder='0' style='border:none; overflow:hidden; ' allowTransparency='true'></iframe>").css('height', 80);
|
1657
|
+
}
|
1658
|
+
|
1659
|
+
if (jQuery("#story_sharing_tool").length){
|
1660
|
+
|
1661
|
+
var story_tool_html='<a href="http://twitter.com/share" class="twitter-share-button" data-url="'+pageinfo.url+'" data-count="vertical">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"><\/script><div class="clearall"> </div><div style="margin:0px 0px 0px 25px;"><a name="fb_share" type="box_count" share_url="'+pageinfo.url+'" href="http://www.facebook.com/sharer.php" >Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"><\/script></div><div class="clearall"> </div><div class="google1"><g:plusone></g:plusone></div><div class="clearall"> </div><div class="linkedIn"><script type="text/javascript" src="http://platform.linkedin.com/in.js"><\/script><script type="in/share" data-counter="top"><\/script></div>';
|
1662
|
+
|
1663
|
+
jQuery("#story_sharing_tool").html(story_tool_html);
|
1664
|
+
|
1665
|
+
|
1666
|
+
|
1667
|
+
if (pageinfo.spimgtype){
|
1668
|
+
//webspecial image handling
|
1669
|
+
if (webspecialarray[pageinfo.spimgtype]){
|
1670
|
+
// alert(webspecialarray[pageinfo.spimgtype][0].url);
|
1671
|
+
var spimghtml = '<a href="'+webspecialarray[pageinfo.spimgtype][0].url+'"><img src="'+webspecialarray[pageinfo.spimgtype][0].img_src+'" width="'+webspecialarray[pageinfo.spimgtype][0].img_width+'" height="'+webspecialarray[pageinfo.spimgtype][0].img_height+'" alt="'+webspecialarray[pageinfo.spimgtype][0].img_alt+'"\/><\/a>';
|
1672
|
+
jQuery("#webspecial-div").html(spimghtml);
|
1673
|
+
jQuery("#webspecial-div").show();
|
1674
|
+
|
1675
|
+
|
1676
|
+
}
|
1677
|
+
|
1678
|
+
}
|
1679
|
+
}
|
1680
|
+
|
1681
|
+
|
1682
|
+
|
1683
|
+
|
1684
|
+
if (pageinfo.adtag){
|
1685
|
+
if (pageinfo.adtag=="pe_asia_story" || pageinfo.adtag=="bn_asia_story"){
|
1686
|
+
var theImages = new Array() // do not change this
|
1687
|
+
theImages[0] = '/STI/STIFILES/countryicons/cty_ayosdito.jpg'
|
1688
|
+
theImages[1] = '/STI/STIFILES/countryicons/cty_berniaga.gif'
|
1689
|
+
theImages[2] = '/STI/STIFILES/countryicons/cty_mudah.gif'
|
1690
|
+
theImages[3] = '/STI/STIFILES/countryicons/cty_panduan.gif'
|
1691
|
+
theImages[4] = '/STI/STIFILES/countryicons/cty_sou.gif'
|
1692
|
+
theImages[5] = '/STI/STIFILES/countryicons/cty_dinkos.gif'
|
1693
|
+
|
1694
|
+
// Set the links to be used for the images
|
1695
|
+
var theLink = new Array()
|
1696
|
+
theLink[0] = 'http://www.ayosdito.ph'
|
1697
|
+
theLink[1] = 'http://www.berniaga.com'
|
1698
|
+
theLink[2] = 'http://www.mudah.my'
|
1699
|
+
theLink[3] = 'http://www.701panduan.com'
|
1700
|
+
theLink[4] = 'http://www.701sou.com'
|
1701
|
+
theLink[5] = 'http://www.dinkos.com.au'
|
1702
|
+
|
1703
|
+
|
1704
|
+
// do not edit anything below this line
|
1705
|
+
|
1706
|
+
var j = 0
|
1707
|
+
var p = theImages.length;
|
1708
|
+
var preBuffer = new Array()
|
1709
|
+
for (i = 0; i < p; i++){
|
1710
|
+
preBuffer[i] = new Image()
|
1711
|
+
preBuffer[i].src = theImages[i]
|
1712
|
+
}
|
1713
|
+
var whichImage = Math.round(Math.random()*(p-1));
|
1714
|
+
|
1715
|
+
jQuery("#random_img_container").html('<a target="_blank" href="'+theLink[whichImage]+'"><img src="'+theImages[whichImage]+'" border="0"></a>');
|
1716
|
+
}
|
1717
|
+
}
|
1718
|
+
</script>
|
1719
|
+
|
1720
|
+
|
1721
|
+
</div>
|
1722
|
+
|
1723
|
+
|
1724
|
+
<div class="clearall"> </div>
|
1725
|
+
</div>
|
1726
|
+
<!--end of main-->
|
1727
|
+
|
1728
|
+
|
1729
|
+
</div>
|
1730
|
+
|
1731
|
+
|
1732
|
+
|
1733
|
+
<!--start of footer-->
|
1734
|
+
<div id="footer"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2012/subscribeFooter.gif" width="960px" height="60px" alt="sph subscription" border="0" usemap="#Map3" class="subscribeBanner" />
|
1735
|
+
<map name="Map3" id="Map3"><area shape="rect" coords="495,38,574,57" href="http://www.stsubscribe.com.sg/" />
|
1736
|
+
<area shape="rect" coords="790,17,950,57" href="http://www.straitstimes.com/STI/STIMEDIA/sp/android/" />
|
1737
|
+
<area shape="rect" coords="615,17,775,57" href="http://itunes.apple.com/app/the-straits-times/id301065357?mt=8" />
|
1738
|
+
</map>
|
1739
|
+
<div class="w170">
|
1740
|
+
<div class="mb10">
|
1741
|
+
<h2>Search The Straits Times</h2>
|
1742
|
+
<form name="searchform" onSubmit="return chkSearch(document.searchform);" >
|
1743
|
+
<fieldset class="search">
|
1744
|
+
<input name="q" type="text" class="box" />
|
1745
|
+
<button class="btn" type="Submit" title="Submit Search" >Search</button>
|
1746
|
+
</fieldset>
|
1747
|
+
</form>
|
1748
|
+
</div>
|
1749
|
+
<div class="archive mb10">
|
1750
|
+
<h2>Archive</h2>
|
1751
|
+
|
1752
|
+
|
1753
|
+
|
1754
|
+
|
1755
|
+
|
1756
|
+
<table cellpadding="3" cellspacing="3" class="cal">
|
1757
|
+
<tr>
|
1758
|
+
<td align="center" class="calDay">S</td>
|
1759
|
+
<td align="center" class="calDay">M</td>
|
1760
|
+
<td align="center" class="calDay">T</td>
|
1761
|
+
<td align="center" class="calDay">W</td>
|
1762
|
+
<td align="center" class="calDay">T</td>
|
1763
|
+
<td align="center" class="calDay">F</td>
|
1764
|
+
<td align="center" class="calDay">S</td>
|
1765
|
+
</tr>
|
1766
|
+
|
1767
|
+
<tr>
|
1768
|
+
|
1769
|
+
<td id="calendar" align="center" class="calDateNotAvail">13</td>
|
1770
|
+
|
1771
|
+
|
1772
|
+
<td id="calendar" align="center" class="calDateNotAvail">14</td>
|
1773
|
+
|
1774
|
+
|
1775
|
+
<td id="calendar" align="center" class="calDateNotAvail">15</td>
|
1776
|
+
|
1777
|
+
|
1778
|
+
<td id="calendar" align="center" class="calDateNotAvail">16</td>
|
1779
|
+
|
1780
|
+
|
1781
|
+
<td id="calendar" align="center" class="calDateNotAvail">17</td>
|
1782
|
+
|
1783
|
+
|
1784
|
+
|
1785
|
+
<td id="calendar7" align="center" class="calDateAvail"><a href='http://www.straitstimes.com/Home_20120518.html?a=1'>18</a></td>
|
1786
|
+
|
1787
|
+
|
1788
|
+
|
1789
|
+
<td id="calendar6" align="center" class="calDateAvail"><a href='http://www.straitstimes.com/Home_20120519.html?a=1'>19</a></td>
|
1790
|
+
</tr>
|
1791
|
+
|
1792
|
+
|
1793
|
+
<tr>
|
1794
|
+
|
1795
|
+
<td id="calendar5" align="center" class="calDateAvail"><a href='http://www.straitstimes.com/Home_20120520.html?a=1'>20</a></td>
|
1796
|
+
|
1797
|
+
|
1798
|
+
|
1799
|
+
<td id="calendar4" align="center" class="calDateAvail"><a href='http://www.straitstimes.com/Home_20120521.html?a=1'>21</a></td>
|
1800
|
+
|
1801
|
+
|
1802
|
+
|
1803
|
+
<td id="calendar3" align="center" class="calDateAvail"><a href='http://www.straitstimes.com/Home_20120522.html?a=1'>22</a></td>
|
1804
|
+
|
1805
|
+
|
1806
|
+
|
1807
|
+
<td id="calendar2" align="center" class="calDateAvail"><a href='http://www.straitstimes.com/Home_20120523.html?a=1'>23</a></td>
|
1808
|
+
|
1809
|
+
|
1810
|
+
|
1811
|
+
<td id="calendar1" align="center" class="calDateAvail"><a href='http://www.straitstimes.com/Home_20120524.html?a=1'>24</a></td>
|
1812
|
+
|
1813
|
+
|
1814
|
+
<td id="calendar" align="center" class="calDateNotAvail">25</td>
|
1815
|
+
|
1816
|
+
|
1817
|
+
<td id="calendar" align="center" class="calDateNotAvail">26</td>
|
1818
|
+
</tr>
|
1819
|
+
</table>
|
1820
|
+
</div>
|
1821
|
+
<div class="followst">
|
1822
|
+
<h2>Follow ST</h2>
|
1823
|
+
<div class="followst"><img width="147" height="30" border="0" usemap="#Map" src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/footer/icons4.png" alt="twitter,facebook,rss,newsletter icon"/>
|
1824
|
+
<map id="Map" name="Map">
|
1825
|
+
<area href="http://twitter.com/stcom" coords="0,0,32,32" shape="rect" title="twitetr">
|
1826
|
+
<area href="http://www.facebook.com/TheStraitsTimes" coords="38,0,70,32" shape="rect" title="facebook"><area href="http://www.straitstimes.com/STI+On+The+Go/RSS+News+Feed/RSS+News+Feed.html" coords="78,0,108,32" shape="rect" title="RSS"><area href="http://subst.asiaone.com/sub/updateinformation.action#tab3" coords="116,0,146,32" shape="rect" title="Newsletter"></map></div>
|
1827
|
+
</div>
|
1828
|
+
</div>
|
1829
|
+
<div class="quicklinks">
|
1830
|
+
<h2>ST Sections</h2>
|
1831
|
+
|
1832
|
+
|
1833
|
+
|
1834
|
+
<script type="text/javascript">
|
1835
|
+
document.write(generateFooterItem(navbar.BN));
|
1836
|
+
if (display_day_array[0]=="Sunday"){
|
1837
|
+
document.write(generateFooterItem(navbar.PremSunday));
|
1838
|
+
}else {
|
1839
|
+
document.write(generateFooterItem(navbar.PremWeekdays));
|
1840
|
+
}
|
1841
|
+
</script>
|
1842
|
+
|
1843
|
+
|
1844
|
+
|
1845
|
+
<script type="text/javascript">
|
1846
|
+
document.write(generateFooterItem(navbar.Community));
|
1847
|
+
document.write(generateFooterItem(navbar.Multimedia));
|
1848
|
+
document.write(generateFooterItem(navbar.Features));
|
1849
|
+
//document.write(generateFooterItem(navbar.Projects));
|
1850
|
+
</script>
|
1851
|
+
<a>Projects</a> • <a href="http://www.straitstimes.com/childaid/">Childaid</a> • <a href="http://www.straitstimes.com/spmf/School+Pocket+Money+Fund.html">School Pocket Money Fund</a> • <a href="http://www.straitstimes.com/Parliament/Parliament.html">Parliament</a>
|
1852
|
+
<h2>News Products</h2>
|
1853
|
+
• <script type="text/javascript"> document.write("<a class='EP' href='http://epaper.straitstimes.com/fvx/fvx.php?param="+epaper_date+"'>E-paper</a>"); </script> • <a href="http://www.straitstimes.com/mobile">iPhone</a> • <a href="http://www.straitstimes.com/STI/STIMEDIA/sp/android/">Android</a> • <a href="javascript:window.open('/vgn-ext-templating/sti/nasetup.jsp',%20'services',%20'width=1024,%20height=660,%20scrollbars=1');%20void('');">News Alert</a><br />
|
1854
|
+
<div class="clear1px"> </div>
|
1855
|
+
<h2>Customer Care</h2>
|
1856
|
+
• <a href="http://www.stsubscribe.com.sg/">Subscribe</a> • <a href="http://www.straitstimes.com/STI/STIMEDIA/sp/html/customercare/customercare.html?id=0">About Us</a> • <a href="http://www.straitstimes.com/STI/STIMEDIA/sp/html/customercare/customercare.html?id=1">Advertise</a> • <a href="http://www.straitstimes.com/STI/STIMEDIA/sp/html/customercare/customercare.html?id=2">FAQ</a> • <a href="http://www.straitstimes.com/STI/STIMEDIA/sp/html/customercare/ipadcustomercare.html">Mobile app FAQ</a> • <a href="http://www.straitstimes.com/STI/STIMEDIA/sp/html/customercare/customercare.html?id=3">Contact Us</a> </div>
|
1857
|
+
<!--end .quicklinks-->
|
1858
|
+
<div class="sphwebsites">
|
1859
|
+
<h2>SPH Websites</h2>
|
1860
|
+
<ul>
|
1861
|
+
<li style="width:250px;"><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/footer_ico_bt.gif" align="left"/><a href="http://www.businesstimes.com.sg/"> The Business Times</a> | <a href="http://btstocks.asiaone.com/">BT Stocks</a></li>
|
1862
|
+
<li><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/footer_ico_razor.gif" align="left"/><a href="http://www.razor.tv">RazorTV</a></li>
|
1863
|
+
<li><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/footer_ico_stomp.gif" align="left"/><a href="http://www.stomp.com.sg/">STOMP</a></li>
|
1864
|
+
<li style="width:250px;"><a href="http://www.st701.com/?utm_source=StraitsTimes&utm_medium=Footer&utm_campaign=SPH"><img align="left" src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/footer_ico_701.gif"></a><a href="http://www.stjobs.sg/?utm_source=StraitsTimes&utm_medium=Footer&utm_campaign=SPH ">Jobs</a> | <a href="http://www.stproperty.sg/?utm_source=StraitsTimes&utm_medium=Footer&utm_campaign=SPH">Property</a> | <a href="http://cars.st701.com/?utm_source=StraitsTimes&utm_medium=Footer&utm_campaign=SPH ">Cars</a> | <a href="http://shops.st701.com/?utm_source=StraitsTimes&utm_medium=Footer&utm_campaign=SPH">Shops</a></li>
|
1865
|
+
<li><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/footer_ico_spmf.gif" align="left"/><a href="http://www.straitstimes.com/spmf/School+Pocket+Money+Fund.html">School Pocket Money Fund</a></li>
|
1866
|
+
<li><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/footer_ico_ann.gif" align="left"/><a href="http://www.asianewsnet.net/">Asia News Network</a></li>
|
1867
|
+
<li><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/footer_ico_a1.gif" align="left"/><a href="http://www.asiaone.com">AsiaOne</a></li>
|
1868
|
+
<li><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/footer_ico_zb.gif" align="left"/><a href="http://www.zaobao.com">Zaobao</a></li>
|
1869
|
+
<li><img src="http://www.straitstimes.com/STI/STIMEDIA/sp/2010/images/footer_ico_913.gif" align="left"/><a onclick="window.open('http://www.streamingradio.asia/radio913/player.php#djnow','video','scrollbars=no, width=760, height=525');" href="javascript://">Radio 91.3</a></li>
|
1870
|
+
</ul>
|
1871
|
+
</div>
|
1872
|
+
<!--end .sphwebsites-->
|
1873
|
+
<div class="clearall"> </div>
|
1874
|
+
<div class="copyright">
|
1875
|
+
<div class="copyrightLeft">Copyright © 2012 Singapore Press Holdings Ltd. Co. Regn No. 198402868E. All rights reserved.</div>
|
1876
|
+
<div class="copyrightRight"> <a href="javascript://" onclick="window.open('http://sph.com.sg/legal/website_tnc.html','video','scrollbars=yes, width=852, height=525');">Terms & Conditions</a></div>
|
1877
|
+
</div>
|
1878
|
+
|
1879
|
+
</div>
|
1880
|
+
<!--end of footer-->
|
1881
|
+
<!-- form link -->
|
1882
|
+
|
1883
|
+
<!-- end of form link -->
|
1884
|
+
|
1885
|
+
<!-- START Nielsen//NetRatings SiteCensus V5.3 STI-BREAK -->
|
1886
|
+
<script>
|
1887
|
+
var _rsCI="sg-sph"; /* client ID */
|
1888
|
+
var _rsCG=pageinfo.p_COTag; /* content group */
|
1889
|
+
var _rsDN="//secure-sg.imrworldwide.com/"; /* data node */
|
1890
|
+
var _rsDT=1; /* to turn on whether to get the document title, 0=off 1=on */
|
1891
|
+
var _rsSE=1; /* to turn on surveys, 0=off 1=on */
|
1892
|
+
var _rsSM=0.1; /* maxumum survey rate, 1.0=100% */
|
1893
|
+
var _rsSS=500; /* sample size */
|
1894
|
+
var _rsCL=0; /* link overlay, 0=off 1=on */
|
1895
|
+
document.write('<scr'+'ipt type="text/javascript" src="'+_rsDN+'v53.js"></scr'+'ipt>');
|
1896
|
+
</script>
|
1897
|
+
<noscript>
|
1898
|
+
<div>
|
1899
|
+
<img src="//secure-sg.imrworldwide.com/cgi-bin/m?ci=sg-sph&cg=STI-BREAK" alt=""/>
|
1900
|
+
|
1901
|
+
</noscript>
|
1902
|
+
<!-- END Nielsen//NetRatings SiteCensus V5.3 -->
|
1903
|
+
|
1904
|
+
|
1905
|
+
<script language='JavaScript' type='text/javascript' src='/STI/STIFILES/media_ads/adscripts3.js'></script>
|
1906
|
+
<!-- BEGIN EFFECTIVE MEASURE CODE -->
|
1907
|
+
<!-- COPYRIGHT EFFECTIVE MEASURE -->
|
1908
|
+
<script type="text/javascript">
|
1909
|
+
(function() {
|
1910
|
+
var em = document.createElement('script'); em.type = 'text/javascript'; em.async = true;
|
1911
|
+
em.src = ('https:' == document.location.protocol ? 'https://sg-ssl' : 'http://sg-cdn') + '.effectivemeasure.net/em.js';
|
1912
|
+
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(em, s);
|
1913
|
+
})();
|
1914
|
+
</script>
|
1915
|
+
<noscript>
|
1916
|
+
<img src="//sg.effectivemeasure.net/em_image" alt="" style="position:absolute; left:-5px;" />
|
1917
|
+
</noscript>
|
1918
|
+
<!--END EFFECTIVE MEASURE CODE -->
|
1919
|
+
|
1920
|
+
</body>
|
1921
|
+
</html>
|
1922
|
+
|
1923
|
+
|
1924
|
+
|
1925
|
+
|
1926
|
+
<!-- track dependencies -->
|
1927
|
+
|
1928
|
+
|
1929
|
+
|