if (document.domain.match(/ezproxy\.lib\.vt\.edu$/)) {
	document.write ('<div id="ocsi">');
	document.write ('<img src="/local_assets/www.lib.vt.edu/images/L_youAreSignedIn.gif" width="150" height="77" alt="you are signed in" />');
	document.write ('</div>');
} else {
	document.write('<div id="ocsi">');
	document.write('<a href="javascript:void(location.href=\'https://login.ezproxy.lib.vt.edu:2443/login?qurl=\'+location.href\');">');
	document.write('<img src="/local_assets/www.lib.vt.edu/images/L_offCampusSignIn.gif" width="150" height="77" alt="use this button to access the library\'s restricted resources from off campus" />');
	document.write('</a>');
	document.write('</div>');
}


