// Dropdown menu

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("topmenu");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace
	(" over", "");
   }
   }
  }
 }
}
window.onload=startList;

$(document).ready(function() {

// Show and hide the dropdown submenu on mouse over event
// Disabled an because of blinking in IE
//    $("ul#topmenu li").mouseover( function() { $(this).addClass(" over"); } );
//    $("ul#topmenu li").mouseout( function() { $(this).removeClass(" over"); } );
    
// Highlite the icon assigned to the paragraph

    $("p.icon a").mouseover( function() { $(this).parents("p").addClass(" over"); } );
    $("p.icon a").mouseout( function() {$(this).parents("p").removeClass(" over"); } );
    
// On Testimonials Page hide and show part of the paragraph

    $("div#testimonials p").mouseover( function() { $(this).addClass(" over"); } );
    $("div#testimonials p").mouseout( function() { $(this).removeClass(" over"); } );
    
    $("div#testimonials p").toggle(function() {
      $(this).addClass(" click");
    },function(){
      $(this).removeClass(" click");
    });

});
