//Copyright 1998, 1999, 2000, 2001, 2002, 2003 Macromedia, Inc. All rights reserved. //--------------- LOCALIZEABLE GLOBALS--------------- var simple1 = "Simple1" var simple2 = "Simple2" var simple3 = "Simple3" var simple4 = "Simple4" var alt_b_y = "FilasAlt:AzulyAmarillo"; var alt_e_c = "FilasAlt:Colores tierra"; var alt_e_c2 = "FilasAlt:Colores tierra2" var alt_g_y ="FilasAlt:VerdeyAmarillo"; var alt_b_g ="FilasAlt:Gris básico"; var alt_orange = "FilasAlt:Naranja"; var alt_red = "FilasAlt:Rojo"; var alt_sunset = "FilasAlt:Atardecer"; var alt_dbl_cyan = "FilasDbl:Aguamarina"; var alt_dbl_grey = "FilasDbl:Gris"; var alt_dbl_green = "FilasDbl:Verde claro"; var alt_dbl_blue = "FilasDbl:Fucsia,Azul"; var alt_dbl_orange = "FilasDbl:Naranja"; var Sunset_topRowTextColor = "azul"; var Sunset_firstRowColor = "amarillo"; var Sunset_secondRowColor ="naranja"; var Light_Green_topRowTextColor = "rojo"; var Light_Green_firstRowColor = "blanco"; var Light_Green_topRowColor = "amarillo claro"; var Light_Green_secondRowColor = "verde claro"; var Orange_topRowColor = "amarillo"; var Orange_Dbl_firstRowColor = "blanco"; var Orange_Dbl_secondRowColor = "naranja"; var Grey_firstRowColor = "gris claro"; var Grey_secondRowColor = "blanco"; var Grey_Dbl_firstRowColor = "blanco"; var Grey_Dbl_secondRowColor = "gris claro"; var Green_Yello_topRowTextColor = "blanco"; var Simple4_topRowColor = "amarillo claro"; var Simple4_firstRowColor = "verde claro"; //--------------- END LOCALIZEABLE --------------- function tableFormats(){ var Formats=new Array(); var i=-1; // ***** Define all additional table formats after this line! ***** // *********************Simple Formats************************ //Directions: To define a new format, copy a format definition and paste in another location. //Change the name property to reflect the new name. Change the properties to reflect the new //properties. //Notes: //*Define null values as empty strings //except text styles; define null text styles as 0 //*rowLimit usage: row color is alternated every rowLimit rows. //Text Styles are defined as constants: NONE,BOLD,ITALIC, and BOLD_ITALIC //Simple1 Formats[++i] = new Array(); Formats[i].name=simple1; Formats[i].firstRowColor=""; Formats[i].secondRowColor=""; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign=""; Formats[i].topRowColor="#99FF00"; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=ITALIC; Formats[i].leftColAlign=""; Formats[i].border="0"; Formats[i].rowLimit="0"; //Simple2 Formats[++i] = new Array(); Formats[i].name=simple2; Formats[i].firstRowColor=""; Formats[i].secondRowColor=""; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign="center"; Formats[i].topRowColor=""; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=BOLD; Formats[i].leftColAlign="center"; Formats[i].border="1"; Formats[i].rowLimit="0"; //Simple3 Formats[++i] = new Array(); Formats[i].name=simple3; Formats[i].firstRowColor="#FFFFCA"; Formats[i].secondRowColor=""; Formats[i].topRowTextStyle=NONE; Formats[i].topRowAlign=""; Formats[i].topRowColor="#DFDFFF"; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="0"; Formats[i].rowLimit="0"; //Simple4 //Simple4_topRowColor //Simple4_firstRowColor Formats[++i] = new Array(); Formats[i].name=simple4; Formats[i].firstRowColor=Simple4_firstRowColor; Formats[i].secondRowColor=""; Formats[i].topRowTextStyle=ITALIC; Formats[i].topRowAlign="center"; Formats[i].topRowColor=Simple4_topRowColor; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="1"; Formats[i].rowLimit="0"; // *********************Alternating Rows************************ //Directions: To define a new format, copy a format definition and paste in another location. //Change the name property to reflect the new name. Change the properties to reflect the new //format. For instance, to create a table with red and white alternating rows, set //Formats[i].firstRowColor to red and Formats[i].secondRowColor to white. //Notes:-All properties must be defined. //-Colors can be defined with color names or hex values. //-rowLimit usage: row color is alternated every rowLimit rows. //Text Styles are defined as constants: NONE,BOLD,ITALIC, and BOLD_ITALIC //Blue & Yellow Formats[++i] = new Array(); Formats[i].name=alt_b_y; Formats[i].firstRowColor="#FFFFCC"; Formats[i].secondRowColor="#6666CC"; Formats[i].topRowTextStyle=NONE; Formats[i].topRowAlign="LEFT"; Formats[i].topRowColor=""; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="2"; Formats[i].rowLimit="1"; //Earth Colors Formats[++i] = new Array(); Formats[i].name=alt_e_c; Formats[i].firstRowColor="#CC9900"; Formats[i].secondRowColor="#CCCC00"; Formats[i].topRowTextStyle=ITALIC; Formats[i].topRowAlign=""; Formats[i].topRowColor="#666600"; Formats[i].topRowTextColor="#CC9900"; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="0"; Formats[i].rowLimit="1"; //Earth Colors 2 Formats[++i] = new Array(); Formats[i].name=alt_e_c2; Formats[i].firstRowColor="#FFFFCC"; Formats[i].secondRowColor="#CCCC00"; Formats[i].topRowTextStyle=NONE; Formats[i].topRowAlign=""; Formats[i].topRowColor=""; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="0"; Formats[i].rowLimit="1"; //Green & Yellow //Green_Yello_topRowTextColor Formats[++i] = new Array(); Formats[i].name=alt_g_y; Formats[i].firstRowColor="#FFFFCC"; Formats[i].secondRowColor="#CCFF99"; Formats[i].topRowTextStyle=NONE; Formats[i].topRowAlign="center"; Formats[i].topRowColor="#6633CC"; Formats[i].topRowTextColor=Green_Yello_topRowTextColor; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign="center"; Formats[i].border="2"; Formats[i].rowLimit="1"; //Grey //var Grey_firstRowColor = "lightgrey"; //var Grey_secondRowColor = "white"; Formats[++i] = new Array(); Formats[i].name=alt_b_g; Formats[i].firstRowColor=Grey_firstRowColor; Formats[i].secondRowColor=Grey_secondRowColor; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign="center"; Formats[i].topRowColor=""; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="0"; Formats[i].rowLimit="1"; //Orange //var Orange_topRowColor = "yellow"; Formats[++i] = new Array(); Formats[i].name=alt_orange; Formats[i].firstRowColor="#FF9900"; Formats[i].secondRowColor="#FFCC66"; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign=""; Formats[i].topRowColor=Orange_topRowColor; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="0"; Formats[i].rowLimit="1"; //Red Formats[++i] = new Array(); Formats[i].name=alt_red; Formats[i].firstRowColor="#FF6666"; Formats[i].secondRowColor="#FFFFCC"; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign="center"; Formats[i].topRowColor="#FFFF99"; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=ITALIC; Formats[i].leftColAlign="center"; Formats[i].border="0"; Formats[i].rowLimit="1"; //Sunset //Sunset_topRowTextColor = "blue"; //Sunset_firstRowColor = "yellow"; //Sunset_secondRowColor ="orange"; Formats[++i] = new Array(); Formats[i].name=alt_sunset; Formats[i].firstRowColor=Sunset_firstRowColor; Formats[i].secondRowColor=Sunset_secondRowColor; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign="center"; Formats[i].topRowColor=""; Formats[i].topRowTextColor=Sunset_topRowTextColor; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign="center"; Formats[i].border="0"; Formats[i].rowLimit="1"; // *********************Double Rows************************ //Directions: To define a new format, copy a format definition and paste in another location. //Change the name property to reflect the new name. Change the properties to reflect the new //format. For instance, to create a table with red and white alternating rows, set //Formats[i].firstRowColor to red and Formats[i].secondRowColor to white. //Notes:-All properties must be defined. //-Use "" to indicate no formatting. This removes the current formatting. //-rowLimit usage: row color is alternated every rowLimit rows. //Text Styles are defined as constants: NONE,BOLD,ITALIC, and BOLD_ITALIC //Cyan Formats[++i] = new Array(); Formats[i].name=alt_dbl_cyan; Formats[i].firstRowColor="#CCFFFF"; Formats[i].secondRowColor="#66FFCC"; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign="center"; Formats[i].topRowColor=""; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="3"; Formats[i].rowLimit="2"; //Grey //var Grey_Dbl_firstRowColor = "white"; //var Grey_Dbl_secondRowColor = "lightgrey"; Formats[++i] = new Array(); Formats[i].name=alt_dbl_grey; Formats[i].firstRowColor=Grey_Dbl_firstRowColor; Formats[i].secondRowColor= Grey_Dbl_secondRowColor; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign="center"; Formats[i].topRowColor=""; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="1"; Formats[i].rowLimit="2"; //Light Green //var Light_Green_topRowTextColor = "red"; //var Light_Green_firstRowColor = "white"; //var Light_Green_topRowColor = "lightyellow"; //var Light_Green_secondRowColor = "lightgreen"; Formats[++i] = new Array(); Formats[i].name=alt_dbl_green; Formats[i].firstRowColor=Light_Green_firstRowColor; Formats[i].secondRowColor= Light_Green_secondRowColor; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign="center"; Formats[i].topRowColor= Light_Green_topRowColor; Formats[i].topRowTextColor=Light_Green_topRowTextColor; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign=""; Formats[i].border="2"; Formats[i].rowLimit="2"; //Magenta & Blue Formats[++i] = new Array(); Formats[i].name=alt_dbl_blue; Formats[i].firstRowColor="#CC00FF"; Formats[i].secondRowColor="#CCFFFF"; Formats[i].topRowTextStyle=NONE; Formats[i].topRowAlign=""; Formats[i].topRowColor=""; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=NONE; Formats[i].leftColAlign="center"; Formats[i].border="1"; Formats[i].rowLimit="2"; //Orange //var Orange_Dbl_firstRowColor = "white"; //var Orange_Dbl_secondRowColor = "orange"; Formats[++i] = new Array(); Formats[i].name=alt_dbl_orange; Formats[i].firstRowColor=Orange_Dbl_firstRowColor; Formats[i].secondRowColor=Orange_Dbl_secondRowColor; Formats[i].topRowTextStyle=BOLD; Formats[i].topRowAlign="center"; Formats[i].topRowColor=""; Formats[i].topRowTextColor=""; Formats[i].leftColTextStyle=ITALIC; Formats[i].leftColAlign="left"; Formats[i].border="1"; Formats[i].rowLimit="2"; // ****** When defining additional formats, don't go below this line! ****** return Formats; }