//docasne - udelat metodu v presentation.js
function picWin(im,wi,he,titl,mess,winpars){
 	var wL=(screen.width-wi)/2;
 	var wT=(screen.height-he)/2;
 	var wp;
 	var img=new Image();
 	img.src=im;
 	wp="width="+wi+",height="+he+",left="+wL+",top="+wT+(typeof(winpars)=="undefined"?"":winpars);
  var vokno=window.open("","",wp);
 	vokno.document.open();
 	vokno.document.write('<html><head><title>'+(isUndefined(titl)?"":titl)+'</title><meta http-equiv="content-type" content="text/html; charset=iso-8859-2"></head><body style="margin:0;padding:0;background:#fff"><img src="'+im+'" alt="'+(typeof(mess)=="undefined"?"Kliknutím zavøete okno":mess)+'" onclick="window.close()" style="display:block;cursor:pointer;cursor:hand"></body></html>');
 	vokno.document.close();
 	return typeof(vokno)!="object";
}







var cra=new Presentation();

cra.addOnloadMethod("craInit");


function craInit(){


if(getEl("merci")){

var showButton=document.createElement("span");
showButton.className="fakelink";
showButton.innerHTML="Zobrazit formuláø";
showButton.onclick=function(){setDB("formbody");setDN("merci");};


getEl("merci").appendChild(showButton);

}





}


