function open_window(win, params, width, height) { 
	if(width==0)
		width=500;
	width+=40;
	if(height==0)
		height=400;
	height+=40;
	if(height>600)
		height=600;
	var left = (screen.availWidth/2) - (width/2);
	var top = (screen.availHeight/2) - (height/2);
	if(params!='')
		win+=params
	info=window.open(win,'info','resizable=1, scrollbars=1, toolbar=0, status=0, width='+width+', height='+height+', left='+left+', top='+top);
	info.focus();
}

function confirm_del() {
	return confirm('Удалить?')
}

function confirm_delete_one() {	
	return confirm('Удалить?')
}
