$(document).ready(function() {

$('#volkmar').css({'padding-left':'10px'});




var siteGesundheitMain = 'http://oppenlaender.de/gesundheit0/';
var siteGesundheitMain2 = 'http://oppenlaender.de/gesundheit/';
var siteGesundheitSub1 = 'http://oppenlaender.de/arzneimittel/';
var siteGesundheitSub2 = 'http://oppenlaender.de/kosmetik/';
var siteGesundheitSub3 = 'http://oppenlaender.de/apotheken/';
var siteGesundheitSub4 = 'http://oppenlaender.de/krankenhaeuser/';
var siteGesundheitSub5 = 'http://oppenlaender.de/leistungserbringer/';

var siteGesundheitMainDe = 'http://oppenlaender.de/gesundheit0/?L=0';
var siteGesundheitMain2De = 'http://oppenlaender.de/gesundheit/?L=0';
var siteGesundheitSub1De = 'http://oppenlaender.de/arzneimittel/?L=0';
var siteGesundheitSub2De = 'http://oppenlaender.de/kosmetik/?L=0';
var siteGesundheitSub3De = 'http://oppenlaender.de/apotheken/?L=0';
var siteGesundheitSub4De = 'http://oppenlaender.de/krankenhaeuser/?L=0';
var siteGesundheitSub5De = 'http://oppenlaender.de/leistungserbringer/?L=0';

var siteGesundheitMainEn = 'http://oppenlaender.de/gesundheit0/?L=1';
var siteGesundheitMain2En = 'http://oppenlaender.de/gesundheit/?L=1';
var siteGesundheitSub1En = 'http://oppenlaender.de/arzneimittel/?L=1';
var siteGesundheitSub2En = 'http://oppenlaender.de/kosmetik/?L=1';
var siteGesundheitSub3En = 'http://oppenlaender.de/apotheken/?L=1';
var siteGesundheitSub4En = 'http://oppenlaender.de/krankenhaeuser/?L=1';
var siteGesundheitSub5En = 'http://oppenlaender.de/leistungserbringer/?L=1';

var siteGesundheitMain_www = 'http://www.oppenlaender.de/gesundheit0/';
var siteGesundheitMain2_www = 'http://www.oppenlaender.de/gesundheit/';
var siteGesundheitSub1_www = 'http://www.oppenlaender.de/arzneimittel/';
var siteGesundheitSub2_www = 'http://www.oppenlaender.de/kosmetik/';
var siteGesundheitSub3_www = 'http://www.oppenlaender.de/apotheken/';
var siteGesundheitSub4_www = 'http://www.oppenlaender.de/krankenhaeuser/';
var siteGesundheitSub5_www = 'http://www.oppenlaender.de/leistungserbringer/';

var siteGesundheitMainDe_www = 'http://www.oppenlaender.de/gesundheit0/?L=0';
var siteGesundheitMain2De_www = 'http://www.oppenlaender.de/gesundheit/?L=0';
var siteGesundheitSub1De_www = 'http://www.oppenlaender.de/arzneimittel/?L=0';
var siteGesundheitSub2De_www = 'http://www.oppenlaender.de/kosmetik/?L=0';
var siteGesundheitSub3De_www = 'http://www.oppenlaender.de/apotheken/?L=0';
var siteGesundheitSub4De_www = 'http://www.oppenlaender.de/krankenhaeuser/?L=0';
var siteGesundheitSub5De_www = 'http://www.oppenlaender.de/leistungserbringer/?L=0';

var siteGesundheitMainEn_www = 'http://www.oppenlaender.de/gesundheit0/?L=1';
var siteGesundheitMain2En_www = 'http://www.oppenlaender.de/gesundheit/?L=1';
var siteGesundheitSub1En_www = 'http://www.oppenlaender.de/arzneimittel/?L=1';
var siteGesundheitSub2En_www = 'http://www.oppenlaender.de/kosmetik/?L=1';
var siteGesundheitSub3En_www = 'http://www.oppenlaender.de/apotheken/?L=1';
var siteGesundheitSub4En_www = 'http://www.oppenlaender.de/krankenhaeuser/?L=1';
var siteGesundheitSub5En_www = 'http://www.oppenlaender.de/leistungserbringer/?L=1';

var siteGewerblicherRechtschutzMain = 'http://oppenlaender.de/gewerblicher-rechtsschutz0/';
var siteGewerblicherRechtschutzMain2 = 'http://oppenlaender.de/gewerblicher-rechtsschutz/';
var siteGewerblicherRechtschutzSub1 = 'http://oppenlaender.de/schutzrechte-und-lizenzen/';
var siteGewerblicherRechtschutzSub2 = 'http://oppenlaender.de/wettbewerbsrecht/';

var siteGewerblicherRechtschutzMainDe = 'http://oppenlaender.de/gewerblicher-rechtsschutz0/?L=0';
var siteGewerblicherRechtschutzMain2De = 'http://oppenlaender.de/gewerblicher-rechtsschutz/?L=0';
var siteGewerblicherRechtschutzSub1De = 'http://oppenlaender.de/schutzrechte-und-lizenzen/?L=0';
var siteGewerblicherRechtschutzSub2De = 'http://oppenlaender.de/wettbewerbsrecht/?L=0';

var siteGewerblicherRechtschutzMainEn = 'http://oppenlaender.de/gewerblicher-rechtsschutz0/?L=1';
var siteGewerblicherRechtschutzMain2En = 'http://oppenlaender.de/gewerblicher-rechtsschutz/?L=1';
var siteGewerblicherRechtschutzSub1En = 'http://oppenlaender.de/schutzrechte-und-lizenzen/?L=1';
var siteGewerblicherRechtschutzSub2En = 'http://oppenlaender.de/wettbewerbsrecht/?L=1';

var siteGewerblicherRechtschutzMain_www = 'http://www.oppenlaender.de/gewerblicher-rechtsschutz0/';
var siteGewerblicherRechtschutzMain2_www = 'http://www.oppenlaender.de/gewerblicher-rechtsschutz/';
var siteGewerblicherRechtschutzSub1_www = 'http://www.oppenlaender.de/schutzrechte-und-lizenzen/';
var siteGewerblicherRechtschutzSub2_www = 'http://www.oppenlaender.de/wettbewerbsrecht/';

var siteGewerblicherRechtschutzMainDe_www = 'http://www.oppenlaender.de/gewerblicher-rechtsschutz0/?L=0';
var siteGewerblicherRechtschutzMain2De_www = 'http://www.oppenlaender.de/gewerblicher-rechtsschutz/?L=0';
var siteGewerblicherRechtschutzSub1De_www = 'http://www.oppenlaender.de/schutzrechte-und-lizenzen/?L=0';
var siteGewerblicherRechtschutzSub2De_www = 'http://www.oppenlaender.de/wettbewerbsrecht/?L=0';

var siteGewerblicherRechtschutzMainEn_www = 'http://www.oppenlaender.de/gewerblicher-rechtsschutz0/?L=1';
var siteGewerblicherRechtschutzMain2En_www = 'http://www.oppenlaender.de/gewerblicher-rechtsschutz/?L=1';
var siteGewerblicherRechtschutzSub1En_www = 'http://www.oppenlaender.de/schutzrechte-und-lizenzen/?L=1';
var siteGewerblicherRechtschutzSub2En_www = 'http://www.oppenlaender.de/wettbewerbsrecht/?L=1';

var thumbsPath = 'fileadmin/template/layout/AGallerie/Thumbs/new/';
var i = 0;


if( window.location == siteGesundheitMain || window.location == siteGesundheitMain2 ||window.location == siteGesundheitSub1 || window.location == siteGesundheitSub3 || window.location == siteGesundheitSub4 || window.location == siteGesundheitSub5 || 
window.location == siteGesundheitMainDe || window.location == siteGesundheitMain2De || window.location == siteGesundheitSub1De || window.location == siteGesundheitSub3De || window.location == siteGesundheitSub4De || window.location == siteGesundheitSub5De ||	
window.location == siteGesundheitMainEn || window.location == siteGesundheitMain2En || window.location == siteGesundheitSub1En || window.location == siteGesundheitSub3En || window.location == siteGesundheitSub4En || window.location == siteGesundheitSub5En ||
window.location == siteGesundheitMain_www || window.location == siteGesundheitMain2_www ||window.location == siteGesundheitSub1_www || window.location == siteGesundheitSub3_www || window.location == siteGesundheitSub4_www || window.location == siteGesundheitSub5_www || 
window.location == siteGesundheitMainDe_www || window.location == siteGesundheitMain2De_www || window.location == siteGesundheitSub1De_www || window.location == siteGesundheitSub3De_www || window.location == siteGesundheitSub4De_www || window.location == siteGesundheitSub5De_www ||	
window.location == siteGesundheitMainEn_www || window.location == siteGesundheitMain2En_www || window.location == siteGesundheitSub1En_www || window.location == siteGesundheitSub3En_www || window.location == siteGesundheitSub4En_www || window.location == siteGesundheitSub5En_www) { 

  var teamA1 = $("a[title=Dr. Heinz-Uwe Dettling]");
  var teamA2 = $("a[title=Dr. Thomas Baumann]");
  var teamA3 = $("a[title=Dr. Timo Kieser]");
  var teamA4 = $("a[title=Dr. Torsten Gerhard]");
  var teamA5 = $("a[title=Dr. Ocka Anna Boehnke]");
  
  var thumbs = new Array("dr_dettling_portrait.jpg","dr_baumann_portrait.jpg","dr_kieser_portrait.jpg","dr_gerhard_portrait.jpg","Dr_Boehnke_Portrait.jpg");
  
  $(teamA1).css('color','#7BD3F7');
  
  var thumbsInt = setInterval(function() {

    if(i < thumbs.length) {
      i = i + 1;
      // alert(i+thumbs[i]);
      $('#content_right_top img').attr({ 'src' : thumbsPath+thumbs[i] });
    }
    
    if(i == 1) {
      $(teamA2).css('color','#7BD3F7');
      $(teamA1).css('color','#000');
      
      $(teamA1).mouseover(function() {
        $(teamA1).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA1).css('color','#000');
      });
    }
    
    if(i == 2) {
      $(teamA3).css('color','#7BD3F7');
      $(teamA2).css('color','#000');
      
      $(teamA2).mouseover(function() {
        $(teamA2).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA2).css('color','#000');
      });
    }
    
    if(i == 3) {
      $(teamA4).css('color','#7BD3F7');
      $(teamA3).css('color','#000');
      
      $(teamA3).mouseover(function() {
        $(teamA3).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA3).css('color','#000');
      });
    }
    
    if(i == 4) {
      $(teamA5).css('color','#7BD3F7');
      $(teamA4).css('color','#000');
      
      $(teamA4).mouseover(function() {
        $(teamA4).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA4).css('color','#000');
      });
    }
    
    if(i == thumbs.length) {
      $('#content_right_top img').attr({ 'src' : thumbsPath+thumbs[0] });
      $(teamA1).css('color','#7BD3F7');
      $(teamA5).css('color','#000');
      
      $(teamA5).mouseover(function() {
        $(teamA5).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA5).css('color','#000');
      });
    }
    
  },6000);
  
}

