function ShortReview( id, yn ){

	var ga = '<script type="text/javascript">\n';
	ga = ga + 'var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\n';
	ga = ga + 'document.write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));\n';
	ga = ga + '</script>\n';
	ga = ga + '<script type="text/javascript">\n';
	ga = ga + 'try {\n';
	ga = ga + 'var pageTracker = _gat._getTracker("UA-8922062-1");\n';
	ga = ga + 'pageTracker._trackPageview();\n';
	ga = ga + '} catch(err) {}</script>';
	
	if( document.getElementById ){
		var element = document.getElementById( "ShortReview" );
		if( "y" == yn ){
			element.innerHTML = '<img src="/shortreview/y/" alt="" width="16" height="16" border="0"> Спасибо за ответ - да' + ga;
		}else{
			element.innerHTML = '<img src="/shortreview/n/" alt="" width="16" height="16" border="0"> Спасибо за ответ - нет' + ga;
		}
	}
}

function indexGuide( block1, block2 ){

	if( document.getElementById ){
		document.getElementById( block1 ).style.display = 'none';
		document.getElementById( block2 ).style.display = 'block';
	}

}

function moveBGon( obj ){
	obj.style.backgroundPosition = '-200px 0';
}

function moveBGoff( obj ){
	obj.style.backgroundPosition = '0 0';
}

function moveBGon2( obj, step ){
	obj.style.backgroundPosition = '0 -' + step + 'px';
}

function moveBGoff2( obj ){
	obj.style.backgroundPosition = '0 0';
}
