function jjstyle() {

document.writeln("<BODY BGCOLOR=\"#000000\" TEXT=\"#bbaa77\" LINK=\"#ff8888\" ALINK=\"#dd6666\" VLINK=\"#dd6666\" topmargin=\"0\">");



document.writeln("<STYLE TYPE=\"text/css\">");
document.writeln("<!--");
document.writeln("	A:link {color: #ff8888; text-decoration: none; letter-spacing: none}");
document.writeln("	A:visited {color: #dd6666; text-decoration: none; letter-spacing: none}");
document.writeln("	a:hover {color: #dd6666; text-decoration: none; letter-spacing: none}");
document.writeln("-->");
document.writeln("</STYLE>");

}

function jjlinks() {

document.writeln("<center>");
//document.writeln("<img src=\"images/map.gif\" width=470 height=70 alt=\"\" border=\"0\" usemap=\"#jj\"><br>");
//document.writeln("<map name=\"jj\">");
document.writeln("[ <a href=\"\" target=\"_top\">Home</a> |");
document.writeln("<a href=\"jjwn.html\" target=\"_top\">News</a> |");
document.writeln("<a href=\"jjart.html\" target=\"_top\">Art</a> |");
document.writeln("<a href=\"jjlinks.html\" target=\"_top\">Links</a> |");
document.writeln("<a href=\"http://adamrulz.com/board/?c=4\" target=\"_top\">Board</a> |");
document.writeln("<a href=\"jjlist.html\" target=\"_top\">List</a> |");
document.writeln("<a href=\"jjwr.html\" target=\"_top\">Ring</a> |");
document.writeln("<a href=\"http://clubs.yahoo.com/clubs/thejarjarhateclub\" target=\"_top\">Club</a> ]");
//document.writeln("</map>");
document.writeln("</center>");

//document.writeln("<center>[ ");
//document.writeln("<a href=\"http://adamrulz.com/jj/\">Home</a> | ");
//document.writeln("<a href=\"jjwn.html\">News</a> | ");
//document.writeln("<a href=\"jjart.html\">Art</a> | ");
//document.writeln("<a href=\"jjlinks.html\">Links</a> | ");
//document.writeln("<a href=\"jjmb.html\">Message Board</a> | ");
//document.writeln("<a href=\"jjlist.html\">Mailing List</a> | ");
//document.writeln("<a href=\"jjwr.html\">Web Ring</a> | ");
//document.writeln("<a href=\"http://clubs.yahoo.com/clubs/thejarjarhateclub\">Club</a>");
//document.writeln(" ]</center>");

document.writeln("<br><br>");

}

function jjban() {

document.writeln("<center><a href=\"http://adamrulz.com/jj/\" target=\"_top\">");
document.writeln("<img src=\"http://adamrulz.com/jj/images/jjban.gif\" width=400 height=80 ");
document.writeln("alt=\"Visit the Jar Jar Hate Page!\" border=0><br></a></center>");

//document.writeln('<center><a href="http://adamrulz.com/kk/" target="_new">');
//document.writeln('<img src="http://adamrulz.com/kk/images/kk7ban.gif" width=400 height=80 border=0></a></center>');

document.writeln("<br><br>");

}

function jjtop() {

jjstyle();
jjlinks();
jjban();

}

function jjbottom() {

document.writeln("");

}

function popup(page,bar,dx,dy) {
		window.open(page, "Image","location=no,scrollbar=" + bar + ",status=1,width=" + dx + ",height=" + dy)
}

function popupimage(page,bar,dx,dy) {
		window.open(page, "Image","location=no,scrollbar=" + bar + ",status=1,width=" + eval(dx + 20) + ",height=" + eval(dy + 30))
}

function newpage(page,bar,dx,dy) {
  if (navigator.appName == "Microsoft Internet Explorer") {
    window.open(page, "Image","location=no,scrollbar=" + bar + ",status=1,width=" + dx + ",height=" + dy)
  }

  if (navigator.appName != "Microsoft Internet Explorer") {
    alert("Netscape sucks!"); 
    OpenWin = this.open(page, "CtrlWindow", "toolbar=no,location=no,status=yes,menubar=no,scrollbars=yes,resize=no,width=265,height=" + dy);
  }
}

function netscapesucks() {

}

function wnheader(words, width) 
{ 
mainbg='000000' 
inbg='000055' 
borderbg='000000' 
wordbg='0000ff' 
path='http://www.angelfire.com/ar/airlandis/images/' 
blank2 = '<img src="' + path + 'blank.gif" width=16 height=16><Br>' 
 
for (i=0; i<=words.length; i++)  // Replaces spaces with invisible underscores 
  { 
    if (words.substring(i, i+1) == ' ') 
      { 
        words = words.substring(0, i) + '<font color="' + wordbg +'">_</font>' + words.substring(i + 1, words.length); 
        i = i + 22; 
      } 
  } 
 
document.write('<center>'); 
document.write('<table border=0 cellpadding=0 cellspacing=0 bgcolor="' + borderbg + '" width=' + eval(width + 32) + '>'); 
document.write('<tr>'); 
document.write('<td bgcolor="' + wordbg + '"><b>'); 
document.write('<font color="ffffff">'); 
document.write(words); 
document.write('</font></b></td>'); 
 
document.write('</tr>'); 
 
document.write('<tr>'); 
document.write('<td>'); 
document.write('<font color="bbbbbb">'); 
 
} 
 
function wnfooter() 
{ 
path='' 
blank2 = '<img src="' + path + 'blank.gif" width=16 height=16><Br>' 
 
document.write('</font></td>'); 
document.write('</tr>'); 
document.write('</table>'); 
 
document.write('</center><Br><Br>'); 
} 
 
function wnline() { 
wordbg='0000ff' 
 
document.write('</td></tr><tr>'); 
document.write('<td bgcolor="' + wordbg + '"><b>'); 
document.write('<font color="ffffff">'); 
document.write('</font></b></td>'); 
 
document.write('</tr>'); 
 
document.write('<tr>'); 
document.write('<td>'); 
document.write('<font color="bbbbbb">'); 
 
} 
 
function ffheader(words, width) {

  wnheader(words, width);

}

function fffooter() {

  wnfooter();

}

function jjheader() {

document.write('<center>');
document.write('<table border=0 cellpadding=0 cellspacing=0 width=' + jjwidth + '>');
//document.write('<tr><td background="images/tl.gif" width=16 height=16><img src="images/blank.gif" width=16 height=16><br></td>');
//document.write('<td background="images/t.gif" height=16><img src="images/blank.gif" width=16 height=16><br></td>');
//document.write('<td background="images/tr.gif" width=16 height=16><img src="images/blank.gif" width=16 height=16><br></td></tr>');

//document.write('<tr><td background="images/l.gif" width=16><img src="images/blank.gif" width=16 height=16><br></td>');
//document.write('<td bgcolor="#240024">');
document.write('<tr><td>');

}

function jjfooter() {

//document.write('</td>');
//document.write('<td background="images/r.gif"><img src="images/blank.gif" width=16 height=16><br></td></tr>');
//document.write('<tr><td background="images/bl.gif" width=16 height=16><img src="images/blank.gif" width=16 height=16><br></td>');
//document.write('<td background="images/b.gif" height=16><img src="images/blank.gif" width=16 height=16><br></td>');
//document.write('<td background="images/br.gif" width=16 height=16><img src="images/blank.gif" width=16 height=16><br></td></tr></table>');
document.write('</td></tr></table>');
document.write('</center><br><br>');

}

function setwidth(width_to_set) {
  jjwidth=width_to_set;
}

jjwidth='80%';
