//<!-- Browser Compliancy checker

browser_version= parseInt(navigator.appVersion);
browser_type = navigator.appName;



if (browser_type == "Microsoft Internet Explorer" && (browser_version >= 4)) {
ns4 = false;
ie4 = true;
ns6 = false;
}
else if (browser_type == "Netscape" && (browser_version >= 4 && browser_version < 5)) {
ns4 = true;
ie4 = false;
ns6 = false;
}
else if (browser_version < 4){
document.write('Your browser is not supported by this website, please upgrade your internet browser');
}

else {
ns6 = true;
ns4 = false;
ie4 = false;
}

function browserCheck(){
if (ns4==true)
{
//alert('redirect');
location.replace('http://www.uwplatt.edu/cont_ed/txtIndex.htm');
//window.onresize = window.refresh;
}
}


function show(id) {
	if (ns4==true) document.layers[id].visibility = "show";
	else if (ie4==true) document.all[id].style.visibility = "visible";
	else if (ns6==true) document.getElementById(id).style.visibility = "visible";

}

function hide(id) {
	if (ns4==true) document.layers[id].visibility = "hide";
	else if (ie4==true) document.all[id].style.visibility = "hidden";
	else if (ns6==true) document.getElementById(id).style.visibility = "hidden";
}

function hideAll() {
hide('credit');
}

//Header
function header(){
document.write('<div id="header5">'+
'<table width="663"><tr><td width="663">'+
'<font size="7" color="lightgrey" face="Times New Roman">CONTINUING EDUCATION</font></td></tr></table>'+
'</div>'+
'<div id="header4">'+
'<table width="663"><tr><td width="663">'+
'<font size="7" color="lightgrey" face="Times New Roman">CONTINUING EDUCATION</font>'+
'</td></tr></table>'+
'</div>'+
'<div id="header3">'+
'<table width="663"><tr><td width="663">'+
'<font size="7" color="black" face="Times New Roman">CONTINUING EDUCATION</font>'+
'</td></tr></table>'+
'</div>'+
'<div id="header2">'+
'<table width="663"><tr><td width="663">'+
'<font size="7" color="black" face="Times New Roman">CONTINUING EDUCATION</font>'+
'</td></tr></table>'+
'</div>'+
'<div id="header1">'+
'<table width="663"><tr><td width="663">'+
'<font size="7" color="darkblue" face="Times New Roman">CONTINUING EDUCATION</font>'+
'</td></tr></table>'+
'</div>'+'<div id="bannerfooter">'+
'<table width="680"><tr><td colspan="2"><hr>'+
'</td></tr><tr><td><b><font color="#005599" size="3" face="Times New Roman">University of Wisconsin-Platteville</font></b>'+
'</td><td align="right"><b><font color="#005599" size="3" face="Times New Roman">Partnerships</font></b></td></tr></table></div>');
}

//Basic Navigation Menu
function basicMenu(){
document.write('<div id="navmain">');
document.write('<ul><li><a href="http://www.uwplatt.edu/cont_ed/" target="_top">Continuing Education Home</a>');
document.write('<li><a href="http://www.uwplatt.edu/cont_ed/credit/" target="_top">Credit Programs</a>');
document.write('<!-- li><a href="http://www.uwplatt.edu/cont_ed/paraEdu/" target="_top">ParaEducation</a -->');
document.write('<li><a href="http://www.uwplatt.edu/cont_ed/noncredit/" target="_top">Community Programs</a>');
document.write('<li><a href="http://www.uwplatt.edu/cont_ed/youth/" target="_top">Youth Programs</a>');
document.write('<li><a href="http://www.uwplatt.edu/cont_ed/childhood/index.htm" target="_top">Early Childhood Conference</a>');
document.write('<li><a href="http://www.uwplatt.edu/cont_ed/econDev/index.htm" target="_top">Economic Development Conference</a>');
document.write('<li><a href="http://www.uwplatt.edu/cont_ed/masters/" target="_top">Master of Education</a>');
document.write('<li><a href="http://www.uwplatt.edu/cont_ed/help.html" target="_top">Help</a>');
document.write('<li><a href="../announce.html" target="Announce">Announcements</a>');
document.write('</ul></div>');
}

