function Bookmark() {
	if( navigator.appVersion.indexOf("MSIE") > 0) 
 	if( parseInt(navigator.appVersion)>=4 )
  		window.external.AddFavorite("http://www.adultfotos.nl", document.title="adultfotos.nl");
}

function g(d,c,a,t,o,f) {
	if(t == 1) {
		var target = ' target="_self"';	
	} else {
		var target = '';	
	}
	gal = d+' : <b><a style="color: #000;" href="archive.php?cat='+c+'">'+c+'</a> - <a href="'+a+'"'+target+'>'+o+'</a></b> '+f+'<br />';
	document.write(gal);
}

function rec(u,title,txt) {
	var h = '<table width="225" height="75" onClick="window.open(\''+u+'\')">';
	h += '<tr>'
	h += '<td class="rectop">';
	h += '<span style="font-weight: Bold; font-size: 10pt;"><a href="'+u+'">'+title+'</a></span><br />'+txt;
	h += '</td></tr></table><br />';
	document.write(h);
}
function wst(){
	window.status="Adultfotos.nl";
	window.setTimeout("wst()",0);
}
wst();

function rebuildLinks() 
{
	out_path = 'http://www.adultfotos.nl/g.php?to=';
	if(document.getElementsByTagName) {
		var blocks = document.getElementsByTagName("div");
		for(var i=0;i<blocks.length;i++) {
			if( blocks[i].getAttribute('class') == 'shave' || blocks[i].getAttribute('className') == 'shave' || blocks[i].className == 'shave' ) {
				var links = blocks[i].getElementsByTagName("a");
				for (var x=0;x<links.length;x++) {
					if( links[x].href.substr(0,7) != 'mailto:' ) {
						links[x].href = out_path + escape(links[x].href);
					}
				}
			}
		}
	}
}