function changeImage(imageName, imageReplacer) {
	if(document.images) {
		document.images[imageName].src = "../images/" + imageReplacer;
	}
}

function projMenuOver(o, trColor, i) {
	//** Afbeelding wisselen
	changeImage('proj_pijl_Menu' + i + '', 'proj_pijl_on.gif');
	
	//** Background van de TR change
	o.style.backgroundColor = (trColor);
	
	// hand weegeven
	o.style.cursor = "hand";
	
	// link kleur aanpassen
	document.getElementById("proj_link_Menu" + i).style.color = ("#174F36");
	
}

function projMenuOut(o, trColor, i) {
	//** Afbeelding wisselen
	changeImage('proj_pijl_Menu' + i + '', 'proj_pijl_off.gif');
	//** Background van de TR change
	o.style.backgroundColor = (trColor);
	// link kleur aanpassen
	document.getElementById("proj_link_Menu" + i).style.color = ("#000000");
}

function projMouseOut(o, x) {
	for (var z=1;z<16;z++) {
		projectitem = 'proj_div_Menu' + z;
		if (!(z==x)) {
			document.getElementById(projectitem).style.visibility = ('hidden');
		}
		else {
			document.getElementById(projectitem).style.visibility = ('visible');
		}
	}
}

function popwin(url, w, h, options) {
	var winleft = (screen.width - w) / 2;
	var wintop = (screen.height - h) / 2;
	
	if(!options) {
		var options = 'status=no,resizable=no,scrollbars=no,menubar=no,toolbar=no';
	}
	options = options + ', width=' + w + ',height=' + h + ',top=' + wintop + ',left=' + winleft + '';
	window.open(url, 'newwin', options);
}

function isBlank(v) {
	var i;
	for(i = 0; i < v.length; i++) {
		var c = v.charAt(i);
		if ((c != ' ') && (c != '\n') && (c != '\t')) return false;
	}
	return true;
}





