var cur = 1;

function get_object(id) 
{
	var object = null;
	if (document.layers) 
	{   
		object = document.layers[id];
	} else if (document.all)
	{
		object = document.all[id];
	}else if (document.getElementById) 
	{
		object = document.getElementById(id);
	}
    return object;
}

function settimeint()
{
  
}
function swapFoto(van,naar)
{
	get_object(van).src= naar;	
}

function refreshContent2(id) {
  if(cur != id)
  {
  
  
  $("#content").fadeOut("fast", function(){    	
	get_object("content" + cur).className = "jscontent1";
	
	cur = id;
	  
	  get_object("content" + cur).className = "jscontent2";
	   $("#content").fadeIn("fast");
  })
   } 
  return false;
}
function gotolink(urlstr)
{
	location.href =urlstr;
}
function ShowDiv(divid,status)
{
	if(status == 1)
	{
		get_object(divid).style.display = "block";
	}else
	{
		get_object(divid).style.display = "none";
	}
	
}
