function otevrit(path) {
	var wWidth = window.screen.availWidth;
	var wHeight = window.screen.availHeight;
  	var xpos, ypos = 0;
	var w = 750, h = 550;
  
  	if(wWidth > w) {
    	xpos = (wWidth - w)/2;
  	}
  	if(wHeight > h) {
    	ypos = (wHeight - h)/2;
  	}
window.open(path, "_blank", "status=yes, top=0, left=0, width=783, height=457, status=no, top=" + ypos + ", left=" + xpos);
}
