﻿//Script created by Jim Young (www.requestcode.com)
//Submitted to JavaScript Kit (http://javascriptkit.com)
//Visit http://javascriptkit.com for this script

//Set the tool tip message you want for each link here.
     var tip=new Array
           tip[0] = "Home"
           tip[1] = "Huidverzorging"
           tip[2] = "Nagelstyling"
           tip[3] = "Prijzen"
           tip[4] = "Contact"
           tip[5] = "Portfolio"
           tip[6] = "Webshop"
           
           
     function showtip(current,e,num)
        {
         if (document.layers) // Netscape 4.0+
            {
             theString="<DIV CLASS='ttip'>"+tip[num]+"</DIV>"
             document.tooltip.document.write(theString)
             document.tooltip.document.close()
             document.tooltip.left=e.pageX+14+'px'
             document.tooltip.top=e.pageY+2+'px'
             document.tooltip.visibility="show"
            }
         else
           {
            if(document.getElementById) // Netscape 6.0+ and Internet Explorer 5.0+
              {
               elm=document.getElementById("tooltip")
               elml=current
               elm.innerHTML=tip[num]
               elm.style.height=elml.style.height
               elm.style.top=parseInt(elml.offsetTop+elml.offsetHeight-25)+'px'
               elm.style.left=parseInt(elml.offsetLeft+elml.offsetWidth+25)+'px'
               elm.style.visibility = "visible"
              }
           }
        }
        function hidetip() {
            if (document.layers) // Netscape 4.0+
            {
                document.tooltip.visibility = "hidden"
            }
            else {
                if (document.getElementById) // Netscape 6.0+ and Internet Explorer 5.0+
                {
                    elm.style.visibility = "hidden"
                }
            }
        }
