// ------------------ 
// Hide or show the editbar
// @Author Stephan Acquatella - Balistis
// @param myframe Frame name between ''
// @param how true or false
// ------------------ 
  function displayIFrame(myframe,how) {
    var eb = document.getElementById(myframe);
    if (how) {
      eb.style.display = "block";
      myframestatus=true;
      } else {
      eb.style.display = "none" ;
      myframestatus=false;
      }
  }
// ------------------ 
// Hide or show the editbar
// @Author Stephan Acquatella - Balistis
// @param myframe Frame name between ''
// ------------------ 
  function switchdisplayIFrame(myframe) {
    var  myframestatus=false;
    var eb = document.getElementById(myframe);
    if (eb.style.display=="block") {myframestatus=true;} else {myframestatus=false;}
    if (myframestatus) {
      eb.style.display = "none";
      myframestatus=false;
     }else{
      eb.style.display = "block" ;
      myframestatus=true;
      }
  }
// ------------------ 
// change Iframe source
// @Author Stephan Acquatella - Balistis
// @param myframe Frame name between ''
// @ src url
// --------------------
 function changeIframeSrc(myIframe, url) {
  var myel=document.getElementById(myIframe);
  myel.src=url;
 } 
