{
window.status = "© 2004 radiologie.nu";
}

function openChromeslessWindow(openUrl, winName, wWidth, wHeight, wPosx, wPosy, wTIT, windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel, bCenter, sFontFamily, sFontSize, sFontColor){
	openchromeless(openUrl,winName, wWidth, wHeight, wPosx, wPosy, wTIT, wTIT ,	windowBORDERCOLOR, windowBORDERCOLORsel, windowTITBGCOLOR, windowTITBGCOLORsel,	bCenter, sFontFamily, sFontSize, sFontColor);
}


function delitem(url){
  ans=window.confirm("Item verwijderen! Klik op OK om dit item te verwijderen.");
  if(ans){
    window.location.replace(url);
  }
}

function pollvote() { 		
	for (teller=0;teller<document.pollvoteform.pollvotevalue.length;teller++) {
			if (document.pollvoteform.pollvotevalue[teller].checked) {
				location='?id=1&action=pollvote&vote='+ document.pollvoteform.pollvotevalue[teller].value      				
			}
	}		
}		

function show_diagnose(id)
{
id = "diagnose" + id;
	if (document.all.item(id).style.display=="none") 
	{
		document.all.item(id).style.display='';
	}
	else
	{
		document.all.item(id).style.display='none';
	}
}

function swap(swap_name,swap_image)
{
  document.images[swap_name].src= swap_image;
}


function preload()
{
  if (preload.arguments.length<="0") { alert("no objects specified for javascript funtion 'preload()'."); exit(); }
  var preload_image = new Array();
  for (i=0; i<preload.arguments.length; i=i+1)
  {
    preload_image[i] = new Image;
    preload_image[i].src = preload.arguments[i];
  }
  oldwindows_status = window.status;
  if (i=="1") { window.status = "1 image preloaded"; }
  else { window.status = i + " images preloaded"; }
  setTimeout('window.status=oldwindows_status',1000);
}

