// startup

  window.addEvent('domready', function(){
  var list = $$('.internal-link-new-window');
  
  list.each(  function(element) {
    var url = element.getProperty('href');       
    var newurl = "moobox('"+url+"');return false;";
    
    //element.setProperty('onclick',newurl);
	element.addEvent("click", function(e){
                        new Event(e).stop();
                        moobox(url);
                });
  });

});


function moobox (url) {
  MOOdalBox.open( // case matters
  url, // the link URL
  "", // the caption (link's title) - can be blank
  "529 " // width and height of the box - can be left blank
  );
}

