
function AMAddressBlock()
{
document.write("<table ");
document.write("width=\"100%\" ");
document.write("border=\"5\" ");
document.write("bordercolor=\"#FFFFCC\" ");
document.write("bordercolorlight=\"#FFCCCC\" ");
document.write("bordercolordark=\"#FFCCCC\" ");
document.write("cellpadding=\"0\" ");
document.write("cellspacing=\"0\"> ");
document.write("<tr> ");
document.write("<td ");
document.write("width=\"49%\" ");
document.write("valign=\"top\" ");
document.write("bgcolor=\"#FFCCCC\" ");
document.write("bordercolor=\"#FFFFCC\" ");
document.write("bordercolorlight=\"#FFFFCC\" ");
document.write("bordercolordark=\"#FFFFCC\"> ");
document.write("<p ");
document.write("style=\"margin-left: ");
document.write("5; ");
document.write("margin-top: ");
document.write("0; ");
document.write("margin-bottom: ");
document.write("0\" ");
document.write("align=\"center\"> ");
document.write("<font ");
document.write("face=\"Arial\" ");
document.write("size=\"1\" ");
document.write("color=\"#800000\"> ");
document.write("<img ");
document.write("border=\"0\" ");
document.write("src=\"../askmaxim/eng-uk-sm.gif\" ");
document.write("width=\"32\" ");
document.write("height=\"21\" ");
document.write("align=\"left\"> ");
document.write("UK ");
document.write("Office: ");
document.write("</font> ");
document.write("<p ");
document.write("style=\"margin-left: ");
document.write("5; ");
document.write("margin-top: ");
document.write("0; ");
document.write("margin-bottom: ");
document.write("0\" ");
document.write("align=\"center\"> ");
document.write("<font ");
document.write("face=\"Arial\" ");
document.write("size=\"1\">26 Canterbury Road, Wallasey, Merseyside, CH44 9BW UK</font>");
document.write("<font ");
document.write("size=\"1\"><br> ");
document.write("</font> ");
document.write("<font ");
document.write("size=\"1\" ");
document.write("color=\"#800000\" ");
document.write("face=\"Arial ");
document.write("Narrow\">Phone/Fax ");
document.write("</font> ");
document.write("<font ");
document.write("size=\"1\" ");
document.write("face=\"Arial\"><b> ");
document.write("+44-151-6390012</b></font><font ");
document.write("size=\"1\" ");
document.write("face=\"Arial ");
document.write("Narrow\" ");
document.write("color=\"#800000\">&nbsp;|&nbsp;<a ");
document.write("href=\"mailto:uk@askmaxim.com\" ");
document.write("style=\"color: ");
document.write("#800000\">email</a>: ");
document.write("</font><font ");
document.write("face=\"Arial\" ");
document.write("size=\"1\"><b>uk@askmaxim.com</b></font></td> ");
document.write("<td ");
document.write("width=\"2%\" ");
document.write("valign=\"top\" ");
document.write("bgcolor=\"#FFCCCC\" ");
document.write("bordercolor=\"#FFCCCC\" ");
document.write("bordercolorlight=\"#FFCCCC\" ");
document.write("bordercolordark=\"#FFCCCC\"> ");
document.write("<p ");
document.write("align=\"right\" ");
document.write("style=\"margin-top: ");
document.write("8; ");
document.write("margin-bottom: ");
document.write("0\">&#12288;</td> ");
document.write("<td ");
document.write("valign=\"top\" ");
document.write("bgcolor=\"#FFCCCC\" ");
document.write("bordercolor=\"#FFFFCC\" ");
document.write("bordercolorlight=\"#FFFFCC\" ");
document.write("bordercolordark=\"#FFFFCC\"> ");
document.write("<p ");
document.write("style=\"margin-left: ");
document.write("5; ");
document.write("margin-top: ");
document.write("0; ");
document.write("margin-bottom: ");
document.write("0\" ");
document.write("align=\"center\"> ");
document.write("<font ");
document.write("face=\"Arial\" ");
document.write("size=\"1\" ");
document.write("color=\"#800000\"> ");
document.write("<img ");
document.write("border=\"0\" ");
document.write("src=\"../askmaxim/russia-sm.gif\" ");
document.write("width=\"32\" ");
document.write("height=\"21\" ");
document.write("align=\"right\">Russia ");
document.write("Office: ");
document.write("</font><br><p ");
document.write("style=\"margin-left: ");
document.write("5; ");
document.write("margin-top: ");
document.write("0; ");
document.write("margin-bottom: ");
document.write("0\" ");
document.write("align=\"center\"> ");
document.write("<font ");
document.write("face=\"Arial\" ");
document.write("size=\"1\">1 ");
document.write("Tverskaya-Yamskaya ");
document.write("Street, ");
document.write("11, ");
document.write("Moscow ");
document.write("125047</font><font ");
document.write("size=\"1\"><br> ");
document.write("</font> ");
document.write("<font ");
document.write("size=\"1\" ");
document.write("color=\"#800000\" ");
document.write("face=\"Arial ");
document.write("Narrow\">Phone ");
document.write("</font><font ");
document.write("face=\"Arial\"><font ");
document.write("size=\"1\"><b>+7.495-940-8816</b></font><font ");
document.write("size=\"1\" ");
document.write("face=\"Arial ");
document.write("Narrow\" ");
document.write("color=\"#800000\">&nbsp; ");
document.write("|&nbsp;<a ");
document.write("style=\"color: ");
document.write("#800000\" ");
document.write("href=\"http://www.askmaxim.com/\">Fax</a> ");
document.write("|&nbsp; ");
document.write("<a ");
document.write("href=\"mailto:ru@askmaxim.com\" ");
document.write("style=\"color: ");
document.write("#800000\">email</a>: ");
document.write("</font><font ");
document.write("face=\"Arial\" ");
document.write("size=\"1\"><b>ru@askmaxim.com</b></font></font></td> ");
document.write("</tr> ");
document.write("</table> ");
        return false;
}


