function PopupPic(sPicURL, sLabel) { 
	var url = "../include/popup1.asp?url="+sPicURL;
	
	//window.open("../include/popup1.asp?url="+sPicURL+"&tekst="+sLabel, "", "toolbar=no,center=yes,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,HEIGHT=310,WIDTH=290");
	//showModalDialog("../include/popup1.asp?url="+sPicURL+"&tekst="+sLabel,
      //                         "",
      //                          "dialogHeight:310px;dialogWidth:290px;scroll:no;center:yes;toolbar:no;location:no;directories:no;status:no;menubar:no;resizable:yes");
	
	
	var w = 290;
	var h = 410;
	var windowName = "";
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl +',scrollbars=yes,resizable';
	
	win = window.open(url, windowName, winprops);
	//if (parseInt(navigator.appVersion) >= 4) 
	//{
	//	win.window.focus();
	//}
}
