MenuItem = new Array();
MenuLink = new Array();
MenuSize = new Array();
MenuSize[1]="MenuItem";MenuSize[7]="MenuItemSm";
MenuSize[2]="MenuItem";//MenuSize[8]="MenuItemSm";
MenuSize[3]="MenuItem";//MenuSize[9]="MenuItemSm";
MenuSize[4]="MenuItem";MenuSize[8]="MenuItemSm";
MenuSize[5]="MenuItem";MenuSize[9]="MenuItem";
MenuSize[6]="MenuItemSm";

MenuItem[1]="Home";MenuLink[1]="index.html";
MenuItem[2]="Games";MenuLink[2]="games.html";
MenuItem[3]="Pictures";MenuLink[3]="picindex.html";
MenuItem[4]="Links";MenuLink[4]="links.html";
MenuItem[5]="Email Me";MenuLink[5]="contact.html";
//MenuItem[6]="View Guestbook";MenuLink[6]="guestbook.html";
//MenuItem[7]="Sign Guestbook";MenuLink[7]="addcomment.html";
//MenuItem[8]="BloodBowl";MenuLink[8]="bloodbowl/bloodbowl.html";
//MenuItem[9]="Message Board";MenuLink[9]="phpBB2/index.php\" target=\"_blank\"";
MenuItem[6]="My Business";MenuLink[8]="http://www.junebugmultimedia.com\" target=\"_blank\"";
MenuItem[7]="What's New";MenuLink[9]="whatsnew.html";

function MenuSetUp(){
var Menu ="<table width=\"93\" height=\"250\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" height=\"100%\" background=\"generalpics/darkbluebkgnew.jpg\">";
for (i=1;i<MenuItem.length;i++){
	Menu +="<tr valign=\"center\"><td width=\"93\" height=\"25\" align=\"center\"> ";
//	Menu +="onmouseover=\"this.style.backgroundColor='#666666'\" ";
//	Menu +="onmouseout=\"this.style.backgroundColor=''\">";
//	Menu +="onclick=\"document.location.href= ' "+MenuLink[i]+" ' \" >";
	Menu +="<a class=\""+MenuSize[i]+"\" href=\""+MenuLink[i]+"\"><b>"+MenuItem[i]+"</b></a></td></tr>";
	}
Menu +="</table>";
document.write(Menu);
}

function popup(){
window.open('popup.html','Popup','top=5,left=5,width=500,height=275,toolbar=no,resizable=no');
}

function footer(){
var msg ="<b class=\"footnotewhite\">";
msg +="These pages are best viewed with a 1024 x 768 Resolution and using Microsoft Internet Explorer<br>";
msg +="Copyright &copy; 2002-2003 junebug.us</b><br><br>";
document.write(msg);
}

function GoBack(){
history.go(-1);
}

//for picture section
function GetGraphic(start,end){//starts function
var j=1;
for (i=start;i<=end;i++){//starts for loop
	Picture[j] = i;
	Capt[j] = Capt[i];
	Alt[j] = Alt[i];
	j++;
	}//ends for loop
}//ends function
//end picture section

//for BloodBowl Stuff
var Pic1=7;
var Pic2=7;

	var RandomNum1;
	var RandomNum2;
	RandomNum1=Math.floor((Pic1)*Math.random()+1);
	RandomNum2=Math.floor((Pic2)*Math.random()+1);
	RandomNum2=RandomNum2+7;
//Ends for BloodBowl Stuff

function LastUpdate(){
document.write(document.lastModified.substring(0,document.lastModified.lastIndexOf(' ')));
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
