Shadowbox.init(
{
		counterType:'default',
		//player:'html',
		overlayOpacity:0.4,
		language: "pl",
		handleOversize:'drag',
		onOpen: function(){ 
			jQuery('#myImageFlow_navigation').css('display', 'none');
		},
		onClose: function(){ 
			jQuery('#myImageFlow_navigation').css('display', 'block');
		}
});

function getByAjax(co,wi,he)
{ var tresc=$.ajax({ type: "GET", url: co, async: true, beforeSend: function(xhr){xhr.setRequestHeader('XMLHttpRequest',1);}}).responseText;
  window.onload = function()
  {
	  Shadowbox.open({content:'tresc',height:he,width:wi});
  }
}

