From: <Saved by Windows Internet Explorer 7>
Subject: Which kor kor* has the nicest teeth? - NOV 30, 2006
Date: Thu, 15 Mar 2007 10:14:09 +0800
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_0000_01C766EA.ABEA06D0"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028

This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C766EA.ABEA06D0
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://newpaper.asia1.com.sg/printfriendly/0,4139,118418,00.html

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Vignette V6 Thu Mar 15 10:10:01 2007 --><HTML><HEAD><TITLE>Which =
kor kor* has the nicest teeth? - NOV 30, 2006</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<META http-equiv=3DRefresh content=3D300>
<META=20
content=3D"The Electric New Paper - Singapore news. Find the latest news =
reports here."=20
name=3Ddescription>
<META=20
content=3D"SINGAPORE, Singapore, Singapore news, SINGAPORE NEWS, =
Singapore events, SINGAPORE EVENTS, Singapore government, SINGAPORE =
GOVERNMENT, Singapore politics, SINGAPORE POLITICS, Singapore society, =
SINGAPORE SOCIETY, Singapore lifestyle, SINGAPORE LIFESTYLE, Singapore =
business, SINGAPORE BUSINESS, Electric New Paper, ASIA, Asia, SOUTHEAST =
ASIA, Southeast Asia, SOUTH-EAST ASIA, South-east Asia, MALAYSIA, =
Malaysia, EAST ASIA, East Asia"=20
name=3Dkeywords>
<STYLE type=3Dtext/css>BODY {
	BACKGROUND-REPEAT: repeat-y
}
</STYLE>
<LINK href=3D"http://newpaper.asia1.com.sg/scripts/css/tnp.css" =
type=3Dtext/css=20
rel=3Dstylesheet>
<SCRIPT language=3DJavaScript=20
src=3D"http://newpaper.asia1.com.sg/scripts/javascript/tnp1.js"></SCRIPT>=


<SCRIPT language=3DJavaScript=20
src=3D"http://newpaper.asia1.com.sg/mnt/scroller/scroller.js"></SCRIPT>

<META content=3D"MSHTML 6.00.6000.16414" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#ffffff leftMargin=3D0 topMargin=3D0>
<TABLE cellSpacing=3D0 cellPadding=3D10 width=3D620 border=3D0>
  <TBODY>
  <TR>
    <TD><A href=3D"http://newpaper.asia1.com.sg/0,4138,,00.html?"><SPAN=20
      class=3Dfont14><B><U>The Electric New Paper =
:</U></B></SPAN></A></TD></TR>
  <TR>
    <TD><SPAN class=3D"font12 style23">S'PORE FANS GREET F4'S JERRY YAN =
-=20
      Grandma uses his shows to teach grandchild dental =
hygiene</SPAN></TD></TR>
  <TR>
    <TD class=3Dfont12><SPAN class=3D"headline style23">Which kor kor* =
has the=20
      nicest teeth?</SPAN></TD></TR>
  <TR>
    <TD><SPAN class=3D"font12 style23"><STRONG>*(big=20
  brother)</STRONG></SPAN></TD></TR>
  <TR>
    <TD><SPAN class=3D"font12 style23"><STRONG>MORE than 150 rowdy fans =
gathered=20
      at Changi Airport's Terminal 2 yesterday to catch a glimpse of =
Taiwanese=20
      pop idol Jerry Yan (left), a member of boyband =
F4.</STRONG></SPAN></TD></TR>
  <TR>
    <TD class=3Dfont12><SPAN class=3Dstyle22><STRONG>
      <TABLE cellSpacing=3D0 cellPadding=3D0 width=3D"100%" align=3Dleft =
border=3D0>
        <TBODY>
        <TR>
          <TD class=3Dfont12w><SPAN class=3Dstyle22><STRONG>By Ng Hui =
Hui And Lim=20
            Jun =
Xue</STRONG></SPAN></TD></TR></TBODY></TABLE></STRONG></SPAN></TD></TR>
  <TR>
    <TD class=3Dfont12><SPAN class=3Dstyle22><STRONG>30 November=20
      2006</STRONG></SPAN></TD></TR>
  <TR>
    <TD class=3Dfont12>
      <P>MORE than 150 rowdy fans gathered at Changi Airport's Terminal =
2=20
      yesterday to catch a glimpse of Taiwanese pop idol Jerry Yan =
(left), a=20
      member of boyband F4.</P>
      <P>However, one woman stood out among the excitable crowd as she =
looked on=20
      calmly.</P>
      <P>She was well-groomed, bespectacled, and looked dignified - but =
she kept=20
      her eyes fixed on her target.</P>
      <P>A retiree in her 60s, Madam Tan - who did not want to give her =
full=20
      name - revealed that she is a fan of Jerry.</P>
      <P>'I have been a fan since watching the TV drama Meteor Garden in =
2001,'=20
      she said.</P>
      <P>And she likes the young man so much, she even uses Jerry's =
shows and=20
      advertisements as 'teaching material' for her 2-year-old=20
granddaughter.</P>
      <P>To encourage her granddaughter to brush her teeth, she would =
show her=20
      Jerry's Oral B advertisements.</P>
      <P>Now, whenever she asks the little girl, 'Which 'kor kor' (big =
brother)=20
      has the nicest teeth?', the toddler, utters in babytalk: 'Dao Ming =

Si'.</P>
      <P>Dao Ming Si is the character played by Jerry in Meteor =
Garden.</P>
      <P>Jerry, who is the latest celebrity ambassador for Christian =
relief=20
      organisation World Vision International, is on a media tour =
throughout=20
      Asia to talk about his work with the group.</P>
      <P><B>Madam Tan said: 'I feel that Jerry, who is still so humble =
despite=20
      his fame, is a very good role model for young people. His mother =
must have=20
      taught him well.'</B></P>
      <P>The retiree is so hooked, she can't stop gushing about Jerry to =
her=20
      granddaughter.</P>
      <P>In Meteor Garden II, his character meets with a car accident =
while on=20
      his was to propose to the love of his life, Shancai, in a =
church.</P>
      <P>Madam Tan said she watched that episode with her granddaughter =
several=20
      times and used it to explain to her what a church is.</P>
      <P>She also told her granddaughter she would take her to =
Barcelona, where=20
      a part of the drama was filmed.</P>
      <P>'She asked me where Barcelona is, so I bought a world map and =
showed=20
      her where it is,' said Madam Tan.</P>
      <P>'Now, everytime we pass a church along Orchard Road, she points =
to it=20
      and says, 'That is Shancai's church,' said Madam Tan.</P>
      <P>Unlike Madam Tan, the other fans were more boisterous.</P>
      <P>Oganisers had remained tight-lipped about his flight details, =
but these=20
      die-hard fans managed to find out that he would be arriving on SQ =
117 at=20
      7.45pm. </P>
      <P>They came from the Philippines, Thailand, Hong Kong, Taiwan and =

      China.</P>
      <P>After his plane touched down at 7.50pm, there was talk that he =
was=20
      wearing a cap and orange T-shirt.</P>
      <P>Fans screamed excitedly whenever someone wearing an orange cap =
walked=20
      through the immigration counter.</P>
      <P>Twenty minutes and several false alarms later, Jerry finally =
