/*
function content_switch() {
	var thisid = '';
	var thisdiv = '';
	var result = '';
	
	var content_layers = document.getElementsByTagName("div");
	for (var i = 0; i <= (content_layers.length - 1); i++) {
		thisid = content_layers[i].id
		result = thisid.match(/content_layer_(.+)/);
		if (result != null) {
			// Check to see if this div's id matches any of the arguments.
			// If there's a match, this div will be toggled "On", otherwise "Off".
			var arg_match = 0;
			for (var j = 0; j <= (arguments.length - 1); j++) {
				if (thisid == ('content_layer_' + arguments[j])) {
					arg_match++;
				}
			}
			
			thisdiv = document.getElementById(thisid);
			var tempahrefid = 'layer_link_' + result[1];	// result[1] is the (matched) portion of the regex above
			var thisahref = document.getElementById(tempahrefid);
			if (arg_match > 0) {
				thisdiv.style.display = "";
				if (thisahref != null) {
					thisahref.style.background = "url('http://www.ku.edu/images2005/box_black.gif') no-repeat 0 0.5em";
					thisahref.style.font = "bold 1em Arial, Helvetica, sans-serif";
					thisahref.style.color = "#000";
				}
			} else {
				thisdiv.style.display = "none";
				if (thisahref != null) {
					thisahref.style.background = "url('http://www.ku.edu/images2005/box_grey.gif') no-repeat 0 0.5em";
					thisahref.style.font = "normal 1em Arial, Helvetica, sans-serif";
					thisahref.style.color = "#0049ae";
				}
			}
			
		} // if (result != null)
	} // for (var i = 0...)
} // function content_switch

function content_switch2() {
	var thisid = '';
	var thisdiv = '';
	var result = '';
	
	var content_layers = document.getElementsByTagName("div");
	for (var i = 0; i <= (content_layers.length - 1); i++) {
		thisid = content_layers[i].id
		result = thisid.match(/content_layer_(.+)/);
		if (result != null) {
			// Check to see if this div's id matches any of the arguments.
			// If there's a match, this div will be toggled "On", otherwise "Off".
			var arg_match = 0;
			for (var j = 0; j <= (arguments.length - 1); j++) {
				if (thisid == ('content_layer_' + arguments[j])) {
					arg_match++;
				}
			}
			
			thisdiv = document.getElementById(thisid);
			var tempahrefid = 'layer_link_' + result[1];	// result[1] is the (matched) portion of the regex above
			var thisahref = document.getElementById(tempahrefid);
			if (arg_match > 0) {
				thisdiv.style.display = "";
				if (thisahref != null) {
					thisahref.style.background = "url('http://www.ku.edu/~admiss/site_icons/arrow_down.gif') no-repeat 0 0.3em";
					thisahref.style.font = "bold 1em Arial, Helvetica, sans-serif";
					thisahref.style.color = "#000";
					thisahref.style.lineHeight = "1.7";
				}
			} else {
				thisdiv.style.display = "none";
				if (thisahref != null) {
					//thisahref.style.background = "url('') no-repeat 0 0.6em";
					thisahref.style.background = "url('') no-repeat 0 0.5em";
					thisahref.style.font = "normal 1em Arial, Helvetica, sans-serif";
					thisahref.style.color = "#0049AE";
					thisahref.style.lineHeight = "1.7";
				}
			}
			
		} // if (result != null)
	} // for (var i = 0...)
} // function content_switch




function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);




function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  	p=-18;
		var agt=navigator.userAgent.toLowerCase();
		this.major = parseInt(navigator.appVersion);
		this.minor = parseFloat(navigator.appVersion);
		this.nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
		
  for (i=0; i<(args.length-2); i+=3) 
  	if((obj=MM_findObj(args[i]))!=null) 
	{ 
		v=args[i+2];
		p=args[i+1];
		if(!p)	{ p = 2; }
		if (obj.style) 
		{ 
			obj=obj.style; 
			v=(v=='show')?'visible':(v=='hide')?'hidden':v; 
		}
		obj.visibility=v;
		if(this.nav) {obj.top=p;}
	}
}

function MM_showHide(num)
{
   var val  = MM_findObj('answer'+num);
   var obj  = MM_findObj('ans'+num);
	

   if(obj != null && val != null)
   {
      if(obj.innerHTML == '')
      {
         obj.innerHTML  = val.innerHTML;
		 obj.style.paddingLeft = '10px';
		 obj.style.paddingRight = '10px';
		 obj.style.marginTop = '10px';
		 obj.style.marginBottom = '10px';
		 obj.style.backgroundColor = '#fff';
		 obj.style.borderTopWidth = '1px';
		 obj.style.borderTopColor = '#D3DFEA';
		 obj.style.borderTopStyle = 'solid';
		 obj.style.borderBottomWidth = '1px';
		 obj.style.borderBottomColor = '#D3DFEA';
		 obj.style.borderBottomStyle = 'solid';
		 obj.style.backgroundImage = 'url(/~advising/pics/tutorial/ltblue_fade.gif)';
		 obj.style.backgroundRepeat = 'repeat-y';
      }
      else
      {
         obj.innerHTML  = '';
		 obj.style.padding = '0px';
		 obj.style.marginTop = '0px';
		 obj.style.marginBottom = '0px';
		 obj.style.backgroundColor = '#FFFFFF';
		 obj.style.borderWidth = '1px';
		 obj.style.borderColor = '#fff';
		 obj.style.borderStyle = 'solid';
      }
   }
}

function MM_showHide2(num)
{
   var val  = MM_findObj('answer'+num);
   var obj  = MM_findObj('ans'+num);
	

   if(obj != null && val != null)
   {
      if(obj.innerHTML == '')
      {
         obj.innerHTML  = val.innerHTML;
				 obj.style.borderWidth = '1px';
				 obj.style.borderColor = '#ccc';
				 obj.style.borderStyle = 'solid';
      }
      else
      {
         obj.innerHTML  = '';
		 obj.style.padding = '0px';
		 obj.style.marginTop = '0px';
		 obj.style.marginBottom = '0px';
		 obj.style.backgroundColor = '#fff';
		 obj.style.borderWidth = '1px';
		 obj.style.borderColor = '#fff';
		 obj.style.borderStyle = 'solid';
      }
   }
}

function MM_showHideHawkWeek_blue(num)
{
   var val  = MM_findObj('answer'+num);
   var obj  = MM_findObj('ans'+num);
	

   if(obj != null && val != null)
   {
      if(obj.innerHTML == '')
      {
         obj.innerHTML  = val.innerHTML;
				 obj.style.borderWidth = '1px';
				 obj.style.borderColor = '#69A3CE';
				 obj.style.borderStyle = 'solid';
      }
      else
      {
         obj.innerHTML  = '';
				 obj.style.backgroundColor = '#D3DFEA';
				 obj.style.borderWidth = '1px';
				 obj.style.borderColor = '#D3DFEA';
				 obj.style.borderStyle = 'solid';
      }
   }
}

function MM_showHideHawkWeek_white(num)
{
   var val  = MM_findObj('answer'+num);
   var obj  = MM_findObj('ans'+num);
	

   if(obj != null && val != null)
   {
      if(obj.innerHTML == '')
      {
         obj.innerHTML  = val.innerHTML;
				 obj.style.borderWidth = '1px';
				 obj.style.borderColor = '#69A3CE';
				 obj.style.borderStyle = 'solid';
      }
      else
      {
         obj.innerHTML  = '';
				 obj.style.backgroundColor = '#fff';
				 obj.style.borderWidth = '1px';
				 obj.style.borderColor = '#fff';
				 obj.style.borderStyle = 'solid';
      }
   }
}


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
*/