mmes = '';
if (window.location == top.location)
	z=parent.location.pathname;
else
	z=window.parent.location.pathname;

if (z.match('menu.') )  mmes = mmes + 'Main Menu | ';
else   mmes = mmes + '<a href="/menu.shtml" target="_top">Main Menu</a> | ';
if (z.match('contact.'))   mmes = mmes + 'Contact | ';
else   mmes = mmes + '<a href="/free/contact.htm" target="_top">Contact</a> | ';
if (z.match('search'))   mmes = mmes + 'Search | ';
else   mmes = mmes + '<a href="/search/search.cgi" target="_top"> Search</a> | ';
if (z.match('/user/'))   mmes = mmes + 'User Profile | ';
else   mmes = mmes + '<a href="/user/" target="_top">User Profile</a> | ';
if (z.match('disclaimer.'))  mmes = mmes + 'Disclaimer | ';
else   mmes = mmes + '<a href="/disclaimer.htm" target="_new">Disclaimer</a> | ';
if (z.substring(z.length-4) == '.com')   mmes = mmes + 'Home'; 
else  mmes = mmes + '<a href="/" target="_top">Home</a>';


mmes = mmes +"";
document.write(mmes);
function readCookie(name)
{
        var nameEQ = name + "=";
        var ca = document.cookie.split(';');
        for(var i=0;i < ca.length;i++)
        {
                var c = ca[i];
                while (c.charAt(0)==' ') c = c.substring(1,c.length);
                if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
        }
        return null;
}
