// (c) 2000-2001 The Ring Company

document.writeln('<script language="JavaScript" src="https://seal.networksolutions.com/siteseal/javascript/siteseal.js" type="text/javascript"></script>');

var DesignerWindow = null;  
var NewDesignerWindow = null;

MText = new Array ()
MLink = new Array ()
MHint = new Array()

//MText[0] = new Array ("Home","Company Profile","Products","Policies","Info Center","Contact")
//MLink[0] = new Array ("index.html","company.html","products.html","policies.html","faq.html","contact.html")
//MHint[0] = new Array ("Ring Company home page","Company profile","You can browse our products or design your own",
//     "Our answers to your questions on security, privacy and satisfaction guarantee","Help files, FAQs, a dictionary",
//     "Contact our sales personnel, manager or webmaster")

MText[0] = new Array ("Home","Company Profile","Design Center","Info Center","Contact Us","Shopping Cart")//,"Related Sites")
MLink[0] = new Array ("index.html","company.html","RD.aspx","info.html","contact.html","ShoppingCart.aspx")//,"relatedsites.html")
//MLink[0] = new Array ("index.html","company.html","designcenter.html","info.html","contact.html","relatedsites.html")
MHint[0] = new Array ("Ring Company home page","Company profile","You can browse our products or design your own",
     "Help files, FAQs, a dictionary",
     "Contact our sales personnel, manager or webmaster","Shopping Cart")//,
     //"Related Sites")


MText[1] = new Array ("Overview","Classic Line","Legacy Line","Fashion Line")//,"Try It On","Group Discounts")
MLink[1] = new Array ("products.html","classic.html","legacy.html","fashion.html")//,"tryon.html","discount.html")
MHint[1] = new Array ("Products overview","Classic line","Legacy line","Fashion line")//,"Print and try on the rings","Group discounts for the school line")

MText[2] = new Array ("Overview","FAQ's","Terminology","Designing","Ordering","Policies","Ring Size Conversion")
MLink[2] = new Array ("Info.html","faq.html","terminology.html","designing.html","ordering.html","policies.html","ringsize.aspx")
MHint[2] = new Array ("Overview","Frequently asked questions","Terminology explained","How to use the Ring Designer","The ordering procedure detailed","Our answers to your questions on security, privacy and satisfaction guarantee","How to determine your ring size")

MText[3] = new Array ("Classic Line Overview","In-Depth Look","Stone Options","Shank Images")
MLink[3] = new Array ("classic.html","classiclearn.html","classicstones.html","classicshanks.html")
MHint[3] = new Array ("Classic rings overview","An in-depth look at various options","Stone options","Shank images")

MText[4] = new Array ("Legacy Line Overview","Stone Options","Shank Images")
MLink[4] = new Array ("legacy.html","legacystones.html","legacyshanks.html")
MHint[4] = new Array ("Legacy line overview","Stone options","Shank images")

//MText[5] = new Array ("About Us","Services","Affiliates","Kudos","International","Intergold")
//MLink[5] = new Array ("company.html","services.html","inquiry.aspx?index=affiliates","kudos.html","international.aspx","intergold.html")
//MHint[5] = new Array ("Company profile","Services","Information for businesses interested in partnerships","What our customers had to say","International Customers","Intergold")
//MText[5] = new Array ("About Us","Kudos","International","Intergold")
//MLink[5] = new Array ("company.html","kudos.html","international.aspx","intergold.html")
//MHint[5] = new Array ("Company profile","What our customers had to say","International Customers","Intergold")
MText[5] = new Array ("About Us","Kudos","International")
MLink[5] = new Array ("company.html","kudos.html","international.aspx")
MHint[5] = new Array ("Company profile","What our customers had to say","International Customers")


MText[6] = new Array ("Overview","Store","Distributor","School","Organization","Other")
MLink[6] = new Array ("services.html","inquiry.aspx?index=1","inquiry.aspx?index=2","inquiry.aspx?index=3","inquiry.aspx?index=4","inquiry.aspx?index=5")
MHint[6] = new Array ("Overview","Retail Store Software Inquiry","Ring Distributor Software Inquiry","School Administrator Software Inquiry","Organization Administrator Software Inquiry","Other")

MText[7] = new Array ("Overview","Class Rings","Sports Rings","Corporate Rings","Other Rings","Finished Jewelry")
MLink[7] = new Array ("index.html","classring.html","sportsring.html","corporatering.html","otherring.html","FinishedJewelry.aspx")
MHint[7] = new Array ("Home","Class Rings","Sports Rings","Corporate Rings","Other Rings","Finished Jewelry")

