with(_430.style){ position="absolute"; display="none"; } dojo.body().appendChild(_430); with(_42a.style){ visibility="hidden"; display="block"; } var _431=h.toCoordinateObject(_42a,true); with(_42a.style){ display="none"; visibility="visible"; } var _432={opacity:{start:0.5,end:1}}; dojo.lang.forEach(["height","width","top","left"],function(type){ _432[type]={start:_42f[type],end:_431[type]}; }); var anim=new dojo.lfx.propertyAnimation(_430,_432,_42b,_42c,{"beforeBegin":function(){ h.setDisplay(_430,"block"); },"onEnd":function(){ h.setDisplay(_42a,"block"); _430.parentNode.removeChild(_430); }}); if(_42d){ anim.connect("onEnd",function(){ _42d(_42a,anim); }); } return anim; }; 
dojo.lfx.html.explode = function(/*DOMNode*/ start,                 /*DOMNode*/ endNode,                 /*int?*/ duration,                 /*Function?*/ easing,                 /*Function?*/ callback){  // summary: Returns an animation that will   // start:  // endNode:  // duration: Duration of the animation in milliseconds.  // easing: An easing function.  // callback: Function to run at the end of the animation.  var h = dojo.html;  start = dojo.byId(start);  endNode = dojo.byId(endNode);  var startCoords = h.toCoordinateObject(start, true);  var outline = document.createElement("div");  h.copyStyle(outline, endNode);  if (endNode.explodeClassName) { outline.className = endNode.explodeClassName; }  with(outline.style){    position = "absolute";    display = "none";    // border = "1px solid black";  }  dojo.body().appendChild(outline);  with(endNode.style){    visibility = "hidden";    display = "block";  }  var endCoords = h.toCoordinateObject(endNode, true);  with(endNode.style){    display = "none";    visibility = "visible";  }  var props = { opacity: { start: 0.5, end: 1.0 } };  dojo.lang.forEach(["height", "width", "top", "left"], function(type){    props[type] = { start: startCoords[type], end: endCoords[type] }  });    var anim = new dojo.lfx.propertyAnimation(outline,     props,    duration,    easing,    {      "beforeBegin": function(){        h.setDisplay(outline, "block");      },      "onEnd": function(){        h.setDisplay(endNode, "block");        outline.parentNode.removeChild(outline);      }    }  );  if(callback){    anim.connect("onEnd", function(){ callback(endNode, anim); });  }  return anim; // dojo.lfx.Animation}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js