<!-- 
function nav(pagenum,path) {
			var pageLocation = new String();
			pageLocation = document.location.href;
			course_dir = pageLocation.split('/');
			var x=0;
			while (course_dir[x] != "online") {
				x=x+1;
			}//end while
			course_name=course_dir[x+1];
			
			MountPoint = course_dir[0]+"/";
			for (y=1;y<=x;y++) {
				MountPoint += course_dir[y] + "/";
				}
				
			//alert(MountPoint + course_name + "/"+path+"pg"+pagenum+"_text.htm");

			parent.frames[0].location.href= MountPoint + course_name + "/"+path+"pg"+pagenum+"_text.htm";
			parent.frames[1].location.href= MountPoint + course_name + "/"+path+"pg"+pagenum+"_nav.htm";
}// End nav Function

<!-- 
function getCookie( cookie_var ) {

	//Retrieve all of the cookies into a variable called all cookies 
	var allcookies = document.cookie; 

	//Locate the position of the cookie label
	var pos = allcookies.indexOf(cookie_var);      

	// if pos = -1 then cookie label wasn't found 
	if (pos != -1) { 
      
		//Locate the beginning and end of the value of our cookie label

		// Locate the start of the cookie var add the # characters found plus one 
		var start = pos + cookie_var.length; 
           
		//find the end of the value 
		var end = allcookies.indexOf(";",start); 
      
		// if end is equal to negative one then set it to the length of allcookies 
		if (end == -1) end = allcookies.length; 
           
	     //convert the sub string or value of the parameter and store it in answer. 
		answer = unescape( allcookies.substring(start,end) ); 
		
		//display the value 
		//alert(answer); 
		
		return answer;
	} // end if 

} //end function getCookie

// -->