//MText[8] = new Array ("Overview","Ring Models","Ring Designer","Try-it-On","Group Discounts")
//MLink[8] = new Array ("designcenter.html","products.html","","tryon.html","discount.html")
MText[8] = new Array ("Overview","Ring Models","Ring Designer","Try-it-On","Group Discounts")
//MLink[8] = new Array ("designcenter.html","","RD.html","tryon.html","discount.html")
MLink[8] = new Array ("designcenter.html","/RD/RingInfo.aspx?Menu_ID=2","/RD/","tryon.html","discount.html")
MHint[8] = new Array ("Overview","Products overview","Launch Ring Designer","Print and try on the rings","Group discounts for the school line")

MText[9] = new Array ("Related Sites","Shopping","Sports","Education","Internet Resources")
MLink[9] = new Array ("related-sites.html","shopping.html","sports.html","Education.html","internet-resources.html")
MHint[9] = new Array ("Related Sites","Shopping","Sports","Education","Internet Resources")

function Header(I,J) {
  document.writeln('<table align="center" bgcolor="#ffffff" width="100%" cellspacing="0" cellpadding="0" border="0">');
  document.writeln('<tr><td width="300" height="50" align="left"><a name="top"></a><a href="index.html"><img src="images/rclogo.jpg" width="300" height="50" alt="" border="0"></a></td>');
  document.writeln('<td height="50" width="150" align="middle" valign="middle"><a href="http://www.bbbonline.org/cks.asp?id=104062212454844064" target="_bbbOnline"><img src="/images/ReliabilitySeal.gif" border="0"></a></td>');
  //document.writeln('<td height="50" width="150" align="middle" valign="middle"><a href="https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=WWW.RINGCOMPANY.COM&lang=en" target="_ssl"><img src="/Images/ssl_logo.gif" border=0></a></td>');
  document.writeln('<td height="50" width="150" align="middle" valign="middle"><script language="JavaScript" type="text/javascript">SiteSeal("https://seal.networksolutions.com/images/prorecblue.gif", "NETSP", "none");</script></td>');
  document.writeln('<td height="50" align="right" valign="middle"><a href="ShoppingCart.aspx"><img src="/RD/images/cart.gif" alt="Cart" border="0"></a>&nbsp;'+MText[I][J]+'&nbsp;&nbsp;&nbsp;</td><tr></table>');
}

function MenuBar(M,S,N) {
  document.writeln('<table align="center" bgcolor="#ffffff" width="100%" cellspacing="0" cellpadding="0" border="0">');
  document.writeln('<tr><td bgcolor="#A0A0A0" valign="MIDDLE" nowrap="">&nbsp;');
  for (i=0 ; i<MText[M].length ; i++ ) {
    if (i==S) {
      if (N) {
        document.writeln('<a class="MenuItem2" title="You are here" href="'+MLink[M][i]+'">'+MText[M][i]+'</a>');      
      } else {
		if (MLink[M][i]=="")
        //document.writeln('<a class="MenuItem2" title="'+MHint[M][i]+'" href="ringdesigner.html" onclick="PopupDesigner();return false;">'+MText[M][i]+'</a>');
        document.writeln('<a class="MenuItem2" title="'+MHint[M][i]+'" href="ringdesigner.html" onclick="PopupNewDesigner(\'/RD/RingInfo.aspx?Menu_ID=2\');return false;">'+MText[M][i]+'</a>');
		else
        document.writeln('<a class="MenuItem2" title="'+MHint[M][i]+'" href="'+MLink[M][i]+'">'+MText[M][i]+'</a>');
      }
    } else {
		if (MLink[M][i]=="")
      //document.writeln('<a class="MenuItem" title="'+MHint[M][i]+'" href="ringdesigner.html" onclick="PopupDesigner();return false;">'+MText[M][i]+'</a>');
      document.writeln('<a class="MenuItem" title="'+MHint[M][i]+'" href="ringdesigner.html" onclick="PopupNewDesigner(\'/RD/RingInfo.aspx?Menu_ID=2\');return false;">'+MText[M][i]+'</a>');
		else
      document.writeln('<a class="MenuItem" title="'+MHint[M][i]+'" href="'+MLink[M][i]+'">'+MText[M][i]+'</a>');
    }
    if (i<MText[M].length-1) {
      document.writeln("&nbsp;|&nbsp;")
    }
  }
  document.writeln("&nbsp;</td></tr>");
  document.writeln('<tr><td height="1"></td></tr>');
  document.writeln("</table>");
}

function pr(X,Y,Z) {
    document.writeln(X+" "+Y+" "+Z+"<br>"); 
}

function Menu(A) {
  Header(A[A.length-2],A[A.length-1]);
  X = A.length-1;
  for (j=0 ; j<X; j=j+2) { MenuBar(A[j],A[j+1],(j==X-1)) }
}

