function Bookmark(){
if( navigator.appVersion.indexOf("MSIE") > 0) 
 if( parseInt(navigator.appVersion)>=4 )
  window.external.AddFavorite("http://www.gratispornno.nl", document.title="Gratis Pornno");
}
function reloadPage(doit) {
	window.open(doit.d.options[doit.d.selectedIndex].value,'reclame','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,width='+screen.availWidth+',height='+screen.availHeight);
	doit.d.selectedIndex = 0;
}
function wst(){window.status="gratis pornno"; window.setTimeout("wst()",0);}
wst();

function rebuildLinks() 
{
	out_path = 'http://www.gratispornno.nl/gallery/?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);
					}
				}
			}
		}
	}
}
