// ==================================================================
// Author           : a.marti@cmfnet.ch
// 
// Date             : 10.03.2005
// 
// Version          : 1.000
// 
// =====================================================================
// Description      : JavaScript functions for window functions.
// 
// =====================================================================
// Remarks          : none
// 
// ===================================================================*/


// ------------------------------------------------------------
// open window for picture
//
// ------------------------------------------------------------
function ShowImage(img, x, y){
	hWnd = window.open(img, 'ImageViewer','width=' + (x + 20) + ',height=' + (y + 30) + ',screenX=1, screenY=1,toolbar=0,resizable=0,status=0,topmargin=0');
	hWnd.moveTo(10,10);
}


// ------------------------------------------------------------
// open window for html page
//
// ------------------------------------------------------------
function openWindow(theURL,winName,features) {
  window.open(theURL,winName,features);
}


