function openPop(sUrl)
{
  window.open(sUrl,"winNew","resizable=yes,width=20,height=20,screenX=0,screenY=0,dependent=yes");
}

// telemed - POP UP
function openWin(sUrl)
{  
  window.open(sUrl,"winNew","resizable=yes,width=400,height=530,top=0,left=0,screenX=0,screenY=0,dependent=no");
}








//standard-function to resize a window to 640/availHeight
//in left corner of screen (right corner:screen.width-640
function reposWindow()
{
  window.parent.resizeTo(640, screen.availHeight);
  window.parent.moveTo(0,0);
}

//repositions a window with given size (width/height) to
//left corner of screen.(right corner:screen.availWidth-w)
function reposSizedWin(w, h)
{
  window.parent.moveTo(0,0);
  window.parent.resizeTo(w, h);
}

//closes Window
function closeWin()
{
  parent.window.close();
}

//closes Window and open another
function Window(sUrl)
 {
	
  if ( navigator.appName == "Netscape" )
   {
	window.open(sUrl,"winNew2","top=0,left=0,resizable=yes,status=yes,menubar=yes,toolbar=yes,directories=yes,location=yes,width=780,height=580,dependent=no");
	parent.window.close();
   }
  else
   {
    parent.window.close();
    window.open(sUrl,"winNew2","top=0,left=0,resizable=yes,status=yes,menubar=yes,toolbar=yes,directories=yes,location=yes,width=780,height=580,dependent=no");
   }
 }
 
 
 // wie fenster_klein nur ohne Menueleisten und in 640*500

function fenster_ohne(Seite) {
 s = 'status=no,menubar=no,toolbar=no,directories=no,location=no,'
       + 'top=0,left=0' + ','
       + 'scrollbars=1,resizable=yes,width=640,height=500';
 application = window.open(Seite,'FeedbackTausch',s);
 ver = eval("navigator.appVersion.charAt(0)");
 if (ver>3) application.focus();
}

