// menu width variables & page positioning
var menuwidth=110
var offsetleft=10
var offsettop=100


function makeStatic() {
if (document.all) {object1.style.pixelTop=document.body.scrollTop+offsettop}
else{eval(document.object1.top=eval(window.pageYOffset+offsettop));}
setTimeout("makeStatic()",0);
}

if (document.all) {document.write('<DIV ALIGN="CENTER" ID="object1" STYLE="Position:absolute; Top:20; Left:'+offsetleft+'; Z-Index:5;cursor:hand;background-color:darkgreen"><TABLE BORDER="1" width="'+menuwidth+'" CELLPADDING="0" CELLSPACING="0" BORDERCOLOR="darkgreen" bgcolor="black">')}
else if (document.layers){ document.write('<LAYER top="20" name="object1" left="'+offsetleft+'" BGCOLOR=black><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1"><TR><TD><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" width="'+menuwidth+'">')}

if (document.all||document.layers)
document.write('<TR><TD BGCOLOR="BLACK" BORDERCOLORDARK="darkorange" BORDERCOLORLIGHT="darkorange"><P ALIGN=CENTER><FONT SIZE="4" FACE=ARIAL>MENU</FONT></TD></TR>')

var menup = new Array();
var menul = new Array();

//menu items

menup[0]="Photoshop";
menup[1]="Premiere";
menup[2]="Painter";
menup[3]="Corel";
menup[4]="Splash";
menup[5]="Gazette";
menup[6]="Add link";
menup[7]="Tutorials";
menup[8]="Resources";
menup[9]="Authorware";
menup[10]="Illustrator";
menup[11]="Home";

menul[0]="http://www.mts.net/~donxl/adobe_photoshop_6.htm";
menul[1]="http://www.mts.net/~donxl/designers_portfolio/premiere_movies.htm";
menul[2]="http://www.mts.net/~donxl/fractal_painter_6.htm";
menul[3]="http://www.mts.net/~donxl/coreldraw_10.htm";
menul[4]="http://www.mts.net/~donxl/webdesigns_designs/splash.htm";
menul[5]="http://www.mts.net/~donxl/news_gazette.htm";
menul[6]="http://www.mts.net/~donxl/add_site/add_your_site.htm";
menul[7]="http://www.mts.net/~donxl/tutorials_index.htm";
menul[8]="http://www.mts.net/~donxl/graphics_resources.htm";
menul[9]="http://www.mts.net/~donxl/designers_portfolio/authorware/authorware.htm";
menul[10]="http://www.mts.net/~donxl/adobe_illustrator_9.html";
menul[11]="http://www.mts.net/~donxl/";

for (i=0;i<=menup.length-1;i++)
if (document.all) {document.write('<TR><TD BORDERCOLOR="white" ONCLICK="location=\''+menul[i]+'\'" onmouseover="className=\'menuh\'" onMouseout="className=\'menu\'"><CENTER><FONT>'+menup[i]+'</FONT></TD></TR>')}
else if (document.layers){document.write('<TR><TD BGCOLOR="white"><ILAYER><LAYER width="'+menuwidth+'" onmouseover="bgColor=\'BLACK\'" onmouseout="bgColor=\'E7E5E4\'"><CENTER><A HREF="'+menul[i]+'" class=menulinks>'+menup[i]+'</A></CENTER></LAYER></ILAYER></TD></TR>')}

if (document.all) {document.write('</TABLE></DIV>')}
else if (document.layers){document.write('</TABLE></TD></TR></TABLE></LAYER>')}

function menud(){
if (document.all||document.layers)
makeStatic()
}

window.onload=menud