function PopupDesigner(){ 
  if ((DesignerWindow!=null)&&(!DesignerWindow.closed)){
    //alert("Ring Designer is already running")
    DesignerWindow.focus();
  } else {
    DesignerWindow=window.open("","RCDESIGNER","WIDTH=600,HEIGHT=430,directories=no,toolbar=no,resizable=no,menubar=no,scrollbars=no");
    if (DesignerWindow.document.title!="RingDesigner") {
      DesignerWindow.close;
      DesignerWindow=window.open("designer.html","RCDESIGNER","WIDTH=600,HEIGHT=430,directories=no,toolbar=no,resizable=no,menubar=no,scrollbars=no");
    } else {
      //alert("Ring Designer is already running")
      DesignerWindow.focus();
    }
  }
} 

function PopupNewDesigner(Page){ 
  if ((NewDesignerWindow!=null)&&(!NewDesignerWindow.closed)){
    //alert("Ring Designer is already running")
    NewDesignerWindow.document.location.replace(Page);
    NewDesignerWindow.focus();
  } else {
//    NewDesignerWindow=window.open("","NewRCDESIGNER","WIDTH=800,HEIGHT=600,directories=no,toolbar=no,resizable=yes,menubar=no,scrollbars=yes,Left=0,Top=0");
//    if (NewDesignerWindow.document.title!="Ring Designer") {
//      NewDesignerWindow.close;
      NewDesignerWindow=window.open(Page,"NewRCDESIGNER","WIDTH=800,HEIGHT=600,directories=no,toolbar=no,resizable=yes,menubar=no,scrollbars=yes,Left=0,Top=0");
//    } else {
      //alert("Ring Designer is already running")
      NewDesignerWindow.focus();
//    }
  }
} 

function Zoom(S,W,H){
  ZoomWindow=window.open("","RCZOOM","WIDTH="+W+",HEIGHT="+H+",directories=no,toolbar=no,resizable=no,menubar=no,scrollbars=no");
  ZoomWindow.document.writeln('<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">');
  ZoomWindow.document.writeln('<html><head><title>Large Image</title></head>');
  ZoomWindow.document.writeln('<body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" bgcolor="#FFFFFF">'); 
  ZoomWindow.document.writeln('<img src="'+S+'"></body></html>');
  ZoomWindow.document.close();
  W=W+8;
  H=H+24; 
  ZoomWindow.resizeTo(W,H);
  ZoomWindow.focus(); 
} 

function CopyRight()
{
	var today = new Date();
	document.writeln('<div align="center" class="SmallPrint">&copy; 2000-'+ today.getFullYear() +' RingCompany.com LLC &nbsp; (www.RingCompany.com)</div>');
}

function Bottom_Menu()
{
	var strHTML = "<table>";
	strHTML += "<tr><td align='center'>";
	strHTML += "<a href='company.html'>Company Profile</a>";
	strHTML += "&nbsp<font color='#A0A0A0'>|</font>&nbsp;";
	strHTML += "<a href='/RD/'>Design Center</a>";
	strHTML += "&nbsp<font color='#A0A0A0'>|</font>&nbsp;";
	strHTML += "<a href='info.html'>Info Center</a>";
	strHTML += "&nbsp<font color='#A0A0A0'>|</font>&nbsp;";
	strHTML += "<a href='contact.html'>Contact Us</a>";
	strHTML += "</td></tr>";
	strHTML += "<tr><td align='center'>";
	strHTML += "<a href='classring.html'>Class Rings</a>";
	strHTML += "&nbsp<font color='#A0A0A0'>|</font>&nbsp;";
	strHTML += "<a href='sportsring.html'>Sports Rings</a>";
	strHTML += "&nbsp<font color='#A0A0A0'>|</font>&nbsp;";
	strHTML += "<a href='corporatering.html'>Corporate Rings</a>";
	strHTML += "&nbsp<font color='#A0A0A0'>|</font>&nbsp;";
	strHTML += "<a href='otherring.html'>Other Rings</a>";	
	strHTML += "&nbsp<font color='#A0A0A0'>|</font>&nbsp;";
	strHTML += "<a href='related-sites.html'>Related Sites</a>";	
	strHTML += "</td></tr>";
	//Notes Message
	/*
	strHTML += "<tr><td><br><font face='Arial' size='2' color='#aa0000'>";
	strHTML += "From 7/18/2005 to 7/22/2005, we'll be doing system maintenance.";
	strHTML += "During these days,you may experience intermittent failures of access to our web sites.";
	strHTML += "We apologize in advance for any inconvenience this may cause,";
	strHTML += "and we hope that you understand that system maintenance is necessary to ensure that we can offer the best service possible.";
	strHTML += "We will post an update when the maintenance is completed.</font>"
	strHTML += "</td></tr>";
	*/
	//
	strHTML += "</table>";
	document.writeln(strHTML);
}