// included in header ! - Intelli_header_no_sec.inc
function openWindow(url, name) {
	var myWin = window.open(url, name, "status=no,scrollbars=yes,width=770,height=550");
}



function popUpWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}



///////////////////////////////////////////////////////////////////////////////////
function checkForEnter(event){
// here a good way to now between browsers but the event diferent makes the work....
  //if mozilla ns :
  //if (document.layers||document.getElementById&&!document.all) {
  	if (event && event.which == 13){
		//alert("mozilla ns");
		document.login.submit();
	} 
 // }
 // else { //if IE 
  if (window.event && window.event.keyCode == 13){
		//alert("IE");
		document.login.submit();
	} 
 // } 
}
///////////////////////////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////////////////////////
function checkForEnterWithForm(event,obj){
// here a good way to now between browsers but the event diferent makes the work....
  //if mozilla ns :
  //if (document.layers||document.getElementById&&!document.all) {
  	if (event && event.which == 13){
		//alert("mozilla ns");
		obj.submit();
	} 
 // }
 // else { //if IE 
  if (window.event && window.event.keyCode == 13){
		//alert("IE");
		obj.submit();
	} 
 // } 
}

//////////////////////////////////////////////////////////////////////////////////

