
if (location.search == "?view=print") {
	var CSSlink = document.getElementById("ScreenCSS");
	CSSlink.setAttribute("href", "http://news.stanford.edu/css/sroprint.css");
	setTimeout('window.print();',1000);
	}

function openWindow(url, windowname, width, height, toolbar){
    var sizestring = 'width=' + width + ',height=' + height;
    SmallWin = window.open(url,windowname,'scrollbars,resizable,' + sizestring +',toolbar='+toolbar+',location=0,status=0,directories=0,menubar='+toolbar);
    SmallWin.focus();
}

/* Ceebox */
$(document).ready(function() { 
    $(".lightbox").ceebox({});
});
