   function checkdpi()
   {  
      
      /*var browser = navigator.appName;         
       if(browser == "Microsoft Internet Explorer")
       {
        
           if(screen.logicalXDPI > 96)
           {
            document.getElementById("stylelayout").href="library/styles/hacks/120dpilayout.css";
            document.getElementById("stylecontent").href="library/styles/hacks/120dpicontent.css";                
            document.getElementById("styleformular").href="library/styles/hacks/120dpiformular.css";                
           }
       }*/
   }


function searchbuttonover(obj)
{ 
    obj.style.backgroundImage = "url('library/images/buttons/btn_search_over.gif')";
    obj.style.color = "#ffffff";
    obj.style.textDecoration = "underline";
    
    
}

function searchbuttonout(obj)
{
    obj.style.backgroundImage = "url('library/images/buttons/btn_search.gif')";
    obj.style.color = "#000000";
    obj.style.textDecoration = "none";
}

function searchbuttonlongover(obj)
{ 
    obj.style.backgroundImage = "url('library/images/buttons/btn_search_long_over.gif')";
    obj.style.color = "#ffffff";
    obj.style.textDecoration = "underline";
}

function searchbuttonlongout(obj)
{
    obj.style.backgroundImage = "url('library/images/buttons/btn_search_long.gif')";
    obj.style.color = "#000000";
    obj.style.textDecoration = "none";
}


function elementimageover(elm)
{
 
    if (document.getElementById(elm).src.indexOf("_over") < 0) 
    {
    document.getElementById(elm).src = document.getElementById(elm).src.substring(0, document.getElementById(elm).src.length - 4) + "_over.gif";
    }
    
}

function elementimageout(elm)
{
   
    document.getElementById(elm).src = document.getElementById(elm).src.replace("_over","");

}



function objimageover(obj)
{
    
    obj.src = obj.src.substring(0, obj.src.length - 4) + "_over.gif";
}

function objimageout(obj)
{
    
    obj.src = obj.src.replace("_over","");

}


function cleartextbox(obj)
{
    if(obj.value == "Suchbegriff eingeben")
    {
    obj.value = "";
    }
    
}
function filltextbox(obj)
{
    if(obj.value == "")
    {
        obj.value = "Suchbegriff eingeben";
    }

}

