document.write("<div class='dagelijkswoordbox' id=dagelijkswoordbox style='cursor:pointer; display:none;'><div class='dagelijkswoordtitel' id=dagelijkswoordtitel>");
document.write("vrijdag 27 januari 2012 - Johannes 4:14</div><div class='dagelijkswoordtekst' id=dagelijkswoordtekst>Maar wie het water drinkt dat ik hem geef, zal nooit meer dorst krijgen. Het water dat ik geef, zal in hem een bron worden waaruit water opwelt dat eeuwig leven geeft.</div>");
try{ if(dw_subscr) document.write(
	'<div class="dagelijkswoordinschrijven" id="dagelijkswoordinschrijven"><br><form target="_blank" action="http://www.dagelijkswoord.nl/mail/subscribe" method="post"><center><span style="font-size:8pt;">Dagelijks Woord per mail? Schrijf u gratis in!</span><br>Email: <input type="text" style="width: 182px; font-size:9px;" maxlength="60" name="email"><br><select style="width: 182px; font-size:10px;" name="translation"><option value="0">Nieuwe Bijbelvertaling (NBV)</option><option value="1">NBG51</option><option value="2">Statenvertaling</option><option value="3">Willibrord</option></select><input style="font-size:10px;" type="submit" value="Inschrijven" name="submit"></center></form></div>'
	+'<in'+'put type="hi'+'dden" name="bo'+'tfi'+'lte'+'r" "val'+'ue="'+rtt("fvyyl fcnzobg svygre")+'"></script>'
	); }catch(e){ 
}

document.write('</div>');

var dagelijkswoordbox=document.getElementById('dagelijkswoordbox');
var dagelijkswoordtitel=document.getElementById('dagelijkswoordtitel');
var dagelijkswoordtekst=document.getElementById('dagelijkswoordtekst');
var dagelijkswoordinschrijven=document.getElementById('dagelijkswoordinschrijven');

