dojo.require("dojo.fx");

function showMyContent(id) {
  dojo.query(".stretcher").forEach(function (element) { 
		if (element.id != id ) {
      if (dojo.style(element, 'display') != 'none') {
        dojo.fx.wipeOut({node: element}).play();
      }
		} else {
      dojo.fx.wipeIn({node: element}).play();
		}
	});
	return false;
}

function init() {
	var stretchers = dojo.query('.stretcher');
	stretchers.style('display', "none");
  dojo.style(stretchers[0], 'display', "block")
}
