/* author: Anton Tauscher */
/* Creation date: 09.03.03 */
function Intro(url)
{
 if (!document.layers&&!document.all&&!document.getElementById)
  {
   paramstp="height=580,width=796,top=0,left=0,scrollbars=yes,location=no"+
   ",directories=no,status=no,menubar=no,toolbar=no,resizable=yes"
   var crw=window.open(url,"",paramstp);
   if (crw.focus){crw.focus();}
   return;
  }
  var winwidth=300;
  var winheight=100;
  var winreswidth=window.screen.availWidth;
  var winresheight=window.screen.availHeight;
  var LeftPosition=(winreswidth-winwidth)/2;
  var TopPosition=winresheight-winheight/2;

  var paramstr="left="+LeftPosition+",top="+TopPosition+",width="+winwidth+
               ",height="+winheight+",toolbar=no,menubar=no,location=no,"+
               "status=no,scrollbars=yes,resizable=yes";
  var crw=open(url,"",paramstr);

  crw.resizeBy(0,-40);

  var resspeed=100;
  var wspeed=winreswidth/resspeed;
  var hspeed=winresheight/resspeed;
  var x=wspeed;
 
  while (x)
  {
   crw.resizeBy(x,0);
   winwidth+=x;
   LeftPosition=(winreswidth-winwidth)/2;
   TopPosition-=wspeed;
   if (LeftPosition<0) LeftPosition=0;
   if (TopPosition<0) TopPosition=0;
   crw.moveTo(LeftPosition,TopPosition);
   if (winwidth>=winreswidth) x=0;
  }
  crw.moveTo(0,0);
 
  var y=hspeed;
  winheight=50;
  while(y)
  {
   crw.resizeBy(0,y);
   winheight+=y;
   if (winheight>=winresheight) y=0;
  }
  crw.resizeTo(winreswidth,winresheight);
  if (crw.focus){crw.focus();}
} // end function Intro(url)

