
			function toggledisplay(nr)
			{	
				if (document.layers)
				{
					current = (document.layers[nr].display == 'none') ? 'block' : 'none';
					document.layers[nr].display = current;
				}
				else if (document.getElementById)
				{
					vista = (document.getElementById(nr).style.display == 'none') ? 'block' : 'none';
					document.getElementById(nr).style.display = vista;
				}
				else if (document.all)
				{
					current = (document.all[nr].style.display == 'none') ? 'block' : 'none';
					document.all[nr].style.display = current;
				}
			}
			function setdisplay(nr,display)
			{	
				if (document.layers)
				{
					document.layers[nr].display = display;
				}
				else if (document.getElementById)
				{
					document.getElementById(nr).style.display = display;
				}
				else if (document.all)
				{
					document.all[nr].style.display = display;
				}
			}
			function openpopup(href)
			{
				window.open(href,'mywindow','width=400,height=300,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,copyhistory=yes,resizable=no');
			}
			
			function showimageattachment(id)
			{
				window.open('showImage.php?openinwindow=true&table=image_attachment&row_id='+id,'preview','width=600,height=400,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,copyhistory=yes,resizable=no');
			}
			
			function toggleLinks(a)
			{
				var e = document.getElementById(a);
				var h = 'heading_' + a;
				var heading= document.getElementById(h);
				
				 if(!e) return true;
				  if(e.style.display == "none")
				  {
					  e.style.display = "block";
					  heading.className = "botmenuon";
				 }
				  else
				  {
					   e.style.display = "none";
   				       heading.className = "botmenunorm";
					  
				  }
				  return true;
			} 
			
			function hand(){
  document.body.style.cursor = "hand";
}

function point(){
  document.body.style.cursor = "default";
}