function formHandler2(ansid,redirto){
			var URL = ansid;
			window.location.href = "/gallup.php?vastus="+URL+"&redirto="+redirto;
			}
			
//onload init
$(function() {
	/*FLIRStyle.prototype.getBackground = function(o) {
		var color = FLIR.getStyle(o, 'background-color');
		if(color.substr(0, 1)=='#')
			color = color.substr(1);
	
		return color.replace(/['"]/g, '').toLowerCase();
	};*/
	if(page_lang != "rus"){
	FLIR.init({ path: '/inc/facelift-2.0b1/' });
	/*FLIR.init({ path: 'http://www2.terveilm.net/inc/facelift-1.2/' });*/
	$("#submenu a, #menu a, div.author").each( function() { FLIR.replace(this, new FLIRStyle({ mode: 'wrap', output:'png', fixedBaseline:false, css: {'font-family':'saribold'} })); } );
	$("div.box div.title, div.poll div.title, div.poll div.num, #footer div.title").each( function() { FLIR.replace(this, new FLIRStyle({ output:'png', fixedBaseline:true, css: {'font-family':'sari'} })); } );
	$("#selected-main").each( function() { FLIR.replace(this, new FLIRStyle({ output:'png', fixedBaseline:true, css: {'font-family':'saribold'} })); } );
	}
	
	
	$("#menu a:not(.active)").hover(
	function(){
		var parent = $(this).parents('div.item').get(0);
		$(parent).addClass('active');
		
	},
	function(){
		var parent = $(this).parents('div.item').get(0);
		$(parent).removeClass('active');
	});
	
	if(jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 6){
		$('div.info-choose div.column').mouseover(
			function(){
				var titles = $('div.title',this);
				$(titles.get(0)).css({'zIndex': '300'});
				$(titles.get(1)).css({'zIndex': '100'});
			}).mouseout(
			function(){
				var titles = $('div.title',this);
				$(titles.get(0)).css({'zIndex': '100'});
				$(titles.get(1)).css({'zIndex': '300'});
			}
		);
	} else {
		$('div.info-choose div.column').mouseenter(
			function(){
				var titles = $('div.title',this);
				$(titles.get(0)).css({'zIndex': '300'});
				$(titles.get(1)).css({'zIndex': '100'});
			}).mouseleave(
			function(){
				var titles = $('div.title',this);
				$(titles.get(0)).css({'zIndex': '100'});
				$(titles.get(1)).css({'zIndex': '300'});
			}
		);
	}
	/*onmouseover="document.getElementById('hov1').style.zIndex = '100';document.getElementById('hov2').style.zIndex = '300';" onmouseout="document.getElementById('hov2').style.zIndex = '100';document.getElementById('hov1').style.zIndex = '300';"*/
	
});