function show_div(s1){
	var req = new JsHttpRequest();
	req.onreadystatechange = function()
			{
			if (req.readyState < 4) {
			document.getElementById('info').innerHTML = '<img src="refresh_list.gif">';
			}
			if (req.readyState == 4){
			document.getElementById('info').innerHTML = req.responseText;
				};
			};
			req.open(null, 'ajax/show_div.php', true);
			req.send( { q1: s1} );
}

function setclass(a)
{
 document.getElementById('kiev').className = a;
}
window.onload = function ()
{
 document.getElementById('c_boruspil').onmouseover = function(){setclass('c_boruspil');show_div('28');}
 document.getElementById('c_irpin').onmouseover = function(){setclass('c_irpin');show_div('29');}
 document.getElementById('c_vasulkiv').onmouseover = function(){setclass('c_vasulkiv');show_div('30');}
 document.getElementById('c_fastiv').onmouseover = function(){setclass('c_fastiv');show_div('31');}
 document.getElementById('c_bila_cerkva').onmouseover = function(){setclass('c_bila_cerkva');show_div('32');}
 document.getElementById('c_rzhushiv').onmouseover = function(){setclass('c_rzhushiv');show_div('33');}
 document.getElementById('c_perejaslov_h').onmouseover = function(){setclass('c_perejaslov_h');show_div('34');}
 document.getElementById('c_berezan').onmouseover = function(){setclass('c_berezan');show_div('35');}
 document.getElementById('c_brovaru').onmouseover = function(){setclass('c_brovaru');show_div('36');}
 document.getElementById('c_slavytuch').onmouseover = function(){setclass('c_slavytuch');show_div('37');}
 document.getElementById('c_kyiv').onmouseover = function(){setclass('c_kyiv');show_div('38');}
 document.getElementById('barushivka').onmouseover = function(){setclass('barushivka');show_div('1');}
 document.getElementById('bila_cerkva').onmouseover = function(){setclass('bila_cerkva');show_div('2');}
 document.getElementById('bogyslav').onmouseover = function(){setclass('bogyslav');show_div('3');}
 document.getElementById('boruspil').onmouseover = function(){setclass('boruspil');show_div('4');}
 document.getElementById('brovaru').onmouseover = function(){setclass('brovaru');show_div('5');}
 document.getElementById('rokutne').onmouseover = function(){setclass('rokutne');show_div('6');}
 document.getElementById('borodjanka').onmouseover = function(){setclass('borodjanka');show_div('7');}
 document.getElementById('fastiv').onmouseover = function(){setclass('fastiv');show_div('8');}
 document.getElementById('kagarluk').onmouseover = function(){setclass('kagarluk');show_div('9');}
 document.getElementById('skvura').onmouseover = function(){setclass('skvura');show_div('10');}
 document.getElementById('bogyslav').onmouseover = function(){setclass('bogyslav');show_div('11');}
 document.getElementById('ivankiv').onmouseover = function(){setclass('ivankiv');show_div('12');}
 document.getElementById('jagotun').onmouseover = function(){setclass('jagotun');show_div('13');}
 document.getElementById('makariv').onmouseover = function(){setclass('makariv');show_div('14');}
 document.getElementById('stavushe').onmouseover = function(){setclass('stavushe');show_div('15');}
 document.getElementById('muronivka').onmouseover = function(){setclass('muronivka');show_div('16');}
 document.getElementById('obuhiv').onmouseover = function(){setclass('obuhiv');show_div('17');}
 document.getElementById('perejaslov_h').onmouseover = function(){setclass('perejaslov_h');show_div('18');}
 document.getElementById('poliske').onmouseover = function(){setclass('poliske');show_div('19');}
 document.getElementById('zgurivka').onmouseover = function(){setclass('zgurivka');show_div('20');}
 document.getElementById('tarashja').onmouseover = function(){setclass('tarashja');show_div('21');}
 document.getElementById('tetiiv').onmouseover = function(){setclass('tetiiv');show_div('22');}
 document.getElementById('vasulkiv').onmouseover = function(){setclass('vasulkiv');show_div('23');}
 document.getElementById('volodarka').onmouseover = function(){setclass('volodarka');show_div('24');}
 document.getElementById('vushgorod').onmouseover = function(){setclass('vushgorod');show_div('25');}
 document.getElementById('kyivo_svjatoshun').onmouseover = function(){setclass('kyivo_svjatoshun');show_div('26');}
 document.getElementById('slavytuch').onmouseover = function(){setclass('slavytuch');show_div('27');}
}


