function sl(){
	document.write('<a href="mailto:webmania@ukr.net" title="Web-site and Content management systems development. Database programming, admin systems and tools development.">Sergey Lubchenko</a>');
}
function aa(){
	document.write('<a href="mailto:ianeks@mail.ru">Andrey Aleshkin</a>');
}
function openW(url,w,h,s){
	var l=Math.floor((screen.width-w)/2);
	var t=Math.floor((screen.height-h)/2);
	window.open(url,'','width='+w+',height='+h+',top='+t+',left='+l+',resizable=Yes,scrollbars='+s);
}
function getPrintVersion(){
	var s=location.pathname;
	openW('/en/print_version/' + s.substr(s.indexOf('/en/')+4),950,600,'Yes');
}
function showImage(img){
	openW('/UserFiles/view.php?img='+img,100,100,'Yes');
}
function openURL(url){
	if(url.indexOf('tour_search')!=-1) document.location=url;
	else openW('/en/print_version/' + url.substr(url.indexOf('/en/')+4),950,600,'Yes');
}
function eb(o){
	if(o.value=='')o.value=o.title;
}
function ef(o){
	if(o.value==o.title)o.value='';
}
imx1 = new Image(); imx1.src='/images/l_b_menu.gif';
imx2 = new Image(); imx2.src='/images/r_b_menu.gif';
function setam(id,num){
	document.getElementById(id+(num-1)).src = '/images/l_b_menu.gif';
	document.getElementById(id+(num+1)).src = '/images/r_b_menu.gif';
	document.getElementById(id+num).style.backgroundColor = '#ca0000';
}
function setpm(id,num){
	document.getElementById(id+(num-1)).src = '/images/l_b_menu_0.gif';
	document.getElementById(id+(num+1)).src = '/images/l_b_menu_0.gif';
	document.getElementById(id+num).style.backgroundColor = '';
}