//browser detection
    var agt=navigator.userAgent.toLowerCase();
    var is_major = parseInt(navigator.appVersion);
    var is_minor = parseFloat(navigator.appVersion);

    var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
    var is_nav4 = (is_nav && (is_major == 4));
    var is_nav6 = (is_nav && (is_major == 5));
    var is_nav6up = (is_nav && (is_major >= 5));
    var is_ie     = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));

//tooltip Position
var offsetX = -150;
var offsetY = 15;
var opacity = 100;
var toolTipSTYLE;

function initToolTips(){
  if(document.getElementById){
          toolTipSTYLE = document.getElementById("toolTipLayer").style;
  }
  if(is_ie || is_nav6up)
  {
    toolTipSTYLE.visibility = "visible";
    toolTipSTYLE.display = "none";
    document.onmousemove = moveToMousePos;
  }
}

function moveToMousePos(e)
{
  if(!is_ie){
    x = e.pageX;
    y = e.pageY;
  }else{
    x = event.x + document.body.scrollLeft;
    y = event.y + document.body.scrollTop;
  }

  toolTipSTYLE.left = x + offsetX+'px';
  toolTipSTYLE.top = y + offsetY+'px';
  return true;
}


function toolTip(msg, fg, bg)
{
  if(toolTip.arguments.length < 1) // if no arguments are passed then hide the tootip
  {
    if(is_nav4)
        toolTipSTYLE.visibility = "hidden";
    else
        toolTipSTYLE.display = "none";
  }
  else // show
  {
    if(!fg) fg = "#777777";
    if(!bg) bg = "#ffffe5";
    var content = '<table border="0" cellspacing="0" cellpadding="0" class="toolTip"><tr><td bgcolor="' + fg + '">' +
                                  '<table border="0" cellspacing="1" cellpadding="0"<tr><td bgcolor="' + bg + '">'+
                                  '<font face="sans-serif" color="' + fg + '" size="-2">' + msg +
                                  '</font></td></tr></table>'+
                                  '</td></tr></table>';
   if(is_nav4)
    {
      toolTipSTYLE.document.write(content);
      toolTipSTYLE.document.close();
      toolTipSTYLE.visibility = "visible";
                }

    else if(is_ie || is_nav6up)
    {
      document.getElementById("toolTipLayer").innerHTML = content;
      toolTipSTYLE.display='block'
    }
  }
}
var first = '<table width="300" cellspacing="2" cellpadding="0" border="0" class="toolTip">' +
            '<tr><td valign="top"><img src="images/question.jpg" height="66" width="66" border="0"/ align="left"></td><td valign="top" style="padding: 3px;"><font size="3" color="203360"><b>What should I enter here?</b></font>' +
            '<hr/><font size="1" face=verdana color="#203360">';
var firstwhat = '<table width="300" cellspacing="2" cellpadding="0" border="0" class="toolTip">' +
            '<tr><td valign="top"><img src="images/question.jpg" height="66" width="66" border="0"/ align="left"></td><td valign="top" style="padding: 3px;"><font size="3" color="203360"><b>What is this?</b></font>' +
            '<hr/><font size="1" face=verdana color="#203360">';

var last =  '</font><br />&nbsp;</td></tr>' +
            '<tr><td colspan="2" style="background-color:#6e97cd; text-align:right; color: #ffffff">Alumnus.be Help&nbsp;</td></tr>' +
            '</table>';
            
    s = first + 'Enter the faculty of your current or finished studies. Later you can specify your degree.<br />&nbsp;<br />See <b>Do I qualify</b> on the left to get an overview.' + last;
    g = first + 'Enter the month/year your studies have ended, or the month/year you plan to receive your degree.' + last;
    rep = firstwhat + 'Your reputation score is an important parameter to get noticed by employers:<br />When an employer does a search, <b>graduates are ranked by reputation score</b>!<br />&nbsp;<br />Consult your profile page to find out how you can <u>increase your reputation rank</u>.' + last;
    credits = firstwhat + 'With credits you can <b>PUSH your vacancies</b> or send <b>Personal (Press or Commercial) Messages</b> to a targeted group of Candidates.<br />&nbsp;<br />Click on Browse all graduates on the left to start a search and make a selection of Candidates.<br />&nbsp;<br />You can Buy Extra Credits at any time by clicking <b>Buy Extra Credits</b> on the left screen.' + last;
    work = first + 'Let Employers and fellow Students know what you are working on through your personal Blog. <br />&nbsp;<br />Maybe you are reading an interesting book, preparing for exams, or maybe you just sollicited for a job?<br />&nbsp;<br />Brand your Identity and let it know.<br />&nbsp;<br /><b>Tip: Updating your Blog regularly increases your Reputation Score.</b>' + last;
    vacancypush = firstwhat + 'Employers can search suited Candidates for their Vacancies.<br />&nbsp;<br />If wanted, they can <b>invite you Personally</b> to take a look at there vacancies, giving you the possibility to apply online for this job.' + last;


function show(what){
      toolTip(what)
}

 //-->

