
// otwiera okno z CCOL
function ccol(lang,param)
{	scrwidth=screen.width;
	scrheight=screen.height;
	width=780;
	height=540;
	if(scrwidth>800 && scrheight>600)
	{	winleft=(scrwidth-width)/2;
		wintop=(scrheight-height)/2;
	}
	else
	{	winleft=0;
		wintop=0;
	}
	
	if(lang=='cn')	lang='zh-CN'
		
	page= "http://ccol.vtsclima.com/" + (lang ? "default.aspx?lang="+lang : "default.aspx");
	climacad= window.open(page,"ClimaCADonline",
				   "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width="+width+",height="+height+",left="+winleft+",top="+wintop);
	climacad.focus();
}

function ccol3(lang) {
	scrwidth=screen.width;
	scrheight=screen.height;
	width=970;
	height=680;
	url = "http://ccol3.vtsclima.com/";
	climacad = window.open(url + 'start.aspx?lang='+lang, "ccol3", "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width="+width+",height="+height);
	climacad.focus();
}
