function high(img1){
theobject=img1
highlighting=setInterval("highlightit(theobject)",50)
}

function low(img1){
clearInterval(highlighting)
img1.filters.alpha.opacity=76
}

function highlightit(cur2){
if (cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=5
else if (img1.highlighting)
clearInterval(highlighting)
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function setfocus() {
  document.forms[0].query.focus();
}
function GetNewsAll() {
	var wh=440, ww=600, pcd='', sw=screen.width; sh=screen.height, btype=0;
	 if(navigator.appName.indexOf('Explorer')>=0) btype=1;
	 wbx = Math.round((sw-ww)/2);  wby = Math.round((sh-wh)/2);
	 if(btype==1) pcd="left="+wbx+",top="+wby+","; else pcd="screenX="+wbx+",screenY="+wby+",";
  	 newsall=window.open("newsall.shtml?show_news=all","newsn","width="+ww+",height="+wh+","+pcd+"toolbar=1"+",scrollbars=1,resizable=0");
	 if(btype==0) newsall.focus();
}
function GetNewsOne(MyLink) {
	var wh=440, ww=600, pcd='', sw=screen.width; sh=screen.height, btype=0;
	 theobject=MyLink
	 if(navigator.appName.indexOf('Explorer')>=0) btype=1;
	 wbx = Math.round((sw-ww)/2+20);  wby = Math.round((sh-wh)/2+20);
	 if(btype==1) pcd="left="+wbx+",top="+wby+","; else pcd="screenX="+wbx+",screenY="+wby+",";
  	 news=window.open(theobject,"news1","width="+ww+",height="+wh+","+pcd+"toolbar=1"+",scrollbars=1,resizable=0");
	 if(btype==0) news.focus();	 
}
 function FGetMap() {
 	var wh=450, ww=470, pcd='', sw=screen.width; sh=screen.height, btype=0;
 	if(navigator.appName.indexOf('Explorer')>=0) btype=1;
 	wbx = Math.round((sw-ww)/2);  wby = Math.round((sh-wh)/2);
 	if(btype==1) pcd="left="+wbx+",top="+wby+","; else pcd="screenX="+wbx+",screenY="+wby+",";
 	map=window.open("images/proezd.gif","mapWnd","width="+ww+",height="+wh+","+pcd+"toolbar=0"+",scrollbars=1,resizable=0");
 	if(btype==0) map.focus();
 } 