//TODO: load prototype somehow:
function _z_load_library(lib)  {
	var url;
	if (document.location.protocol=='https:') {
		url = '/' + document.location.pathname.split('/')[1] + '/_js_loader';
	}
	else {
		url = '/_js_loader';
	}
  document.write('<script src="'+ url + '?lib='+escape(lib) + '" type="text/javascript"></script>');
}

if (typeof(Prototype) == 'undefined') {
   _z_load_library('prototype/prototype.js');
}

if (typeof(Scriptaculous) == 'undefined') {
   _z_load_library('scriptaculous/scriptaculous.js');
   
}
document.write("<script>document.observe('dom:loaded', function () {    $$('a[rel^=roebox]').each(function(el) { el.rel = 'lightbox';})  }); </script>");
document.write('<link rel="stylesheet" href="/~interch/lightbox2/css/lightbox.css" type="text/css" media="screen" />');
document.write('<script src="/~interch/lightbox2/js/lightbox.js" type="text/javascript"></script>');


