function SetResolution() {
	w =  window.screen.availWidth;
	h = window.screen.availHeight;
	window.resizeTo(w,h);
	window.moveTo(0,0);
	window.focus();
}

function WriteEmailAddress(nme, dom, cou){
	document.write("<a href='mailto:"+nme+"@"+dom+"."+cou+"'>"+nme+"@"+dom+"."+cou+"</a>");
}
  
function ChangeTitle(tit){
	document.title = tit;
}
  
function ResizeIframe() {
	i = parent.document.getElementById(window.name);
	iHeight = document.getElementById("frame_table").scrollHeight;
	if(iHeight>500){
		i.style.height = iHeight + 5 + "px";
	} else {
		i.style.height = 500 + "px";
	}
}
//if visitor arrives directly on this page, go to main
if(window.parent.name != "index"){
	window.open('http://www.osmatic.be/',"_self");
}