//keywords
var code="code";var url="url";var sub="sub";
//styles
var defcolor = {"border":"#666666", "shadow":"#DBD8D1", "bgON":"#FFF","bgOVER":"#FFF", "imagebg":"#DBD8D1", "oimagebg":"#4E7FC1"};
var defcolor2 = {"border":"#666666", "shadow":"#DBD8D1", "bgON":"#FFF","bgOVER":"#B6BDD2", "imagebg":"#DBD8D1", "oimagebg":"#4E7FC1"};
var defcolor3 = {"border":"", "shadow":"", "bgON":"","bgOVER":"", "imagebg":"", "oimagebg":""};
var defcss = {"ON":"wclsCMTopOn", "OVER":"wclsCMTopOver"};
var defcss2 = {"ON":"wclsCMTopOn2", "OVER":"wclsCMTopOver2"};
var defcss3 = {"ON":"wclsCMTopOn3", "OVER":"wclsCMTopOver3"};
var defcss4 = {"ON":"wclsCMTopOn4", "OVER":"wclsCMTopOver4"};
var defcss5 = {"ON":"wclsCMTopOn5", "OVER":"wclsCMTopOver5"};
var TOP_LEFT = {"border":1, "borders":[1,1,1,1], "shadow":2, "color":defcolor, "css":defcss};
var TOP_MIDDLE = {"border":1, "borders":[0,1,1,1], "shadow":2, "color":defcolor, "css":defcss};
var TOP_RIGHT = {"border":1, "borders":[1,1,1,1],"shadow":2, "color":defcolor, "css":defcss};
var STYLE1 = {"border":1, "borders":[1,0,1,0], "shadow":2, "color":defcolor, "css":defcss};
var STYLE2 = {"border":1, "borders":[0,0,0,0], "shadow":0, "color":defcolor3, "css":defcss2};
var STYLE3 = {"border":1, "borders":[1,0,1,1], "shadow":2, "color":defcolor, "css":defcss3};
var STYLE4 = {"border":1, "borders":[0,0,0,0], "shadow":0, "color":defcolor3, "css":defcss4};
var STYLE5 = {"border":1, "borders":[0,0,0,0], "shadow":0, "color":defcolor3, "css":defcss2};
var STYLE4 = {"border":1, "borders":[0,0,0,0], "shadow":0, "color":defcolor3, "css":defcss5};
var STYLE_TOP = {"border":1, "borders":[1,1,1,0], "shadow":2, "color":defcolor, "css":defcss};
var STYLE_BOTT = {"border":1, "borders":[1,0,1,1], "shadow":2, "color":defcolor, "css":defcss};

