



// runs on pageload
var bExtraPreLoadCommands = false;
function RunOnLoad()
{
	FixExternalLinks();
	initLightbox();
	//preloadimages();

	// look for the bExtraOnLoadCommands flag and run extra functions if they are present
	if (bExtraPreLoadCommands)
	{
		ExtraOnLoadCommands();
	}
}


function bookmarkthis(title,url) {
  if (window.sidebar) { // firefox
     alert('Your web browser does not support adding a bookmark or favorite through script. Please use the menus at the top of your browser window to add a bookmark or favorite link. Thank you.');
  } else if (window.opera && window.print) { // opera
     alert('Your web browser does not support adding a bookmark or favorite through script. Please use the menus at the top of your browser window to add a bookmark or favorite link. Thank you.');
  } else if (document.all) { // IE
     window.external.AddFavorite(url, title);
  } else {
     alert('Your web browser does not support adding a bookmark or favorite through script. Please use the menus at the top of your browser window to add a bookmark or favorite link. Thank you.');
  }
}
