function disableselect(e){
return false
}

function reEnable(){
return true
}

//if IE4+
document.onselectstart=new Function ("return false")

//if NS6
if (window.sidebar){
document.onmousedown=disableselect
document.onclick=reEnable
}

function toggleDiv()  
{  
    if (document.getElementById("container").style.display == "block")  
    {  
      document.getElementById("container").style.display = "none";  
    }  
    else  
   {  
     document.getElementById("container").style.display = "block";  
  }  
   }  

