var atk="'";

function click() 
{
if (event.button==2) 
{
 alert('Ahoy - www.ahoy.nl');
}
}
document.onmousedown=click


function blockError(){return true;}

window.onerror = blockError;

function fade(id, fadestart, fadeend, speed) {
	var timer = 0;
	var speed = Math.round(speed / 100);

	if(fadestart > fadeend) {
		for(i = fadestart; i >= fadeend; i--) {
			setTimeout("fadeobject(" + i + ",'" + id + "')",(timer * speed));
			timer++;
		}
	} else if(fadestart < fadeend) {
		for(i = fadestart; i <= fadeend; i++)
			{
			setTimeout("fadeobject(" + i + ",'" + id + "')",(timer * speed));
			timer++;
		}
	}
}

function fadeobject(opacity, id) {
	var object = document.getElementById(id).style; 
	object.opacity = (opacity / 100);
	object.MozOpacity = (opacity / 100);
	object.KhtmlOpacity = (opacity / 100);
	object.filter = "alpha(opacity=" + opacity + ")";
}

function slide(){
if (c==1){
fade('i1', 0, 100, 1000);
document.getElementById('i1').src=imgn+t+imge;
c=0;
}
else{
fade('i1', 100, 0, 1000);
document.getElementById('tds').style.backgroundImage='url('+imgn+t+imge+')';
c=1;
}
t=t+1;
if (t>tt) {t=1}
}

function slide2(){
if (c2==1){
fade('i2', 0, 100, 1000);
document.getElementById('i2').src=imgn2+t2+imge2;
c2=0;
}
else{
fade('i2', 100, 0, 1000);
document.getElementById('tds2').style.backgroundImage='url('+imgn2+t2+imge2+')';
c2=1;
}
t2=t2+1;
if (t2>tt2) {t2=1}
}

function mover(im){
document.getElementById(im).style.backgroundImage="url('gfx/bg-menuitem-o.jpg')";
}
function mout(im){
document.getElementById(im).style.backgroundImage="url('gfx/bg-menuitem.jpg')";
}

