<!--

function windowopen (url, w, h)
{
nn4 = (document.layers)? true : false;
ie4 = (document.all)? true : false;
posX = Math.round((screen.width - w) / 2);
posY = Math.round((screen.height - h) / 2);
//widthGif+=20;
//heightGif+=20;
poscode = (nn4)? "screenX="+posX+",screenY="+posY : "left="+posX+",top="+posY;
window.open(url, "photoWindow", "status=yes,width="+w+",height="+h+","+poscode);
}

function windowopen_scroll (url, w, h)
{
nn4 = (document.layers)? true : false;
ie4 = (document.all)? true : false;
posX = Math.round((screen.width - w) / 2);
posY = Math.round((screen.height - h) / 2);
//widthGif+=20;
//heightGif+=20;
poscode = (nn4)? "screenX="+posX+",screenY="+posY : "left="+posX+",top="+posY;
window.open(url, "photoWindow", "status=yes,scrollbars=yes,width="+w+",height="+h+","+poscode);
}


function preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.p) d.p=new Array();
    var i,j=d.p.length,a=preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.p[j]=new Image; d.p[j++].src=a[i];}}
}

function findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document); return x;
}

function showHideLayers() { //v3.0
  var i,p,v,obj,args=showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

timedlayer = setTimeout("", 1)
function timedrestore() { //v3.0
	clearTimeout(timedlayer)
	timedlayer = setTimeout("showHideLayers('Layer1','','hide','Layer2','','hide','Layer3','','hide','Layer4','','hide','Layer5','','hide')", 250)
}

function stoptime() { //v3.0
	clearTimeout(timedlayer)
}

function topimg(h, p, s, w, b, v) {
	var one = 'http://www.gotorussia.ru/buttons/home' + h + '.gif'
	var two = 'http://www.gotorussia.ru/buttons/about' + p + '.gif'
	var three = 'http://www.gotorussia.ru/buttons/prices' + s + '.gif'
	var four = 'http://www.gotorussia.ru/buttons/food' + w + '.gif'
	var five = 'http://www.gotorussia.ru/buttons/contacts' + b + '.gif'
	document.images.th.src = one
	document.images.ta.src = two
	document.images.tp.src = three
	document.images.tf.src = four
	document.images.tc.src = five
}

browser_name = navigator.appName; 
browser_version = parseFloat(navigator.appVersion); 

if (browser_name == "Netscape" && browser_version >= 3.0) { roll = 'true'; } 
else if (browser_name == "Microsoft Internet Explorer" && browser_version >= 3.0) { roll = 'true'; } 
else { roll = 'false'; } 

function over(img,ref){ 
    if (roll == 'true') { document.images[img].src = ref; } }
function out(img,ref){
    if (roll == 'true') { document.images[img].src = ref; } }

if (roll == 'true') { 
 a1=new Image;a1.src="http://www.gotorussia.ru/img/taxi_1.gif"; 
 a2=new Image;a2.src="http://www.gotorussia.ru/img/taxi_an.gif"; 
 a3=new Image;a3.src="http://www.gotorussia.ru/img/taxi_mov.gif";  
 a4=new Image;a4.src="http://www.gotorussia.ru/img/taxi_centr.gif";  
 a5=new Image;a5.src="http://www.gotorussia.ru/img/taxi_round.gif";  
 a6=new Image;a6.src="http://www.gotorussia.ru/img/taxi_jump.gif";  
 } 

-->