//+++++++++++++++++++++++++++
//function on()
// this function sets the time out for the drop down nav under projects
// the script finds the element (which happens to be a div) named "d_nav" and on the call(mouseover)
// the script "turns on" the div which was at display:none; then after 3seconds the div is set back to 
// display:none;

//+++++++++++++++++++++++++++
// function toggle()
// this funtion takes an id assigned in a <div> (ex: <div id="ul_list1">list info here</div>) 
// and switches the style from what you define in a <div> tag (ex: <div id="ul_list1" class="closed">list info here</div>
// css class of "closed" will hide element from display, and when switched to "open" will make visible // 

// <!-- 

function off(Time)
{
   var myTime = window.setTimeout("document.getElementById('d_nav').style.display='none'",Time); 
   return myTime;
   var myTime =null
}

function on() 
{
 document.getElementById("d_nav").style.display="block";
 } 


 
function toggle(id){
    ul = "ul_" + id;
    ulElement = document.getElementById(ul);
    if (ulElement){
            if (ulElement.className == 'closed'){
                    ulElement.className = "open";
                    }else{
                    ulElement.className = "closed";
                    
                    }
            }
    }


//-->



