// Function to apply "hover" class to Quick Links menu on hover. So popup works in IE6.

//// Use this one if jQuery is being loaded anyway...
/* $(document).ready(function() {
  // Dynamically add sfhover class to make suckerfish menus work
  $('li#reedNav_quickLinks').hover(function() { $(this).addClass('hover') },
                        function() { $(this).removeClass('hover') });
})*/
//// Non-jQuery version...
quicklinksHover = function() {
	var quicklinksEl = document.getElementById("reedNav_quickLinks")
	quicklinksEl.onmouseover=function() {
		this.className+=" hover";
	}
	quicklinksEl.onmouseout=function() {
		this.className=this.className.replace(new RegExp(" hover\\b"), "");
	}
}
if (window.attachEvent) window.attachEvent("onload", quicklinksHover);
// End hover function.

//Random feature
function makeArray(len) {
for (var i = 0; i < len; i++) this[i] = null;
this.length = len;
	}
featureRandom = new makeArray(4);
featureRandom[0] = "<p><a href='http://web.reed.edu/reed_magazine/september2010/features/ten_from_10/index.html'><img src='assets_home/images/magazine/homeMag_sept10_1.jpg' alt='Reed Magazine cover' width='144' height='148' border='0'></a></p><p class='featureText'>TEN FROM &rsquo;10: What is a Reedie, anyway? Find out in <a href='http://www.reed.edu/reed_magazine/september2010/index.html'><em>Reed</em></a> magazine</p>"

featureRandom[1] = "<p><a href='http://web.reed.edu/reed_magazine/september2010/features/perils_of_praise/index.html'><img src='assets_home/images/magazine/homeMag_sept10_2.jpg' alt='Jennifer Henderlong' width='144' height='148' border='0'></a></p><p class='featureText'>Can praise be a problem? Find out in <a href='http://www.reed.edu/reed_magazine/september2010/index.html'><em>Reed</em></a> magazine</p>"

featureRandom[2] = "<p><a href='http://web.reed.edu/reed_magazine/september2010/features/star_struck/index.html'><img src='assets_home/images/magazine/homeMag_sept10_3.jpg' alt='Morgan Spector' width='144' height='148' border='0'></a></p><p class='featureText'>A random accident made Morgan Spector &rsquo;02 a Broadway star. Read more <a href='http://www.reed.edu/reed_magazine/september2010/index.html'><em>Reed</em></a> magazine</p>"

featureRandom[3] = "<p><a href='http://web.reed.edu/reed_magazine/september2010/features/valley_of_the_moon/index.html'><img src='assets_home/images/magazine/homeMag_sept10_4.jpg' alt='Madeleine Martindale' width='144' height='148' border='0'></a></p><p class='featureText'>The patient arrived in critical condition. Could Madeleine Martindale &rsquo;84 save his life? Read more in <a href='http://www.reed.edu/reed_magazine/september2010/index.html'><em>Reed</em></a> magazine</p>"

function rand(n) {
seed = (0x015a4e35 * seed) % 0x7fffffff;
return (seed >> 16) % n;
	}
        
var now = new Date()
var seed = now.getTime() % 0xffffffff
//End random feature