$(document).ready(function(){	
	$.easy.navigation();
	$.easy.tooltip();
	$.easy.popup({
		preloadText: 'De foto wordt geladen...',
		errorText: 'Er is een fout opgetreden bij het openen van de foto. Sluit het venster en probeer het opnieuw.',
		closeText: 'Sluit dit venster'
	});
	$.easy.external();
	$.easy.rotate();
	$.easy.forms();
	$.easy.showhide();
	$.easy.jump();
});

$(document).ready(function(){
	var txt_shadow = { "text-shadow" : "rgba(0,0,0,0.01) 0 0 1px" } 
	
	$("body").css(txt_shadow);
	
	var tn_shadow = { "box-shadow" : "0px 1px 4px #ccc", "-moz-box-shadow" : "0px 1px 4px #ccc", "-webkit-box-shadow" : "0px 1px 4px #ccc" }
	
	$("iframe").css(tn_shadow);
	$(".popupgal").css(tn_shadow);
	$(".boxie").css(tn_shadow);

	$("a").keypress(function() {
			this.blur();
			this.hideFocus = false;
			this.style.outline = null;
	});
	$("a").mousedown(function() {
			this.blur();
			this.hideFocus = true;
			this.style.outline = 'none';
	});
	
});

var ddequalcolumns=new Object()
ddequalcolumns.columnswatch=["eqcleft", "eqcright"]

ddequalcolumns.setHeights=function(reset){
var tallest=0
var resetit=(typeof reset=="string")? true : false
for (var i=0; i<this.columnswatch.length; i++){
if (document.getElementById(this.columnswatch[i])!=null){
if (resetit)
document.getElementById(this.columnswatch[i]).style.height="auto"
if (document.getElementById(this.columnswatch[i]).offsetHeight>tallest)
tallest=document.getElementById(this.columnswatch[i]).offsetHeight
}
}
if (tallest>0){
for (var i=0; i<this.columnswatch.length; i++){
if (document.getElementById(this.columnswatch[i])!=null)
document.getElementById(this.columnswatch[i]).style.height=tallest+"px"
}
}
}
ddequalcolumns.resetHeights=function(){
this.setHeights("reset")
}
ddequalcolumns.dotask=function(target, functionref, tasktype){
var tasktype=(window.addEventListener)? tasktype : "on"+tasktype
if (target.addEventListener)
target.addEventListener(tasktype, functionref, false)
else if (target.attachEvent)
target.attachEvent(tasktype, functionref)
}
ddequalcolumns.dotask(window, function(){ddequalcolumns.setHeights()}, "load")
ddequalcolumns.dotask(window, function(){if (typeof ddequalcolumns.timer!="undefined") clearTimeout(ddequalcolumns.timer); ddequalcolumns.timer=setTimeout("ddequalcolumns.resetHeights()", 100)}, "resize")