//footer
function footer(){
document.write('<div id="footer"><center><hr><a href="http://www.uwplatt.edu/" target="_top">UWP-Home</a> | <a href="http://www.uwplatt.edu/contact/campus_map.html" target="_blank">Campus Map</a><br />| <a href="http://uwplatt.edu/cont_ed/search.html" target="_top">Search</a> ');
document.write('<hr><font color="#000099">Document Last Modified:</font>  '+document.lastModified);
document.write('<font color="#000099"><br>Copyright © 2006, University of Wisconsin - Platteville');
document.write(' & The Board of Regents - University of Wisconsin System');
document.write('<br><font size=1>Page Maintained By:<br>  <a href="mailto:fagers@uwplatt.edu"><I>S. J. Fager</i></a></font><br></font></center></div>');
}

function footer_temp(){
document.write('<div id="footer"><center><hr><a href=javascript:show("requestform");>Request Information</a> | <a href="http://www.uwplatt.edu/cont_ed/faculty/index.html" target="_top">Faculty</a> | <a href="http://www.uwplatt.edu/" target="_top">UWP-Home</a> <br /> <a href="http://www.uwplatt.edu/contact/campus_map.html" target="_blank">Campus Map</a> | <a href="http://uwplatt.edu/cont_ed/search.html" target="_top">Search</a> ');
document.write('<hr><b><font color="#000099">Document Last Modified:</font>  '+document.lastModified);
document.write('<font color="#000099"><br>Copyright © 2004, University of Wisconsin - Platteville');
document.write(' & The Board of Regents - University of Wisconsin System');
document.write('<br></b>Page Maintained By:</font><br>  <a href="mailto:fagers@uwplatt.edu"><I>S. J. Fager</i></a><br></center></div>');
}

function footer2(){
document.write('<div id="footer2"><center><hr><font color="#000099" size=2>Document Last Modified:  '+document.lastModified);
document.write('</font><font color="#000099" size=2><br>Copyright © 2004<br> University of Wisconsin - Platteville');
document.write(' & The Board of Regents - University of Wisconsin System');
document.write('<br>Page Maintained By:<br>  <a href="mailto:fagers@uwplatt.edu"><I>S. J. Fager</i></a></font><br></center></div>');
}

function toggler(id){

if (ie4==true){
  if (document.all[id].style.display == 'none') {
     document.all[id].style.display = '';
  } 
  else {
   document.all[id].style.display = 'none';
  }
	}
else if(ie4!=true && ns4!=true){

  if (document.getElementById(id).style.display == 'none') {
     document.getElementById(id).style.display = '';
  } 
  else if(document.getElementById(id).style.display == ''){
   document.getElementById(id).style.display = 'none';
  }
}
}



function readCookie(cookies) {

	var cookies=document.cookie;
	var startname=cookies.indexOf(name+"=");
	var startvalue=cookies.indexOf("=", startname)+1;
	var endvalue=cookies.indexOf(";",startvalue);
	

	if(endvalue==-1) {
		endvalue=cookies.length;
	}
	var cvalue=cookies.substring(startvalue, endvalue);
	if (cvalue=='') {
		cvalue='hitbox';
		}

	
	document.write('<form name=frm> <input type=hidden value=');
	document.write(cvalue);
	document.write(' name=crummie></form>');


	var ID=document.frm.crummie.value;
	//alert(document.frm.crummie.value);
	cvalue='';
	return ID,cookies;
}


//object animator
var action;
var action2;
var action3;
var action4;
var action5;
var action6;


