//copyright   : (c) macrocom gmbh
           
function openscrollxy(WinWidth,WinHeight,Link,WindowName){
   var xpos=200;
   var ypos=50;
   new_Window = window.open(Link,WindowName,'toolbar=0,width='+WinWidth+',height='+WinHeight+',location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,copyhistory=0,left='+xpos+',top='+ypos);
   new_Window.focus();
}


function openfix(WinWidth,WinHeight,Link,WindowName){
	new_Window = window.open(Link,WindowName,'toolbar=0,width='+WinWidth+',height='+WinHeight+',location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0,copyhistory=0,left=0,top=0');
	new_Window.focus();
}
function getLeft(l){
	if (l.offsetParent) return (l.offsetLeft + getLeft(l.offsetParent));
	else return (l.offsetLeft);
}
function getTop(l){
	if (l.offsetParent) return (l.offsetTop + getTop(l.offsetParent));
	else return (l.offsetTop);
}
