try{document.execCommand('BackgroundImageCache', false, true);}catch(e){}
function shht(id){el1 = document.getElementById(id);el2 = document.getElementById(id+'_hidden');if(el1.style.display==''){el1.style.display='none';el2.style.display='';}else{el1.style.display='';el2.style.display='none';}return false;}
function redirect(url){window.location=url;}
function newwindow(selection,w,h){l=(screen.availWidth-w)/2;t=(screen.availHeight-h)/2;window.open(selection,'_blank','height='+h+',width='+w+',scrollbars=yes,left='+l+',top='+t+',resizable=yes');return false;}
function newwindow2(selection,w,h){l=(screen.availWidth-w)/2;t=(screen.availHeight-h)/2;window.open(selection,'_blank','height='+h+',width='+w+',scrollbars=no,left='+l+',top='+t+',resizable=yes');return false;}
function replyTo(id)
{
	if(id==0)
	{
		document.getElementById('addComment').appendChild(document.getElementById('commentForm'));
		document.getElementById('commentFormTitle').innerHTML=langAddComment;
	}
	else
	{
		document.getElementById('replyTo'+id).appendChild(document.getElementById('commentForm'));
		document.getElementById('commentFormTitle').innerHTML=langReplyFor;
	}
	document.getElementById('replyTo').value=id;
}
function newscol(id)
{
	$('#block'+id+'-1').css('display', 'none');
	$('#block'+id+'-2').css('display', 'block');
	$('#block'+id).css('zIndex', '20');
	$('#block'+id).css('position', 'absolute');
	$('#block'+id).animate({width:"678px", marginLeft:"-"+((id-1)*113)+"px"}, 200);
}
function newscol2(id)
{
	$('#block'+id+'-2').css('display', 'none');
	$('#block'+id+'-1').css('display', 'block');
	$('#block'+id).animate({width:"113px", marginLeft:"0px"}, 200, function() {
		$('#block'+id).css('zIndex', '1');
		$('#block'+id).css('position', 'static');
	});
}