function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		top_section_03_over = newImage("images/top_section_03-over.jpg");
		top_section_05_top_section_03_over = newImage("images/top_section_05-top_section_.jpg");
		top_section_07_top_section_03_over = newImage("images/top_section_07-top_section_.jpg");
		top_section_09_top_section_03_over = newImage("images/top_section_09-top_section_.jpg");
		
		bottom_section_14_over = newImage("images/bottom_section_14-over.jpg");
		bottom_section_16_bottom_section_14_over = newImage("images/bottom_section_16-bottom_se.jpg");
		bottom_section_18_bottom_section_14_over = newImage("images/bottom_section_18-bottom_se.jpg");
		bottom_section_20_over = newImage("images/bottom_section_20-over.jpg");
		
		preloadFlag = true;
	}
}

function setBaseDivs() {
	if ( (screen.width < 850) && (screen.height < 650) )  {
		document.writeln('<STYLE TYPE="text/css">');
		document.writeln('<\!--');
		document.writeln('#centerDiv {position:absolute; left:0px; top:5px; width:760px; height: 520px; z-index:-50');
		//height:472;  took this out of centerdiv def
		document.writeln('-->');
		document.writeln('</STYLE>');
	} else {
		var ie = (document.all) ? 1:0;
		if (ie) {
			windowWidth = document.body.offsetWidth-20;
			windowHeight = document.body.offsetHeight;
		} else {
			windowWidth = window.innerWidth-16;
			windowHeight = window.innerHeight;
		}
		document.writeln('<STYLE TYPE="text/css">');
		document.writeln('<\!--');
		
		document.writeln('@media screen {');
		document.writeln('#centerDiv { position:absolute; left: '+(windowWidth/2-706/2)+'px; top: 50px; width: 760px; height: 420px; } ');
//		document.writeln('#centerDiv { position:absolute; left: 100px; top: 100px; width: 760px; height: 472px; } ');
		document.writeln('}');
		
		document.writeln('@media print {');
		//document.writeln('@media screen {');
		document.writeln('#centerDiv { position:absolute; left: 0px; top: 0px; width: 100%;} ');
		document.writeln('.mainWideText { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #1F1F1F; left: 0px; top: 10px; width: 700px; height: 100%; position: relative; }');
		document.writeln('}');
	
// backup	document.writeln('#centerDiv { position:absolute; left: '+(windowWidth/2-706/2)+'px; top: '+(windowHeight/2-530/2)+'px; width: 760px; height: 472px; z-index: -50; } ');
		//document.writeln('#centerDiv {position:absolute; left:'+(windowWidth/2-706/2)+'; top:'+(windowHeight/2-530/2)+'; width:760; height:472; z-index:-50');
		document.writeln('-->');
		document.writeln('</STYLE>');
	}
}

var b1 = "rar";
var b2 = "rci.rutgers.";

function el()
{
   document.write("<a href='mailto:");
   document.write(b1 + "@");
   document.write(b2 + "edu");
   document.write("'>");
   document.write(b1 + "@");
   document.write(b2 + "edu");
   document.write("</a>");
}