/*****************************************************************************
Default browsercheck
******************************************************************************/
function checkBrowser(){
	this.ver=navigator.appVersion;
	this.dom=document.getElementById?1:0;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.opera=!(this.ie5 || this.ie4 || this.ns4 || this.ns5) && this.dom;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5);
	return this
}

function showCategory (category){
		document.title = "Spruit's riddles  ***" + category + "***   ";
}

function changeBg(){
	document.corner.background="sidebar_bg.jpg";
}

function showImage(Image) {
    parent.lower.location.href = Image;
    //return "Tja, en toen stond er een plaatje";
}

function showAnswer(riddleId,visibility) {
	var obj = document.getElementById(riddleId);
        obj.style.visibility = visibility;
}