function popupWindowImage(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}

function popupXL2(of) {
	var xlContStyle = document.getElementById('xlCont').style
	xlContStyle.display='block';
	xlContStyle.overflow='auto';
	if (of && document.getElementById('xlImg').height > 400) {
		with (xlContStyle) {
			height='400px';
			width=(parseInt(document.getElementById('xlImg').width) + 20) + 'px';
			overflow='auto'
			}
		}
	}
function popupPropertiesWindow(url,w,h) {
  window.open(url,'popupPropertiesWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=800,height=600; ?>,screenX=112,screenY=112')
}
function popupPropertiesWindowDiapo(url,w,h) {
  window.open(url,'popupPropertiesWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width=800,height=670; ?>,screenX=112,screenY=112')
}
function popupPropertiesWindow2(url,w,h) {
  window.open(url,'popupPropertiesWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=no,width='+w+',height='+h+'; ?>,screenX=112,screenY=112')
}
function popupPropertiesWindowScroll(url,w,h) {
  window.open(url,'popupPropertiesWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width='+w+',height='+h+'; ?>,screenX=112,screenY=112')
}
