document.write(
	  '<div id="mainbox" style="width:718px; margin-top:25px; margin-left: auto; margin-right: auto;">'
	+ '<div id="header" style="width:718px; height:59px; background-image:url(http://www.cortland.edu/webct/classroom/images/headers/head_' + dept + '.gif);"></div>'
    + '<div id="content" style="width:718px; background:url(http://www.cortland.edu/webct/classroom/images/bg_fade.gif) repeat-x; height:300px; padding-top:35px; margin-bottom:0px;">'
	+ '<div class="spacer" style="width:35px; height:300px; float:left;"></div>'
	+ '<div id="photo" style="width:356px; background:url(http://www.cortland.edu/webct/classroom/images/photos/' + photosrc + '.jpg) no-repeat; height:300px; float:left;"></div>'
	+ '<div class="spacer" style="width:25px; height:300px; float:left;"></div>'
	+ '<div id="courseinfo" style="width:265px; float:left; padding-top:20px; text-align:left;">'
	+ '<h2 style="color:#CC0000; font-family:Geneva, Arial, Helvetica, sans-serif; font-size:1.6em; margin:0;">' + coursenum + '</h2><p style="margin-top:0px; font-family:Geneva, Arial, Helvetica, sans-serif; font-size:.95em; color:#333333; font-weight:bold;"><em>' + instructor + '</em></p><p style="font-family:Geneva, Arial, Helvetica, sans-serif; font-size:.9em; color:#222222;">' + coursedesc + '</p>'
	+ '</div></div></div>'
	
);