function trailer(x) {
 
  var content;
  if(x == '1pl'){
  content='<h2>stomatologia zachowawcza</h2><p>Proces chorobowy jakim jest próchnica wywołują bakterie  będące nieustannie  w  jamie ustnej. Powodują  one...</p>';
  x_position= 0;
  }
  if(x == '2pl'){
  content='<h2>protetyka</h2><P>Protetyka jest dziedziną stomatologii dzięki której nie tylko przywracamy nowy blask zębom ale także możemy  uzupełlniać braki w uzębieniu.</p> ';
   x_position= 72;
  }
  if(x == '3pl'){
  content='<h2>periadontologia</h2>';
  x_position= 144;
  }
  if(x == '4pl'){
  content='<h2>kosmetyka zębowa</h2>';
  x_position= 216;
  }
  if(x == '5pl'){
  content='<h2>leczenie kanalowe</h2>';
  x_position= 288;
  }
  if(x == '6pl'){
  content='<h2>implantologia</h2>';
  x_position= 360;
  }
  if(x == '7pl'){
  content='<h2>ortodoncja</h2>';
  x_position= 360;
  }
  
  if(x == '1en'){
  content='<h2>conservative dentistry</h2>';
  x_position= 0;
  }
  if(x == '2en'){
  content='<h2>prostheics</h2>';
   x_position= 72;
  }
  if(x == '3en'){
  content='<h2>periadontics</h2>';
  x_position= 144;
  }
  if(x == '4en'){
  content='<h2>dental cosmetics</h2>';
  x_position= 216;
  }
  if(x == '5en'){
  content='<h2>canal root treatment</h2>';
  x_position= 288;
  }
  if(x == '6en'){
  content='<h2>implants</h2>';
  x_position= 360;
  }
  if(x == '7en'){
  content='<h2>orthodoncy</h2>';
  x_position= 360;
  }
  //document.getElementById('area2_1').innerHTML='';

  var trailer = document.createElement("div");
  trailer.setAttribute('id','trailer');
	
  trailer.style.top='205px';
  document.getElementById('area2_1').appendChild(trailer);
	trailer.style.left='0px';
	trailer.innerHTML=content;
  

}
function removeTrailer() {
 
  var oldTrailer=document.getElementById('trailer');
  
  document.getElementById('area2_1').removeChild(oldTrailer);

}

