clone: function(source, target) { var options = Object.extend({ setLeft:    true, setTop:     true, setWidth:   true, setHeight:  true, offsetTop:  0, offsetLeft: 0 }, arguments[2] || {})   source = $(source); var p = Position.page(source);   target = $(target); var delta = [0, 0]; var parent = null;   if (Element.getStyle(target,'position') == 'absolute') { parent = Position.offsetParent(target); delta = Position.page(parent); }   if (parent == document.body) { delta[0] -= document.body.offsetLeft; delta[1] -= document.body.offsetTop; }   if(options.setLeft)   target.style.left  = (p[0] - delta[0] + options.offsetLeft) + 'px'; if(options.setTop)    target.style.top   = (p[1] - delta[1] + options.offsetTop) + 'px'; if(options.setWidth)  target.style.width = source.offsetWidth + 'px'; if(options.setHeight) target.style.height = source.offsetHeight + 'px'; }, 
clone: function(source, target, options) { options = options || { }; return Element.clonePosition(target, source, options); } 
  clone: function(source, target) {    var options = Object.extend({      setLeft:    true,      setTop:     true,      setWidth:   true,      setHeight:  true,      offsetTop:  0,      offsetLeft: 0    }, arguments[2] || {})    // find page position of source    source = $(source);    var p = Position.page(source);    // find coordinate system to use    target = $(target);    var delta = [0, 0];    var parent = null;    // delta [0,0] will do fine with position: fixed elements,    // position:absolute needs offsetParent deltas    if (Element.getStyle(target,'position') == 'absolute') {      parent = Position.offsetParent(target);      delta = Position.page(parent);    }    // correct by body offsets (fixes Safari)    if (parent == document.body) {      delta[0] -= document.body.offsetLeft;      delta[1] -= document.body.offsetTop;    }    // set position    if(options.setLeft)   target.style.left  = (p[0] - delta[0] + options.offsetLeft) + 'px';    if(options.setTop)    target.style.top   = (p[1] - delta[1] + options.offsetTop) + 'px';    if(options.setWidth)  target.style.width = source.offsetWidth + 'px';    if(options.setHeight) target.style.height = source.offsetHeight + 'px';  },
6462	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6462/0097375444aef03d8cdcdbe6705c1ea088b9b188/prototype.js/buggy/wp-includes/js/prototype.js