<!--
msgToDisplay1 = "<br>Welcome to the start page for the 'PAPER' HR/Personnel system demonstration. This presentation will take you through the key features of the system and provides many examples and screenshots to illustrate the functionality available.<br><br>You can proceed through the presentation at your own pace, moving forwards and backwards through the pages using the navigation buttons provided."
i=0
function buildMsg1()
 {document.getElementById("introTxt").innerHTML = msgToDisplay1.substring(0,i)
  if (i < msgToDisplay1.length)
     {i++; setTimeout("buildMsg1()",32)}
  else
     {setTimeout("buildMsg2()",32)}}

msgToDisplay2 = "<br>The presentation will start in 10 seconds."
j=0
function buildMsg2()
 {document.getElementById("countdownTxt").innerHTML = msgToDisplay2.substring(0,j)
  if (j < msgToDisplay2.length)
     {j++; setTimeout("buildMsg2()",32)}
  else
     {setTimeout("countDown(10)",32)}}

msgToDisplay3 = "<br>The presentation will start in "
function countDown(numSecs){
 if (numSecs > 1)
    {document.getElementById("countdownTxt").innerHTML = msgToDisplay3 + numSecs + " seconds."}
 else
    {document.getElementById("countdownTxt").innerHTML = msgToDisplay3 + " 1 second."}
 nextVal = numSecs - 1
 if (nextVal > 0){setTimeout("countDown(nextVal)", 1000);}
 if (nextVal == 0){setTimeout("countDown(nextVal)", 1000);}
 if (nextVal <= -1)
    {newDialog(); document.getElementById("countdownTxt").innerHTML = "<br>We hope the presentation was of interest and that you take advantage of the free trial offer.";}}

function newDialog()
{ if(screen.availWidth==800)                                        //Subtract 10 for left & right borders
    {//features = "width=790,height=" + (screen.availHeight - 34);    //leave space for bottom windows buttonbar
     widthOfDialog = screen.availWidth; heightOfDialog = screen.availHeight; 
     features="dialogHeight:"+heightOfDialog+"px; dialogWidth:"+widthOfDialog+"px; center:Yes; edge:Sunken; help:No; resizable:No; scroll:no; status:No;";
     }
  else
    {widthOfDialog = screen.availWidth; heightOfDialog = screen.availHeight; 
     features="dialogHeight:"+heightOfDialog+"px; dialogWidth:"+widthOfDialog+"px; center:Yes; edge:Sunken; help:No; resizable:No; scroll:no; status:No;";
    }
     //alert("widthOfDialog="+widthOfDialog+" heightOfDialog="+heightOfDialog);
     //alert("features string="+features);
     //features = "width=" + screen.availWidth + ",height=" + (screen.availHeight - 34);}

  //theURL='pres_frameset_1_rows.asp';
  //winName='pres_window';
  //win = window.open(theURL,winName,features);
  //win.location.href = theURL;
  //win.moveTo(0,0);

  window.showModelessDialog('pres_frameset_1_rows.asp', 'Unused Parameters', features);}
-->
