<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="robots" content="none">
    <meta name="author" content="easy i">
    <meta http-equiv="Content-Type" content="text/html; charset:UTF-8;">
    <meta http-equiv="EXPIRES" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="imagetoolbar" content="no">
    <title>SAI Global Learning Management System 7.8</title>
    <link rel="stylesheet" href="style/nlchi/css/occam7.css" title="default" type="text/css">
    <link rel="stylesheet" href="style/global/main_ltr.css" title="default" type="text/css">
    <link rel="stylesheet" href="style/global/invariant.css" title="default" type="text/css"><script src="global/ezi_functions.js"></script><script src="global/ezi_tooltips.js"></script><script>
			
			//kill event - use with onContextmenu
			function nullify(){event.returnValue = false}
			
			//aj 2004.12.16
			function killstatus()
			{
				window.status='';
				return true
			}

			//attach to doc
			if(typeof(document.oncontextmenu)!='undefined') 
			{
	      if (document.addEventListener)
	      {
		      document.addEventListener('contextmenu', nullify, false);
          document.addEventListener('mouseover', killstatus, false);
          document.addEventListener('mouseout', killstatus, false);
	      }
	      else 
	      {
          document.attachEvent('oncontextmenu',nullify);
				  document.attachEvent('onmouseover',killstatus);
				  document.attachEvent('onmouseout',killstatus);
	      }		
			}
			
			//netscape binding
			if (document.layers){document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);}


      var focusoverride;  // KillAutoComplete will change the current focus on a form. To preserve focus, make sure the form puts the focus field 
                          // into this variable.

			function killAutoComplete()
			{
			//window.alert('New code to set autocomplete to off');
				if (document.getElementsByTagName) 
				{ 
					var formTags = document.getElementsByTagName("form"); 
					for (i=0; formTags.length > i; i++) 
					{ 
					//	window.alert(formTags[i].getAttribute("autocomplete"));
						formTags[i].setAttribute("autocomplete","off"); 
					//	window.alert(formTags[i].getAttribute("autocomplete"));
					}
					var inputTags = document.getElementsByTagName("input"); 
					for (i=0; inputTags.length > i; i++) 
					{ 
					//	window.alert(inputTags[i].getAttribute("autocomplete"));
						inputTags[i].setAttribute("autocomplete","off"); 
						try {

            inputTags[i].focus();
						} catch (error) { /* ignore error */ }
					//	window.alert(inputTags[i].getAttribute("autocomplete"));
					}
					if (inputTags) 
					{
						try {
							inputTags[0].focus();
						} catch (error) { /* ignore error */ }
					}
				}
        if(focusoverride)
        {
          focusoverride.focus();
        }

			}
			setTimeout("killAutoComplete()",500);
			setTimeout("",500);
			
			</script><script>
        
				if (navigator.appName != 'Netscape' && document.parentWindow.attachEvent) {document.parentWindow.attachEvent('onunload',killpopups);}
        
      </script><script src="global/ezi_core.js"></script><script src="global/ezi_functions.js"></script><script language="Javascript">
				
				var sDestination = 'default.ashx?x=';
				
				sDestination += '&d=';
				
				var test;
        
				//don't allow popups to do this
				if (window.name.match(/\bwin_/) != null)
				{
					window.opener.top.document.location = sDestination;
					window.close();
				}
				
				// check that we're at the top level
				if (top.frames.length > 0)
				{
					top.document.location = sDestination;
				}

				function f_selfReg()
				{
					xml = new XML('student','dlg_new_selfreg',top.application.langcode,top.application.style);
					xml.addaction('student', 'dlg_new_selfreg');
					xml.post("_self");	
				}
				
				function f_switch_lang(language)
				{					
					document.langfrm.langcode.value = language;
					document.langfrm.action = 'default.ashx';
					document.langfrm.submit();
				}
				
				function f_login()
				{	
          document.loginfrm.txtLoginid.value = document.loginfrm.txtLoginidVisible.value;
          document.loginfrm.txtLoginidVisible.value = "";
					document.loginfrm.langcode.value = document.langfrm.langcode.value;
					document.loginfrm.action = 'default.ashx';
					document.loginfrm.submit();
				}
				
				function spoof_application()
				{
          
					popuptest();
          

					top.application						= new Object();
					top.application.objpost				= document.frm;
					top.application.operator			= new Object();
					top.application.operator.langcode	= 'en-us';
					top.application.operator.langdir	= '';
					top.application.operator.style		= 'nlchi';
					top.application.operator.sessionid	= '';
					top.application.operator.domain 	= '';
					var obj = findObj('txtLoginidVisible');
				  focusoverride = obj;
          if (typeof(obj)!='undefined') 
          {
          	obj.focus();         
          }
         
				}

        
				function popuptest()
				{
					// -aw 2/13/2008 Defect #20063 Added a delay to closing the window in order to prevent errors in Firefox and Netscape
					test = window.open('dummy.htm','','width=1,height=1,left=0,top=0,scrollbars=no');
					if (test) {
						setTimeout("closePopup()",250);
						return true;
					}
					else {
						window.alert('WARNING: We have detected that you have a pop-up blocker loaded. This will prevent you from being able to launch your courseware. Please turn off all pop-up blockers before continuing.');
						return false;
					}
				}
				
				function closePopup() {
					test.close();
				}
        

				function f_forgottenpassword()
				{
				
						top.application = new Object();
						top.application.operator = new Object();
						top.application.operator.sessionid = "";
						top.application.operator.style = "nlchi";						
						top.application.operator.langcode = "en-us";						
						top.application.operator.domain 	= '';
						top.application.objpost = window.document.frm;
		
						xml = new XML('system','forgottenpassword');	// For now just display details of inserted student
						
						xml.checkseal();
						xml.strXML += '</operation>';
						document.frm.inp_xml.value = xml.strXML;
						document.frm.action = 'default.ashx'
					
						document.frm.submit();
						
				}
				
				</script></head>
  <body onload="spoof_application();" style="overflow:visible;padding:0px;">
    <div style="overflow:auto;height:100%;">
      <table width="100%" height="100%" cellspacing="0" cellpadding="0">
        <tr>
          <td class="login-main-nlchi">Welcome to the PHIA Online Education Course offered by the Department of Health and Community Services of the Government of Newfoundland and Labrador.<br><br>Please enter your login details.<br/><br/><ul><li>Information collected as part of this course may be given to employers and professional organizations if they are specified during the registration process.  This information is provided to the employer or professional organization in order to assess your performance in the course. </li><br/><br/><li>Information collected as part of this course may be used to evaluate the delivery and benefits of this course.</li></ul>If you have questions or need assistance, please contact your organization’s service desk. If you do not have a service desk or similar support in your organization, please contact the Newfoundland and Labrador Centre for Health Information Service Desk at <a href="mailto:learning@nlchi.nl.ca?subject=Online Privacy Training System" style="text-decoration:underline;color: #0099ff;">learning@nlchi.nl.ca</a>.</td>
          <td class="login-form"> 
							  <table border="0" cellpadding="0" cellspacing="0" align="right">
              <form id="loginfrm" name="loginfrm" method="post" action="javascript: void f_login()">
                <tr>
                  <td class="login-form-labels" nowrap>Login ID</td>
                  <td class="formelement"><input type="text" class="login-smalltextbox" id="txtLoginidVisible" name="txtLoginidVisible" value=""><input type="hidden" id="txtLoginid" name="txtLoginid" value=""></td>
                </tr>
                <tr>
                  <td class="login-form-labels" nowrap>Password</td>
                  <td class="formelement"><input type="password" class="login-smalltextbox" name="txtPassword" id="txtPassword"></td>
                </tr>
                <tr>
                  <td colspan="2" align="right"><a href="javascript:f_login()" class="login-inverted">Login</a><br><input type="submit" style="position:absolute; top:-100px;left:-100px" value="Login"></td>
                </tr>
                <tr>
                  <td colspan="2" class="login-selfreg" nowrap align="right"><a class="login-selfreg" href="javascript:void f_selfReg()">Not registered? Click here.</a></td>
                </tr>
                <tr>
                  <td colspan="2" class="login-form-labels" align="left"><br><p style="width:175px;">Note: If your organization has provided you with a Login ID and Password, you will need to use this Login ID and Password to receive proper credit for completing the course.</p>
                  </td>
                </tr><input type="hidden" name="langcode" id="langcode" value="en-us"><input type="hidden" name="style" id="style" value="nlchi"></form>
            </table>
          </td>
        </tr>
        <tr>
          <td class="login-languages"></td>
        </tr>
        <form id="frm" name="frm" method="post"><input type="hidden" id="inp_xml" name="inp_xml" SIZE="40" value=""><input type="hidden" id="hidLang" name="hidLang" SIZE="40" value="en-us"><input type="hidden" id="hidStyle" name="hidStyle" SIZE="40" value="nlchi"><input type="hidden" id="hidSessionid" name="hidSessionid" SIZE="40" value=""><input type="hidden" id="hidStudentid" name="hidStudentid" SIZE="40" value="1"></form>
        <form id="langfrm" name="langfrm" method="post"><input type="hidden" name="langcode" id="langcode" value="en-us"><input type="hidden" name="style" id="style" value="nlchi"></form>
      </table>
    </div>
  </body>
</html>
