function default_window_open(window_url,window_name,window_width,window_height,window_resizable,window_scrollbars) {
	window_name = Math.round(Math.random() * 1000);
	default_remote_window = window.open(window_url,window_name,"width=" + window_width + ",height=" + window_height + ",resizable=" + window_resizable + ",scrollbars=" + window_scrollbars + ",toolbar=0,status=0,directories=0,location=0,menubar=0");
}




function showL(id){
	if (document.getElementById(id).style.display == "") show = "none";
	else show = "";
	document.getElementById(id).style.display = show;
}



currentShownDiv = "";

function klapp(id)
{
currentShownObj = document.getElementById(currentShownDiv);
   
if (currentShownObj != null)
currentShownObj.style.display='none'; 
      
if (id == currentShownDiv)
{
currentShownDiv = "";
return;
}
   
currentShownDiv = id;
   
objToShow = document.getElementById(id);
   
if (objToShow.style.display == 'none')
{
objToShow.style.display='block';
}
else
{
objToShow.style.display='none';
}
}



function showDivs()
 {
 var divs = document.getElementsByTagName( "div" );
 for ( var i = 0; i < divs.length; i++ )
 {
 divs[ i ].style.visibility = "visible";
 divs[ i ].style.display = "block";
 }
 }
