// JavaScript Document
function bookmark(url, description)
{
   netscape="Netscape User's hit CTRL+D to add a bookmark to this site."
   if (navigator.appName=='Microsoft Internet Explorer')
   {
      window.external.AddFavorite(url, description);
   } else if (navigator.appName=='Netscape') {
      alert(netscape);
   }
}

function pwnImage(imgId)
{
   var ele = document.getElementById(imgId)

   ele.style.display = 'none';
}

function showSize()
{
   var htmlcd = "<html>"+document.getElementById("html").innerHTML+"</html>";
   var imgsize = 40587;

   var htmlSize = (htmlcd.length+imgsize)/1024;
   htmlSize = htmlSize.toFixed(3);
   document.getElementById("sizecontainer").innerHTML = ("<font style='font-size:7pt;'>Page Size (Including Images): "+ htmlSize+ "kb</font>");
}

function toggle(id)
{
   var elem = document.getElementById(id);

   var dp="";

   if(elem.style.display=="")
   {
      dp="none";
   }
   elem.style.display=dp;

   return false;
}

function alternate(id){
 if(document.getElementsByTagName){
   var table = document.getElementById(id);
   var rows = table.getElementsByTagName("tr");
   for(i = 0; i < rows.length; i++){
 //manipulate rows
     if(i % 2 == 0){
       rows[i].className = "even";
     }else{
       rows[i].className = "odd";
     }
   }
 }
}

var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}

function Loadeverything()
{
showSize();
alternate('top5_ups');
alternate('top5_search');
alternate('top5_downs');
pwnImage('theimg');
alternate('thetable');
}

<!--
function o(n, i) {
	document.images['thumb'+n].src = 'http://browsehentai.com/dlf/i.php?f='+i;

}

function f(n) {
	document.images['thumb'+n].src = 'http://browsehentai.com/dlf/trans.gif';
}
//-->
<!--
 //version 1.03 Copyright © http://www.xclicks.net 
  et=""; // text when nothing available
  el="http://x4.xclicks.net/sc/out.php?s=3464&dreff=1"
  sl=new Array(); sh=new Array(); st=new Array();thpm=new Array();
  sn=new Array(); ns=new Array(); sd=new Array(); th=new Array();
  a="</a><br>"; af="<a target='_blank' "; 
  ps="<img border='0' src=thumbs/";
  function dw(n) {document.write(n,"\n");}
  function showLink(n,s,b){if (!s){s='anc'} if (!b){b=''} else {b="&b="+b} 
  ast =af+" class='"+s+"' href='"+el; n=n-1; if (sl[n]&&sl[n]!=""){
  dw(ast+"&o="+sl[n]+b+"'>"+sn[n]+a)}else{dw("")}}
  function showThumb(n,b,tw,th){if (!tw){tw=66} if (!b){b=''} else {b="&b="+b} 
  n=n-1; if (!st[n]||st[n]!=""){st[n]=n}if (!th){th=100} att=af+" href='"+el;
  if (sl[n] && sl[n]!=""){dw(att+"&o="+sl[n]+b+"'>")}else {dw(att+el+b+"'>");sn[n]=et}
  dw(ps+(n+1)+".jpg height='"+th+"' width='"+tw+"' alt='"+sn[n]+"'>"+a)}
  function showHitsIn(n){n=n-1; if (sh[n]&& sh[n]!=""){dw(sh[n])}}
  function showHitsOut(n){n=n-1; if (so[n]&& so[n]!=""){dw(so[n])}} 
  function showHotpic(n,pw,ph){if (!pw){pw=''} else {pw=" width='"+pw+"'"}
  if (!ph){ph=''} else {ph=" height='"+ph+"'"}n=n-1; if (ns[n]&& ns[n]!=""){
  dw(ps+ns[n]+".gif"+pw+ph+">")}}
  //theese functions work with a css with .anc and .thm classes
  elth='http://x4.xclicks.net/sc/xth.php?s=3464';
  function showXThumb(n){n=n-1; att=af+" href='"+elth;
  if (th[n] && th[n]!=""){ath=af+" href='"+elth; dw(ath+"&th="+th[n]+"'>");
altp=""; altm="";
if (thpm[n]) {pm=thpm[n].split("/");  
  if (pm[0]!=0) altp="Pics: "+pm[0]+" ";
  if (pm[1]!=0) altm="Movies: "+pm[1]+" ";}
  dw("<img class='thx' border='0' src='"+ThURL+th[n]+"'"+SiZe+" alt='"+altp+altm+"'>"+a)}}
  //--> 