//nrdc_common.js
//standard reusable scripts specific to nrdc's sites
//we will generally include this on all wrappers.
//
//changelog: 
//20090724 wgt created file added video_window function

function video_window(url, height, width) {
	var thisheight=height||425;
	var thiswidth=width||450;
	strParams = "toolbar=0,location=0,directories=0,status=0,menubar=0,";
	strParams += 	"scrollbars=0,resizable=1,width="+thiswidth+",height="+thisheight+",left=100,top=180";
	window.open(url,"Link",strParams);
}

function nrdc_show_on_load() {
  if (jQuery) {
    jQuery(".nrdc_show_on_load").css("display", "block");
  }
}

try {//Prototype might not be loaded which causes and error in IE
  if (Event && Event.observe) {
    Event.observe(window, 'load', nrdc_show_on_load, false);
  }
}catch(err){}