window._imBrowserConfig.uniwersalTitle='donimirski.com';
window._imBrowserConfig.align='lt';//lt cm custom - 
window._imBrowserConfig.encoding='utf-8';//ISO-8859-2
window._imBrowserConfig.basePath='/modules/SubWindow';
//if custom
	 function getImagesBrowserPosition(){
	 	var ar=[parseInt(screen.availWidth/2-400/2),20]
	 	return ar
	 }
function formatImagesBrowserPage(bUseTxt,imSrc,imWidth,imHeight,spacing,title){
 	var useFlashText=window._ext_b_tp.useFlashText==true || (bUseTxt && window.useFlashTextOnImage)
	var str='<p';
	if(bUseTxt && !useFlashText){
		str+=' align="center"'
	}
	str+=' style="margin:0px"><img alt="click &amp; close"  onclick="top.close()" src="'+imSrc+'" width="'+imWidth+'"  height="'+imHeight+'" style="z-index:1;cursor:pointer'
	if(useFlashText){
		str+=";position:absolute"
	}
	 if(bUseTxt && !useFlashText){
	 	str+=';margin:'+spacing+'px';
	 }
	 str+='" onload="reset_progres()"/>';
	 if(bUseTxt && !useFlashText){
		 str+='<br/><span style="font-family:arial,verdana, sans-serif;font-size:12px;color:#2a3944;display:block;padding:5px">'+title+'</span>'
		}
		str+='</p>';
		if(useFlashText){
			var emb=new PluginEmbeder()
			emb.addAttribute("width",330)
			emb.addAttribute("height",100)
			emb.addAttribute("file","/modules/SubWindow/text1.swf")
			emb.addAttribute("wmode","transparent")
			emb.addVariable("theText",title)
			str+="<div style='"
			str+="top:"+(imHeight-100)+"px;left:"+(imWidth-330)+"px;"
			str+="position:absolute;z-index:2'>"
			str+=emb.getHTML()
			str+="</div>"
		}
		return str
		}
	 function getImagesBrowserTextHeight(title){
		 if(title.length==0 || window._ext_b_tp.useFlashText==true ){
		 return 0
		 }else{
		 return Math.ceil(title.length/50)*25
		 }
	 }