function showActions(){
    getElement('C501').style.display   = "block";
}

function NewWindow(mypage,myname,w,h,scroll){
    LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
    TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
    settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
    win = window.open(mypage,myname,settings)
}

function hideActions(){
     if($('C501').style.display == "block"){
         openshutaddcontent('501');
         }
         $('property').style.display="none";
 }
 
 function hideAddContents(){
      if($('C500').style.display == "block"){
         openshutaddcontent('500');
         }
         $('property').style.display="none";
 } 
 
function showProperty(){
    $('property').style.display = $('property').style.display   == "block"?"none":"block";
}

function hideProperty(){
    getElement('property').style.display   = "none";
      getElement('C501').style.display   = "none";
    document.title = getElement('titleSelect').value;
    // No need to increment version in this call.
    dragCall(false);
    window.location = window.location;
}
