function main_menu(){
var msg="<div id=\"home_button\" style=\"position:absolute; width:125px; height:25px; z-index:1; left: 111px; top: 0px;\"><a href=\"index.html\"><img src=\"media/buttons/home_up.gif\" name=\"home_up\" width=\"125\" height=\"25\" border=\"0\" id=\"home_up\" onMouseOver=\"MM_swapImage('home_up','','media/buttons/home_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"dr_button\" style=\"position:absolute; width:125px; height:25px; z-index:1; left: 132px; top: 25px;\"><a href=\"diamondrings.html\"><img src=\"media/buttons/diamondrings_up.gif\" name=\"dr_up\" width=\"125\" height=\"25\" border=\"0\" id=\"dr_up\" onMouseOver=\"MM_swapImage('dr_up','','media/buttons/diamondrings_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"wr_button\" style=\"position:absolute; width:125px; height:25px; z-index:1; left: 140px; top: 50px;\"><a href=\"weddingrings.html\"><img src=\"media/buttons/weddingrings_up.gif\" name=\"wr_up\" width=\"125\" height=\"25\" border=\"0\" id=\"wr_up\" onMouseOver=\"MM_swapImage('wr_up','','media/buttons/weddingrings_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"de_button\" style=\"position:absolute; width:125px; height:25px; z-index:1; left: 143px; top: 75px;\"><a href=\"diamondearrings.html\"><img src=\"media/buttons/diamondear_up.gif\" name=\"de_up\" width=\"125\" height=\"25\" border=\"0\" id=\"de_up\" onMouseOver=\"MM_swapImage('de_up','','media/buttons/diamondear_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"tb_button\" style=\"position:absolute; width:125px; height:25px; z-index:1; left: 143px; top: 100px;\"><a href=\"tennis.html\"><img src=\"media/buttons/tennis_up.gif\" name=\"tennis_up\" width=\"125\" height=\"25\" border=\"0\" id=\"tennis_up\" onMouseOver=\"MM_swapImage('tennis_up','','media/buttons/tennis_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"watch_button\" style=\"position:absolute; width:75px; height:25px; z-index:1; left: 135px; top: 125px;\"><a href=\"watches.html\"><img src=\"media/buttons/watches_up.gif\" name=\"watches_up\" width=\"75\" height=\"25\" border=\"0\" id=\"watches_up\" onMouseOver=\"MM_swapImage('watches_up','','media/buttons/watches_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"jewelry_button\" style=\"position:absolute; width:75px; height:25px; z-index:1; left: 114px; top: 150px;\"><a href=\"jewelry.html\"><img src=\"media/buttons/jewelry_up.gif\" name=\"jewelry_up\" width=\"75\" height=\"25\" border=\"0\" id=\"jewelry_up\" onMouseOver=\"MM_swapImage('jewelry_up','','media/buttons/jewelry_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"services_button\" style=\"position:absolute; width:75px; height:25px; z-index:1; left: 86px; top: 175px;\"><a href=\"services.html\"><img src=\"media/buttons/services_up.gif\" name=\"services_up\" width=\"75\" height=\"25\" border=\"0\" id=\"services_up\" onMouseOver=\"MM_swapImage('services_up','','media/buttons/services_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"directions_button\" style=\"position:absolute; width:75px; height:25px; z-index:1; left: 47px; top: 200px;\"><a href=\"directions.html\"><img src=\"media/buttons/directions_up.gif\" name=\"directions_up\" width=\"75\" height=\"25\" border=\"0\" id=\"directions_up\" onMouseOver=\"MM_swapImage('directions_up','','media/buttons/directions_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"history_button\" style=\"position:absolute; width:125px; height:25px; z-index:1; left: 15px; top: 225px;\"><a href=\"history.html\"><img src=\"media/buttons/history_up.gif\" name=\"history_up\" width=\"125\" height=\"25\" border=\"0\" id=\"history_up\" onMouseOver=\"MM_swapImage('history_up','','media/buttons/history_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
msg +="<div id=\"ear_button\" style=\"position:absolute; width:125px; height:25px; z-index:1; left: 15px; top: 250px;\"><a href=\"earpiercing.html\"><img src=\"media/buttons/earpiercing_up.gif\" name=\"earpiercing_up\" width=\"125\" height=\"25\" border=\"0\" id=\"earpiercing_up\" onMouseOver=\"MM_swapImage('earpiercing_up','','media/buttons/earpiercing_over.gif',1)\" onMouseOut=\"MM_swapImgRestore()\"></a></div>"
document.write(msg);
}

function openit(){
window.open('form.html','Form','top=1,left=1,width=800,height=575,toolbars=no');
}

function popup(number){
window.open(number+'.html','Picture','top=1,left=1,width=640,height=500,toolbars=no');
}

function footer(){
document.write("Copyright &copy; Nigrelli\'s Jewelry. 2005<br>");
}

function contact(){
document.write("<a href='directions.html'>Contact Us!</a>");
}

function submitit(){
document.form1.submit();
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

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_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_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
function MM_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

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];}
}

//Disable Right click info
/*
var debug = true;
function right(e) {
  if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)) return false;
  else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3)) {
    alert('Copyright Nigrelli\'s Jewelry 2005©');
    return false;
  }

  return true;
}
document.onmousedown=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
window.onmousedown=right;
//end Disable right click info
*/