if(window.location == siteGesundheitSub2 || window.location == siteGesundheitSub2De || window.location == siteGesundheitSub2En ||
   window.location == siteGesundheitSub2_www || window.location == siteGesundheitSub2De_www || window.location == siteGesundheitSub2En_www) { 

  var teamA1 = $("a[title=Dr. Heinz-Uwe Dettling]");
  var teamA2 = $("a[title=Dr. Thomas Baumann]");
  var teamA3 = $("a[title=Prof. Dr. Markus Koehler]");
  var teamA4 = $("a[title=Dr. Timo Kieser]");
  var teamA5 = $("a[title=Dr. Torsten Gerhard]");
  var teamA6 = $("a[title=Dr. Ocka Anna Boehnke]");
  
  var thumbs = new Array("dr_dettling_portrait.jpg","dr_baumann_portrait.jpg","dr_koehler_portrait.jpg","dr_kieser_portrait.jpg","dr_gerhard_portrait.jpg","Dr_Boehnke_Portrait.jpg");
  
  $(teamA1).css('color','#7BD3F7');
  
  var thumbsInt = setInterval(function() {

    if(i < thumbs.length) {
      i = i + 1;
      // alert(i+thumbs[i]);
      $('#content_right_top img').attr({ 'src' : thumbsPath+thumbs[i] });
    }
    
    if(i == 1) {
      $(teamA2).css('color','#7BD3F7');
      $(teamA1).css('color','#000');
      
      $(teamA1).mouseover(function() {
        $(teamA1).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA1).css('color','#000');
      });
    }
    
    if(i == 2) {
      $(teamA3).css('color','#7BD3F7');
      $(teamA2).css('color','#000');
      
      $(teamA2).mouseover(function() {
        $(teamA2).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA2).css('color','#000');
      });
    }
    
    if(i == 3) {
      $(teamA4).css('color','#7BD3F7');
      $(teamA3).css('color','#000');
      
      $(teamA3).mouseover(function() {
        $(teamA3).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA3).css('color','#000');
      });
    }
    
    if(i == 4) {
      $(teamA5).css('color','#7BD3F7');
      $(teamA4).css('color','#000');
      
      $(teamA4).mouseover(function() {
        $(teamA4).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA4).css('color','#000');
      });
    }
    
    if(i == 5) {
      $(teamA6).css('color','#7BD3F7');
      $(teamA5).css('color','#000');
      
      $(teamA5).mouseover(function() {
        $(teamA5).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA5).css('color','#000');
      });
    }
    
    if(i == thumbs.length) {
      $('#content_right_top img').attr({ 'src' : thumbsPath+thumbs[0] });
      $(teamA1).css('color','#7BD3F7');
      $(teamA6).css('color','#000');
      
      $(teamA6).mouseover(function() {
        $(teamA6).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA6).css('color','#000');
      });
    }
    
  },6000);
  
}


