//if (window != window.top)

//	top.location.href = location.href;



function quickjump(targ,selObj,restore){

  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

  if (restore) selObj.selectedIndex=0;

}



function Favorieten() { 

	if(document.all) { 

		window.external.AddFavorite('http://www.satdigital.be/','Satdigital -[ de Resource voor al uw Digitale vragen! ]-'); 

	} 

	else if (window.sidebar && window.sidebar.addPanel) { 

		window.sidebar.addPanel("Satdigital -[ de Resource voor al uw Digitale vragen! ]-","http://www.satdigital.be/",''); 

	} 

}



function ref(object) {

	if (document.getElementById) {

		return document.getElementById(object);

	}

	else if (document.all) {

		return eval('document.all.' + object);

	}

	else {

		return false;

	}

}



function toggle(menu_id, object) {

	var ifrm;



	ifrm = document.createElement("IFRAME");

	ifrm.setAttribute("id","update");

	

	image = ref(object + '_img');

	object = ref(object);



	if( !object.style )	{

		return false;

	}

	

	if( object.style.display == 'none' ) {

		ifrm.setAttribute("src", url + "u_menu.php?menu=" + menu_id + "&optie=1");

		object.style.display = '';

		image.src = url + 'thema/blauw/min.gif';

	}

	else {

		ifrm.setAttribute("src", url + "u_menu.php?menu=" + menu_id + "&optie=0");

		object.style.display = 'none';

		image.src = url + 'thema/blauw/plus.gif';

	}



	document.body.appendChild(ifrm);

	ifrm.style.width = 0+"px";

	ifrm.style.height = 0+"px";

	document.getElementById("update").style.visibility="hidden";

	document.getElementById("update").style.display="none";

}