intActiveMenuID = 1;

function FNC_init(p_strmenuID) {
	intActiveMenuID = p_strmenuID;
//	document.getElementById('menuID_'+intActiveMenuID).src = document.getElementById('menuID_'+intActiveMenuID).src.replace("_off", "_on");
	window.status = 'Welkom op de website van de Dutch Supermono Association';
}

function FNC_changeMenu(p_intMenuID, p_intAction) {
	if (p_intMenuID != intActiveMenuID) {
		strCurrentSrc = document.getElementById('menuID_'+p_intMenuID).src;
		if (p_intAction == 1) {
			document.getElementById('menuID_'+p_intMenuID).src = strCurrentSrc.replace("_off", "_on");
		}
		else {
			document.getElementById('menuID_'+p_intMenuID).src = strCurrentSrc.replace("_on", "_off");
		}
	}
}

function FNC_resizeIframe(p_objIframe) {
	var intHeight = 0;
	if (window.innerHeight) {
		intHeight	= window.innerHeight;
		intWidth	= window.innerWidth;
	}
	else {
		objDocElement = (document.body.clientWidth) ? document.body : document.documentElement;
		intHeight = objDocElement.clientHeight;
		intWidth	= objDocElement.clientWidth;
	}
	intIframeHeight = intHeight - document.getElementById(p_objIframe).offsetTop - 12;
	intIframeWidth	= intWidth - 430;
	
	document.getElementById(p_objIframe).style.height = parseInt(intIframeHeight) + "px";
	document.getElementById(p_objIframe).style.width	= parseInt(intIframeWidth) + "px";
}

function FNC_checkFrmContact() {
	document.getElementById('noSpam').value = (2*25)/5;
	
	return true;
}