//# This code is released under the MIT License
//# (c) 2006 e-TF1, (c) 2006 Rémi Lanvin, (c) 2006 Yannick Croissant
//# Based on the MooTools framework (c) 2006 Valerio Proietti, <http://mad4milk.net>, MIT-style license
var Interstitiel=Overlay.extend({
initialize:function(els,options){
this.options=Object.extend(this.getOptions(),options ||{});
this.setOverlay();
this.elements=$$(els);
$A(this.elements).each(function(link){
var el=$((link.href || '').split('#').last());
if(el)
link.addEvent('click',function(e){
this.show(el);
new Event(e).stop();
}.bind(this));
}.bind(this));
}
});