function showFlyer(target) {
  try {
    var oFrame = document.getElementById("fly-pic");
    if (oFrame != null) {
      oFrame.setAttribute("src","flyers/stompin-flyer-"+target+".jpg");
    }
  } catch(e) {
    window.alert(e.description);
  }
}

var g_visibleDiv = document.getElementById("flyer");

function showContent(target,extra) {
  try {
    var oDiv = document.getElementById(target);
    if (oDiv != null) {
      if (g_visibleDiv != null) {
        g_visibleDiv.style.display = "none";
      }
      g_visibleDiv = oDiv;
      oDiv.style.display = "block";
    }
  } catch(e) {
    window.alert(e.description);
  }
}


function showFrame(target) {
  try {
    var oFrame = document.getElementById("fly-frame");
    if (oFrame != null) {
      oFrame.setAttribute("src",target);
    }
  } catch(e) {
    window.alert(e.description);
  }
}

function showMovie(url) {
  try {
    function playMovie(url) {
      var so = new SWFObject(url,'moviePlayer','425','355','8');
      so.addParam('allowscriptaccess','always');
      so.addParam('allowfullscreen','true');
      so.addParam('allowNetworking','all');
      so.addVariable('width','425');
      so.addVariable('height','355');
      so.addVariable('file',url);
      so.addVariable('javascriptid','moviePlayer');
      so.addVariable('enablejs','true');
      so.write('container_filmpjes');
    }
  } catch(e) {
    window.alert(e.description);
  }
}