if(window.location == siteGewerblicherRechtschutzMain || window.location == siteGewerblicherRechtschutzMain2 || window.location == siteGewerblicherRechtschutzSub1 || window.location == siteGewerblicherRechtschutzSub2 || 
   window.location == siteGewerblicherRechtschutzMainDe || window.location == siteGewerblicherRechtschutzMain2De || window.location == siteGewerblicherRechtschutzSub1De || window.location == siteGewerblicherRechtschutzSub2De || 
   window.location == siteGewerblicherRechtschutzMainEn || window.location == siteGewerblicherRechtschutzMain2En || window.location == siteGewerblicherRechtschutzSub1En || window.location == siteGewerblicherRechtschutzSub2En ||
   window.location == siteGewerblicherRechtschutzMain_www || window.location == siteGewerblicherRechtschutzMain2_www || window.location == siteGewerblicherRechtschutzSub1_www || window.location == siteGewerblicherRechtschutzSub2_www || 
   window.location == siteGewerblicherRechtschutzMainDe_www || window.location == siteGewerblicherRechtschutzMain2De_www || window.location == siteGewerblicherRechtschutzSub1De_www || window.location == siteGewerblicherRechtschutzSub2De_www || 
   window.location == siteGewerblicherRechtschutzMainEn_www || window.location == siteGewerblicherRechtschutzMain2En_www || window.location == siteGewerblicherRechtschutzSub1En_www || window.location == siteGewerblicherRechtschutzSub2En_www) { 

  var teamA1 = $("a[title=Prof. Dr. Markus Koehler]");
  var teamA2 = $("a[title=Dr. Timo Kieser]");
  var teamA3 = $("a[title=Raymund Brehmenkamp]");
  var teamA4 = $("a[title=Dr. Christina Koppe-Zagouras]");
  var teamA5 = $("a[title=Dr. Stephan Degmair]");
  var teamA6 = $("a[title=Dr. Claus Moellinger]");
  
  var thumbs = new Array("dr_koehler_portrait.jpg","dr_kieser_portrait.jpg","hr_brehmenkamp_portrait.jpg","dr_koppe_portrait.jpg","hr_degmair_portrait.jpg","dr_moellinger_portrait.jpg");
  
  $(teamA1).css('color','#7BD3F7');
  
  var thumbsInt = setInterval(function() {

    if(i < thumbs.length) {
      i = i + 1;
      // alert(i+thumbs[i]);
      $('#content_right_top img').attr({ 'src' : thumbsPath+thumbs[i] });
    }
    
    if(i == 1) {
      $(teamA2).css('color','#7BD3F7');
      $(teamA1).css('color','#000');
      
      $(teamA1).mouseover(function() {
        $(teamA1).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA1).css('color','#000');
      });
    }
    
    if(i == 2) {
      $(teamA3).css('color','#7BD3F7');
      $(teamA2).css('color','#000');
      
      $(teamA2).mouseover(function() {
        $(teamA2).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA2).css('color','#000');
      });
    }
    
    if(i == 3) {
      $(teamA4).css('color','#7BD3F7');
      $(teamA3).css('color','#000');
      
      $(teamA3).mouseover(function() {
        $(teamA3).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA3).css('color','#000');
      });
    }
    
    if(i == 4) {
      $(teamA5).css('color','#7BD3F7');
      $(teamA4).css('color','#000');
      
      $(teamA4).mouseover(function() {
        $(teamA4).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA4).css('color','#000');
      });
    }
    
    if(i == 5) {
      $(teamA6).css('color','#7BD3F7');
      $(teamA5).css('color','#000');
      
      $(teamA5).mouseover(function() {
        $(teamA5).css('color','#7BD3F7');
      }).mouseout(function() {
        $(teamA5).css('color','#000');
      });
    }
    
    
    
    if(i == thumbs.length) {
      $('#content_right_top img').attr({ 'src' : thumbsPath+thumbs[0] });
      $(teamA1).css('color','#7BD3F7');
      $(teamA6).css('color','#000');
    }
    
  },6000);
  
}



 
// Kompetenzfelder Dropdown-Menu begin

 var item = $("a[title=Weitere Rechtsgebiete]");
 $(item).parent().css('backgroundImage','none');
 $(item).replaceWith('<span id="wr_action" style="background-image: none; font-size: 11px; cursor: pointer;">Weitere Rechtsgebiete</span>');
 
 var item2 = $("a[title=Datenschutz]");
 var item3 = $("a[title=Kunst- und Restitutionsrecht]");
 var item4 = $("a[title=Lebensmittelrecht]");

 $(item2).css('display','none');
 $(item3).css('display','none');
 $(item4).css('display','none');
 
 $('#wr_action').mouseover(function() {
   $(this).css('color','#7BD3F7');
 }).mouseout(function() {
   $(this).css('color','#000');
 });
 
 $('#wr_action').click(function() {
  $(item2).css('display','inline');
  $(item3).css('display','inline');
  $(item4).css('display','inline');
 });
 
 if(window.location == 'http://www.oppenlaender.de/datenschutz/' || window.location == 'http://www.oppenlaender.de/kunst-nd-restitutionsrecht/' || window.location == 'http://www.oppenlaender.de/lebensmittelrecht/' || 
    window.location == 'http://www.oppenlaender.de/datenschutz/?L=0' || window.location == 'http://www.oppenlaender.de/kunst-nd-restitutionsrecht/?L=0' || window.location == 'http://www.oppenlaender.de/lebensmittelrecht/?L=0' ||
    window.location == 'http://www.oppenlaender.de/datenschutz/?L=1' || window.location == 'http://www.oppenlaender.de/kunst-nd-restitutionsrecht/?L=1' || window.location == 'http://www.oppenlaender.de/lebensmittelrecht/?L=1' || 
    window.location == 'http://oppenlaender.de/datenschutz/' || window.location == 'http://oppenlaender.de/kunst-nd-restitutionsrecht/' || window.location == 'http://oppenlaender.de/lebensmittelrecht/' || 
    window.location == 'http://oppenlaender.de/datenschutz/?L=0' || window.location == 'http://oppenlaender.de/kunst-nd-restitutionsrecht/?L=0' || window.location == 'http://oppenlaender.de/lebensmittelrecht/?L=0' ||
    window.location == 'http://oppenlaender.de/datenschutz/?L=1' || window.location == 'http://oppenlaender.de/kunst-nd-restitutionsrecht/?L=1' || window.location == 'http://oppenlaender.de/lebensmittelrecht/?L=1' || 
    window.location == 'http://www.oppenlaender.de/index.php?id=266&L=1' || window.location == 'http://www.oppenlaender.de/index.php?id=267&L=1' || window.location == 'http://www.oppenlaender.de/index.php?id=268&L=1') {
  $(item2).css('display','inline');
  $(item3).css('display','inline');
  $(item4).css('display','inline');
 }
 