var MENU_RESPIRAR = [
	{"pos":[25,43], "size":[19,95], "itemoff":[0,130], "imgsize":[16,27], "leveloff":[18,0], "delay":150, "image":"img/blank.gif", "imgsize":[20,24], "arrow":"img/arrow.gif", "arrsize":[13,13],"style":TOP_MIDDLE},
    {code:"Epidemiologia", "format":{"size":[17,87],"arrow":null, "image":null, "style":STYLE5},
        sub:[
            {"size":[22,200], "itemoff":[21,0], "leveloff":[17,0], "arrow":"img/arrow.gif", "style":STYLE1, "image":"img/b.gif"},
            {code:"Historia Natural del Asma", url:"http://www.respirar.org/epidemia/historia_natural.htm", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_TOP}},
            {code:"La epidemia del siglo 21", url:"http://www.respirar.org/epidemia/index.htm", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT}},
            {code:"Observatorio del Estudio ISAAC", url:"http://www.respirar.org/isaac/index.htm", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT}},
            {code:"Observatorio del Estudio EISL", url:"http://www.respirar.org/eisl/index.htm", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT}},
            {code:"Otros Estudios de interes", "format":{"arrow":"img/arrow.gif", "style":STYLE3},
                     sub:[
                         {"size":[22,200], "itemoff":[21,0], "leveloff":[8,197], "image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT},
                         {code:"Asma en Europa (EEA-OMS)", url:"http://www.respirar.org/epidemia/aema.htm", "format":{"style":STYLE_TOP}},
                         {code:"Asma en Estados Unidos (CDC)", url:"http://www.respirar.org/epidemia/surveyusa2002.htm", "format":{"style":STYLE_BOTT}},
                         {code:"Estudio AIRE", url:"http://www.respirar.org/epidemia/aire.htm", "format":{"style":STYLE_BOTT}},
                         {code:"Prevalencia asma en Asturias", url:"http://www.respirar.org/ecmaia/index.htm", "format":{"style":STYLE_BOTT}},
                         {code:"Prevalencia asma en Extremadura", url:"http://www.respirar.org/epidemia/extremadura.htm", "format":{"style":STYLE_BOTT}}
                         ]
                },            
            {code:"Factores de riesgo", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE3},
                     sub:[
                         {"size":[22,250], "itemoff":[21,0], "leveloff":[8,197], "image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT},
                         {code:"Factores de riesgo para desarrollar asma", url:"http://www.respirar.org/epidemia/factoresderiesgo.htm", "format":{"style":STYLE_TOP}},
                         {code:"Asma y Cancer", url:"http://www.respirar.org/epidemia/cancer.htm", "format":{"style":STYLE_BOTT}},
                         {code:"Variaciones Geograficas en el Asma", url:"http://www.respirar.org/epidemia/variaciones_geograficas.htm", "format":{"style":STYLE_BOTT}},
                         {code:"Gripe y Asma", url:"http://www.respirar.org/epidemia/vacuna_gripe.htm", "format":{"style":STYLE_BOTT}}
                       
                         ]
             }, 
            {code:"Oxido Nitrico y Asma", url:"http://www.respirar.org/feno/index.htm", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT}},
            {code:"Definicion operativa de Asma", url:"http://www.respirar.org/epidemia/definicion_operativa.htm", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT}},
 	        ]
	},
	{code:"Organizar la Asistencia", "format":{"size":[17,129], "itemoff":[0,86],"arrow":null, "image":null, "style":STYLE2},
      sub:[
        {"size":[22,225], "itemoff":[21,0], "leveloff":[17,-17],"arrow":"img/arrow.gif","image":"img/b.gif","style":STYLE1, "image":"img/b.gif"},
        {code:"La organizacion asistencial en dos pasos", url:"http://www.respirar.org/sanitaria/index.htm", "format":{"style":STYLE_TOP}},
        {code:"Paso 1: Plan Integral", url:"http://www.respirar.org/sanitaria/plan_integral.htm", "format":{"style":STYLE_BOTT}},
        {code:"Paso 2: Programa Asistencial", url:"http://www.respirar.org/sanitaria/programa_atencion.htm","format":{"style":STYLE_BOTT}},
        {code:"Programas integrales ya en marcha", "format":{"arrow":"img/arrow.gif", "style":STYLE3},
           sub:[
                 {"size":[22,230], "itemoff":[21,0], "leveloff":[8,217], "image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT},
                 {code:"Plan de Asma de Asturias (2002)",  url:"http://www.respirar.org/sanitaria/prana.htm", "format":{"style":STYLE_TOP}},
                 {code:"Proceso Integrado de Andalucia (2003)",  url:"http://www.respirar.org/sanitaria/andalucia.htm",  "format":{"style":STYLE_BOTT}},
                 {code:"Guia de Castilla y Leon (2004)",  url:"http://www.respirar.org/sanitaria/castilla_y_leon.htm", "format":{"style":STYLE_BOTT}},
                 {code:"Programa de Aragon (2004)", url:"http://www.respirar.org/sanitaria/aragon.htm", "format":{"style":STYLE_BOTT}},
                 {code:"Guia de Cantabria (2006)", url:"http://www.respirar.org/sanitaria/cantabria.htm", "format":{"style":STYLE_BOTT}},
                 {code:"Plan de Asma Illes Balears (2007)", url:"http://www.respirar.org/sanitaria/baleares.htm", "format":{"style":STYLE_BOTT}}
              ]
                },          
              ]
     },
     {code:"Educacion", "format":{"size":[17,80], "itemoff":[0,128],"arrow":null, "image":null, "style":STYLE5},
       sub:[
        {"size":[22,175], "itemoff":[21,0], "leveloff":[17,-17], "style":STYLE1, "image":"img/b.gif"},
        {code:"Justificacion-Objetivos", url:"http://www.respirar.org/educacion/index.htm", "format":{ "style":STYLE_TOP}},
        {code:"Estrategias Educativas", url:"http://www.respirar.org/educacion/estrategias.htm"}, 
        {code:"Actividades", url:"http://www.respirar.org/educacion/actividades.htm", "format":{"style":STYLE_BOTT}},
        {code:"Evaluacion de la Educacion", url:"http://www.respirar.org/educacion/lista_de_comprobacion.htm", "format":{"style":STYLE_BOTT}},
        {code:"Herramientas Educativas", "format":{"arrow":"img/arrow.gif","style":STYLE_BOTT},
          sub:[
             {"size":[22,155], "itemoff":[21,0], "leveloff":[8,173], "image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT},
             {code:"Modelo de los Tres Tubos",  url:"http://www.respirar.org/educacion/trestubos.htm", "format":{"style":STYLE_TOP}},
             {code:"Poster de inhaladores",  url:"http://www.respirar.org/educacion/poster_inhaladores.htm",  "format":{"style":STYLE_BOTT}},
             {code:"Cartilla de Asma", url:"http://www.respirar.org/educacion/cartilla_asma.htm", "format":{"style":STYLE_BOTT}},
             {code:"Video Educativo", url:"http://www.respirar.org/educacion/video_mpc.htm", "format":{"style":STYLE_BOTT}}

            ]
           }, 
        {code:"Bibliografia", url:"http://www.respirar.org/educacion/bibliografia_educacion.htm", "format":{"style":STYLE_BOTT}},
        ]

    },
    {code:"Calidad de Vida", "format":{"size":[17,90], "itemoff":[0,79],"arrow":null, "image":null, "style":STYLE2},
      sub:[
        {"size":[22,220], "itemoff":[21,0], "leveloff":[17,-17], "style":STYLE1, "image":"img/b.gif"},
        {code:"Calidad de Vida y Asma", url:"http://www.respirar.org/calidadvida/index.htm", "format":{"style":STYLE_TOP}},
        {code:"Cuestionarios CAN (Control del Asma)", url:"http://www.respirar.org/calidadvida/can.htm"}, 
        {code:"Cuestionarios de Juniper (Calidad de Vida)", url:"http://www.respirar.org/calidadvida/juniper.htm"}, 
        {code:"Bibliografia", url:"http://www.respirar.org/calidadvida/bibliografia_calidadvida.htm", "format":{"style":STYLE_BOTT}}
        ]
    },
    {code:"Formacion Continuada", "format":{"size":[17,130], "arrow":null, "image":null, "itemoff":[0,89], "style":STYLE2},
      sub:[
        {"size":[22,155], "itemoff":[21,0], "leveloff":[17,-17], "arrow":"img/arrow.gif", "style":STYLE1, "image":"img/b.gif"},
        {code:"Talleres interactivos", "format":{"arrow":"img/arrow.gif" , "style":STYLE_TOP},
        sub:[
            {"size":[22,198], "itemoff":[21,0], "leveloff":[8,153], "image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT},
            {code:"Espirometria", url:"http://www.respirar.org/espirom/index.htm", "format":{"style":STYLE_TOP}},
            {code:"Diagnostico de Alergia en Asma", url:"http://www.respirar.org/tal/index.htm"},
            {code:"Medidor de Pico de Flujo (FEM)", url:"http://www.respirar.org/tfem/index.htm", "format":{"style":STYLE_BOTT}},
            {code:"Buscar bibliografia sobre asma", url:"http://www.respirar.org/biblioteca/paseo.htm", "format":{"style":STYLE_BOTT}}
            ]
        },
        {code:"Curso online de asma", url:"http://www.respirar.org/curso.htm", "format":{"style":STYLE_BOTT}},
        {code:"Cursos univadis", url:"http://www.respirar.org/univadis.htm", "format":{"style":STYLE_BOTT}},
        {code:"Congresos y otros cursos", url:"http://www.respirar.org/agenda/index.htm", "format":{"style":STYLE_BOTT}}
        ]
    },  
    {code:"Biblioteca ", "format":{"size":[17,75], "itemoff":[0,129], "arrow":null, "image":null, "style":STYLE2},
      sub:[
            {"size":[22,200], "itemoff":[21,0], "leveloff":[17,-17], "arrow":"img/arrow.gif", "style":STYLE1, "image":"img/b.gif"},
            {code:"La Biblioteca de un vistazo",url:"http://www.respirar.org/biblioteca/index.htm",  "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_TOP}},
            {code:"Textos Clave", url:"http://www.respirar.org/biblioteca/textos_clave.htm", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT}},
            {code:"Thesaurus de Evidencias en Asma", url:"http://www.respirar.org/biblioteca/tesa.htm", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT}},
            {code:"Revisiones y Protocolos Cochrane", url:"http://www.respirar.org/biblioteca/revisiones_cochrane_asma.htm", "format":{"image":"img/b.gif", "oimage":"img/b.gif", "style":STYLE_BOTT}},
   	     ]
	},     
   {code:"Iniciativas", "format":{"size":[17,72],"itemoff":[0,74],"arrow":null, "image":null, "style":STYLE2},
     sub:[
        {"size":[22,160], "itemoff":[21,0], "leveloff":[17,-17], "style":STYLE1, "image":"img/b.gif"},
        {code:"Grupo Vias Respiratorias (AEPap)", url:"http://www.respirar.org/gvr/index.htm","format":{ "size":[30,160],"style":STYLE_TOP}}, 
        {code:"Grupo Asma y Educacion (SENP)", url:"http://www.respirar.org/gae_senp/index.htm","format":{ "size":[30,160],"itemoff":[29,0],"style":STYLE_TOP}}, 
        {code:"Iniciativa GESA", url:"http://www.respirar.org/educacion/gesa.htm", "format":{"itemoff":[29,0], "style":STYLE_TOP}},
        {code:"GAIBE", url:"http://www.respirar.org/iniciativas/gaibe.htm", "format":{"itemoff":[21,0], "style":STYLE_BOTT}},
        {code:"GEMA", url:"http://www.respirar.org/iniciativas/gema.htm", "format":{"style":STYLE_BOTT}},
        {code:"Foro Latinoamericano", url:"http://www.respirar.org/iniciativas/foro_latinoamericano.htm"},
        {code:"GINA", url:"http://www.respirar.org/iniciativas/gina.htm", "format":{"style":STYLE_BOTT}},
        {code:"Expert Panel Report", url:"http://www.respirar.org/iniciativas/epr.htm", "format":{"style":STYLE_BOTT}},
        {code:"Guia Britanica", url:"http://www.respirar.org/iniciativas/bts.htm", "format":{"style":STYLE_BOTT}},
        {code:"Dia Mundial del Asma", url:"http://www.respirar.org/dma/index.htm", "format":{"style":STYLE_BOTT}},
        {code:"Dia Mundial sin Tabaco", url:"http://www.respirar.org/sintabaco/index.htm", "format":{"style":STYLE_BOTT}},
        ]
    },
   {code:"Recursos", "format":{"size":[17,85],"itemoff":[0,71], "arrow":null, "image":null, "style":STYLE2},
    sub:[
        {"size":[22,100], "itemoff":[21,0], "leveloff":[17,-17], "arrow":"img/arrow.gif", "style":STYLE1, "image":"img/b.gif"},
       {code:"Asmamecum",  url:"http://www.respirar.org/asmamecum/index.htm", "format":{"style":STYLE_TOP}},
        {code:"Inhaladores",  url:"http://www.respirar.org/inhaladores/index.htm", "format":{"style":STYLE_BOTT}},
        {code:"Alertas",  url:"http://www.respirar.org/asmamecum/alertas.htm", "format":{"style":STYLE_BOTT}},
        {code:"PDAs y asma", url:"http://www.respirar.org/pda/index.htm"}, 
        {code:"Noticias",  url:"http://www.respirar.org/noticias/index.htm", "format":{"style":STYLE_BOTT}},
        {code:"Su opinion",  url:"http://www.respirar.org/opinion.htm", "format":{"style":STYLE_BOTT}},
        {code:"Enlaces", url:"enlaces/index.htm", "format":{"style":STYLE_BOTT}}
        ]
    },
];

