var theHints = [];
window.onload = initHints;

function initHints() {
	theHints[0] = {
		'hintTitle':'Bachelor of Science in Business Administration',
		'hintText':"In a business climate that's growing increasingly more competitive, complex and unpredictable, the only constant is change. Organizations are looking for people who know how to take action, solve problems, and provide leadership. Academic programs in Argosy University's College of Business provide students with the skills to answer those needs, and to build careers with potential."
	};
	theHints[1] = {
		'hintTitle':'Bachelor of Arts in Psychology',
		'hintText':"The goal of the BA in Psychology program is for you to build a broad understanding of social sciences theory and the application of these theories in real-world work environments. Our faculty teaches you the skills and competencies required to launch your career."
	};
	theHints[2] = {
		'hintTitle':'Master of Arts in Education in Higher and Postsecondary Education',
		'hintText':"Argosy University developed its Master of Arts in Education (MAEd) in Higher and Postsecondary Education Program to transition students from the role of a classroom leader to that of an administrative leader in complex educational institutions."
	};
	theHints[3] = {
		'hintTitle':'Master of Arts in Education in Instructional Leadership',
		'hintText':"Argosy University developed the Master of Arts in Education (MAEd) in Instructional Leadership program for educators that want to develop or enhance their classroom skills, become curriculum supervisors, or become educational leaders with instruction as their main focus. The program is designed for working professionals who want to achieve balance among their career, family, and education."
	};
	theHints[4] = {
		'hintTitle':'Master of Science in Management',
		'hintText':"Argosy University turned to its long history in the fields of psychology and understanding of human behavior to construct a MS in Management program that focuses on the broader aspects of organizational dynamics such as strategy, systems, structure, and best practices."
	};
	theHints[5] = {
		'hintTitle':'Master of Business Administration (MBA)',
		'hintText':"Organizations need leaders who maximize the impact of solutions. Argosy University understands that need, so they developed a MBA (MBA) program that emphasizes leadership, action, and solutions. Our program enhances your professional abilities and gives you the skills sought by contemporary businesses."
	};
	theHints[6] = {
		'hintTitle':'Doctor of Business Administration (DBA)',
		'hintText':"The DBA program features a curriculum that focuses on practical business concepts and active research rather than a purely theoretical approach to research. The DBA is often referred to as a professional research doctorate."
	};
	theHints[7] = {
		'hintTitle':'Doctor of Education in Counseling Psychology',
		'hintText':"The Doctor of Education in Counseling Psychology helps enhance the professional expertise of those pursuing leadership, supervisory, training, and teaching positions in the counseling profession. You will focus your scholarly work on the application of research techniques to the counseling practice."
	};
	theHints[8] = {
		'hintTitle':'Doctor of Education in Educational Leadership',
		'hintText':"Argosy University designed its EdD in Educational Leadership to meet the demanding requirements of educational professionals looking to become leaders of educational institutions, while obtaining balance between their career, family and education."
	};
	theHints[9] = {
		'hintTitle':'Doctor of Education in Instructional Leadership',
		'hintText':"Argosy University developed the EdD in Instructional Leadership program to address the growing need for highly-trained curriculum supervisors. This program is ideal for students that want to be better instructional coordinators and stronger educational leaders with curriculum as their main focus."
	};
	theHints[10] = {
		'hintTitle':'Doctor of Education in Organizational Leadership',
		'hintText':"The success of an organization depends upon good leadership; but today, most organizations are desperate for highly trained, skilled leaders. The EdD in Organizational Leadership at Argosy University serves to fill the gap by preparing students to become visionaries capable of driving organizations during times of dynamic change."
	};
	theHints[11] = {
		'hintTitle':'Doctor of Education in Community College Executive Leadership',
		'hintText':"The Doctor of Education (EdD) in Community College Executive Leadership program is a program that appeals to community college administrators who are looking to move into senior administrative positions (such as president, vice-president, dean, and director) in community colleges."
	};
	theHints[12] = {
		'hintTitle':'Pell Grants',
		'hintText':"Considered a basis of federal student aid, the Pell Grant – unlike a loan – does not have to be repaid. Pell Grants are usually awarded to undergraduate students. The maximum award for the 2008-2009 school term is $4,731."
	};
	theHints[13] = {
		'hintTitle':'Stafford Loans',
		'hintText':"The William D. Ford Federal Direct Loan (Direct Loan) and the Federal Family Education Loan (FFEL), both of which are commonly know as Stafford Loans.  These are awarded based on your financial need and may be subsidized or unsubsidized."
	};
	theHints[14] = {
		'hintTitle':'PLUS Loans',
		'hintText':"The PLUS Loan is the same as the Stafford Loan, but is a loan that parents apply for on behalf of their child, the student.  Parents are usually required to pass a credit check before they can obtain a PLUS loan."
	};
	theHints[15] = {
		'hintTitle':'Veterans Administration Benefits',
		'hintText':"The Veterans Benefits Administration (VBA) provides a number of educational benefits.  These include the Montgomery GI Bill, Dependents' Educational Assistance, and more.  Information on these benefits can be obtained by visiting the VBA website, www.vba.va.gov/."
	};
	theHints[16] = {
		'hintTitle':'Job Training Partnership Act (JTPA)',
		'hintText':"Designed to advance the employment status of needy young adults those experiencing employment difficulties in general, the Job Training and Partnership Act includes education, on-the-job training, career services and more."
	};
	theHints[17] = {
		'hintTitle':'Division of Rehabilitation Services (DRS)',
		'hintText':"Often run by the state in which one resides, The Division of Rehabilitation Services assists people with major disabilities so they can increase their career potential, become independent, and be an active part of world around them."
	};
	theHints[18] = {
		'hintTitle':'Master of Arts in Forensic Psychology',
		'hintText':"The MA in Forensic Psychology is designed to educate and train individuals who are currently functioning, or wish to be trained to function, in fields that utilize the study and practice of forensic psychology. The curriculum provides for an understanding of theory, training, and practice of forensic psychology."
	};
	theHints[19] = {
		'hintTitle':'Master of Science in Health Services Management',
		'hintText':"The Master of Science in Health Services Management (HSM) program provides a comprehensive course of graduate study to prepare health service providers and managers for the challenges of modern healthcare. The program recognizes the value of applied research in solving the problems of today’s health systems, and encourages the acquisition of sustainable research methods and skills."
	};
	theHints[20] = {
		'hintTitle':'Master of Arts in Sports-Exercise Psychology',
		'hintText':"The Master of Arts (MA) in Sport-Exercise Psychology program is designed to educate and train students to function as capable and ethical performance enhancement specialists. This two-year degree is intended to meet the needs of students seeking employment in a variety of settings, including private practice, athletic departments, coaching, exercise/health, and education, as well as those who will ultimately pursue a doctorate degree."
	};
	theHints[21] = {
		'hintTitle':'Master of Arts in Industrial Organizational Psychology',
		'hintText':"The Master of Arts (MA) in Industrial Organizational Psychology is designed to apply the knowledge of industrial organizational psychology to issues involving individuals and groups in organizational and work settings. This program prepares students for careers in areas such as compensation, training, data analysis, consultation, statistical decision making, organizational development, leadership, and human resource management positions."
	};
	theHints[22] = {
		'hintTitle':'Master of Arts in Adult Education and Training',
		'hintText':"The Master of Arts in Education (MAEd) in Adult Education and Training program is designed for the working professional associated with adult learning, training, or staff development in business, government, and or other private or public organizations. The goal of the program is to enhance the knowledge and skills in the area of adult learning for employment and other organizational settings."
	};
	theHints[23] = {
		'hintTitle':'Bachelor of Arts in Liberal Arts',
		'hintText':"The BA in Liberal Arts gives students the opportunity to integrate real-world experience with the critical acquisition of a variety of knowledge and skills that not only encourages sensitivity to the diversity of cultures, but also creates a desire to achieve personal and professional excellence. "
	};
	theHints[24] = {
		'hintTitle':'Doctor of Education in Pastoral Community Counseling',
		'hintText':"Religious and spiritual leaders often play a significant role in the success - or struggle - of the communities they serve. This EdD program is designed to prepare pastoral counselors to address individual and communal development in an ethically responsible fashion. "
	};
	buildHintBlock();
}

