function goTo(where) {
	 document.location.reload(where);
	 return false;
}

function popupWindow(goLocation,wname,wdth,hght,stl)
{
 var v=parseInt(navigator.appVersion);
 isNetscape=navigator.appName.indexOf('Netscape')>=0;
 isExplorer=navigator.appName.indexOf('Explorer')>=0;

 var ww = wdth;
 var wh = hght;

 positionCode='';
 if(v>=4)
 {
  if(isExplorer) positionCode='left='+(screen.width/2-ww/2)+',top='+(screen.height/2-wh/2)+',';
  if(isNetscape) positionCode='screenX='+(screen.width/2-ww/2)+',screenY='+(screen.height/2-wh/2)+',';
 }

 newWindow=window.open(goLocation,wname,
 'width='+ww+',height='+wh+','+
 positionCode+
 'location=0,'+
 'toolbar=1,'+
 'scrollbars=1,'+
 'status=0,'+
 'resizable=1');
  if(v>=3) newWindow.focus();
  return newWindow;
}

function ShowPhotoWnd(id,pth)
{
popupWindow(pth+'photo.php?id='+id,'photo',780,540,'');
return false;
}

function ShowInfoWnd(q)
{
popupWindow('../catalogue/info/?'+q,'domuminfo',780,540,'');
return false;
}

function gotop(purl,w,h)
{
	popupWindow(purl,'pwnd',w,h);
	return false;
}
