if( parseInt(navigator.appVersion) >= 3 ) compat = true;
if( compat )
  {
  up = new Image;   with(up){src="http://www.glazing.ru/img/spacer.gif"; width=5; height=10;}
  down = new Image; with(down){src="http://www.glazing.ru/img/yg.gif"; width=5; height=10;}  
  }
function SetImg(Name,Img)
  {
  if(compat)
    {
      document.images[Name].src=eval(Img + '.src');
	  
    }

  }
