// JavaScript Document
<!--
/*
Static menu script (By maXimus, maximus@nsimail.com, http://maximus.ravecore.com/)
Modified slightly/ permission granted to Dynamic Drive to feature script in archive
For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com
*/

//configure below variable for menu width, position on page
var menuwidth=179
var offsetleft=2
var offsettop=179
var position='absolute'	//

var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0


function makeStatic() {
if (ie4) {object1.style.pixelTop=180 /*document.body.scrollTop+offsettop*/ }
else if (ns6) {document.getElementById("object1").style.top=180 /*window.pageYOffset+offsettop*/}
else if (ns4) {eval(document.object1.top=180 /*eval(window.pageYOffset+offsettop)*/);}
setTimeout("makeStatic()",0);
}

if (ie4||ns6) {document.write('<span ALIGN="CENTER" ID="object1" STYLE="position:'+position+'; Top:180px; Left:'+offsetleft+'; Z-Index:5;background-color:;"><TABLE BORDER="1" width="'+menuwidth+'" CELLPADDING="0" CELLSPACING="0" BORDERCOLOR="black" bgcolor="">')}
else if (ns4){ document.write('<LAYER top="20" name="object1" left="'+offsetleft+'" BGCOLOR=black><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="1"><TR><TD><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" width="'+menuwidth+'">')}

/*if (ie4||ns6||ns4)
document.write('<TR><TD BGCOLOR="#3399FF" BORDERCOLORDARK="#99CCFF" BORDERCOLORLIGHT="#003399"><P ALIGN=CENTER><FONT SIZE="4" FACE=ARIAL>Translate</FONT></TD></TR>')*/

var menui = new Array();
var menul = new Array();

//configure below for menu items. Extend list as desired

menui[0]="<div id='google_translate_element'></div>";
//	menui[1]="What\'s New?";

menul[0]="javascript:;";
//	menul[1]="http://dynamicdrive.com/new.htm";

for (i=0;i<=menui.length-1;i++)
if (ie4||ns6) {document.write('<TR><TD ONCLICK="location=\''+menul[i]+'\'"><CENTER><FONT>'+menui[i]+'</FONT></TD></TR>')}
else if (ns4){document.write('<TR><TD><ILAYER><LAYER width="'+menuwidth+'"><CENTER><A HREF="'+menul[i]+'">'+menui[i]+'</A></CENTER></LAYER></ILAYER></TD></TR>')}

if (ie4||ns6) {document.write('</TABLE></span>')}
else if (ns4){document.write('</TABLE></TD></TR></TABLE></LAYER>')}

function menu3(){
if (ns6||ie4||ns4)
makeStatic()
}

function googleTranslateElementInit() {
  new google.translate.TranslateElement({
    pageLanguage: 'en'
  }, 'google_translate_element');
}


if(ie4||ns4){window.onload=menu3}
else{window.onload=menu3()}


//-->
