// © Copyright 1999-2002 Arayh
// This code is not public domain.

var lastupdated='o9.o3.2oo5'

function dw(hcode) {document.write(hcode)}
function dwrepeat(hcode,rnum)
 {
  var repeat=''
  for (r=1;r<=rnum;r++) {repeat+=hcode}
  dw(repeat)
 }
function playMus(data)
 {
  var filenam=''
  for (i=0; data.charAt(i)!=',' && i<data.length; i++)
  {
   filenam+=data.charAt(i)
  }
  var artist=''
  for (i=data.indexOf(',')+1; data.charAt(i)!='*' && i<data.length; i++)
  {
   artist+=data.charAt(i)
  }
  var song=''
  for (i=data.indexOf('*')+1; i<data.length; i++)
  {
   song+=data.charAt(i)
  }
  filenam=escape(filenam)
  artist=escape(artist)
  song=escape(song)
  window.open('http://arayh.iwarp.com/music/playmusic.html?file='+filenam+'&artist='+artist+'&song='+song,'Arayh','scrollbars=auto,resize=yes,height=150,width=300')
//  window.open('http://arayh.iwarp.com/music/playmusic.html?file='+filenam,'Arayh','scrollbars=auto,resize=yes,height=100,width=200')
//  openCCIWindow('music/playmusic.html?file='+filenam,'Arayh','scrollbars=auto,resize=yes,height=100,width=200')
  firstChoice.value = ""
 }

dw(' <STYLE TYPE="TEXT/CSS">')
dw('  A {COLOR: "#8080CC"; TEXT-DECORATION: "none"}')
dw('  A:hover {COLOR: "#4040CC"; TEXT-DECORATION: "underline"}')
dw('  A:active {COLOR: "#404040"; TEXT-DECORATION: "none"}')
dw(' </STYLE>')


dw(' <img src="'+path+'img/layout/arayh_topp.gif" style="position:absolute; top:0; left:0; z-index:1;">')
dw(' <img src="'+path+'img/layout/arayh_side.gif" style="position:absolute; top:70; left:800; z-index:2;">')

dw(' <div style="position:absolute; top:10; left:147; width:20; z-index:999;">')
dw("  <a onclick=`playMus('http://arayh.iwarp.com/img/prom01.jpg,Error 404*Error 404')`> &nbsp</a>")
dw(' </div>')
dw(' <div style="position:absolute; top:10; left:167; width:20; z-index:999;">')
dw("  <a onclick=`playMus('http://arayh.iwarp.com/img/prom02.jpg,Error 404*Error 404')`> &nbsp</a>")
dw(' </div>')
dw(' <div id="links" style="position:absolute; top:50; left:350; width:190; z-index:4;">')
dw('  <table width="190"><tr bgcolor="#FFFFFF"><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">')
dw("   <a href='http://edenclan.itgo.com/'><i><b>-Eden Clan</b></i></a><BR>")
dw("   <a href='http://www.angelfire.com/art/designn/'><i><b>-Tiffany's Artistic Intelligence</b></i></a><BR>")
dw("   <a href='http://shafi.iwarp.com/'><i><b>-Shafi's Quirk</b></i></a><BR>")
dw("   <a href='http://sky1024.tripod.com/'><i><b>-Magical Angel</b></i></a><BR>")
dw('  </font></tr></table>')
dw(' </div>')


dw(' <div style="position:absolute; top:42; left:195; width:500; z-index:3;">')
dw('  <font face="Arial, Helvetica, sans-serif" size="2" color="#AAAAAA">')
dw('   <i><b>'+lastupdated+'</b></i>')
dw('  </font>')
dw(' </div>')
dw(' <div style="position:absolute; top:70; left:110; width:500; z-index:3;">')
dw('  <font face="Arial, Helvetica, sans-serif" size="2" color="#CCCCCC">')
dw('   <i><b>'+count[0]+' .have.passed.by</b></i>')
dw('  </font>')
dw(' </div>')
dw(' <div style="position:absolute; top:90; left:80; width:500; z-index:3;">')
dw('  <table cellpadding="5" cellspacing="0" border="2" bordercolor="#000000" bgcolor="#000000">')
dw('   <tr>')
dw('    <td id="menubutton" bgcolor="#808080" onmouseover="javascript:MENU(true);menuitemhover(this)">')
dw('     <font face="Arial, Helvetica, sans-serif" size="5" color="#FFFFFF">')
dw('      <i><b>.menu></b></i>')
dw('     </font>')
dw('    </td>')
dw('   </tr>')
dw('  </table>')
dw(' </div>')
dw(' <div style="position:absolute; top:100; left:190; width:500; z-index:3;">')
dw('  <font face="Arial, Helvetica, sans-serif" size="2" color="#000000">')
dw('   <font color="#FFCCCC"><i><b>new</b></i></font> <a href="http://arayh.iwarp.com/games/dodge/"><i><b>Dodge Game</b></i></a><BR>')
dw('  </font>')
dw(' </div>')
dw(' <div style="position:absolute; top:120; left:190; width:500; z-index:3;">')
dw('  <font face="Arial, Helvetica, sans-serif" size="2" color="#000000">')
dw('   <i><b>:: .navigation</b></i>')
dw('  </font>')
dw(' </div>')


