<!--
// -----------------------------------------------------------------------------
// Globales
// Se requiere una versión superior de Flash
var requiredMajorVersion = 8;
// Se requiere una versión inferior de Flash
var requiredMinorVersion = 0;
// Se requiere revisión de Flash
var requiredRevision = 0;
// Versión de JavaScript compatible
var jsVersion = 1.0;
// -----------------------------------------------------------------------------
// -->

<!-- // Detectar tipo de navegador cliente
var isIE  = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
jsVersion = 1.1;
// Se necesita una aplicación auxiliar de JavaScript para detectar la información de versión de PlugIn de Flash Player
function JSGetSwfVer(i){
	// Versión de NS/Opera >= 3 compruebe si existe el plug-in de Flash en la matriz de plug-ins
	if (navigator.plugins != null && navigator.plugins.length > 0) {
		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
			var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
      		var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
			descArray = flashDescription.split(" ");
			tempArrayMajor = descArray[2].split(".");
			versionMajor = tempArrayMajor[0];
			versionMinor = tempArrayMajor[1];
			if ( descArray[3] != "" ) {
				tempArrayMinor = descArray[3].split("r");
			} else {
				tempArrayMinor = descArray[4].split("r");
			}
      		versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;
            flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
      	} else {
			flashVer = -1;
		}
	}
	// MSN/WebTV 2.6 admite Flash 4
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
	// WebTV 2.5 admite Flash 3
	else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
	// las versiones anteriores de WebTV admiten Flash 2
	else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
	// No se puede detectar en todos los demás casos
	else {
		
		flashVer = -1;
	}
	return flashVer;
} 
// Si se llama sin parámetros, esta función devuelve un valor de coma flotante que debería 
// ser la versión de Flash Player o 0.0
// p. ej.: Flash Player 7r14 devuelve 7.14
// Si se llama con reqMajorVer, reqMinorVer, reqRevision devuelve true si está disponible esa versión o una superior
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) 
{
 	reqVer = parseFloat(reqMajorVer + "." + reqRevision);
   	// Recorrer las versiones hacia atrás hasta encontrar la más reciente	
	for (i=25;i>0;i--) {	
		if (isIE && isWin && !isOpera) {
			versionStr = VBGetSwfVer(i);
		} else {
			versionStr = JSGetSwfVer(i);		
		}
		if (versionStr == -1 ) { 
			return false;
		} else if (versionStr != 0) {
			if(isIE && isWin && !isOpera) {
				tempArray         = versionStr.split(" ");
				tempString        = tempArray[1];
				versionArray      = tempString .split(",");				
			} else {
				versionArray      = versionStr.split(".");
			}
			versionMajor      = versionArray[0];
			versionMinor      = versionArray[1];
			versionRevision   = versionArray[2];
			
			versionString     = versionMajor + "." + versionRevision;   // 7.0r24 == 7.24
			versionNum        = parseFloat(versionString);
        	// es la revisión.mayor >= revisión.mayor requerida Y la versión menor >= la menor requerida
			if ( (versionMajor > reqMajorVer) && (versionNum >= reqVer) ) {
				return true;
			} else {
				return ((versionNum >= reqVer && versionMinor >= reqMinorVer) ? true : false );	
			}
		}
	}	
	return (reqVer ? false : 0.0);
}
// -->
<!--
var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
// Gestionar todos los mensajes de FSCommand de una película Flash
function indexb_DoFSCommand(command, args) {
	var indexbObj = isInternetExplorer ? document.all.indexb : document.indexb;

   {if(command=="asa"){ openNoWindow('http://www.grupoargraf.com/flash/f_argraf.html')}}
   {if(command=="ebro"){ openNoWindow('http://www.grupoargraf.com/flash/f_argraf_ebro.html')}}
  	{if(command=="auto"){ openNoWindow('http://www.grupoargraf.com/flash/f_argraf_autoadhesivos.html')}}
	{if(command=="pres"){ openPreWindow('http://www.grupoargraf.com/flash/lapresentacion.html')}}
	{if(command=="eti"){ openEtiWindow('http://www.grupoargraf.com/flash/mural.html')}}
	
	
   function openNoWindow(direccion){setTimeout(
   window.open(direccion,'formulario',
   'height=550,width=700,toolbar=no')),0}
      function openPreWindow(direccion){setTimeout(
   window.open(direccion,'soul',
   'height=430,width=760,toolbar=no')),0}
	      function openEtiWindow(direccion){setTimeout(
   window.open(direccion,'soul','height=600,width=800,toolbar=no')),0}

	//
}
// Ancla para Internet Explorer
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<script language=\"VBScript\"\>\n');
	document.write('On Error Resume Next\n');
	document.write('Sub indexb_FSCommand(ByVal command, ByVal args)\n');
	document.write('	Call indexb_DoFSCommand(command, args)\n');
	document.write('End Sub\n');
	document.write('</script\>\n');
}
// Esto sólo es necesario para navegadores Netscape.
	function flashGetHref() { return location.href; }
	function flashPutHref(href) { location.href = href; }
	function flashGetTitle() { return document.title; }
	function flashPutTitle(title) { document.title = title; }

function flvFPW1(){//v1.44
// Copyright 2002-2004, Marja Ribbers-de Vroed, FlevOOware (www.flevooware.nl/dreamweaver/)
var v1=arguments,v2=v1[2].split(","),v3=(v1.length>3)?v1[3]:false,v4=(v1.length>4)?parseInt(v1[4]):0,v5=(v1.length>5)?parseInt(v1[5]):0,v6,v7=0,v8,v9,v10,v11,v12,v13,v14,v15,v16;v11=new Array("width,left,"+v4,"height,top,"+v5);for (i=0;i<v11.length;i++){v12=v11[i].split(",");l_iTarget=parseInt(v12[2]);if (l_iTarget>1||v1[2].indexOf("%")>-1){v13=eval("screen."+v12[0]);for (v6=0;v6<v2.length;v6++){v10=v2[v6].split("=");if (v10[0]==v12[0]){v14=parseInt(v10[1]);if (v10[1].indexOf("%")>-1){v14=(v14/100)*v13;v2[v6]=v12[0]+"="+v14;}}if (v10[0]==v12[1]){v16=parseInt(v10[1]);v15=v6;}}if (l_iTarget==2){v7=(v13-v14)/2;v15=v2.length;}else if (l_iTarget==3){v7=v13-v14-v16;}v2[v15]=v12[1]+"="+v7;}}v8=v2.join(",");v9=window.open(v1[0],v1[1],v8);if (v3){v9.focus();}document.MM_returnValue=false;return v9;}
//-->





// JavaScript Document