
function open_co2(p)
{
	p_href = "";
	if(p != undefined && p.length > 0) {
		p_href = "#" + p;
	}

	var win_width = 920;
	var win_height = 620;
	var win_x = (screen.availWidth - win_width) / 2;
	var win_y = (screen.availHeight - win_height) / 2;
	win_co2 = window.open('kalkulator_co2/'+p_href,'win_co2','left=' + win_x +',top=' + win_y + ',width=' + win_width + ',height=' + win_height + ',scrollbars=0,resizable=0').focus();
}

