function neoWin(Input,winName,Rs,St,Tb,Sc,T,L,Wd,He,Pos) {
	//Resizable,Status,Toolbar,Scrollbar,Top,Left,Width,Height,AC
   var Optwindow = "";
   var midx=Math.ceil(screen.width/2)
   var midy=Math.ceil(screen.height/2)
   switch (Pos) {
   case "C":
      T=midy-Math.ceil(He/2)
      L=midx-Math.ceil(Wd/2)
      if (Wd==0)
         Optwindow = "resizable="+Rs+",status="+St+",toolbar="+Tb+",scrollbars="+Sc+",Fullscreen=yes,type=Fullwindow";
      else
         if (kiosk) Optwindow = "resizable="+Rs+",status="+St+",toolbar="+Tb+",scrollbars="+Sc+",width="+Wd+",height="+He;
         else Optwindow = "top="+T+",left="+L+",resizable="+Rs+",status="+St+",toolbar="+Tb+",scrollbars="+Sc+",width="+Wd+",height="+He;
      break;
   case "A":
      T=10;
      L=10;
      Wd=screen.availWidth-30;
      He=screen.availHeight-80;
      Optwindow = "top="+T+",left="+L+",resizable="+Rs+",status="+St+",toolbar="+Tb+",scrollbars="+Sc+",width="+Wd+",height="+He+"";//,fullscreen
      break;
   default:
      if (Wd==0)
         Optwindow = "resizable="+Rs+",status="+St+",toolbar="+Tb+",scrollbars="+Sc+",Fullscreen=yes,type=Fullwindow";
      else
         if (kiosk) Optwindow = "resizable="+Rs+",status="+St+",toolbar="+Tb+",scrollbars="+Sc+",width="+Wd+",height="+He;
         else Optwindow = "top="+T+",left="+L+",resizable="+Rs+",status="+St+",toolbar="+Tb+",scrollbars="+Sc+",width="+Wd+",height="+He;
   }
   
   window.open(Input,winName,Optwindow);
   return;
}
