// Change image source (rollover)
function setImage(source, destination) {
	img = eval(destination);
	if (img.complete) {
		document[source].src = img.src;
	}
}

// Insert LI counter
function liveInternet() {
	return document.write('<' + 'img src="http://counter.yadro.ru/hit?r' + escape(document.referrer) + ((typeof(screen)=='undefined')?'':';s'+screen.width+'*'+screen.height+'*'+(screen.colorDepth?screen.colorDepth:screen.pixelDepth)) + ';u' + escape(document.URL) + ';' + Math.random() + '" width="1" height="1" alt=""' +' />')
}

function callPhoto(lang, n, w, h) {
	popupWin = window.open('photo.' + lang + '.asp?n=' + n, 'photo', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=' + w +',height=' + h);
	popupWin.focus();
	return false;
}
