function dismenu(){
    //alert(flag);
    if(flag != "index" && flag != "athletics"){
        
        tempval = "http://www.briarcliff.edu/images/" + flag + "3.gif";

        document.getElementById(flag).src = tempval;    
    
    }
    
    if(flag == "index" || rotflag=="true"){
    
        sImages="hotspots.gif|bcublast.gif|homestories.gif|homeviewbook.gif|microscope.gif|class.gif|marena.gif|aaron.gif"; 
        sText="Campus hot spots...|Have a blast at BCU|Life shaping student stories<br /> at BCUinspired.com|Checkout the BCU viewbook |93% graduate placement rate|15:1 student to faculty ratio| Watch your future take shape</br> at Briar Cliff University.|Life shaping student stories<br /> at BCUinspired.com ";         
        sHref="/campus/campus.aspx|/bcu_students/bcu_students.aspx|http://www.bcuinspired.com/|/prospective_students/prospective_students.aspx|/academics/undergraduate_majors.aspx|academics/undergraduate_majors.aspx|/prospective_students/prospective_students.aspx|http://www.bcuinspired.com";
        iFlag = true;
        
        tempVal1 = 0;
        tempVal2 = 0;
        
        arImages = sImages.split("|");
        arText = sText.split("|");
        arHref = sHref.split("|");
        inum = arImages.length;
        
        for(i=0; i<2; i++){
        
            ranNum = Math.floor(Math.random()*inum);
            
            if(iFlag){
                tempVal1 = ranNum;
                iFlag = false;
            }else{
                if(ranNum == tempVal1){
                    if(ranNum < 3){
                        tempVal2 = ranNum + 1;
                    }else{
                        tempVal2 = ranNum - 1;
                    }
                }else{
                    tempVal2 = ranNum;
                }                    
            }
        
        }
        
        //alert(arImages[tempVal1]);
        
        document.getElementById("img1").src = "http://www.briarcliff.edu/prospective_students/images/rotatingimages/" + arImages[tempVal1];
        document.getElementById("img2").src = "http://www.briarcliff.edu/prospective_students/images/rotatingimages/" + arImages[tempVal2];
        document.getElementById("a1").innerHTML = arText[tempVal1];
        document.getElementById("a2").innerHTML = arText[tempVal2];
        document.getElementById("a1").href = arHref[tempVal1];
        document.getElementById("a2").href = arHref[tempVal2];
        
    }
}

function highlight(obj, element){    
    
    element = "http://www.briarcliff.edu/" + element;
    
    if(obj != flag){    
    
        document.getElementById(obj).src = element;    
    
    }

}