function showWhich(inWhich){
	var which="D" + inWhich;
	document.getElementById("Welcome").style.visibility="hidden";

	for(var i=1; i<13; ++i)
		if(inWhich != i)
			document.getElementById("D"+i).style.visibility="hidden";
	
	LeftPos=document.getElementById("mainContainer").offsetLeft + 230;
	document.getElementById(which).style.left=LeftPos+"px";
	
	document.getElementById(which).style.visibility="visible";
}
function hideDesc(){
	for(var i=1; i<13; ++i){
		document.getElementById("D"+i).style.visibility="hidden";
	}
	document.getElementById("Welcome").style.visibility="visible";
}
function makeDesc(){

	/* ****************** WELCOME ****************** */
			output="<div id=\"Welcome\" class=\"desc\">";
			output += "<h2 align=\"center\">Welcome to Student Affairs <br /> and Enrollment Management!</h2>";
			output += "Now that you attend Sonoma State University, how do you make sure that you take full advantage of your university experience?";

			output += "<p><span class=\"blueFont\">Answer: Get involved!</span> At Sonoma, we are committed to enhancing the quality of life for all students.</p>";

			output += "<p>We encourage you to become familiar with the wide range of student services and co-curricular programs and activities that support our goals of student satisfaction, retention and graduation.</p>";
			output += "</div>";
			
			
		/* ****************** TEMP D2 ****************** */
	
			output += "<div id=\"D2\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Temp</h2>";
			output += "Temp";
			output += "</div>";
			
	/* ******************* Center for Culture, Gender &amp; Sexuality ***************** */
			
	/* ****************** ACE ****************** */
	
			output += "<div id=\"D1\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>A.C.E.</h2>";
			output += "Located in Salazar 1060, the ACE service center provides academic advising for undeclared and EOP students.";
			output += "<p>We also provide career advising, resources and student employment, internships, and community involvement programs.</p>";
			output += "<p> Testing services is also located in ACE.</p>";
			output += "</div>";
			
	/* ******************* Center for Culture, Gender &amp; Sexuality ***************** */
	
			output += "<div id=\"D3\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Campus Life and Activities</h2>";
			output += "Your Hub of Student Activity at SSU";
			output += "<ul>";
			output += "<li>Associated Students, Inc.: <em>Associated Students Productions, JUMP, Accounting Services, Student Government</em></li>";
			output += "<li>Center for Student Leadership, Involvement and Service: <em>Clubs, Organizations, Greek Life, Leadership Programs and more!</em></li>";
			output += "<li>Campus Recreation: <em>Rec Center, Dance, Sports</em></li>";
			output += "<li>Center for Culture, Gender &amp; Sexuality: <em>Women's, LGBT, and Cultural Organizations</em></li>";
			output += "</ul>";
			output += "</div>";
			
	/* ******************** Children's School **************** */
	
			output += "<div id=\"D4\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Children's School &amp; Child Care Center</h2>";
			output += "The Children's School provides care, nurturing and education to children (ages one to five) of faculty, staff and attending SSU students.";
			output += "</div>";
	
	/* ******************** CAPS **************** */
	
			output += "<div id=\"D5\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Counseling &amp; Psychological Services</h2>";
			output += "CAPS offers confidential counseling to students experiencing personal problems that interfere with their academic progress, career or well being.";
			output += "<p>Brief therapy is offered through individual, couple, family or  group modalities.</p>";
			output += "</div>";
	
	/* ******************** DSS **************** */
	
			output += "<div id=\"D6\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Disability Services for Students</h2>";
			output += "Disability Services for Students assures people with disabilities equitable opportunities for higher education."; 

			output += "<p>DSS helps you solve problems, implement action plans, work with other departments, and insures that you receive the access you need.</p>";
			output += "</div>";
	
	/* ******************** ES **************** */
	
			output += "<div id=\"D7\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Enrollment Services</h2>";
			output += "The Office of Admissions and the Records &amp; Registration Departments are located upstairs in Salazar Hall, 2030.";

			output += "<p>The Scholarship Program and Student Outreach are downstairs in Salazar 1010.</p>";
			output += "</div>";
			
	/* ******************** Health **************** */
	
			output += "<div id=\"D8\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Health &amp; Wellness</h2>";
			output += "SAEM is committed to student health and wellness. <em>We offer:</em>";
			output += "<ul>";
			output += "<li>Advising and Psychological Services</li>";
			output += "<li>Alcohol, &amp; Drug Advisory Council</li>";
			output += "<li>Alcohol &amp; Drug Education Program</li>";
			output += "<li>Children's School</li>";
			output += "<li>Committee on Wellness and Health Promotion</li>";
			output += "<li>Disabled Student Services</li>";
			output += "<li>Save a Seawolf</li>";
			output += "<li>Student Health Center</li>";
			output += "</ul>";
			output += "</div>";
	
	/* ******************** International Studies **************** */
			output += "<div id=\"D9\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>International Services</h2>";
			output += "Located in Salazar Hall 1071,"; 
			output += "<br />International Services assists in";
			output += "<ul>";
			output += "<li> Foreign Student advising </li>";
			output += "<li>the Study Abroad program </li>";
			output += "<li>National Student Exchange (NSE) </li>";
			output += "<li>Exhange Visitor program</li>";
			output += "<li>International Student identity cards.</li>";
			output += "</ul>";
			output += "</div>";
	
	/* ******************** Reslife **************** */
			output += "<div id=\"D10\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Reslife</h2>";
			output += "Res Life works closely with Housing and other university departments and programs such as Alcohol &amp; Drug Education Program (ADEP) to provide residents with an oustanding recreational, social, and fulfilling college campus experience.";
			output += "</div>";
			
	/* ******************** SHC **************** */
			output += "<div id=\"D11\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Student Health Center</h2>";
			output += "Fully accredited and staffed by physicians, nurses and nurse practitioners, the Health Center offers a wide range of primary care outpatient medical services, and in-house pharmacy, health education and special programs.";
			output += "</div>";
	
	/* ******************** Support ************* */
			output += "<div id=\"D12\" class=\"desc\" style=\"visibility:hidden\">";
			output += "<h2>Support &amp; Preparation Services</h2>";
			output += "The University Support &amp; Preparation Services (PreCollege, Learning Skills, and Tutorial Center) supply tools and resources for a successful college career.";
			output += "</div>";
			
		document.write(output);
		setPos();
}
function setPos(){
	var imgPos=document.getElementById("leftNav").style.top + 360;
	document.getElementById("Welcome").style.top=imgPos + "px";
	
	var imgLeft=document.getElementById("mainContainer").offsetLeft + 230;
	document.getElementById("Welcome").style.left=imgLeft+"px";
		
	for(var i=1; i<13; ++i){
		document.getElementById("D"+i).style.top=imgPos + "px";
	}
}
function fixDescPos(){	
	LeftPos=document.getElementById("mainContainer").offsetLeft + 230;
	document.getElementById("Welcome").style.left=LeftPos + "px";
}