// <menu>

function MENU(vis)
{
 if (vis)
 {
//  menu.style.visibility='visible'
  menu.style.display=''
 }
 else
 {
//  menu.style.visibility='hidden'
  menu.style.display='none'
 }
}
function MENUhideall()
{
  menu.style.display='none'
// menu.style.visibility='hidden'
 //yearbooks.style.visibility='hidden'

 menubutton.style.background='#808080'

}
function menuitemhover(dis)
{
 dis.style.background='#000000'
 dis.style.cursor='hand'
}
function menuitemout(dis)
{
 dis.style.background='#808080'
}

//dw(' <div id="menu" style="position:absolute; top:130; left:100; z-index:5; visibility:hidden">')
dw(' <div id="menu" style="position:absolute; top:130; left:100; z-index:5; display:none">')

dw('  <table cellpadding="0" cellspacing="0" bgcolor="#000000" border="1" bordercolor="#000000" width="200">')

var main = new Array()
var mainurl = new Array()

var mcnt = -1;

main[++mcnt]='.home.page';                  mainurl[mcnt]=path+'news.html';
main[++mcnt]='.my.writing';                 mainurl[mcnt]=path+'writing/index.html';
main[++mcnt]='.my.quotes';                  mainurl[mcnt]=path+'writing/quotes.html';
main[++mcnt]='.games';                      mainurl[mcnt]=path+'games/index.html';
main[++mcnt]='.art.site';                   mainurl[mcnt]='http://www.geocities.com/arayh_al/';
//main[++mcnt]='.my.music';                   mainurl[mcnt]=path+'music/index.html';
main[++mcnt]='.web.tools';                  mainurl[mcnt]=path+'webtools/index.html';
main[++mcnt]='»';
main[++mcnt]='.yb.2001';                    mainurl[mcnt]=path+'yb/index.html';
main[++mcnt]='PAGE 1 .yb.2002.home.page';   mainurl[mcnt]=path+'yb/01-02.html';
main[++mcnt]='PAGE 2 .yb.2002.mugshots';    mainurl[mcnt]=path+'yb/01-02a.html';
main[++mcnt]='PAGE 3 .yb.2002.mugshots';    mainurl[mcnt]=path+'yb/01-02b.html';
main[++mcnt]='PAGE 4 .yb.2002.extras';      mainurl[mcnt]=path+'yb/01-02c.html';
main[++mcnt]='.commencement';               mainurl[mcnt]=path+'yb/com.html';
//main[++mcnt]='.yb.corkboard';               mainurl[mcnt]=path+'corkboard/Yearbook_Corkboard.html';
//main[++mcnt]='.ut.photos';                  mainurl[mcnt]=path+'img/ut/';
main[++mcnt]='»';
main[++mcnt]='.poll';                       mainurl[mcnt]=path+'poll.html';
main[++mcnt]='.sign.guestbook';                  mainurl[mcnt]='http://guestbooks.pathfinder.gr/sign/Arayh';
main[++mcnt]='.read.guestbook';                  mainurl[mcnt]='http://guestbooks.pathfinder.gr/read/Arayh';
main[++mcnt]='»';
main[++mcnt]='.chatroom';                   mainurl[mcnt]='http://arayh.netfirms.com/chat.html';
//main[++mcnt]='.flash.chatroom';             mainurl[mcnt]='http://arayh.netfirms.com/flashchat.html';

for (i=0;i<main.length;i++)
{
if (main[i]=='»') {
dw('   <tr>')
dw('    <td bgcolor="#000000" width="200" height="10">')
dw('    </td>')
dw('   </tr>')
}
else {
dw('   <tr>')
dw('    <a href="'+mainurl[i]+'"><td bgcolor="#808080" width="200" onmouseover="javascript:menuitemhover(this)" onmouseout="menuitemout(this)">')
dw('     <font face="Arial, Helvetica, sans-serif" size="2" color="#000000">')
dw('      <i><b>')
dw('       <font color="#FFFFFF"> &nbsp '+main[i]+'</font>')
dw('      </b></i>')
dw('     </font>')
dw('    </td></a>')
dw('   </tr>')
}
}

dw('  </table>')
dw(' </div>')

// </menu>


dw(' <div id="maindiv" onmouseover="javascript:MENUhideall()" style="position:absolute; top:137; left:0; height:420; width:800; overflow:auto; z-index:4;">')
dw('  <table id="maindivtable1" cellpadding="0" cellspacing="0" border="0" width="780">')
dw('   <tr>')
dw('    <td background="'+path+'img/layout/arayh_dots.gif" width="16" align="left">')
dw('    </td>')
dw('    <td width="*" align="left">')
dw('     <table id="maindivtable2" cellpadding="0" cellspacing="0" border="0" width="520">')
dw('      <tr>')
dw('       <td width="100%">')
dw('        <font face="Arial, Helvetica, sans-serif" size="2">')
dw('         <BR>')
dw('         <font color="#808080"><ol><b><i>')
dw('          u_r_at://'+title)
dw('         </i></b><hr width="200" size="1" color="#B0B0FF" align="left"></ol></font>')