function EDSendPageBtn()
{
var myMail = "mailto:?subject="+document.title+"&body=you%20may%20be%20interested%20in%20this%20(www.EnglishDic.com):%20"+document.title+" ("+window.location+").";

parent.location=myMail;
}

function linkHome(){	
document.write("<a href=\"http://www.englishdic.com/index.html\" target=\"_top\">Home</a>");
}

function linkTransServices(){	
document.write("<a href=\"services.html#price\" target=\"_top\">Translation</a>");
}

function linkServices(){	
document.write("<a href=\"services.html#all\" target=\"_top\">All services</a>");
}

function linkWhy(){	
document.write("<a href=\"lifeisgood.html\" target=\"_top\">Why us?</a>");
}

function linkEvents(){	
document.write("<a href=\"KD_Events/index.html\" target=\"_top\">Events</a>");
}

function linkClients(){	
document.write("<a href=\"clients.html\" target=\"_top\">Our clients</a>");
}

function linkPartners(){	
document.write("<a href=\"partners.html\" target=\"_top\">Our partners</a>");
}

function linkJobs(){	
document.write("<a href=\"jobs.html\" target=\"_top\">Jobs!</a>");
}

function linkMap(){	
document.write("<a href=\"map.html\" target=\"_top\">Site map</a>");
}

function linkContactsName(str)
{
document.write("<a href=\"contact.html\" target=\"_top\">"+str+"</a>");
}

function linkContacts()
{
var str="Contact us";
linkContactsName(str);
// document.write("<a href=\"mailto:webmaster@kanjidic.com\">Contacts</a>");
}

//-----------------------------------------

function EDmenuParaStyle()
{
document.write("<p style=\"margin-left: 5; margin-right: 0\"><font size=\"2\" face=\"Arial Narrow\" color=\"\#444757\">");
}

function EDlinkMenu()
{
var parFontColor="444757";
document.write("<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">");

document.write("<tr>");
document.write("<td align=\"center\">");
EDmenuParaStyle();
linkHome();
document.write(" | </font></p>");
document.write("</td>");

document.write("<td align=\"center\">");
EDmenuParaStyle();
linkContacts();
document.write(" | </font></p>");
document.write("</td>");

document.write("<td align=\"center\">");
EDmenuParaStyle();
linkTransServices();
document.write(" | </font></p>");
document.write("</td>");

document.write("<td align=\"center\">");
EDmenuParaStyle();
linkServices();
document.write(" | </font></p>");
document.write("</td>");

document.write("<td align=\"center\">");
EDmenuParaStyle();
linkWhy();
document.write(" | </font></p>");
document.write("</td>");

document.write("<td align=\"center\">");
EDmenuParaStyle();
linkClients();
document.write(" | </font></p>");
document.write("</td>");

document.write("<td align=\"center\">");
EDmenuParaStyle();
linkPartners();
document.write("</font></p>");
document.write("</td>");

document.write("</tr>");
document.write("</table>");
}

//-----------------------------------------

    var defaultExit=false;
    var exit=defaultExit;
    function EDsetExitFalse() {
      exit=false;
      event.returnValue=false;
    }
    function EDsetExitTrue() {
      exit=defaultExit;
      event.returnValue=false;
    }

    function EDhomepage() {
        if(!oHomePage.isHomePage("http://www.EnglishDic.com")) {
            if(exit){
                oHomePage.setHomePage("http://www.EnglishDic.com");
            }
        }
        event.returnValue=false;
    }

flag=0;
function EDdoclear(target) {
  if (target=='before') {
    if (flag==0) {
      flag=1;
      document.world.before.value = "";
    }
  }
  else {
    document.world.before.value = "";
  }
}

//-----------------------------------------
