<!--
function mouseDown(e) {
 var ctrlPressed=0;
 var altPressed=0;
 var shiftPressed=0;

 if (parseInt(navigator.appVersion)>3) {

  var evt = navigator.appName=="Netscape" ? e:event;

  if (navigator.appName=="Netscape" && parseInt(navigator.appVersion)==4) {
   // NETSCAPE 4 CODE
   var mString =(e.modifiers+32).toString(2).substring(3,6);
   shiftPressed=(mString.charAt(0)=="1");
   ctrlPressed =(mString.charAt(1)=="1");
   altPressed  =(mString.charAt(2)=="1");
   self.status="modifiers="+e.modifiers+" ("+mString+")"
  }
  else {
   // NEWER BROWSERS [CROSS-PLATFORM]
   shiftPressed=evt.shiftKey;
   altPressed  =evt.altKey;
   ctrlPressed =evt.ctrlKey;
   self.status=""
    +  "shiftKey="+shiftPressed 
    +", altKey="  +altPressed 
    +", ctrlKey=" +ctrlPressed 
  }
/*  if (shiftPressed || altPressed ) 
   alert ("Mouse clicked with the following keys:\n"
    + (shiftPressed ? "Shift ":"")
    + (altPressed   ? "Alt "  :"")
    + (ctrlPressed  ? "Ctrl " :"")
   )*/
	 
	if (ctrlPressed) 
	if (document.getElementById) { // DOM3 = IE5, NS6 
		tb_show("Login ","/frontedit/fplogin.php?height=185&width=340","");
		//document.getElementById('tuc_topbar').style.visibility = 'visible';
		//document.getElementById('tuc_topbar').style.height = 'auto';
	} 
	else { 
		if (document.layers) { // Netscape 4
		tb_show("Login ","/frontedit/fplogin.php?height=185&width=340","");
		//document.tuc_topbar.visibility = 'visible';
		//document.tuc_topbar.height = 'auto';
		} 
		else { // IE 4 
			tb_show("Login ","/frontedit/fplogin.php?height=185&width=340",""); 
			//document.all.tuc_topbar.style.visibility = 'visible'; 
			//document.all.tuc_topbar.style.height = 'auto'; 
		} 
	} 		
   
 }
 return true;
}
if (parseInt(navigator.appVersion)>3) {
 document.onmousedown = mouseDown;
 if (navigator.appName=="Netscape") 
  document.captureEvents(Event.MOUSEDOWN);
}


function showdiv() { 

} 


function savepost (p) {
  var myForm = document.createElement("form");
  myForm.method="post" ;
  myForm.action = "/cms/components/sections/save.php";
  for (var k in p) {
    var myInput = document.createElement("input") ;
    myInput.setAttribute("name", k) ;
    myInput.setAttribute("value", p[k]);
    myForm.appendChild(myInput) ;
  }
  document.body.appendChild(myForm) ;
  myForm.submit() ;
  document.body.removeChild(myForm) ;
}

//-->