<!-- 
/*
        -------------------------------------------------------------------------------------------------
        Random Image/Link JavaScript(tm) by Jim Matvichuk

        This code may be used freely as long as this copyright notice
        remains with the code.
        
                        Copyright© 1997, Jim Matvichuk
                        Jim_Matvichuk@compuserve.com
                        All rights reserved


*/
// Global vars----
G_total_sa = 0;                                 // total random elements
G_day = new Date();                             // date for seed
G_seed = G_day.getTime();                       // G_seed for random number


//---CHANGE THESE ARRAY ELEMENTS TO YOUR LINK/IMAGE
//---ADD/SUBTRACT AS MANY AS YOU NEED
// Just replace your URL and image tags between the single quotes:  ae_('   your stuff here   ');

// <!-- 
// -->

ae_('<img src="assets/images/homeImg/photos/photo1.jpg" height="214" width="487" border="0">');
ae_('<img src="assets/images/homeImg/photos/photo2.jpg" height="214" width="487" border="0">');
ae_('<img src="assets/images/homeImg/photos/photo3.jpg" height="214" width="487" border="0">');
ae_('<img src="assets/images/homeImg/photos/photo4.jpg" height="214" width="487" border="0">');
ae_('<img src="assets/images/homeImg/photos/photo5.jpg" height="214" width="487" border="0">');


//------------------------------------------------------------------------------------
// Function to Create image/link Object Array
//------------------------------------------------------------------------------------
function ae_ (description) {
        G_total_sa++;
        sa [G_total_sa] = description;
}

//-------------------------------------------------------------------------------------
// function to create a random number from 1 to total number
// of array elements
//-------------------------------------------------------------------------------------

function rand() {
RN = parseInt(((G_seed - (parseInt(G_seed/1000,10) * 1000))/10)/100*G_total_sa + 1,10);
        return RN;
}

///////////////////////////////////////////////////////////////////
// CREATE THE image/link OBJECT ARRAY
function sa () {}



/*
Rotating image or text(You can use for changing banners)
Author: Narayan Chand Thakur
Source: http://ncthakur.itgo.com/
This may be used freely as long as this message is intact.
*/
<!--

//you may add your image file or text below
var item=new Array()
item[0]="<a href='http://www.uwgb.edu/adultdegrees/html/degrees/BAS.htm'>Bachelor of Applied Studies Degree</a>"
item[1]="<a href='http://www.uwgb.edu/educationoutreach/index.aspx'>Offerings for Educators</a>"
item[2]="<a href='http://www.uwgb.edu/outreach/sip/'>Spanish Immersion for Professionals</a>"
item[3]="<a href='http://www.uwgb.edu/em/'>Emergency Management Certificate Program</a>"
item[4]="<a href='http://www.uwgb.edu/adultdegrees/html/contact/information.aspx'>Sign Up for an Adult Degree Program Information Session</a>"
var current=0

var ns6=document.getElementById&&!document.all
function changeItem(){
if(document.layers){
document.layer1.document.write(item[current])
document.layer1.document.close()
}
if(ns6)document.getElementById("div1").innerHTML=item[current]
{
if(document.all){
div1.innerHTML=item[current]
}
}
if (current==4) current=0
else current++
setTimeout("changeItem()",4000)
}
window.onload=changeItem



//-->