appeared.=20
      By then, fans were chanting his name.</P>
      <P>Wearing a bright orange T-shirt and green cargo pants, the =
1.8m-tall=20
      good-looker charmed his fans with his trademark dimpled smile, =
complete=20
      with a mischievous wink and a thumbs-up sign.</P>
      <P>Despite the chaos of fans trying to climb over and crawl under =
metal=20
      barricades, Jerry never stopped smiling and waving.</P>
      <P>In less than five minutes, he was ushered into a grey Mercedes =
Benz=20
      van, which quickly sped off.</P>
      <P></P></TD></TR></TBODY></TABLE>
<HR>

<TABLE cellSpacing=3D0 cellPadding=3D0 width=3D768 border=3D0>
  <TBODY>
  <TR>
    <TD vAlign=3Dtop colSpan=3D2>
      <DIV align=3Dcenter><SPAN class=3Dfont11>Copyright =C2=A9 2005 =
Singapore Press=20
      Holdings Ltd. Co. Regn. No. 198402868E. All rights=20
      reserved.</SPAN><BR><SPAN class=3Dfont11><A=20
      href=3D"http://www.asiaone.com/html/privacy.html">Privacy =
Statement=20
      </A></SPAN><SPAN class=3Dfont11>and</SPAN> <SPAN class=3Dfont11><A =

      href=3D"http://www.asiaone.com/html/conditions.html">Conditions of =
Access=20
      </A></SPAN></DIV></TD></TR></TBODY></TABLE><!-- START =
Nielsen//NetRatings SiteCensus V5.1 --><!-- COPYRIGHT 2005 =
Nielsen//NetRatings -->
<SCRIPT language=3DJavaScript type=3Dtext/javascript>=0A=
<!--=0A=
	var _rsCI=3D"sg-sph";=0A=
	var _rsCG=3D"TNP";=0A=
	var _rsDT=3D0; // to turn on whether to get the document title, 1=3Don=0A=
	var _rsDU=3D0; // to turn on or off the applet, 1=3Don=0A=
	var _rsDO=3D0; // to turn on debug output to the console, 1=3Don, only =
works if _rsDU=3D1=0A=
	var _rsX6=3D0; // to force use of applet with XP and IE6, 1=3Don, only =
works if _rsDU=3D1=0A=
	var _rsSI=3Descape(window.location);=0A=
	var _rsLP=3Dlocation.protocol.indexOf('https')>-1?'https:':'http:';=0A=
	var _rsRP=3Descape(document.referrer);=0A=
	var _rsND=3D_rsLP+'//secure-sg.imrworldwide.com/';=0A=
=0A=
	if (parseInt(navigator.appVersion)>=3D4)=0A=
	{=0A=
		var _rsRD=3D(new Date()).getTime();=0A=
		var _rsSE=3D1;  // to turn on surveys, 1=3Don=0A=
		var _rsSV=3D""; // survey name, leave empty=0A=
		var _rsSM=3D0.5;  // maximum survey rate, 1.0=3D100%=0A=
		_rsCL=3D'<scr'+'ipt language=3D"JavaScript" type=3D"text/javascript" =
src=3D"'+_rsND+'v51.js"></scr'+'ipt>';=0A=
	}=0A=
	else=0A=
	{=0A=
		_rsCL=3D'<img =
src=3D"'+_rsND+'cgi-bin/m?ci=3D'+_rsCI+'&cg=3D'+_rsCG+'&si=3D'+_rsSI+'&rp=
=3D'+_rsRP+'">';=0A=
	}=0A=
	document.write(_rsCL);=0A=
//-->=0A=
</SCRIPT>
<NOSCRIPT><IMG alt=3D""=20
src=3D"http://secure-sg.imrworldwide.com/cgi-bin/m?ci=3Dsg-sph&amp;cg=3DT=
NP">=20
</NOSCRIPT><!-- END Nielsen//NetRatings SiteCensus V5.1 =
--></BODY></HTML>

------=_NextPart_000_0000_01C766EA.ABEA06D0
Content-Type: application/octet-stream
Content-Transfer-Encoding: base64
Content-Location: http://secure-sg.imrworldwide.com/cgi-bin/m?ci=sg-sph&cg=TNP

R0lGODlhAQABAPAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOwA=

------=_NextPart_000_0000_01C766EA.ABEA06D0
Content-Type: text/css;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://newpaper.asia1.com.sg/scripts/css/tnp.css