function buildHintBlock() {
	var objBody = document.getElementsByTagName("body").item(0);
	
	var objHint = document.createElement("div");
	objHint.setAttribute('id','hintBlock');
	objHint.className = 'txtHint';
	objBody.appendChild(objHint);

	var objCloseBtnHolder = document.createElement("span");
	objCloseBtnHolder.className = 'closebutton';
	objHint.appendChild(objCloseBtnHolder);

	var objCloseBtnAnchor = document.createElement("a");
	objCloseBtnAnchor.setAttribute('href','javascript: void(0)');
	objCloseBtnAnchor.onclick = hideHint;
	objCloseBtnHolder.appendChild(objCloseBtnAnchor);
	
	var objHintContentHolder = document.createElement("div");
	objHintContentHolder.className = 'txtForHint';
	objHint.appendChild(objHintContentHolder);

	var objHintHeader = document.createElement("span");
	objHintHeader.setAttribute('id','txthintheader');
	objHintContentHolder.appendChild(objHintHeader);

	var objHintContent = document.createElement("span");
	objHintContent.setAttribute('id','txthintcontent');
	objHintContentHolder.appendChild(objHintContent);
}

function hideHint() {
	var theHint = getElement("hintBlock");
	theHint.style.display = "none";
}

//gets the position of the mouse when the user moves it
var myX = 0;
var myY = 0;
document.onmousemove = garyGetMouse;
function garyGetMouse(e){
	document.body.style.cursor = 'default';
	var posx = 0;
	var posy = 0;
		if (!e) var e = window.event;
			if (e.pageX || e.pageY){
				posx = e.pageX;
				posy = e.pageY;
				}
			else if (e.clientX || e.clientY){
				posx = e.clientX + document.body.scrollLeft + document.documentElement.scrollLeft;
				posy = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;
			}
			myX = posx;
			myY = posy;
}

function showHint(hintID) {
	var theHint = getElement("hintBlock");
	var theHintHeader = getElement("txthintheader");
	var theHintContent = getElement("txthintcontent");
	
	if (parseInt(navigator.appVersion)>3) {
		if (navigator.appName=="Netscape") {
			winW = window.innerWidth;
			winH = window.innerHeight;
		}
		if (navigator.appName.indexOf("Microsoft")!=-1) {
			winW = document.body.offsetWidth;
			winH = document.body.offsetHeight;
		}
	}
	if(myX > (winW/2)) {
		theHint.style.left = (myX -240 ) + "px";
	} else {
		theHint.style.left = (myX+20) + "px";
	}
	if(myY > (winH/2)) {
		theHint.style.top = (myY -200 ) + "px";
	} else {
		theHint.style.top = myY + "px";
	}

	theHintHeader.innerHTML = theHints[hintID].hintTitle;
	theHintContent.innerHTML = theHints[hintID].hintText;
	
	theHint.style.display = "block";
}

getElement = document.all ?
	function (s_id) { return document.all[s_id] } :
	function (s_id) { return document.getElementById(s_id) };

