// JavaScript Document
<!--
var staticTip = new TipObj('staticTip');
with (staticTip)
{
 // I'm using tables here for legacy NS4 support, but feel free to use styled DIVs.
 template = '<table bgcolor="#7D9E18" cellpadding="0" cellspacing="0" width="%2%" border="0">' +
  '<tr><td><table cellpadding="3" cellspacing="1" width="100%" border="0">' +
  '<tr><td bgcolor="#A5CF25" align="center" height="16" class="tipClass"><b>%3%</b></td></tr>' +
  '<tr><td bgcolor="#D9ED9C" height="*">%4%</td></tr>' +
  '</table></td></tr></table>';

 // HIERARCHIAL TIPS: To call one tip object from within another tip object, make sure you
 // pass the a reference to the current object as the second parameter to the show() function.
 tips.links = new Array(-155, -24, 140, 'Quicklinks',
  '<table width="100%" cellpadding="0" cellspacing="0" border="0">' +
  '<tr style="cursor:hand;" onmouseover="javascript:cell_chgcolor(this,\'#FFFC00\');" onmouseout="javascript:cell_chgcolor(this,\'\');"><td class="navilink_quick" height="15" onclick="javascript:window.open(\'http://www.pmo.gov.my/website/webdb.nsf/vf_Front_2?OpenForm\', \'_new\');"> &gt; Prime Minister\'s Office</td></tr>' +
  '<tr style="cursor:hand;" onmouseover="javascript:cell_chgcolor(this,\'#FFFC00\');" onmouseout="javascript:cell_chgcolor(this,\'\');"><td class="navilink_quick" height="15" onclick="javascript:window.open(\'http://www.treasury.gov.my/englishversionbaru/index.htm\', \'_new\');"> &gt; Ministry of Finance</td></tr>' +
  '<tr style="cursor:hand;" onmouseover="javascript:cell_chgcolor(this,\'#FFFC00\');" onmouseout="javascript:cell_chgcolor(this,\'\');"><td class="navilink_quick" height="15" onclick="javascript:window.open(\'http://www.jkr.gov.my/v2/english/index.asp\', \'_new\');"> &gt; Dept. of Public Works</td></tr>' +
  '<tr><td background="../portals/gp05/images/line_solid_green.gif" height="21"></td></tr>' +
  '<tr style="cursor:hand;" onmouseover="javascript:cell_chgcolor(this,\'#FFFC00\');" onmouseout="javascript:cell_chgcolor(this,\'\');"><td class="navilink_quick" height="15" onclick="javascript:window.open(\'http://gsb.jkr.gov.my\', \'_new\');"> &gt; GSB Project website</td></tr>' +
  '<tr style="cursor:hand;" onmouseover="javascript:cell_chgcolor(this,\'#FFFC00\');" onmouseout="javascript:cell_chgcolor(this,\'\');"><td class="navilink_quick" height="15" onclick="javascript:window.open(\'http://www.pmo.gov.my/__48256BE3002A7B77.nsf/0/BA7051FF90767AD848256E84003129CA?Open\', \'_new\');"> &gt; Vision 2020</td></tr>' +
  '<tr><td background="../portals/gp05/images/line_solid_green.gif" height="21"></td></tr>' +
  '<tr style="cursor:hand;" onmouseover="javascript:cell_chgcolor(this,\'#FFFC00\');" onmouseout="javascript:cell_chgcolor(this,\'\');"><td class="navilink_quick" height="15" onclick="javascript:window.open(\'http://www.thestar.com.my/\', \'_new\');"> &gt; TheStar Online</td></tr>' +
  '<tr style="cursor:hand;" onmouseover="javascript:cell_chgcolor(this,\'#FFFC00\');" onmouseout="javascript:cell_chgcolor(this,\'\');"><td class="navilink_quick" height="15" onclick="javascript:window.open(\'http://www.nst.com.my/\', \'_new\');"> &gt; New Straits Times</td></tr>' +
  '<tr style="cursor:hand;" onmouseover="javascript:cell_chgcolor(this,\'#FFFC00\');" onmouseout="javascript:cell_chgcolor(this,\'\');"><td class="navilink_quick" height="15" onclick="javascript:window.open(\'http://www.utusan.com.my/\', \'_new\');"> &gt; Utusan Malaysia</td></tr>' +
  '<tr style="cursor:hand;" onmouseover="javascript:cell_chgcolor(this,\'#FFFC00\');" onmouseout="javascript:cell_chgcolor(this,\'\');"><td class="navilink_quick" height="15" onclick="javascript:window.open(\'http://www.bharian.com.my/\', \'_new\');"> &gt; Berita Harian</td></tr>' +
  '</table>');

 tipStick = 0;
}

// Here's the other tip object called by the one above, for hierarchial tips.
var nestTip = new TipObj('nestTip');
with (nestTip)
{
 template = '<table bgcolor="#000000" cellpadding="1" cellspacing="0" width="%2%" border="0">' +
  '<tr><td><table bgcolor="#009999" cellpadding="3" cellspacing="0" width="100%" border="0">' +
  '<tr><td class="tipClass">%3%</td></tr></table></td></tr></table>';

 tips.nest1 = new Array(10, 0, 90,
  '<a href="javascript:alert(\'A regular popup menu...\')">Relative Position</a>');

 // This tip is positioned via formulae based on its parent tip's position...
 tips.nest2 = new Array('staticTip.xPos + 95', 'staticTip.yPos + 50', 120,
  '<a href="javascript:alert(\'Nested tip 2\')">Absolutely positioned static tip...</a>');

 tipStick = 0;
}
//-->







