/*

VERSION: 1.0.0
FILENAME: warningm.js
LAST MODIFICATION: 03/01/2011
DESCRIPTION: 

  Si hay seguimento indica que no cierre la ventana intermedia, ademas de otros
  mensajes que van parametrizados.

------------------------------------------------------------------------------*/

function trackingWarningMessage()
{      
	if((strSCORM=="1") || (strAICC=="1"))
	{  
     // strSliww, muestra o no el logo en la venta de Warning
     // -----------------------------------------------------
     if (strSliww=="1") {
        document.write('<div style="display:inline;">');
        document.write('<img width="200px" src="images/avanzo.jpg" alt="Avanzo" style="border-style: none" />');
        document.write('</div>');
     }
       
     document.write('<center>');
    
  	 document.write('<div class="AVISOFUERTE">');
     document.write('<strong>');
     document.write('<p style="font-family: Arial, Helvetica, sans-serif; font-size: large; font-weight: normal; color: #FF0000; text-decoration: underline">'+atencion+'</p>');
     document.write('</strong>');
     document.write('<font style="font-family: Arial, Helvetica, sans-serif; font-size: medium; color: #333333"  >');
     document.write('<p>'+no_cierre1+'</p>');
     document.write('<p>'+no_cierre2);
     document.write('<br />'+no_cierre3+'</p>');
     document.write('<p>'+no_cierre4+'</p>');
     document.write('<p>'+no_cierre5+'</p>');
     document.write('</font>');
     document.write('</div>');
     document.write('<br />');
     
     // strSliww, muestra o no la url de avanzo en la venta de Warning
     // -------------------------------------------------------------- 
     if (strSliww=="1") {
        document.write('<div>');
        document.write('<p style="font-size: small"><a target="_blank" href="http://www.avanzo.com">http://www.avanzo.com</a></p>');
        document.write('</div>');
     }
     
     // Mostrar info del navegador, version y sistema operativo
     // -------------------------------------------------------
     document.write('<br />');
     document.write('<div style="display:inline;">');
     document.write('<font style="font-family: Arial, Helvetica, sans-serif; font-size: small; color: #333333"  >');
     document.write('<p>'+ BrowserDetect.browser + ' (' + BrowserDetect.version + '), ' + BrowserDetect.OS + '.</p>');
     document.write('</font>');
     document.write('</div>');
     
     // strSaotiww, muestra o no el aviso del complemente Always on Top en Firefox
     // --------------------------------------------------------------------------
     if (strSaotiww=="1") {
       if (BrowserDetect.browser=="Firefox") {
          document.write('<div style="display:inline;">');
          document.write('<font style="font-family: Arial, Helvetica, sans-serif; font-size: small; color: #333333"  >');
          document.write('<p>');
          document.write(always_on_top);
          document.write('</p>');
          document.write('</font>');
          document.write('</div>');
       }
     }
     
     document.write('</center>');
	}	
}

