// paths are relative to calling page directory
var img_english_off = new Image();
	img_english_off.src = "img/english.gif";
var img_english_on = new Image();
	img_english_on.src = "img/english_on.gif";

var img_russian_off = new Image();
	img_russian_off.src = "img/russian.gif";
var img_russian_on = new Image();
	img_russian_on.src = "img/russian_on.gif";

var img_author_off = new Image();
	img_author_off.src = "img/author.gif";
var img_author_on = new Image();
	img_author_on.src = "img/author_on.gif";

// xDocSize r1, Copyright 2007 Michael Foster (Cross-Browser.com)
// Part of X, a Cross-Browser Javascript Library, Distributed under the terms of the GNU LGPL
function xDocSize()
{
  var b=document.body, e=document.documentElement;
  var esw=0, eow=0, bsw=0, bow=0, esh=0, eoh=0, bsh=0, boh=0;
  if (e) {
    esw = e.scrollWidth;
    eow = e.offsetWidth;
    esh = e.scrollHeight;
    eoh = e.offsetHeight;
  }
  if (b) {
    bsw = b.scrollWidth;
    bow = b.offsetWidth;
    bsh = b.scrollHeight;
    boh = b.offsetHeight;
  }
  //alert('compatMode: ' + document.compatMode + '\n\ndocumentElement.scrollHeight: ' + esh + '\ndocumentElement.offsetHeight: ' + eoh + '\nbody.scrollHeight: ' + bsh + '\nbody.offsetHeight: ' + boh + '\n\ndocumentElement.scrollWidth: ' + esw + '\ndocumentElement.offsetWidth: ' + eow + '\nbody.scrollWidth: ' + bsw + '\nbody.offsetWidth: ' + bow);
  return {w:Math.max(esw,eow,bsw,bow),h:Math.max(esh,eoh,bsh,boh)};
}


window.onload = function()
{
	var a = xDocSize();
	document.getElementById("wrapper-left").style.height = a.h + "px";
	document.getElementById("wrapper-right").style.height = a.h + "px";
}

function designedBy()
{
	prompt("E-mail:", "\x69\x67\x6f\x72\x2e\x6d\x61\x6e\x64\x69\x63\x40\x67\x6d\x61\x69\x6c\x2e\x63\x6f\x6d");
}