<!--
// *******************************************************
// Librairie de fonctions de gestion des pop-ups
// Par Guillaume BABIK
// Création : 21 Mai 2001
// Modification : 3 Juillet 2001
// *******************************************************
/************************************************** 
* OpenRefWin 
* 
* Ouvre une URL dans une nouvelle fenêtre de navigateur 
* 
* @param field ... 
* @return {KEY_RETURN_DESC} 
*************************************************/ 


// ------------------------------------------------------
// Fonction ouvre une pop-up d URL : url et de taille myWidth et myHeight
	function popup(url,myWidth, myHeight){
	    
		var newWindow = window.open(url,"","directories=0,menubar=0,navbar=0,scrollbars=1,location=0,status=0,resizable=0,width="+myWidth+",height="+myHeight);
		return newWindow;
	}


// ------------------------------------------------------
// Fonction identique mais avec la possibilité de passer des paramêtre dans l URL
// Utile pour passer des paramêtres ASP
	function popupParam(url,param, myWidth, myHeight){
		window.open(url+"?target="+param,"","directories=0,menubar=0,navbar=0,scrollbars=1,location=0,status=0,resizable=0,width="+myWidth+",height="+myHeight);
	}

/*--------------------------------------------------
* Function : popupWindow( inUrl, inWindowName, inWindowWidth, inWindowHeight, inPositionLeft, inPositionTop, inScroll, inResize, inToolbar ,inMenubar, inStatus)
* Parameters :
*         Str inFileName : url for content of the windows (relative or absolute)
*         Str inWindowName : window's name
*         Int inWindowWidth : Width of the window 
*         Int inWindowHeight : Height of the window 
*         Int inPositionLeft : Position of the window, left of the screen 
*         Int inPositionTop : Position of the window, top of the screen 
*         Str inScroll : Determine the presence of the scroll (Possible values : yes,no,auto)
*         Str inResize : Possibility of resize the window (Possible values : yes,no)
*         Str inToolbar : Determine the presence of Toolbar (Possible values : yes,no)
*         Str inMenubar : Determine the presence of Menubar (Possible values : yes,no)
*         Str inStatus : Determine the presence ofStatusbar (Possible values : yes,no)
* Return value :
*          window object
* Purpose :
*         Open a new window
* Comment : 
*         Javascript 1.xx. You can use the returned window object to make manipulations on this opened wondow.
* (c)opyright B2L-CYBER/BBDO
*--------------------------------------------------*/
function popupWindow(inUrl, inWindowName, inWindowWidth, inWindowHeight, inPositionLeft, inPositionTop, inScroll, inResize, inToolbar, inMenubar, inStatus)
{
     return window.open(inUrl, inWindowName, 'resizable='+inResize+', scrollbars='+inScroll+', toolbar='+inToolbar+', menubar='+inMenubar+', status='+inStatus+', screenX='+inPositionLeft+', screenY='+inPositionTop+', top='+inPositionTop+', left='+inPositionLeft+', width='+inWindowWidth+', height='+inWindowHeight);
}
//--------------------------------------------------
//-->
