// JavaScript Document
var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function hooker_DoFSCommand(command, args) {
  var hookerObj = InternetExplorer ? hooker : document.hooker;
	if (command == "showflash") {
		imgwin = window.open("/flash_eng.htm","Zoom","copyhistory=no,directories=no,location=no,menubar=no,resizeable=no,scrollbars=no,toolbar=no,status=no,width=760,height=420");
		if (screen) {
			imgwin.moveTo((screen.width-760)/2, (screen.height-420)/2);
		}
	}
}
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('Sub hooker_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call hooker_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}

var pri = new Array ("home", "cont", "struct", "search", "rus", "dots9");
var ci1 = "";
var ci2 = "";
for (i=0; i<pri.length; i++) {
	eval(pri[i]+"_off = new Image(); "+pri[i]+"_off.src = '/images/"+pri[i]+"_off.gif';");
	eval(pri[i]+"_on = new Image(); "+pri[i]+"_on.src = '/images/"+pri[i]+"_on.gif';");
}
function mov(it) {
	if (document.images) {
		if (document.images[it])
			document.images[it].src = eval(it+"_on.src");
		else
			eval ("document.all." + it + ".src=" + it + "_on.src");
	}
}
function mou(it) {
	if (document.images) {
		if (document.images[it])
			document.images[it].src = eval(it+"_off.src");
		else
			eval ("document.all." + it + ".src=" + it + "_off.src");
	}
}
