/*
========================================
V-NewsTicker v2.2
License : Freeware (Enjoy it!)
(c)2003 VASIL DINKOV- PLOVDIV, BULGARIA
========================================
For IE4+, NS4+, Opera5+, Konqueror3.1+
========================================
Get the NewsTicker script at:
http://www.smartmenus.org/other.php
and don't wait to get the Great SmartMenus script at:
http://www.smartmenus.org*/
// === 1 === FONT, COLORS, EXTRAS...
i_font='"Trebuchet MS", Arial, "Helvetica Neue", Helvetica, sans-serif';
i_fontSize='13px';
i_fontSizeNS4='13px';
i_fontWeight='normal';
i_fontColor='#475475';
i_textDecoration='none';
i_fontColorHover='#2E71DE';// | won't work
i_textDecorationHover='none';// | in Netscape4
i_bgColor='transparent';
// set [='transparent'] for transparent
// set [='url(image_source)'] for image
i_top=0;// |
i_left=0;// | defining
i_width=165;// | the box
i_height=190;// |
i_paddingTop=10;
i_paddingLeft=10;
i_position='relative';// absolute/relative
i_timeout=3500;//1000 = 1 second
i_slideSpeed=40;
i_slideDirection=0;//0=down-up;1=up-down
i_pauseOnMouseOver=true;
// v2.2+ new below
i_slideStep=10;//pixels
i_textAlign='left';// left/center/right
i_textVAlign='top';// top/middle/bottom - won't work in Netscape4
i_addBRtagAfterEachHeadline=true;
// === 2 === THE CONTENT - ['href','text','target']
// Use '' for href to have no link item
i_content=[['../mediaroom/index.php?date=2008-05&id=80', '5 May 08: 亚洲地产', ''], ['../mediaroom/index.php?date=2008-05&id=79', '1 May 08: Guangzhou market', ''], ['../mediaroom/index.php?date=2008-04&id=78', '9 Apr 08: Office Space: Expansion Name of The Game', ''], ['../mediaroom/index.php?date=2008-03&id=75', '18 Mar 08: Ready to Occupy Office Spaces at The Executive Centre - Just Bring Your Briefcase!', ''], ['../mediaroom/index.php?date=2008-03&id=77', '17 Mar 08: CBN Weekly March 2008', ''], ['../mediaroom/index.php?date=2008-01&id=76', '8 Jan 08: Grow Virtually with The Executive Centre', ''], ['../mediaroom/index.php?date=2007-11&id=74', '13 Nov 07: The Executive Centre Opens Newest Center at Chong Hing Finance Center in Shanghai', ''], ['../mediaroom/index.php?date=2007-10&id=73', '29 Oct 07: The Executive Centre is a member of the Alliance Business Networks Centers', ''], ['../mediaroom/index.php?date=2007-08&id=71', '1 Aug 07: The Executive Centre Steps Up CSR Initiatives', ''], ['../mediaroom/index.php?date=2007-07&id=70', '1 Jul 07: The Serviced Solution \
Serviced offices in China can provide flexibility and functionality at the right price.', ''], ['../mediaroom/index.php?date=2007-06&id=72', '28 Jun 07: Instant, flexible and affordable on-demand office accommodation', ''], ['../mediaroom/index.php?date=2007-05&id=69', '1 May 07: Executive Design', ''], ['../mediaroom/index.php?date=2007-03&id=68', '23 Mar 07: Executive Centre Opens New Location in Singapore', ''], ['../mediaroom/index.php?date=2007-03&id=67', '12 Mar 07: Media Release - The Executive Centre Steps Up CSR Initiatives', ''], ['../mediaroom/index.php?date=2006-11&id=57', '3 Nov 06: CNBC\'s Live Interview with CEO Paul Salnikow - Watch', ''], ['../mediaroom/index.php?date=2006-10&id=56', '10 Oct 06: Air Pollution: The Truth Is Right Under Our Noses (by Alan Seigrist)', ''], ['../mediaroom/index.php?date=2006-10&id=55', '6 Oct 06: The Executive Centre Presents a Private Screening of \"An Inconvenient Truth\"', ''], ['../mediaroom/index.php?date=2006-09&id=54', '20 Sep 06: The Executive Centre Expands', ''], ['../mediaroom/index.php?date=2006-09&id=53', '18 Sep 06: The Executive Centre Opens New Location in XinTianDi Shanghai', ''], ['../mediaroom/index.php?date=2006-08&id=51', '28 Aug 06: The Executive Centre Appoints Head of Group Marketing', ''], ['../mediaroom/index.php?date=2006-08&id=52', '28 Aug 06: Polluted Air Threatens Business Decline in Hong Kong', ''], ['../mediaroom/index.php?date=2006-08&id=50', '23 Aug 06: The Executive Centre Opens New Location in Beijing', ''], ['../mediaroom/index.php?date=2006-06&id=48', '14 Jun 06: The Executive Centre Deploys Cisco Unified Communications System to Provide Differentiating, Valued-added and Consistent Services to Customers', ''], ['../mediaroom/index.php?date=2006-06&id=49', '14 Jun 06: The Executive Centre選用思科一體化通訊系統 \
為客戶提供獨有、統一的增值服務 \
', ''], ['../mediaroom/index.php?date=2006-06&id=47', '5 Jun 06: The Executive Centre Charges Ahead With its Newest Location in Beijing', ''], ['../mediaroom/index.php?date=2006-05&id=46', '7 May 06: Bust the High Rent', ''], ['../mediaroom/index.php?date=2006-04&id=44', '3 Apr 06: A \"hot desk\" of one\'s very own', ''], ['../mediaroom/index.php?date=2006-04&id=45', '1 Apr 06: New and Expanding Regional Operations Reinforce Hong Kong\'s Status as Asia Pacific Hub', ''], ['../mediaroom/index.php?date=2006-03&id=42', '3 Mar 06: Serviced Offices Boon to Fledglings', ''], ['../mediaroom/index.php?date=2006-03&id=43', '3 Mar 06: Office Leaser Finds Big Room for Expansion', ''], ['../mediaroom/index.php?date=2006-03&id=40', '2 Mar 06: The Executive Centre Opens 5th and 6th Serviced Offices \
in Hong Kong, Targets HK$150 Million Investment 2006-2008 \
', ''], ['../mediaroom/index.php?date=2006-03&id=41', '2 Mar 06: The Executive Centre 二零零六至零八年度目標投資額逾一億五千萬元 \
於港開設第五及第六所全新商務辦公室 \
', '']]
// ===
i_ua=navigator.userAgent;
i_nS4=document.layers?1:0;
i_iE=document.all&&!window.innerWidth&&i_ua.indexOf("MSIE")!=-1?1:0;
i_oP=i_ua.indexOf("Opera")!=-1&&document.clear?1:0;
i_oP7=i_oP&&document.appendChild?1:0;
i_oP4=i_ua.indexOf("Opera")!=-1&&!document.clear;
i_kN=i_ua.indexOf("Konqueror")!=-1&&parseFloat(i_ua.substring(i_ua.indexOf("Konqueror/")+10))<3.1?1:0;
i_count=i_content.length;
i_cur=1;
i_cl=0;
i_d=i_slideDirection?-1:1;
i_TIM=0;
i_fontSize2=i_nS4&&navigator.platform.toLowerCase().indexOf("win")!=-1?i_fontSizeNS4:i_fontSize;
i_canPause=1;
function i_getOS(a)
{
return i_iE?document.all[a].style:i_nS4?document.layers["i_container"].document.layers[a]:document.getElementById(a).style
};
function i_start()
{
var o,px;o=i_getOS("i_1");
px=i_oP&&!i_oP7||i_nS4?0:"px";
if(parseInt(o.top)==i_paddingTop)
{
i_canPause=0;
if(i_count>1)
i_TIM=setTimeout("i_canPause=0;i_slide()",i_timeout);
return
}
o.top=(parseInt(o.top)-i_slideStep*i_d)*i_d>i_paddingTop*i_d?parseInt(o.top)-i_slideStep*i_d+px:i_paddingTop+px;
if(i_oP&&o.visibility.toLowerCase()!="visible")
o.visibility="visible";
setTimeout("i_start()",i_slideSpeed)
};
function i_slide()
{
var o,o2,px;
o=i_getOS("i_"+i_cur);
o2=i_getOS("i_"+(i_curi_paddingTop*i_d)
{
o.top=parseInt(o.top)-i_slideStep*i_d+px;
o2.top=parseInt(o2.top)-i_slideStep*i_d+px
}
else
{
o.top=-i_height*i_d+px;
o2.top=i_paddingTop+px
}
setTimeout("i_slide()",i_slideSpeed)};
if(i_nS4||i_iE||i_oP||document.getElementById&&!i_kN&&!i_oP4)
{
document.write("");
i_temp="