/* 
safespace interface Javascript 
Copyright 2008, Fund for the City of New York
All rights reserved.

This source file is distributable subject to the terms of the
FCNY Open Source License. 
*/

function swapActive( ele ) {
  var aurl = ele.getAttribute('activeurl');
  ele.originalurl = ele.src;
  if( aurl != null ) {
    ele.src = aurl;
  }
}
function swapOriginal( ele ) {
  var ourl = ele.originalurl;
  if( ourl != null ) {
    ele.src = ourl;
  }
}