
var STRAND = new Object();

STRAND.init = function() { window.addEvent('domready',function() {  if (!$('strand')) return;  STRAND.build();  $$('#strand a').each(function(el) {   el.addEvent('mouseover', STRAND.get);  }); });}

STRAND.build = function() { // create result div this.container    = new Element('div'); this.container.id = 'blockSessions'; this.container.inject($('blockBlurb'), 'after');
 
}

STRAND.get = function(ev) { var ev = new Event(ev);
 if (ev.shift || ev.control || ev.alt || ev.meta) return;
  STRAND.load(ev.target.href); ev.preventDefault();
}

STRAND.load = function(url) {

   var url = url.replace('strand','ajax_strand');
  var req = new Request.HTML({               method: 'get',               url: url,  
             update: $('blockSessions'),             onComplete: function(response) {}           }).send(); 
  	
}

STRAND.init();