.style1 {
	COLOR: #ffffff
}
.boxtxtOrange {
	FONT-SIZE: 16px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif
}
.boxtxtWhite {
	FONT-SIZE: 16px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, =
sans-serif
}
.font12w {
	FONT-SIZE: 12px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font12o {
	FONT-SIZE: 12px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font12ob {
	FONT-WEIGHT: bold; FONT-SIZE: 11px; COLOR: #ff9c1d; FONT-FAMILY: Arial, =
Helvetica, sans-serif
}
.font11w {
	FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font11o {
	FONT-SIZE: 11px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font11 {
	FONT-SIZE: 11px; FONT-FAMILY: Arial, Helvetica, sans-serif; =
TEXT-DECORATION: none
}
.font12 {
	FONT-SIZE: 12px; FONT-FAMILY: Arial, Helvetica, sans-serif; =
TEXT-DECORATION: none
}
.font16 {
	FONT-SIZE: 16px; FONT-FAMILY: Arial, Helvetica, sans-serif; =
TEXT-DECORATION: none
}
.fineprint {
	FONT-SIZE: 10px; FONT-FAMILY: Arial, Helvetica, sans-serif; =
TEXT-DECORATION: none
}
.fineprintb {
	FONT-WEIGHT: bold; FONT-SIZE: 10px; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font14 {
	FONT-SIZE: 14px; FONT-FAMILY: Arial, Helvetica, sans-serif; =
TEXT-DECORATION: none
}
.headline {
	FONT-WEIGHT: bold; FONT-SIZE: 20px; FONT-FAMILY: Arial, Helvetica, =
sans-serif
}
.red {
	COLOR: #ff9c1d
}
.nav {
	FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.date {
	FONT-WEIGHT: bold; FONT-SIZE: 10px; COLOR: #666666; FONT-FAMILY: Arial, =
Helvetica, sans-serif; TEXT-DECORATION: none
}
.nav A:active {
	FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.nav A:visited {
	FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.nav A:link {
	FONT-SIZE: 11px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.nav A:hover {
	FONT-SIZE: 11px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.archive {
	FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.archive {
	FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
A:active {
	FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
A:visited {
	FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
A:link {
	FONT-SIZE: 11px; COLOR: #000000; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.archive {
	FONT-SIZE: 11px; COLOR: #555555; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
A:hover {
	FONT-SIZE: 11px; COLOR: #555555; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.wTable {
	BORDER-RIGHT: #ffffff 1px solid; BORDER-TOP: #ffffff 1px solid; =
BORDER-LEFT: #ffffff 1px solid; BORDER-BOTTOM: #ffffff 1px solid
}
.bTable {
	BORDER-RIGHT: #333333 1px solid; BORDER-TOP: #333333 1px solid; =
BORDER-LEFT: #333333 1px solid; BORDER-BOTTOM: #333333 1px solid
}
.oTable {
	BORDER-RIGHT: #ff9c1d 1px solid; BORDER-TOP: #ff9c1d 1px solid; =
BORDER-LEFT: #ff9c1d 1px solid; BORDER-BOTTOM: #ff9c1d 1px solid
}
.date A:link {
	FONT-SIZE: 10px; COLOR: #666666; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.date A:visited {
	FONT-SIZE: 10px; COLOR: #666666; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.date A:hover {
	FONT-SIZE: 10px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.date A:active {
	FONT-SIZE: 10px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.this {
	FONT-SIZE: 10px; COLOR: #333333; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.more {
	FONT-SIZE: 11px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.more A:link {
	FONT-SIZE: 11px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.more A:visited {
	FONT-SIZE: 11px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
A:active {
	FONT-SIZE: 11px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font11o {
	FONT-SIZE: 11px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.more A:hover {
	FONT-SIZE: 11px; COLOR: #fbbf77; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.more .this {
	FONT-SIZE: 11px; COLOR: #fbbf77; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font11o {
	FONT-SIZE: 11px; COLOR: #fbbf77; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font11w A:active {
	FONT-SIZE: 11px; COLOR: #eeeeee; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font11w A:visited {
	FONT-SIZE: 11px; COLOR: #eeeeee; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font11w A:link {
	FONT-SIZE: 11px; COLOR: #eeeeee; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font11w A:hover {
	FONT-SIZE: 11px; COLOR: #ff9c1d; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font12o A:link {
	FONT-SIZE: 12px; COLOR: #ff9c1d; FONT-FAMILY: Arial,  Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font12o A:visited {
	FONT-SIZE: 12px; COLOR: #ff9c1d; FONT-FAMILY: Arial,  Helvetica, =
sans-serif; TEXT-DECORATION: none
}
A:active {
	FONT-SIZE: 12px; COLOR: #ff9c1d; FONT-FAMILY: Arial,  Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font12o A:hover {
	FONT-SIZE: 12px; COLOR: #fbbf77; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.font12o .this {
	FONT-SIZE: 12px; COLOR: #fbbf77; FONT-FAMILY: Arial, Helvetica, =
sans-serif; TEXT-DECORATION: none
}
.bottomSpace10 {
	MARGIN-BOTTOM: 10px
}
A:hover {
	TEXT-DECORATION: none
}
.bottomSpace10 {
	MARGIN-BOTTOM: 10px
}
.rightline {
	BORDER-RIGHT: #cccccc 1px solid
}
.rightline1 {
	BORDER-RIGHT: #000000 1px solid
}
.underline {
	BORDER-BOTTOM: #cccccc 1px solid
}
.underlinedot {
	BORDER-BOTTOM: #cccccc 1px dotted
}
.topline {
	BORDER-TOP: #cccccc 1px solid
}
.shade {
	BORDER-RIGHT: #ff9c1d 1px solid; BORDER-TOP: #ff9c1d 1px solid; =
FONT-SIZE: 10px; BORDER-LEFT: #ff9c1d 1px solid; WIDTH: 100%; =
BORDER-BOTTOM: #ff9c1d 1px solid; BACKGROUND-COLOR: #cccccc
}
.shade1 {
	WIDTH: 100%; BACKGROUND-COLOR: #cccccc
}
.shade2 {
	WIDTH: 100%; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: =
#076daa
}
.kTable {
	BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; =
BORDER-LEFT: #999999 1px solid; BORDER-BOTTOM: #999999 1px solid
}
.rightSpace5 {
	MARGIN-BOTTOM: 10px
}
.leftline {
	BORDER-TOP: #cccccc 1px solid; BORDER-LEFT-WIDTH: thin
}
.ul {
	TEXT-DECORATION: underline
}
.pg A:link {
	BORDER-RIGHT: #ffffff 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#ffffff 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; BACKGROUND: #ff9c1d; PADDING-BOTTOM: 1px; BORDER-LEFT: #ffffff 1px =
solid; WIDTH: 15px; COLOR: #000; PADDING-TOP: 1px; BORDER-BOTTOM: =
#ffffff 1px solid; TEXT-DECORATION: none
}
.pg A:visited {
	BORDER-RIGHT: #ffffff 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#ffffff 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; BACKGROUND: #ff9c1d; PADDING-BOTTOM: 1px; BORDER-LEFT: #ffffff 1px =
solid; WIDTH: 15px; COLOR: #000; PADDING-TOP: 1px; BORDER-BOTTOM: =
#ffffff 1px solid; TEXT-DECORATION: none
}
.pg A:active {
	BORDER-RIGHT: #ffffff 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#ffffff 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; BACKGROUND: #ff9c1d; PADDING-BOTTOM: 1px; BORDER-LEFT: #ffffff 1px =
solid; WIDTH: 15px; COLOR: #000; PADDING-TOP: 1px; BORDER-BOTTOM: =
#ffffff 1px solid; TEXT-DECORATION: none
}
.pg A:hover {
	BORDER-RIGHT: #ff9c1d 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#ff9c1d 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; BACKGROUND: #ffffff; PADDING-BOTTOM: 1px; BORDER-LEFT: #ff9c1d 1px =
solid; WIDTH: 15px; COLOR: #000000; PADDING-TOP: 1px; BORDER-BOTTOM: =
#ff9c1d 1px solid; TEXT-DECORATION: none; font-color: #fff
}
.az A:link {
	BORDER-RIGHT: #555555 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#555555 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; BACKGROUND: #ffffff; PADDING-BOTTOM: 1px; BORDER-LEFT: #555555 1px =
solid; WIDTH: 100%; COLOR: #000; PADDING-TOP: 1px; BORDER-BOTTOM: =
#555555 1px solid; TEXT-DECORATION: none
}
.az A:visited {
	BORDER-RIGHT: #555555 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#555555 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; BACKGROUND: #ffffff; PADDING-BOTTOM: 1px; BORDER-LEFT: #555555 1px =
solid; WIDTH: 100%; COLOR: #000; PADDING-TOP: 1px; BORDER-BOTTOM: =
#555555 1px solid; TEXT-DECORATION: none
}
.az A:active {
	BORDER-RIGHT: #555555 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#555555 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; BACKGROUND: #ffffff; PADDING-BOTTOM: 1px; BORDER-LEFT: #555555 1px =
solid; WIDTH: 100%; COLOR: #000; PADDING-TOP: 1px; BORDER-BOTTOM: =
#555555 1px solid; TEXT-DECORATION: none
}
.az A:hover {
	BORDER-RIGHT: #555555 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: =
#555555 1px solid; PADDING-LEFT: 3px; FONT-WEIGHT: bold; FONT-SIZE: =
10px; BACKGROUND: #eeeeee; PADDING-BOTTOM: 1px; BORDER-LEFT: #555555 1px =
solid; WIDTH: 100%; COLOR: #000000; PADDING-TOP: 1px; BORDER-BOTTOM: =
#555555 1px solid; TEXT-DECORATION: none; font-color: #fff
}
.bottomSpace10 {
	MARGIN-BOTTOM: 10px
}
.topSpace5 {
	MARGIN-RIGHT: 5px
}
.allSpace10 {
	MARGIN-TOP: 10px; MARGIN-BOTTOM: 10px
}
.topline {
	BORDER-TOP: #cccccc 1px solid
}
.rightSpace5 {
	MARGIN-BOTTOM: 10px
}
.leftline {
	BORDER-TOP: #cccccc 1px solid; BORDER-LEFT-WIDTH: thin
}
.stylescroller {
	BORDER-RIGHT: medium none; BORDER-TOP: medium none; BACKGROUND: =
#000000; BORDER-LEFT: medium none; COLOR: #ffffff; BORDER-BOTTOM: medium =
none
}
.style19 {
	COLOR: #000000
}
.style20 {
	COLOR: #ffffff
}
.style21 {
	FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #000000
}

------=_NextPart_000_0000_01C766EA.ABEA06D0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://newpaper.asia1.com.sg/scripts/javascript/tnp1.js

=0A=
/* ********************************************************************* =
*/=0A=
/*=0A=
	build a tcl list out of the inputs=0A=
*/=0A=
function openwindow(url) {=0A=
window.open(url,'break_window','toolbar=3Dno,location=3Dno,directories=3D=
no,status=3Dno,menubar=3Dno,scrollbars=3Dyes,resizable=3Dyes,height=3D470=
,width=3D530');=0A=
}=0A=
=0A=
function bnopenwindow(url) {=0A=
window.open(url,'break_window','toolbar=3Dno,location=3Dno,directories=3D=
no,status=3Dno,menubar=3Dno,scrollbars=3Dyes,resizable=3Dno,height=3D470,=
width=3D530');=0A=
}=0A=
=0A=
function ssopenwindow (url,windowname,vsize,hsize) {=0A=
window.open(url,windowname,'toolbar=3Dno,location=3Dno,directories=3Dno,s=
tatus=3Dno,menubar=3Dno,scrollbars=3Dyes,resizable=3Dyes,height=3Dvsize,w=
idth=3Dhsize');=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*=0A=
	build a tcl list out of the inputs=0A=
*/=0A=
function Consolidate() {=0A=
	=0A=
	/* get the number of arguments that were passed in... */=0A=
	var numArguments =3D arguments.length;=0A=
	=0A=
	/* form is the first argument */=0A=
	theForm =3D arguments[0];=0A=
	=0A=
	=0A=
	/* process each argument */=0A=
	for (var i =3D 1; i < numArguments; i=3Di+2) {=0A=
		theSelect =3D arguments[i];=0A=
		theHidden =3D arguments[i+1];=0A=
		cons_str =3D "{";=0A=
		for (j=3D0; j < theSelect.length; j++) {=0A=
			cons_str +=3D "{" + theSelect.options[j].value + "} ";=0A=
		}=0A=
		cons_str +=3D "}";=0A=
		theForm[theHidden].value =3D cons_str;=0A=
	}=0A=
	return true;=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*=0A=
	validate form values=0A=
*/=0A=
function Validate() {=0A=
/* should probably also perform validation for radio buttons */=0A=
	=0A=
	/* get the number of arguments that were passed in... */=0A=
	var numArguments =3D arguments.length;=0A=
	=0A=
	/* initialize the return value */=0A=
	var returnValue =3D true;=0A=
	var returnMessage =3D "";=0A=
	=0A=
	/* initialize the error flags */=0A=
	var textErr =3D false;=0A=
	var textareaErr =3D false;=0A=
	var singleselectErr =3D false;=0A=
=0A=
	/* for each argument, verify that the form field has a value */=0A=
	for (var i =3D 0; i < numArguments; i++) {=0A=
		=0A=
		if (arguments[i].type =3D=3D "text") {=0A=
			if (arguments[i].value =3D=3D "") {=0A=
				if (textErr =3D=3D false) {=0A=
					returnMessage +=3D "Please fill in all required text fields.\n";=0A=
					textErr =3D true;=0A=
				}=0A=
				arguments[i].focus();=0A=
				returnValue =3D false;=0A=
			}=0A=
		} else if (arguments[i].type =3D=3D "textarea") {=0A=
			if (arguments[i].value =3D=3D "") {=0A=
				if (textareaErr =3D=3D false) {=0A=
					returnMessage +=3D "Please fill in all required text areas.\n";=0A=
					textareaErr =3D true;=0A=
				}=0A=
				arguments[i].focus();=0A=
				returnValue =3D false;=0A=
			}		=0A=
		} else if (arguments[i].type =3D=3D "select-one") {=0A=
			if (arguments[i].options[arguments[i].selectedIndex].value =3D=3D "") =
{=0A=
				if (singleselectErr =3D=3D false) {=0A=
					returnMessage +=3D "Please fill in all required select box =
fields.\n";=0A=
					singleselectErr =3D true;=0A=
				}=0A=
				arguments[i].focus();=0A=
				returnValue =3D false;=0A=
			}=0A=
		}=0A=
	}=0A=
	=0A=
	/* present error message if errors encountered */=0A=
	if (returnValue =3D=3D false) {=0A=
		alert(returnMessage);=0A=
	}=0A=
	=0A=
	return returnValue;=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*	=0A=
	the category and sub-category select boxes depend on one another,=0A=
	so populate them accordingly.  this code is only used within the=0A=
	admin pages=0A=
*/=0A=
function BuildSelectOptions(category1, category2, changedArray) {=0A=
	/* get the arrays of new options */=0A=
	if (category1.selectedIndex =3D=3D 0 && changedArray =3D=3D category1) {=0A=
		/* set all arrays empty */=0A=
		category2.options.length =3D 0;=0A=
		category2.options[0] =3D new Option("----- None -----", ""); =0A=
		category2.selectedIndex =3D 0;=0A=
		return;=0A=
	} else if (changedArray =3D=3D category1) {=0A=
		var index1 =3D (3 * category1.selectedIndex) - 1;=0A=
		var category2Array =3D categoryArray[index1];=0A=
	} else {=0A=
		var index1 =3D (3 * category1.selectedIndex) - 1;=0A=
		var index2 =3D (3 * category2.selectedIndex) - 1;=0A=
		var category2Array =3D categoryArray[index1];=0A=
	}=0A=
	=0A=
	/* rebuild the option lists */=0A=
	if (changedArray =3D=3D category1) {=0A=
		category2.options.length =3D 0;=0A=
		if (category2Array.length =3D=3D 0) {=0A=
			category2.options[0] =3D new Option("----- None -----", "");=0A=
			startidx =3D 0;=0A=
		} else {=0A=
			startidx =3D 1;=0A=
		}=0A=
=0A=
	for (i=3D1; i < category2Array.length; i=3Di+3) {=0A=
			category2.options[((i+2)/3)-startidx] =3D new =
Option(category2Array[i-1], category2Array[i]);=0A=
		}=0A=
			category2.selectedIndex =3D 0;=0A=
	}=0A=
}=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
/*	=0A=
	the category and sub-category select boxes depend on one another,=0A=
	so populate them accordingly.  this code is only used within the=0A=
	admin pages=0A=
*/=0A=
function BuildListingSelectOptions(category1, category2) {=0A=
	/* get the arrays of new options */=0A=
	if (category1.selectedIndex =3D=3D 0) {=0A=
		/* set all arrays empty */=0A=
		category2.options.length =3D 0;=0A=
		category2.options[0] =3D new Option("----- None -----", ""); =0A=
		category2.selectedIndex =3D 0;=0A=
		return;=0A=
	} else {=0A=
		var index =3D (3 * category1.selectedIndex) - 1;=0A=
		var category2Array =3D listingCategoryArray[index];=0A=
		category2.options.length =3D 0;=0A=
		category2.options[0] =3D new Option("----- None -----", "");=0A=
		for (i=3D1; i < category2Array.length; i=3Di+2) {=0A=
			category2.options[(i+1)/2] =3D new Option(category2Array[i-1], =
category2Array[i]);=0A=
		}=0A=
		if (i > 1) {=0A=
			category2.selectedIndex =3D 1;=0A=
		} else {=0A=
			category2.selectedIndex =3D 0;=0A=
		}=0A=
	}=0A=
}=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
/*	=0A=
	similar to the above two functions (can't i make them all common?)=0A=
	populate some select lists based on values selected from other=0A=
	boxes=0A=
*/=0A=
function BuildSimpleSelectOptions(selectArray, select1, select2) {=0A=
	/* get the arrays of new options */=0A=
	if (select1.selectedIndex =3D=3D 0) {=0A=
		/* set all arrays empty */=0A=
		select2.options.length =3D 0;=0A=
		select2.options[0] =3D new Option("----- None -----", ""); =0A=
		select2.selectedIndex =3D 0;=0A=
		return;=0A=
	} else {=0A=
		var index =3D (2 * select1.selectedIndex) - 1;=0A=
		var selectArrayValue =3D selectArray[index];=0A=
		select2.options.length =3D 0;=0A=
		select2.options[0] =3D new Option("----- None -----", "");=0A=
		for (j =3D 0; j < selectArrayValue.length; j=3Dj+2) {=0A=
			select2.options[(j/2)+1] =3D new Option(selectArrayValue[j+1], =
selectArrayValue[j]);=0A=
		}=0A=
		if (j > 1) {=0A=
			select2.selectedIndex =3D 1;=0A=
		} else {=0A=
			select2.selectedIndex =3D 0;=0A=
		}=0A=
	}=0A=
}=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*	=0A=
	before submitting a form make sure all select box options from a=0A=
	specified select box are selected.  this is useful when we are=0A=
	asking a user to order their favorites, for example.=0A=
*/=0A=
function SelectAll (selbox) {=0A=
	=0A=
	for (i=3D0; i < selbox.length; i++) {=0A=
		selbox.options[i].selected =3D true;=0A=
	}=0A=
	return true;=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*	=0A=
	surprisingly enough, this function moves an item up within a=0A=
	select box.=0A=
*/=0A=
function MoveItemUp (selbox) {=0A=
	selection =3D selbox.selectedIndex;=0A=
	if (selection =3D=3D -1) {=0A=
		alert("Please select content topic first.");=0A=
	} else if (selection =3D=3D 0 ) {=0A=
		// Already at top=0A=
	} else {=0A=
		// Obtain current selection=0A=
		SelValue =3D selbox.options[selection].value;=0A=
		SelText  =3D selbox.options[selection].text;=0A=
		=0A=
		// Swap Em with the one above=0A=
		selbox.options[selection].value =3D selbox.options[selection-1].value;=0A=
		selbox.options[selection].text =3D selbox.options[selection-1].text;=0A=
    =0A=
		selbox.options[selection-1].value =3D SelValue;=0A=
		selbox.options[selection-1].text =3D SelText;=0A=
    =0A=
		// Set next selection so that it stays on the same item=0A=
		selbox.selectedIndex--;=0A=
	}=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*	=0A=
	...and this function moves an item down within a select box.=0A=
*/=0A=
function MoveItemDown (selbox) {=0A=
	selection =3D selbox.selectedIndex;=0A=
	if (selection =3D=3D -1) {=0A=
		alert("Please select content topic first.");=0A=
	} else if (selection =3D=3D selbox.length-1 ) {=0A=
		// Already at bottom=0A=
	} else {=0A=
		// Obtain current selection=0A=
		SelValue =3D selbox.options[selection].value;=0A=
		SelText  =3D selbox.options[selection].text;=0A=
    =0A=
		// Swap Em with the one below=0A=
		selbox.options[selection].value =3D selbox.options[selection+1].value;=0A=
		selbox.options[selection].text =3D selbox.options[selection+1].text;=0A=
    =0A=
		selbox.options[selection+1].value =3D SelValue;=0A=
		selbox.options[selection+1].text =3D SelText;=0A=
    =0A=
		// Set next selection so that it stays on the same item=0A=
		selbox.selectedIndex++;=0A=
	}=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*=0A=
	before submitting a form set a hidden value to hold the select=0A=
	box value.  this is used primarily with the admin templates=0A=
*/=0A=
function AdminSelectValue(theSelect, theForm, theHidden) {=0A=
	if (theSelect.selectedIndex !=3D 0) {=0A=
		theHidden.value =3D theSelect.options[theSelect.selectedIndex].value;=0A=
		theForm.submit()=0A=
	}=0A=
}=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
/*=0A=
	when a value is updated, set a radio value to the first=0A=
	element in the radio button array.=0A=
*/=0A=
function UpdateRadio(theForm, theRadioName) {=0A=
=0A=
	/*	=0A=
		loop through the form, looking for radio buttons with=0A=
		the right name.  Note that this is necessary because=0A=
		redio buttons are stored as arrays, and we want to=0A=
		avoid using []'s in Vignette code whenever possible.=0A=
	*/=0A=
	=0A=
	for (i=3D0; i < theForm.length; i++) {=0A=
		if (theForm[i].type =3D=3D "radio" && theForm[i].name =3D=3D =
theRadioName) {=0A=
			theForm[i].checked =3D true;=0A=
			break;=0A=
		}=0A=
	}=0A=
	return;=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
function MM_jumpMenu(selObj,restore){ //v3.0=0A=
        if (selObj.selectedIndex=3D=3D0) {=0A=
                alert("Please select one section");=0A=
        } else {=0A=
                =
eval("location=3D'"+selObj.options[selObj.selectedIndex].value+"'");=0A=
                if (restore) selObj.selectedIndex=3D0;=0A=
        }=0A=
}=0A=
=0A=
function MM_swapImgRestore() { //v3.0=0A=
  var i,x,a=3Ddocument.MM_sr; =
for(i=3D0;a&&i<a.length&&(x=3Da[i])&&x.oSrc;i++) x.src=3Dx.oSrc;=0A=
}=0A=
=0A=
function MM_preloadImages() { //v3.0=0A=
  var d=3Ddocument; if(d.images){ if(!d.MM_p) d.MM_p=3Dnew Array();=0A=
    var i,j=3Dd.MM_p.length,a=3DMM_preloadImages.arguments; for(i=3D0; =
i<a.length; i++)=0A=
    if (a[i].indexOf("#")!=3D0){ d.MM_p[j]=3Dnew Image; =
d.MM_p[j++].src=3Da[i];}}=0A=
}=0A=
=0A=
function MM_findObj(n, d) { //v3.0=0A=
  var p,i,x;  if(!d) d=3Ddocument; =
if((p=3Dn.indexOf("?"))>0&&parent.frames.length) {=0A=
    d=3Dparent.frames[n.substring(p+1)].document; n=3Dn.substring(0,p);}=0A=
  if(!(x=3Dd[n])&&d.all) x=3Dd.all[n]; for =
(i=3D0;!x&&i<d.forms.length;i++) x=3Dd.forms[i][n];=0A=
  for(i=3D0;!x&&d.layers&&i<d.layers.length;i++) =
x=3DMM_findObj(n,d.layers[i].document); return x;=0A=
}=0A=
=0A=
function MM_swapImage() { //v3.0=0A=
  var i,j=3D0,x,a=3DMM_swapImage.arguments; document.MM_sr=3Dnew Array; =
for(i=3D0;i<(a.length-2);i+=3D3)=0A=
   if ((x=3DMM_findObj(a[i]))!=3Dnull){document.MM_sr[j++]=3Dx; =
if(!x.oSrc) x.oSrc=3Dx.src; x.src=3Da[i+2];}=0A=
}=0A=
=0A=
function MM_showHideLayers() { //v3.0=0A=
  var i,p,v,obj,args=3DMM_showHideLayers.arguments;=0A=
  for (i=3D0; i<(args.length-2); i+=3D3) if =
((obj=3DMM_findObj(args[i]))!=3Dnull) { v=3Dargs[i+2];=0A=
    if (obj.style) { obj=3Dobj.style; =
v=3D(v=3D=3D'show')?'visible':(v=3D'hide')?'hidden':v; }=0A=
    obj.visibility=3Dv; }=0A=
}=0A=
=0A=
function MM_nbGroup(event, grpName) { //v3.0=0A=
  var i,img,nbArr,args=3DMM_nbGroup.arguments;=0A=
  if (event =3D=3D "init" && args.length > 2) {=0A=
    if ((img =3D MM_findObj(args[2])) !=3D null && !img.MM_init) {=0A=
      img.MM_init =3D true; img.MM_up =3D args[3]; img.MM_dn =3D img.src;=0A=
      if ((nbArr =3D document[grpName]) =3D=3D null) nbArr =3D =
document[grpName] =3D new Array();=0A=
      nbArr[nbArr.length] =3D img;=0A=
      for (i=3D4; i < args.length-1; i+=3D2) if ((img =3D =
MM_findObj(args[i])) !=3D null) {=0A=
        if (!img.MM_up) img.MM_up =3D img.src;=0A=
        img.src =3D img.MM_dn =3D args[i+1];=0A=
        nbArr[nbArr.length] =3D img;=0A=
    } }=0A=
  } else if (event =3D=3D "over") {=0A=
    document.MM_nbOver =3D nbArr =3D new Array();=0A=
    for (i=3D1; i < args.length-1; i+=3D3) if ((img =3D =
MM_findObj(args[i])) !=3D null) {=0A=
      if (!img.MM_up) img.MM_up =3D img.src;=0A=
      img.src =3D (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];=0A=
      nbArr[nbArr.length] =3D img;=0A=
    }=0A=
  } else if (event =3D=3D "out" ) {=0A=
    for (i=3D0; i < document.MM_nbOver.length; i++) {=0A=
      img =3D document.MM_nbOver[i]; img.src =3D (img.MM_dn) ? img.MM_dn =
: img.MM_up; }=0A=
  } else if (event =3D=3D "down") {=0A=
    if ((nbArr =3D document[grpName]) !=3D null)=0A=
      for (i=3D0; i < nbArr.length; i++) { img=3DnbArr[i]; img.src =3D =
img.MM_up; img.MM_dn =3D 0; }=0A=
    document[grpName] =3D nbArr =3D new Array();=0A=
    for (i=3D2; i < args.length-1; i+=3D2) if ((img =3D =
MM_findObj(args[i])) !=3D null) {=0A=
      if (!img.MM_up) img.MM_up =3D img.src;=0A=
      img.src =3D img.MM_dn =3D args[i+1];=0A=
      nbArr[nbArr.length] =3D img;=0A=
  } }=0A=
}=0A=
=0A=
function MM_openBrWindow(theURL,winName,features) { //v2.0=0A=
  window.open(theURL,winName,features);=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*=0A=
	before submitting the form for sendmail, validate the fields to ensure=0A=
	that they are filled up and of the correct format (for email addresses).=0A=
*/=0A=
=0A=
=0A=
function validateFields(toField, fromField) {=0A=
	// Check that the To: and From: fields are not empty=0A=
	if (toField =3D=3D "") {=0A=
		alert("Please fill in the email address(es) to send to.");=0A=
		return false;=0A=
	}=0A=
	else if (fromField =3D=3D "") {=0A=
		alert("Please fill in the email address you are sending from.");=0A=
		return false;=0A=
	}=0A=
	else {=0A=
	// Split the email addresses which are separated by commas or =
semi-colons into separate elements of an array.=0A=
	var result =3D toField.split(/(\s*,\s*)|(\s*;\s*)/);=0A=
=0A=
	// Define the regular expression to match the format of an email =
address.=0A=
	var pattern =3D new RegExp("[a-z0-9]+@*+[\.][a-z0-9]+.*", "i");=0A=
	=0A=
	// Try to match each element of the array with the regular expression =
to check for valid email address format.=0A=
	for(var i =3D 0; i < result.length; i++) {=0A=
		if (!(pattern.test(result[i]))) {=0A=
			alert(result[i] + " is not a valid email address format.");=0A=
			return false;=0A=
		}=0A=
	}=0A=
	return true; =0A=
	}	=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*=0A=
	open a new window to use when searching for articles=0A=
*/=0A=
=0A=
function openWin(theURL) {=0A=
	searchWin =3D window.open(theURL, '', =
'width=3D450,height=3D450,stat=3Dno,resizeable=3Dno,scrollbars=3Dyes');=0A=
}=0A=
=0A=
=0A=
/* ********************************************************************* =
*/=0A=
=0A=
=0A=
/*=0A=
	set headline and article ID from a search query.  note that=0A=
	we search through the window that opened this window, searching=0A=
	for our fields by name.  this is done because there is no easy=0A=
	way to pass a reference to the forms to this function.=0A=
*/=0A=
=0A=
function SetArticle(headline, id, theID, theHeadline, theHeadlineOld, =
theForm) {=0A=
	var i =3D 0;=0A=
	var j =3D 0;=0A=
	var k =3D 0;=0A=
	var l =3D 0;=0A=
	while (i < 100 && window.opener.document.forms[i].name !=3D theForm) {=0A=
		i++;=0A=
	}=0A=
	/* the form has been found, find the ID */=0A=
	while (j < 100 && window.opener.document.forms[i].elements[j].name !=3D =
theID) {=0A=
		j++;=0A=
	}=0A=
	if (j =3D=3D 100) {=0A=
		alert("Error setting article ID");=0A=
		return;=0A=
	}=0A=
	/* the ID has been found, set it */=0A=
	window.opener.document.forms[i].elements[j].value =3D id;=0A=
	/* find the headline */=0A=
	while (k < 100 && window.opener.document.forms[i].elements[k].name !=3D =
theHeadline) {=0A=
		k++;=0A=
	}=0A=
	if (k =3D=3D 100) {=0A=
		alert("Error setting article headline");=0A=
		return;=0A=
	}=0A=
	/* the headline has been found, set it */=0A=
	window.opener.document.forms[i].elements[k].value =3D headline;=0A=
	/* find the old headline */=0A=
	while (l < 100 && window.opener.document.forms[i].elements[l].name !=3D =
theHeadlineOld) {=0A=
		l++;=0A=
	}=0A=
	if (l =3D=3D 100) {=0A=
		alert("Error setting article headline");=0A=
		return;=0A=
	}=0A=
	/* the old headline has been found, set it */=0A=
	window.opener.document.forms[i].elements[l].value =3D headline;=0A=
	/* close this window */=0A=
	window.close();=0A=
}=0A=
=0A=
/*=0A=
	scripts for ecards=0A=
*/=0A=
=0A=
function setImagePath(theForm)=0A=
{		=0A=
	// Used by Ecards(admin).=0A=
	//  Cards Directory	=0A=
	var ecards_basePath =3D =
"http://straitstimes.asia1.com.sg/mnt/html/ecards/";=0A=
	var ecards_basePath_nday2001 =3D =
"http://straitstimes.asia1.com.sg/mnt/html/webspecial/nday2001/ecards/";=0A=
		=0A=
	if (theForm.form_cat.value =3D=3D "nday2001")=0A=
	{=0A=
		theForm.form_fpath.value =3D ecards_basePath_nday2001;=0A=
		theForm.form_tpath.value =3D ecards_basePath_nday2001;=0A=
	}=0A=
}=0A=
	=0A=
function selectImg(theForm, theHidden, theValue) =0A=
{=0A=
	// Used by Ecards(admin).=0A=
	theHidden.value =3D theValue;=0A=
	theForm.submit();=0A=
}=0A=
=0A=
function checkEcardId(theForm) =0A=
{=0A=
	// Used by Ecards(public).=0A=
	=0A=
	// Check image_ID=0A=
	if (theForm.form_did.value =3D=3D -1) =0A=
	{=0A=
		alert("Please select a card before proceeding.");					=0A=
		return false;=0A=
	}=0A=
		=0A=
}=0A=
=0A=
function checkFormValues(theForm) =0A=
{=0A=
	// Used by Ecards(public).=0A=
=0A=
	// Set email alert =0A=
	if (theForm.form_emailalert.checked) {=0A=
		theForm.form_emailalert_val.value =3D 1;=0A=
	} else {=0A=
		theForm.form_emailalert_val.value =3D 0;	=0A=
	}=0A=
	=0A=
	// Verify Sender's Email=0A=
	if ((theForm.form_sem.value.indexOf("@") =3D=3D -1) || =
(theForm.form_sem.value.indexOf(".") =3D=3D -1))=0A=
	{=0A=
		alert("Please check your email address.");=0A=
		return false;=0A=
	}=0A=
			=0A=
	// Verify Recipients' Email=0A=
	if ((theForm.form_rem.value.indexOf("@") =3D=3D -1) || =
(theForm.form_rem.value.indexOf(".") =3D=3D -1))=0A=
	{=0A=
		alert("Please check your recipient's email address.");=0A=
		return false;=0A=
	}=0A=
			=0A=
}=0A=
=0A=
function setPreviewFlag(theForm, theValue)=0A=
{=0A=
	// Used by Ecards(public).	=0A=
	theForm.form_preview_flag.value =3D theValue;	=0A=
}=0A=
=0A=
function selectCard(theForm, theValue)=0A=
{=0A=
	document.form1.form_cid.value =3D theValue;=0A=
	theForm.submit();=0A=
}=0A=
=0A=
function setWinLocation()=0A=
{=0A=
	var cookieName =3D 'testCookie' + (new Date().getTime());=0A=
	document.cookie =3D cookieName + '=3DcookieValue';=0A=
	if (document.cookie.indexOf(cookieName) =3D=3D -1) {=0A=
	   alert('Please enable cookies in your browser so that this function =
will work correctly.');=0A=
	}=0A=
=0A=
	cookie_name =3D "back_count";=0A=
	if(document.cookie) {=0A=
		index =3D document.cookie.indexOf(cookie_name);=0A=
		if (index !=3D -1) {=0A=
			namestart =3D (document.cookie.indexOf("=3D", index) + 1);=0A=
			nameend =3D document.cookie.indexOf(";", index);=0A=
			if (nameend =3D=3D -1) {=0A=
				nameend =3D document.cookie.length;=0A=
			}=0A=
			hit_count =3D document.cookie.substring(namestart, nameend);=0A=
			p_his =3D -(parseInt(hit_count) + 1);=0A=
			hit_count =3D 0;=0A=
			document.cookie=3Dcookie_name+"=3D"+hit_count+";";=0A=
			history.go(p_his);=0A=
		} else {=0A=
			history.back();=0A=
		}=0A=
	}=0A=
}=0A=
=0A=
function incrHistory()=0A=
{=0A=
	cookie_name =3D "back_count";=0A=
	if(document.cookie) { =0A=
		index =3D document.cookie.indexOf(cookie_name);=0A=
	} else { =0A=
		index =3D -1;=0A=
	}=0A=
	if (index =3D=3D -1) {=0A=
		hit_count =3D 1;=0A=
		document.cookie=3Dcookie_name+"=3D"+hit_count+";";=0A=
	} else {=0A=
		namestart =3D (document.cookie.indexOf("=3D", index) + 1);=0A=
		nameend =3D document.cookie.indexOf(";", index);=0A=
		if (nameend =3D=3D -1) { =0A=
			nameend =3D document.cookie.length;=0A=
		}=0A=
		hit_count =3D document.cookie.substring(namestart, nameend);=0A=
		hit_count =3D parseInt(hit_count) + 1;=0A=
		document.cookie=3Dcookie_name+"=3D"+hit_count+";";=0A=
	}=0A=
}=0A=
=0A=
/*=0A=
	Set expiry date=0A=
*/=0A=
=0A=
function setAdminExpiryDate(theForm) {=0A=
	if (theForm.cat1.options[theForm.cat1.selectedIndex].value =3D=3D =
230000) {		=0A=
		if (theForm.cat2.options[theForm.cat2.selectedIndex].value =3D=3D =
230100) {=0A=
			if (theForm.releaseDay.selectedIndex >=3D theForm.expireDay.length) {	=
		=0A=
				theForm.expireDay.selectedIndex =3D theForm.expireDay.length - 1;				=0A=
			} else {=0A=
				theForm.expireDay.selectedIndex =3D theForm.releaseDay.selectedIndex;=0A=
			}			=0A=
			if (theForm.releaseMonth.selectedIndex =3D=3D 11) {=0A=
				theForm.expireMonth.selectedIndex =3D 0;=0A=
				theForm.expireYear.selectedIndex =3D =
theForm.releaseYear.selectedIndex + 1;=0A=
			} else { 																		 =0A=
				theForm.expireMonth.selectedIndex =3D =
theForm.releaseMonth.selectedIndex + 1;=0A=
				theForm.expireYear.selectedIndex =3D =
theForm.releaseYear.selectedIndex;=0A=
			}	=0A=
		} else if (theForm.cat2.options[theForm.cat2.selectedIndex].value =
=3D=3D 230300) {=0A=
			if (theForm.releaseDay.selectedIndex >=3D theForm.expireDay.length) {=0A=
				theForm.expireDay.selectedIndex =3D theForm.expireDay.length - 1;=0A=
			} else {=0A=
				theForm.expireDay.selectedIndex =3D theForm.releaseDay.selectedIndex;=0A=
			}													 =0A=
			if (theForm.releaseMonth.selectedIndex >=3D 9) {=0A=
				theForm.expireMonth.selectedIndex =3D =
theForm.releaseMonth.selectedIndex - 9;=0A=
				theForm.expireYear.selectedIndex =3D =
theForm.releaseYear.selectedIndex + 1;=0A=
			} else { 																		 =0A=
				theForm.expireMonth.selectedIndex =3D =
theForm.releaseMonth.selectedIndex + 3;=0A=
				theForm.expireYear.selectedIndex =3D =
theForm.releaseYear.selectedIndex;=0A=
			}													=0A=
		} else {=0A=
			if (theForm.releaseDay.selectedIndex >=3D theForm.expireDay.length) {=0A=
				theForm.expireDay.selectedIndex =3D theForm.expireDay.length - 1;=0A=
			} else {=0A=
				theForm.expireDay.selectedIndex =3D theForm.releaseDay.selectedIndex;=0A=
			}													 =0A=
			if (theForm.releaseMonth.selectedIndex > 5) {=0A=
				theForm.expireMonth.selectedIndex =3D =
theForm.releaseMonth.selectedIndex - 6;=0A=
				theForm.expireYear.selectedIndex =3D =
theForm.releaseYear.selectedIndex + 1;=0A=
			} else { 																		 =0A=
				theForm.expireMonth.selectedIndex =3D =
theForm.releaseMonth.selectedIndex + 6;=0A=
				theForm.expireYear.selectedIndex =3D =
theForm.releaseYear.selectedIndex;=0A=
			}				=0A=
		}		=0A=
		theForm.expireHour.selectedIndex =3D theForm.releaseHour.selectedIndex;=0A=
		theForm.expireMinute.selectedIndex =3D =
theForm.releaseMinute.selectedIndex; =0A=
		theForm.expireAMPM.selectedIndex =3D =
theForm.releaseAMPM.selectedIndex;						=0A=
	}=0A=
}=0A=
=0A=
=0A=
/*=0A=
	NewsInPics specific settings=0A=
*/=0A=
=0A=
function setAdminNewsInPicsValues(theForm) {=0A=
	if (theForm.loc.options[theForm.loc.selectedIndex].value =3D=3D =
"newsinpicturesdisplay") {		=0A=
		if (theForm.pos.options[theForm.pos.selectedIndex].value =3D=3D 3065) {=0A=
		   if (theForm.src.value =3D=3D "/mnt/media/image/staging/") {=0A=
		   	  theForm.src.value =3D "/mnt/media/image/staging/" + =
theForm.objm.value + ".jpg";=0A=
		   } else {=0A=
              	=0A=
			  sourceString =3D theForm.src.value;=0A=
			  sourcelength =3D sourceString.length; =0A=
			  firstPos =3D 0;			 =0A=
		   	  lastPos =3D sourceString.lastIndexOf('/');=0A=
			  newPathString =3D sourceString.substring(firstPos, lastPos + 1);		  =
   	  =0A=
		   	  theForm.src.value =3D  newPathString + theForm.objm.value + =
".jpg";		   =0A=
		   }=0A=
		   //theForm.releaseHour.selectedIndex =3D 2;=0A=
		   //theForm.releaseMinute.selectedIndex =3D 0; =0A=
		   //theForm.releaseAMPM.selectedIndex =3D 1;=0A=
		   /*=0A=
		   theForm.expireHour.selectedIndex =3D =
theForm.releaseHour.selectedIndex;=0A=
		   theForm.expireMinute.selectedIndex =3D =
theForm.releaseMinute.selectedIndex; =0A=
		   theForm.expireAMPM.selectedIndex =3D =
theForm.releaseAMPM.selectedIndex;								   =0A=
		   if ((theForm.releaseDay.selectedIndex + 7) >=3D =
theForm.releaseDay.length) {			=0A=
			  theForm.expireDay.selectedIndex =3D 7 - (theForm.releaseDay.length =
- theForm.releaseDay.selectedIndex);=0A=
		   	  if (theForm.releaseMonth.selectedIndex =3D=3D 11) {=0A=
			  	 theForm.expireMonth.selectedIndex =3D 0;=0A=
			  	 theForm.expireYear.selectedIndex =3D =
theForm.releaseYear.selectedIndex + 1;=0A=
		   	  } else { 																		 =0A=
			  	 theForm.expireMonth.selectedIndex =3D =
theForm.releaseMonth.selectedIndex + 1;=0A=
			  	 theForm.expireYear.selectedIndex =3D =
theForm.releaseYear.selectedIndex;=0A=
		   	  }			  				=0A=
		   } else {=0A=
			  theForm.expireDay.selectedIndex =3D =
theForm.releaseDay.selectedIndex + 7;=0A=
		   }=0A=
		   */				   					   =0A=
		}		=0A=
	}=0A=
}=0A=
=0A=
function setAdminNewsInPicsPosition(theForm) {=0A=
	if (theForm.loc.options[theForm.loc.selectedIndex].value =3D=3D =
"newsinpicturesdisplay") {		=0A=
		if (theForm.pos.options[theForm.pos.selectedIndex].value =3D=3D 3065) {=0A=
			underscorePos =3D theForm.src.value.lastIndexOf('_');=0A=
			dotPos =3D theForm.src.value.lastIndexOf('.');			=0A=
			index =3D theForm.src.value.substring(underscorePos + 1, dotPos);=0A=
			theForm.f_objectLinkPosition.selectedIndex =3D index * 10;=0A=
		}=0A=
	}=0A=
}			   =0A=

------=_NextPart_000_0000_01C766EA.ABEA06D0
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://newpaper.asia1.com.sg/mnt/scroller/scroller.js

var ScrollString =3D 'Can Internet turn S\'porean youths into =
terrorists? | TERROR FROM THE HOME | DPM Wong Kan Seng warns of new =
breed of terrorist-wannabes. They don\'t belong to radical groups but... =
| S\'pore\'s worst rental conman strikes again | A-LEVEL RESULTS | =
Unwanted by mum, raised by neighbour, she\'s now pride of family | '=0A=
var timer =3D 0;=0A=
function scrolltext() {=0A=
document.box.boxtext.value =3D ScrollString=0A=
ScrollString=3DScrollString.substring(1,ScrollString.length) + =
ScrollString.charAt(0);=0A=
timer =3D setTimeout('scrolltext()',150) ;=0A=
}=0A=

------=_NextPart_000_0000_01C766EA.ABEA06D0--
