/**
 * Główny zestaw metod
 */
var Akcjonariat = {

	init : function(){
		// podbicie wykresu akcjonariuszy
		swfobject.embedSWF(_config.base_url + '/template/flash/wykres_new.swf', "wykres-akcjonariuszy", "670", "215", "8.0.0", "expressInstall.swf",
			/* FLASHVARS	*/	{ 'r':'1', 'label_left':encodeURIComponent(Translator.label_z_lewej), 'label_right':encodeURIComponent(Translator.label_z_prawej), 'lang':_config.lang },
			/* PARAMS 		*/	{ swliveconnect: true, wmode: "transparent", scale: "noScale" },
			/* ATTRIBUTES	*/	{ id: "wykres-akcjonariuszy", name: "wykres-akcjonariuszy" }
		);
		// podbicie wykresu struktury akcji
		swfobject.embedSWF(_config.base_url + '/template/flash/wykres_new.swf', "wykres-struktury-akcji", "670", "215", "8.0.0", "expressInstall.swf",
			/* FLASHVARS	*/	{ 'r':'2', 'label_left':encodeURIComponent(Translator.label_z_lewej2), 'label_right':encodeURIComponent(Translator.label_z_prawej2), 'lang':_config.lang },
			/* PARAMS 		*/	{ swliveconnect: true, wmode: "transparent", scale: "noScale" },
			/* ATTRIBUTES	*/	{ id: "wykres-struktury-akcji", name: "wykres-struktury-akcji" }
		);
	}	
};

