	hs.graphicsDir = '/css/js/highslide/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.outlineType = 'rounded-white';
	hs.fadeInOut = true;
	hs.dimmingOpacity = 0.75;

	// define the restraining box
	hs.useBox = true;
	hs.width = 840;
	hs.height = 630;

	// Add the controlbar
	hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: 1,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});

function MenuInit(){
  var res;
  var tmp=null;
  var url;
  var kastyl;
  url = document.URL;      
  url =url.substr(10);
  url =url.substr(url.indexOf('/'));
  res=document.getElementsByTagName('div');
  for(var a=0;a<res.length;a++){
    if(res[a].className=='divoff') {
         if(url=='/') kastyl='"'; else kastyl=''; 
         is_opened=res[a].innerHTML.indexOf('"'+url+kastyl);
         if(is_opened>=0) {
          res[a].className='divon';
          res[a].onmouseout='';
         }
  }
  }
}
