function MM_preloadImages() { //v3.0
    var d=document;
    if(d.images){
    if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments;
    for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function addResume() {
   if(jQuery.browser.msie)
   {
      document.getElementById('resID').style.display = "block";
   }
   else {
       document.getElementById('resID').style.display = "table-row"; 
   }
}


$(document).ready(function(){
   
   $("a.service-item").bind("click", function(){
       var id = $(this).attr("id");
       var servID = id.split("_");
       $("div.bgservice").hide();
       $("#item_descr_"+servID[1]).show();
       $("a.service-item").attr("name", "service");
       $("a.service-item").css({'border-bottom' : '1px dashed #ffffff', 'padding-bottom' : '0px'});
       $(this).attr("name", "serviceactive");
       $(this).css({'border-bottom' : '0px', 'padding-bottom' : '1px'});
      return false;
   });
   
   $("a.service-item").bind("mouseover", function(){
       $(this).css({'border-bottom' : '0px', 'padding-bottom' : '1px'});
      return false;
   });
   
   $("a.service-item").bind("mouseout", function(){
       if ($(this).attr("name") != "serviceactive")
       {
          $(this).css({'border-bottom' : '1px dashed #ffffff', 'padding-bottom' : '0px'});
       }
      return false;
   });
});