function StartGlide() {


    	star.style.posLeft = -50;
    	star.style.posTop = -50;

    	action = window.setInterval("Glide()",70);
}
function Glide() {


	star.style.posLeft += 16;
	star.style.posTop += 5;

	if (star.style.posLeft >=450)
	{
        window.clearInterval(action);
	}
}
function StartGlide2() {


    	star2.style.posLeft = -50;
    	star2.style.posTop = -50;

    	action2 = window.setInterval("Glide2()",70);
}
function Glide2() {

	star2.style.posLeft +=18;
	star2.style.posTop +=10;

	if (star2.style.posLeft >=240)
	{
        window.clearInterval(action2);
	}
}
function StartGlide3() {

    	star3.style.posLeft = -50;
    	star3.style.posTop = -50;

    	action3 = window.setInterval("Glide3()",70);
}
function Glide3() {

	star3.style.posLeft +=10;
	star3.style.posTop +=4;
	if (star3.style.posLeft >=170)
	{
        window.clearInterval(action3);
	}
}
function StartGlide4() {

    	star4.style.posLeft = -50;
    	star4.style.posTop = -50;

    	action4 = window.setInterval("Glide4()",70);
}
function Glide4() {

	star4.style.posLeft +=10;
	star4.style.posTop +=4;
	if (star4.style.posLeft >=90)
	{
        window.clearInterval(action4);
	}
}
function StartGlide5() {

    	star5.style.posLeft = -50;
    	star5.style.posTop = -50;

    	action5 = window.setInterval("Glide5()",70);
}
function Glide5() {

	star5.style.posLeft +=5;
	star5.style.posTop +=5;
	if (star5.style.posLeft >=100)
	{
        window.clearInterval(action5);
	}
}
function StartGlide6() {

    	star6.style.posLeft = -50;
    	star6.style.posTop = -50;

    	action6 = window.setInterval("Glide6()",70);
}
function Glide6() {

	star6.style.posLeft +=12;
	star6.style.posTop +=6;
	if (star6.style.posLeft >=320)
	{
        window.clearInterval(action6);
	}
}
function StartGlide7() {
	
	turtle.style.posleft = -200;
    	action5 = window.setInterval("Glide7()",700);
}
function Glide7() {

	turtle.style.posLeft +=12;
	if (turtle.style.posLeft >=1000)
	{
	turtle.style.posLeft = -400
        window.clearInterval(action5);
	}
}
function cycle(id) {

if (ie4==true){
	illTeacher.style.color='lightyellow';
    	action = window.setInterval("colorCycle()",270);
  }
}
function colorCycle(id) {

if (ie4==true){

	if (illTeacher.style.color=='lightyellow'){
		illTeacher.style.color='khaki';
		}
	else if (illTeacher.style.color=='khaki'){
		illTeacher.style.color='gold';
		}
	else if (illTeacher.style.color=='gold'){
		illTeacher.style.color='orange';
		}
	else if (illTeacher.style.color=='orange'){
		illTeacher.style.color='coral';
		}
	else if (illTeacher.style.color=='coral'){
		var i=0;
		illTeacher.style.color='firebrick';
		for(i=0;i<25000;i++){
		}
		}
	else if (illTeacher.style.color=='firebrick'){
		illTeacher.style.color='darkorange';
		}
	else if (illTeacher.style.color=='darkorange'){
		illTeacher.style.color='palegoldenrod';
		}
	else if (illTeacher.style.color=='palegoldenrod'){
		illTeacher.style.color='lemonchiffon';
		}
	else if (illTeacher.style.color=='lemonchiffon'){
		illTeacher.style.color='lightyellow';
		}
	else{
		illTeacher.style.color='firebrick';
		}
	}
}
//university code variable values

var BannerArea 	= "UW-Platteville"
var BannerDept 	= "Continuing Education"
var Search = "N"
var DateUpdated = document.lastModified
var PageOwner = "Susan J. Fager"
var OwnerUserName = "fagers"