if (dagelijkswoordbox && dagelijkswoordtitel && dagelijkswoordtekst ){
	dagelijkswoordtekst.onclick=function(){
		var url='http://www.dagelijkswoord.nl/?refer=dagelijks.js&dom=';
		if (window.location.host) url=url+window.location.host;
		if(!window.open(url)) {
			location=url; }
		return false;
	};
	dagelijkswoordtitel.onclick=function(){
		var url='http://www.dagelijkswoord.nl/?refer=dagelijks.js&dom=';
		if (window.location.host) url=url+window.location.host;
		if(!window.open(url)) {
			location=url; }
		return false;
	};


	if ( window.dw_fixed_style && (dw_fixed_style!=null) ) {
		if (dw_fixed_style==1){
			dagelijkswoordbox.style.margin='10px';
			dagelijkswoordbox.style.width='300px';
			dagelijkswoordbox.style.height='150px';
			dagelijkswoordbox.style.overflow='auto';
			dagelijkswoordbox.style.background='url(http://feed.dagelijkswoord.nl/js/footstepsbg.jpg)';
			dagelijkswoordbox.style.fontFamily='verdana';
			dagelijkswoordbox.style.fontSize='12px';
			dagelijkswoordbox.style.color='000';
			dagelijkswoordtitel.style.fontWeight='bold';
		}
	}else{
		try{ if ( window.dw_titel_font && (dw_titel_font!=null) && (dw_titel_font.length) ){ dagelijkswoordtitel.style.fontFamily=dw_titel_font; } }catch(err){}
		try{ if ( window.dw_titel_color && (dw_titel_color!=null) && (dw_titel_color.length) ){ dagelijkswoordtitel.style.color=dw_titel_color; } }catch(err){}
		try{ if ( window.dw_titel_bgcolor && (dw_titel_bgcolor!=null) && (dw_titel_bgcolor.length) ){ dagelijkswoordtitel.style.backgroundColor=dw_titel_bgcolor; } }catch(err){}
		try{ if ( window.dw_titel_decoration && (dw_titel_decoration!=null) && (dw_titel_decoration.length) ){ dagelijkswoordtitel.style.textDecoration=dw_titel_decoration; } }catch(err){}
		try{ if ( window.dw_titel_size && (dw_titel_size!=null) && (dw_titel_size.length) ){ dagelijkswoordtitel.style.fontSize=dw_titel_size; } }catch(err){}
		try{ if ( window.dw_titel_padding && (dw_titel_padding!=null) && (dw_titel_padding.length) ){ dagelijkswoordtitel.style.padding=dw_titel_padding; } }catch(err){}
		try{ if ( window.dw_tekst_font && (dw_tekst_font!=null) && (dw_tekst_font.length) ){ dagelijkswoordtekst.style.fontFamily=dw_tekst_font; } }catch(err){}
		try{ if ( window.dw_tekst_color && (dw_tekst_color!=null) && (dw_tekst_color.length) ){ dagelijkswoordtekst.style.color=dw_tekst_color; } }catch(err){}
		try{ if ( window.dw_tekst_bgcolor && (dw_tekst_bgcolor!=null) && (dw_tekst_bgcolor.length) ){ dagelijkswoordtekst.style.backgroundColor=dw_tekst_bgcolor; } }catch(err){}
		try{ if ( window.dw_tekst_size && (dw_tekst_size!=null) && (dw_tekst_size.length) ){ dagelijkswoordtekst.style.fontSize=dw_tekst_size; } }catch(err){}
		try{ if ( window.dw_tekst_padding && (dw_tekst_padding!=null) && (dw_tekst_padding.length) ){ dagelijkswoordtekst.style.padding=dw_tekst_padding; } }catch(err){}
		try{ if ( window.dw_box_width && (dw_box_width!=null) && (dw_box_width.length) ){ if(dw_box_width<60) {dw_box_width=60;} if(dw_box_width.match(/%/)){dagelijkswoordbox.style.width=dw_box_width;}else{ dagelijkswoordbox.style.width=dw_box_width+'px';} } }catch(err){}
		try{ if ( window.dw_box_height && (dw_box_height!=null) && (dw_box_height.length) ){ if(dw_box_height<48) {dw_box_height=48;}  dagelijkswoordbox.style.maxHeight=dw_box_height+'px'; } }catch(err){}
		try{ if ( window.dw_box_overflow && (dw_box_overflow!=null) && (dw_box_overflow.length) ){ dagelijkswoordbox.style.overflow=dw_box_overflow; } }catch(err){}
		try{ if ( window.dw_inschrijven_bgcolor && (dw_inschrijven_bgcolor!=null) && (dw_inschrijven_bgcolor.length) ){ dagelijkswoordinschrijven.style.backgroundColor=dw_inschrijven_bgcolor; } }catch(err){}
	}
	if ( window.dw_box_margin && (dw_box_margin!=null) && (dw_box_margin.length) ){ dagelijkswoordbox.style.margin=dw_box_margin; }
	if ( window.dw_box_float && (dw_box_float!=null) && (dw_box_float.length) ){ dagelijkswoordbox.style.cssFloat=dw_box_float; }

	try {
		if( window.dw_clean_title==1 ){
			x=document.getElementById("dagelijkswoordtitel");
			if(x)
				x.innerHTML=x.innerHTML.replace(/^[^-]* *- */,"");
		}
	} catch(err) { }

	dagelijkswoordbox.style.display='block'; //Show after setting styles
}

function rtt(src){
		var dst=new String('') ;
		var len=src.length ;
		var b ;
		var t=new String('') ;
		if(len > 0) {
				for(var ctr=0; ctr<len ; ctr++) {
						b=src.charCodeAt(ctr)
								if( ( (b>64) && (b<78) ) || ( (b>96) && (b<110) ) ) {
										b=b+13
								} else {
										if( ( (b>77) && (b<91) ) || ( (b>109) && (b<123) ) ) { b=b-13 }
								}
						t=String.fromCharCode(b) ;
						dst=dst.concat(t) ;
				}
		}
		return dst;
} 