// Kompetenzfelder Dropdown-Menu end
 
  

 if(document.location.href == 'http://www.oppenlaender.de/anwaelte/' || document.location.href == 'http://www.oppenlaender.de/unser-team/?L=0' || document.location.href == 'http://www.oppenlaender.de/unser-team/?L=1' || document.location.href == 'http://www.oppenlaender.de/index.php?id=3$L=1' ||
    document.location.href == 'http://oppenlaender.de/anwaelte/' || document.location.href == 'http://oppenlaender.de/unser-team/?L=0' || document.location.href == 'http://oppenlaender.de/unser-team/?L=1' || document.location.href == 'http://www.oppenlaender.de/index.php?id=3$L=1') {
   $('#content_left h1').css('margin-left','0px');
 }
 
 if(document.location.href == 'http://www.oppenlaender.de/startseite/' || document.location.href == 'http://www.oppenlaender.de/startseite/?L=0' || document.location.href == 'http://www.oppenlaender.de/startseite/?L=1' || document.location.href == 'http://www.oppenlaender.de/index.php?id=1&L=1' || 
    document.location.href == 'http://oppenlaender.de/startseite/' || document.location.href == 'http://oppenlaender.de/startseite/?L=0' || document.location.href == 'http://oppenlaender.de/startseite/?L=1' || document.location.href == 'http://oppenlaender.de/index.php?id=1&L=1' || 
    document.location.href == 'http://www.oppenlaender.de/' || document.location.href == 'http://www.oppenlaender.de/?L=0' || document.location.href == 'http://www.oppenlaender.de/?L=1' || 
    document.location.href == 'http://oppenlaender.de/' || document.location.href == 'http://oppenlaender.de/?L=0' || document.location.href == 'http://oppenlaender.de/?L=1') {
   $('#content_right').css('display','none');
 }
 
 if(document.location.href == 'http://www.oppenlaender.de/karriere/' || document.location.href == 'http://www.oppenlaender.de/karriere/?L=0' || document.location.href == 'http://www.oppenlaender.de/karriere/?L=1' || document.location.href == 'http://www.oppenlaender.de/index.php?id=4&L=1' ||
    document.location.href == 'http://oppenlaender.de/karriere/' || document.location.href == 'http://oppenlaender.de/karriere/?L=0' || document.location.href == 'http://oppenlaender.de/karriere/?L=1' || document.location.href == 'http://oppenlaender.de/index.php?id=4&L=1') {
   $('.section_sub').css('display','none');
 }
 
 
 $('.section_sub p a').mouseover(function() {
   $(this).css('color','#7BD3F7');
 }).mouseout(function() {
   $(this).css('color','#000');
 });
 
 
 $('#anav_pic259').mouseover(function() {
   $('#a_259 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_259 a').css('color','#000');
 });
 
 $('#anav_pic262').mouseover(function() {
   $('#a_262 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_262 a').css('color','#000');
 });
 
 $('#anav_pic256').mouseover(function() {
   $('#a_256 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_256 a').css('color','#000');
 });
 
 $('#anav_pic253').mouseover(function() {
   $('#a_253 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_253 a').css('color','#000');
 });
 
 $('#anav_pic250').mouseover(function() {
   $('#a_250 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_250 a').css('color','#000');
 });
 
 $('#anav_pic247').mouseover(function() {
   $('#a_247 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_247 a').css('color','#000');
 });
 
 $('#anav_pic98').mouseover(function() {
   $('#a_98 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_98 a').css('color','#000');
 });
 
 $('#anav_pic99').mouseover(function() {
   $('#a_99 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_99 a').css('color','#000');
 });
 
 $('#anav_pic100').mouseover(function() {
   $('#a_100 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_100 a').css('color','#000');
 });
 
 $('#anav_pic101').mouseover(function() {
   $('#a_101 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_101 a').css('color','#000');
 });
 
 $('#anav_pic102').mouseover(function() {
   $('#a_102 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_102 a').css('color','#000');
 });
 
 $('#anav_pic103').mouseover(function() {
   $('#a_103 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_103 a').css('color','#000');
 });
 
 $('#anav_pic104').mouseover(function() {
   $('#a_104 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_104 a').css('color','#000');
 });
 
 $('#anav_pic105').mouseover(function() {
   $('#a_105 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_105 a').css('color','#000');
 });
 
 $('#anav_pic106').mouseover(function() {
   $('#a_106 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_106 a').css('color','#000');
 });
 
 $('#anav_pic107').mouseover(function() {
   $('#a_107 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_107 a').css('color','#000');
 });
 
 $('#anav_pic108').mouseover(function() {
   $('#a_108 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_108 a').css('color','#000');
 });
 
 $('#anav_pic109').mouseover(function() {
   $('#a_109 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_109 a').css('color','#000');
 });
 
 $('#anav_pic110').mouseover(function() {
   $('#a_110 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_110 a').css('color','#000');
 });
 
 $('#anav_pic111').mouseover(function() {
   $('#a_111 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_111 a').css('color','#000');
 });
 
 $('#anav_pic112').mouseover(function() {
   $('#a_112 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_112 a').css('color','#000');
 });
 
 $('#anav_pic113').mouseover(function() {
   $('#a_113 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_113 a').css('color','#000');
 });
 
 $('#anav_pic114').mouseover(function() {
   $('#a_114 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_114 a').css('color','#000');
 });
 
 $('#anav_pic115').mouseover(function() {
   $('#a_115 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_115 a').css('color','#000');
 });
 
 $('#anav_pic116').mouseover(function() {
   $('#a_116 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_116 a').css('color','#000');
 });
 
 $('#anav_pic117').mouseover(function() {
   $('#a_117 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_117 a').css('color','#000');
 });
 
 $('#anav_pic197').mouseover(function() {
   $('#a_197 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_197 a').css('color','#000');
 });
 
 $('#anav_pic200').mouseover(function() {
   $('#a_200 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_200 a').css('color','#000');
 });
 
 $('#anav_pic212').mouseover(function() {
   $('#a_212 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_212 a').css('color','#000');
 });
 
 $('#anav_pic201').mouseover(function() {
   $('#a_201 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_201 a').css('color','#000');
 });
 
 $('#anav_pic198').mouseover(function() {
   $('#a_198 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_198 a').css('color','#000');
 });
 
 $('#anav_pic199').mouseover(function() {
   $('#a_199 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_199 a').css('color','#000');
 });
 
 $('#anav_pic274').mouseover(function() {
   $('#a_274 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_274 a').css('color','#000');
 });
 
 $('#anav_pic262').mouseover(function() {
   $('#a_262 a').css('color','#7BD3F7');
 }).mouseout(function() {
   $('#a_262 a').css('color','#000');
 });
 
 
 
 
 
 var kompPic = '<span id="komp_pic"><img src="fileadmin/template/layout/opp_kompetenzfoto.jpg" alt="" /></span>';
 $(kompPic).insertAfter('#komp5');
  
 var kompPic_en = '<span id="komp_pic_en"><img src="fileadmin/template/layout/opp_kompetenzfoto.jpg" alt="" /></span>';
 $(kompPic_en).insertAfter('#komp5_en');
 //$('#kompPic_en').first().remove();
 
 $('.news-single-author div').css({'padding':'0px'});
  
});
