// Ver 41 05/17/10  | old Ver 39  11/22/07

Art=0;BarMitzvah=1;Candlestick=2;Challah=3;Charity=4;Hanukkah=5;Havdalah=6;Jewelry=7;
KiddushCup=8;Kipa=9;Mezuza=10;Mints=11;Passover=12;Purim=13;RoshHashanah=14;
ShabbatTable=15;Shofar=16;Silver=17;Tallit=18;TallitEmanuel=19;Wedding=20;Yad=21;Other=22;

CatText = [];
CatPage = [];
CatHdrText = [];

root = "/" ;

CatText[Art]="Art Gallery";
CatPage[Art]= "/CT_Art/SC_Home.htm" ;
CatHdrText[Art]="<font color='#FF0000'></h1><h2>Judaica Art Gallery</font>";


CatText[BarMitzvah]="Bar/Bat Mitzvah Gifts";
CatPage[BarMitzvah]= "/CT_BarMitzvah/SC_Album.htm" ;
CatHdrText[BarMitzvah]="<font color='#FF0000'></h1><h2>Bar/Bat Mitzvah Gifts</font>";

CatText[Candlestick]="Candlesticks";
CatPage[Candlestick]= "/CT_Candlestick/SC_Candlestick.htm" ;
CatHdrText[Candlestick]="<font color='#FF0000'></h1><h2>Candlesticks etc.</font>";

CatText[Challah]="Challah Covers Boards & Knives";
CatPage[Challah]= "/CT_Challah/SC_Cover.htm" ;
CatHdrText[Challah]="<font color='#FF0000'></h1><h2>For Your Shabbat and Holiday Table</font>";

CatText[Charity]="Charity (Tzedakah) Boxes";
CatPage[Charity]= "/CT_Tzedakah/SC_Sports.htm" ;
CatHdrText[Charity]="<font color='#FF0000'></h1><h2>Charity (Tzedakah) Boxes</font>";

CatText[Hanukkah]="Hanukkah 2010";
CatPage[Hanukkah]= "/menorah/SC_Theme.htm" ;
CatHdrText[Hanukkah]="<font color='#FF0000'>Hanukkah 2010</font>";

CatText[Havdalah]="Havdalah";
CatPage[Havdalah]= "/CT_Havdolah/SC_Sets.htm" ;
CatHdrText[Havdalah]="<font color='#FF0000'>Havdalah</font>";


CatText[Jewelry]="Jewelry";
CatPage[Jewelry]= "/CT_Jewelry/SC_Chai.htm" ;
CatHdrText[Jewelry]="<font color='#FF0000'>Judaica Jewelry</font>";

CatText[KiddushCup]="Kiddush Cups";
CatPage[KiddushCup]= "/CT_KiddushCup/SC_Silverplated.htm" ;
CatHdrText[KiddushCup]="<font color='#FF0000'></h1><h2>Kiddush (Wine) Cups</font>";

CatText[Kipa]="Kippas Galore";
CatPage[Kipa]= "/kipa/SC_Individual.htm" ;
CatHdrText[Kipa]="<font color='#FF0000'>Kipa Collection</font>";

CatText[Mints]="Mazel Mints";
CatPage[Mints]= "/CT_Mints/SC_BarMitzvah.htm" ;
CatHdrText[Mints]="<font color='#FF0000'>Mazel Mints</font>";

CatText[Mezuza]="Mezuzot";
CatPage[Mezuza]= "/CT_Mezuza/SC_Silver.htm" ;
CatHdrText[Mezuza]="<font color='#FF0000'>Mezuza Cases and Parchment Scrolls</font>";

CatText[Passover]="Passover 2010";
CatPage[Passover]= "/passover/SC_Ceramic.htm" ;
CatHdrText[Passover]="<font color='#FF0000'>Passover <font color='#FF8C00'>2010</font>";

CatText[Purim]="Purim";
CatPage[Purim]= "/CT_Purim/SC_Hamentashen.htm" ;
CatHdrText[Purim]="<font color='#FF0000'>Purim <font color='#FF8C00'>2010</font>";

CatText[RoshHashanah]="Rosh Hashanah";
CatPage[RoshHashanah]= "/CT_Rosh/SC_Honey.htm" ;
CatHdrText[RoshHashanah]="<font color='#FF0000'>Rosh Hashanah</font>";

CatText[ShabbatTable]="Shabbat Table";
CatPage[ShabbatTable]= "/CT_Challah/SC_Cover.htm" ;
CatHdrText[ShabbatTable]="<font color='#FF0000'></h1><h2>For Your Shabbat and Holiday Table</font>";

CatText[Tallit]="Tallit";
CatPage[Tallit]= "/tallit/SC_Tallit.htm" ;
CatHdrText[Tallit]="<font color='#FF0000'>Tallit Store</font>";

CatText[TallitEmanuel]="Tallit Emanuel";
CatPage[TallitEmanuel]= "/tallit/SC_ECotton.htm" ;
CatHdrText[TallitEmanuel]="<font color='#FF0000'>Emanuel Tallit Store</font>";

CatText[Wedding]="Weddings";
CatPage[Wedding]= "/CT_Wedding/SC_KiddushCup.htm" ;
CatHdrText[Wedding]="<font color='#FF0000'>Judaica Online Wedding Center</font>";

CatText[Yad]="Yads - Torah Pointers";
CatPage[Yad]= "/CT_Yad/SC_Silver.htm" ;
CatHdrText[Yad]="<font color='#FF0000'>Yads - Torah Pointers</font>";


//CatText[BarMitzvah]="Bar Mitzvah"; 
//CatPage[BarMitzvah]= "/CT_BarMitzvah/CT_BR.htm" 
//CatText[Candlestick]="Candlesticks"; 			CatPage[Candlestick]= "/CT_Candlestick/CT_CS.htm" 
//CatText[Challah]="Challah Covers Boards & Knives"; 	CatPage[Challah]="/CT_Challah/CT_CH.htm" 
//CatText[Havdolah]="Havdolah"; 		CatPage[Havdolah]="/CT_Havdolah/CT_HV.htm" 
//CatText[Jewelry]="Jewelry"; 		CatPage[Jewelry]="/CT_Jewelry/CT_JL.htm" 
//CatText[KiddushCup]="Kiddush Cups"; 	CatPage[KiddushCup]="/CT_KiddushCup/CT_KC.htm" 
//CatText[Mezuza]="Mezuzas"; 		CatPage[Mezuza]= "/CT_Mezuza/CT_MZ.htm"
//CatText[Purim]="Purim"; 		CatPage[Purim]="/CT_Purim/CT_PM.htm"
//CatText[Passover]="Passover"; 		CatPage[Passover]="/passover/CT_PS.htm"
//CatText[ShabbatTable]="Shabbat Table"; 	CatPage[ShabbatTable]="/CT_Challah/CT_CH.htm"
CatText[Shofar]="Shofar"; 
CatPage[Shofar]="/CT_Rosh/SC_Shofar.htm"
CatText[Silver]="Sterling Silver"; 
CatPage[Silver]="/CT_Silver/CT_SV.htm"
CatText[Other]="Other"; 	
CatPage[Other]="/CT_Misc/CT_MS.htm"

CatTotal=CatText.length;
//alert(CatTotal);

//fill subcategory array
subCatText = [];
subCatPage = [];
for (var i=0; i<CatTotal; i++) {
	subCatText[i] = [];
	subCatPage[i] = [];
}

subCatText[Art][0] = 'Anniversary Framed Prints'; 
subCatPage[Art][0] = "/CT_Art/SC_Anniversary.htm";

subCatText[Art][1] = 'Bar- Bat Mitzvah Framed Prints'; 
subCatPage[Art][1] = "/CT_Art/SC_BarMitzvah.htm";

subCatText[Art][2] = 'Business Framed Prints'; 
subCatPage[Art][2] = "/CT_Art/SC_Business.htm";

subCatText[Art][3] = 'Candle Lighting Framed Prints'; 
subCatPage[Art][3] = "/CT_Art/SC_Candle.htm";

subCatText[Art][4] = 'Childrens Framed Prints'; 
subCatPage[Art][4] = "/CT_Art/SC_Children.htm";

subCatText[Art][5] = 'Home Blessings Framed Prints'; 
subCatPage[Art][5] = "/CT_Art/SC_Home.htm";

subCatText[Art][6] = 'Wedding Framed Prints'; 
subCatPage[Art][6] = "/CT_Art/SC_Wedding.htm";

subCatText[Art][7] = 'Woman of Valor Framed Prints'; 
subCatPage[Art][7] = "/CT_Art/SC_Woman.htm";


subCatText[BarMitzvah][0] = 'Albums'; 
subCatPage[BarMitzvah][0] = "/CT_BarMitzvah/SC_Album.htm";

subCatText[BarMitzvah][1] = 'Gifts'; 
subCatPage[BarMitzvah][1] = "/CT_BarMitzvah/SC_Gift.htm";

subCatText[BarMitzvah][2] = 'Kiddush Cups'; 
subCatPage[BarMitzvah][2] = "/CT_BarMitzvah/SC_KiddushCup.htm";

subCatText[BarMitzvah][3] = 'Torahs'; 
subCatPage[BarMitzvah][3] = "/CT_BarMitzvah/SC_Torah.htm";

subCatText[BarMitzvah][4] = 'Tzedakah (Charity) Boxes'; 
subCatPage[BarMitzvah][4] = "/CT_Tzedakah/SC_Sports.htm";

subCatText[BarMitzvah][5] = 'Yads - Torah Pointers'; 
subCatPage[BarMitzvah][5] = "/CT_BarMitzvah/SC_Yad.htm";


subCatText[Challah][0] = 'Challah Covers'; 
subCatPage[Challah][0] = "/CT_Challah/SC_Cover.htm";


subCatText[Challah][1] = 'Challah Boards'; 
subCatPage[Challah][1] = "/CT_Challah/SC_Board.htm";

subCatText[Challah][2] = 'Challah Knives'; 
subCatPage[Challah][2] = "/CT_Challah/SC_Knife.htm";

subCatText[Challah][3] = 'Shabbat Trays'; 
subCatPage[Challah][3] = "/CT_Challah/SC_Tray.htm";

subCatText[Challah][4] = 'Napkin Holders'; 
subCatPage[Challah][4] = "/CT_Challah/SC_Napkin.htm";

subCatText[Charity][0] = 'Childrens'; 
subCatPage[Charity][0] = "/CT_Tzedakah/SC_Children.htm";

subCatText[Charity][1] = 'Sports Collection'; 
subCatPage[Charity][1] = "/CT_Tzedakah/SC_Sports.htm";

subCatText[Charity][2] = 'Synagogues'; 
subCatPage[Charity][2] = "/CT_Tzedakah/SC_Synagogue.htm";

subCatText[Charity][3] = 'Tzedakah Boxes'; 
subCatPage[Charity][3] = "/CT_Tzedakah/SC_Tzedakah.htm";

subCatText[Candlestick][0] = 'Candlesticks'; 
subCatPage[Candlestick][0] = "/CT_Candlestick/SC_Candlestick.htm";

subCatText[Candlestick][1] = 'Ceramic Candlesticks &amp; Trays'; 
subCatPage[Candlestick][1] = "/CT_Candlestick/SC_Ceramic.htm";

subCatText[Candlestick][2] = 'Candelabras'; 
subCatPage[Candlestick][2] = "/CT_Candlestick/SC_Candelabra.htm";

subCatText[Candlestick][3] = 'Candle Holders'; 
subCatPage[Candlestick][3] = "/CT_Candlestick/SC_Holder.htm";

subCatText[Candlestick][4] = 'Candles'; 
subCatPage[Candlestick][4] = "/CT_Candlestick/SC_Candle.htm";

subCatText[Candlestick][5] = 'Match Boxes'; 
subCatPage[Candlestick][5] = "/CT_Candlestick/SC_Matchbox.htm";

subCatText[Candlestick][6] = 'Sterling Silver Lighters'; 
subCatPage[Candlestick][6] = "/CT_Candlestick/SC_Lighter.htm";


subCatText[Havdalah][0] = 'Havdalah Sets'; 
subCatPage[Havdalah][0] = "/CT_Havdolah/SC_Sets.htm";

subCatText[Havdalah][1] = 'Havdalah Candles'; 
subCatPage[Havdalah][1] = "/CT_Havdolah/SC_Candles.htm";


subCatText[Hanukkah][0] = 'Designer Menorahs'; 
subCatPage[Hanukkah][0] = "/menorah/SC_Designer.htm";

subCatText[Hanukkah][1] = 'Traditional Menorahs'; 
subCatPage[Hanukkah][1] = "/menorah/SC_Traditional.htm";

subCatText[Hanukkah][2] = 'Theme - Children\'s Menorahs'; 
subCatPage[Hanukkah][2] = "/menorah/SC_Theme.htm";

subCatText[Hanukkah][3] = 'Economy Menorahs'; 
subCatPage[Hanukkah][3] = "/menorah/SC_Economy.htm";

subCatText[Hanukkah][4] = 'Brass Menorahs'; 
subCatPage[Hanukkah][4] = "/menorah/SC_Brass.htm";

subCatText[Hanukkah][5] = 'Electric Menorahs'; 
subCatPage[Hanukkah][5] = "/menorah/SC_Electric.htm";

subCatText[Hanukkah][6] = 'Large Menorahs'; 
subCatPage[Hanukkah][6] = "/menorah/SC_Large.htm";

subCatText[Hanukkah][7] = 'Candles,Bulb,etc....'; 
subCatPage[Hanukkah][7] = "/menorah/SC_Accessories.htm";

subCatText[Hanukkah][8] = 'Gifts'; 
subCatPage[Hanukkah][8] = "/menorah/SC_Gifts.htm";

subCatText[Hanukkah][9] = 'Dreidels'; 
subCatPage[Hanukkah][9] = "/menorah/SC_Dreidel.htm";

subCatText[Hanukkah][10] = 'Edibles'; 
subCatPage[Hanukkah][10] = "/menorah/SC_Edibles.htm";

subCatText[Hanukkah][11] = 'Fun &amp; Games'; 
subCatPage[Hanukkah][11] = "/menorah/SC_Fun.htm";

subCatText[Hanukkah][12] = 'Hanukkah Signs &amp; Cards'; 
subCatPage[Hanukkah][12] = "/menorah/SC_Sign.htm";

subCatText[Hanukkah][13] = 'Hanukkah Tableware'; 
subCatPage[Hanukkah][13] = "/menorah/SC_Serving.htm";

subCatText[Hanukkah][14] = 'Sports Menorahs'; 
subCatPage[Hanukkah][14] = "/menorah/SC_Sports.htm";

subCatText[Jewelry][0] = '14K Gold Chai Pendants';	
subCatPage[Jewelry][0] =  "/CT_Jewelry/SC_Chai.htm";

subCatText[Jewelry][1] = '14K Gold Hamsa Charms';  
subCatPage[Jewelry][1] = "/CT_Jewelry/SC_Hamsa.htm";

subCatText[Jewelry][2] = '14K Gold Mezuza Pendants';  
subCatPage[Jewelry][2] = "/CT_Jewelry/SC_Mezuza.htm";

subCatText[Jewelry][3] = '14K Gold Star of David Pendants';
subCatPage[Jewelry][3] = "/CT_Jewelry/SC_Star.htm";

subCatText[Jewelry][4] = '14K Gold Love Pendants';
subCatPage[Jewelry][4] = "/CT_Jewelry/SC_Love.htm";

subCatText[Jewelry][5] = '14K Gold Torah Pendants';
subCatPage[Jewelry][5] = "/CT_Jewelry/SC_Torah.htm";

subCatText[Jewelry][6] = '14K Gold Chains';
subCatPage[Jewelry][6] = "/CT_Jewelry/SC_Chains.htm";

subCatText[Jewelry][7] = '14K Gold Earrings';
subCatPage[Jewelry][7] = "/CT_Jewelry/SC_Earrings.htm";

subCatText[Jewelry][8] = '14K Gold Rings';
subCatPage[Jewelry][8] = "/CT_Jewelry/SC_Rings.htm";

subCatText[Jewelry][9] = 'Silver Chai Pendants';	
subCatPage[Jewelry][9] =  "/CT_Jewelry/SC_Chai2.htm";

subCatText[Jewelry][10] = 'Silver Hamsa Charms';  
subCatPage[Jewelry][10] = "/CT_Jewelry/SC_Hamsa2.htm";

subCatText[Jewelry][11] = 'Silver Mezuza Pendants';  
subCatPage[Jewelry][11] = "/CT_Jewelry/SC_Mezuza2.htm";

subCatText[Jewelry][12] = 'Silver Star of David Pendants';
subCatPage[Jewelry][12] = "/CT_Jewelry/SC_Star2.htm";

subCatText[Jewelry][13] = 'Silver Love Pendants';
subCatPage[Jewelry][13] = "/CT_Jewelry/SC_Love2.htm";

subCatText[Jewelry][14] = 'Sterling Silver Chains';
subCatPage[Jewelry][14] = "/CT_Jewelry/SC_Chains2.htm";

subCatText[KiddushCup][0] = 'Silverplated Kiddush Cups'; 
subCatPage[KiddushCup][0] = "/CT_KiddushCup/SC_Silverplated.htm";

subCatText[KiddushCup][1] = 'Wood Kiddush Cups'; 
subCatPage[KiddushCup][1] = "/CT_KiddushCup/SC_Wood.htm";

subCatText[KiddushCup][2] = 'Glass Kiddush Cups'; 
subCatPage[KiddushCup][2] = "/CT_KiddushCup/SC_Glass.htm";

subCatText[KiddushCup][3] = 'Ceramic Kiddush Cups'; 
subCatPage[KiddushCup][3] = "/CT_KiddushCup/SC_Ceramic.htm";

subCatText[KiddushCup][4] = 'Sterling Silver Kiddush Cups'; 
subCatPage[KiddushCup][4] = "/CT_KiddushCup/SC_Silver.htm";

subCatText[KiddushCup][5] = 'Children\'s Kiddush Cups'; 
subCatPage[KiddushCup][5] = "/CT_KiddushCup/SC_Children.htm";

subCatText[KiddushCup][6] = 'Bar/Bat Mitzvah Kiddush Cups'; 
subCatPage[KiddushCup][6] = "/CT_KiddushCup/SC_BMitzvah.htm";

subCatText[KiddushCup][7] = 'Wedding Kiddush Cups'; 
subCatPage[KiddushCup][7] = "/CT_KiddushCup/SC_Wedding.htm";

subCatText[Kipa][0] = 'Individual Kippas';	
subCatPage[Kipa][0] =  "/kipa/SC_Individual.htm";

subCatText[Kipa][1] = 'Imprinted Suede Kippas';	
subCatPage[Kipa][1] =  "/kipa/SC_BSuede.htm";

subCatText[Kipa][2] = 'Imprinted Embossed Kippas';	
subCatPage[Kipa][2] =  "/kipa/SC_BEmbossed.htm";

subCatText[Kipa][3] = 'Imprinted Foil Embossed Kippas';	
subCatPage[Kipa][3] =  "/kipa/SC_BFoil.htm";

subCatText[Kipa][4] = 'Imprinted Leather Kippas';	
subCatPage[Kipa][4] =  "/kipa/SC_BLeather.htm";

subCatText[Kipa][5] = 'Imprinted Satin Kippas';	
subCatPage[Kipa][5] =  "/kipa/SC_BSatin.htm";

subCatText[Kipa][6] = 'Imprinted Moire Kippas';	
subCatPage[Kipa][6] =  "/kipa/SC_BMoire.htm";

subCatText[Kipa][7] = 'Imprinted Velvet Kippas';	
subCatPage[Kipa][7] =  "/kipa/SC_BVelvet.htm";

subCatText[Kipa][8] = 'Imprinted Sports Kippas';	
subCatPage[Kipa][8] =  "/kipa/SC_BSports.htm";

subCatText[Kipa][9] = 'Synagogue Kippas';	
subCatPage[Kipa][9] =  "/kipa/SC_Synagogue.htm";

subCatText[Kipa][10] = 'Women\'s Lace Headcovers';	
subCatPage[Kipa][10] =  "/kipa/SC_LaceHeadcovers.htm";

subCatText[Kipa][11] = 'Kipa Clips';	
subCatPage[Kipa][11] =  "/kipa/SC_Clips.htm";

subCatText[Mezuza][0] = 'Mezuza Parchments';	
subCatPage[Mezuza][0] =  "/CT_Mezuza/SC_Parchment.htm";

subCatText[Mezuza][1] = 'Mezuza Cases';	
subCatPage[Mezuza][1] =  "/CT_Mezuza/SC_Cases.htm";

subCatText[Mezuza][2] = 'Sterling Silver Mezuza Cases';	
subCatPage[Mezuza][2] =  "/CT_Mezuza/SC_Silver.htm";

subCatText[Mezuza][3] = 'Theme Mezuza Cases';	
subCatPage[Mezuza][3] =  "/CT_Mezuza/SC_Theme.htm";

subCatText[Mezuza][4] = 'Wood Mezuza Cases';	
subCatPage[Mezuza][4] =  "/CT_Mezuza/SC_Wood.htm";


subCatText[Mints][0] = 'Bar Mitzvah'; 
subCatPage[Mints][0] = "/CT_Mints/SC_BarMitzvah.htm";

subCatText[Mints][1] = 'Bat Mitzvah'; 
subCatPage[Mints][1] = "/CT_Mints/SC_BatMitzvah.htm";

subCatText[Mints][2] = 'Wedding'; 
subCatPage[Mints][2] = "/CT_Mints/SC_Wedding.htm";

subCatText[RoshHashanah][0] = 'Honey Dishes and Trays';	
subCatPage[RoshHashanah][0] =  "/CT_Rosh/SC_Honey.htm";

subCatText[RoshHashanah][1] = 'Shofars';	
subCatPage[RoshHashanah][1] =  "/CT_Rosh/SC_Shofar.htm";

subCatText[RoshHashanah][2] = 'Kittels';	
subCatPage[RoshHashanah][2] =  "/CT_Rosh/SC_Kittel.htm";

subCatText[Passover][0] ="Ceramic Seder Coordinates"; 	
subCatPage[Passover][0] = "/passover/SC_Ceramic.htm";

subCatText[Passover][1] ="Wood Seder Coordinates"; 	
subCatPage[Passover][1] = "/passover/SC_Wood.htm";

subCatText[Passover][2] ="Glass Seder Coordinates"; 	
subCatPage[Passover][2] = "/passover/SC_Glass.htm";

subCatText[Passover][3] ="Three Tier Seder Plates";	
subCatPage[Passover][3] = "/passover/SC_Tier.htm";

subCatText[Passover][4] ="Seder Plates";			
subCatPage[Passover][4] = "/passover/SC_Plate.htm";

subCatText[Passover][5] ="Square Matzoh Covers";	
subCatPage[Passover][5] = "/passover/SC_Cover.htm";

subCatText[Passover][6] ="Round Matzoh Covers";	
subCatPage[Passover][6] = "/passover/SC_RCover.htm";

subCatText[Passover][7] ="Matzoh Holders";	
subCatPage[Passover][7] = "/passover/SC_Holder.htm";

subCatText[Passover][8] ="Afikomen Bags";	
subCatPage[Passover][8] = "/passover/SC_Bag.htm";

subCatText[Passover][9] ="Kiddush Cups";			
subCatPage[Passover][9] = "/passover/SC_KiddushCup.htm";

subCatText[Passover][10] ="Matzoh";			
subCatPage[Passover][10] = "/passover/SC_Matzoh.htm";

subCatText[Passover][11] ="Kittels";		
subCatPage[Passover][11] = "/passover/SC_Kittel.htm";

subCatText[Passover][12] ="Accessories";		
subCatPage[Passover][12] = "/passover/SC_Accessories.htm";

subCatText[Passover][13] ="Haggadahs and Cookbooks";	
subCatPage[Passover][13] = "/passover/SC_Book.htm";

subCatText[Passover][14] ="Fun and Games";	
subCatPage[Passover][14] = "/passover/SC_Fun.htm";

subCatText[Purim][0] = 'Hamantashen';
subCatPage[Purim][0] =  "/CT_Purim/SC_Hamentashen.htm";

subCatText[Purim][1] = 'Edibles';
subCatPage[Purim][1] =  "/CT_Purim/SC_Edibles.htm";

subCatText[Purim][2] = 'Gift Baskets *** Sold Out ***';
subCatPage[Purim][2] =  "/CT_Purim/SC_Baskets.htm";

subCatText[Tallit][0] = 'Traditional Tallit';	
subCatPage[Tallit][0] =  "/tallit/SC_Traditional.htm";

subCatText[Tallit][1] = 'Modern Tallit Sets';  
subCatPage[Tallit][1] = "/tallit/SC_Tallit.htm";

subCatText[Tallit][2] = 'Emanuel Tallit Sets';  
subCatPage[Tallit][2] = "/tallit/SC_ECotton.htm";

subCatText[Tallit][3] = 'Gabrielli Tallit Sets';
subCatPage[Tallit][3] = "/tallit/SC_Gabrieli.htm";

subCatText[Tallit][4] = 'Heirloom Tallit Collection';
subCatPage[Tallit][4] = "/tallit/SC_Heirloom.htm";

subCatText[Tallit][5] = 'Rainbow Tallit Collection';
subCatPage[Tallit][5] = "/tallit/SC_Rainbow.htm";

subCatText[Tallit][6] = 'Tallit Clips'; 
subCatPage[Tallit][6] = "/tallit/SC_Clips.htm";

subCatText[Tallit][7] = 'Tallit Bags'; 
subCatPage[Tallit][7] = "/tallit/SC_Bags.htm";


subCatText[TallitEmanuel][0] = 'Silk Tallit Set'; 
subCatPage[TallitEmanuel][0] = "/tallit/SC_ESilk.htm";

subCatText[TallitEmanuel][1] = 'Cotton and Silk Tallit Sets'; 
subCatPage[TallitEmanuel][1] = "/tallit/SC_ECotton.htm";

subCatText[TallitEmanuel][2] = 'Hand Embroidered Tallit Sets'; 
subCatPage[TallitEmanuel][2] = "/tallit/SC_EHand.htm";

subCatText[TallitEmanuel][3] = 'Raw Silk Tallit Sets'; 
subCatPage[TallitEmanuel][3] = "/tallit/SC_ERawSilk.htm";

subCatText[TallitEmanuel][4] = 'Organza Tallit Sets'; 
subCatPage[TallitEmanuel][4] = "/tallit/SC_EOrganza.htm";

subCatText[TallitEmanuel][6] = '<b>View Our Complete Tallit Collection</b>'; 
subCatPage[TallitEmanuel][6] = "/tallit/SC_Tallit.htm";

subCatText[TallitEmanuel][5] = 'Tallit Bags'; 
subCatPage[TallitEmanuel][5] = "/tallit/SC_Bags.htm";

subCatText[Yad][0] = 'Yads - Torah Pointers'; 
subCatPage[Yad][0] = "/CT_Yad/SC_Yad.htm";

subCatText[Yad][1] = 'Sterling Silver Yads'; 
subCatPage[Yad][1] = "/CT_Yad/SC_Silver.htm";

subCatText[Wedding][0] = 'Ketubah'; 
subCatPage[Wedding][0] = "/CT_Wedding/SC_Ketubah.htm";

subCatText[Wedding][1] = 'Kiddush Cups'; 
subCatPage[Wedding][1] = "/CT_Wedding/SC_KiddushCup.htm";

subCatText[Wedding][2] = 'Mezuza Cases'; 
subCatPage[Wedding][2] = "/CT_Wedding/SC_Mezuza.htm";


function oldtopnavbar(){

tt='<table border=0 cellpadding=0 cellspacing=1 width=100% height=17><tr valign=top>';
tt+='<TD><IMG alt="judaicaonline.com Logo" src = "../images/logo2.jpg"></TD>';
tt+='<td align=right><IMG alt="shopping cart" src = "../images/shoppingcartt.jpg" border=0<br><br>';
tt+='Your Shopping Cart contains <br><b>5</b> items <br>for a total of <br><b>$125.00</b>';
tt+='</td></tr></table>';

document.write(tt);

}

function youarehere(currentCat,currentsubCat){
	if (currentsubCat <0 || currentsubCat == null)  {
		currentsubCat = 0
	}		
        tt='<div class="itemdescr">'
	tt+='   you are here:  ';
	tt+='<A href="'+ CatPage[currentCat] + '">' + CatText[currentCat] + '</A> > ' + '<A href="'+ subCatPage[currentCat][currentsubCat] + '"><B>' +  subCatText[currentCat][currentsubCat] + '</A></B>';
	tt+= "</div>";

document.write(tt);

}

function topnavbar(currentCat){

tt='<table border=0 cellpadding=0 cellspacing=1 width=100% height=17>';
tt+='<tr valign=top>';
tt+='<td><IMG alt="Judaica Online Logo" height =75 src = "../images/judaica4.gif" width=150 ></td>';
tt+='<td><h1>'+ CatHdrText[currentCat];
tt+='<table align=right>';
tt+='<tr><td align=right  class="more"><A href="../index.htm" title="JudaicaOnline Home Page" >Home Page</A> | ';
tt+='<A  href=" ../search.htm"  title="Search for specific products" >Search</A> | ';
tt+='<A HREF="http://www.judaicaonline.com/cgi-bin/secure/shopcart.cgi?sc_action=disp_sc">Shopping Cart</a>';
tt+='</td></tr></table>';
tt+='</td></tr>';
tt+='<tr>';
tt+='<td colspan=2><hr></td></tr></table>';
document.write(tt);
}



function topnavbar2(){

tt='<table border=0 cellpadding=0 cellspacing=1 width=100% height=17><tr valign=center>';
tt+='<TD><IMG alt="judaicaonline Logo" src = "../images/judaica4.gif" height=100 width = 200></TD>';
tt+='<td><A HREF="CT_MN.htm">Hanukkah Index</td>';
tt+='<td><A HREF="../index.htm">Home Page </td>';
tt+='<td><A HREF="http://www.judaicaonline.com/cgi-bin/secure/shopcart.cgi?sc_action=disp_sc">Shopping Cart</td>';
tt+='</tr><tr><td colspan=4><hr size=3></tr></table>';

document.write(tt);

}


function leftnavbar(currentCat,currentsubCat) {
expand = 1; 

	if (currentsubCat <0 || currentsubCat == null)  {
		currentsubCat = 0
	}		
	if (currentCat <0 || currentCat == null)  {
		expand = 0
	}		


	// alert(currentCat);
	tt='<table  border="0"  cellspacing=0 cellpadding=0 width=100%>';
	tt+='<tr><td>';
	tt+='<div id="cmh13349" class="header"><b>Categories</b></div>';

	// only do below section if there is a current cat
	if (expand == 1) {	
		tt+='<div class="leftbar"><A href="'+ CatPage[currentCat] + '">' + CatText[currentCat] + '</A></div>';
		j=0;
		while (subCatText[currentCat][j]!=null) {
			if (j==currentsubCat) {
				tt+='<div class="leftbarsubcurrent">'
			}
			 else  {
				tt+='<div class="leftbarsub">'
			}
			tt+='<A HREF="';
			tt+=subCatPage[currentCat][j];
			tt+='">';
			tt+=subCatText[currentCat][j];
			tt+='</A></div>';
			j++;
		}

	}
	tt+='<div class="leftbar">';

	for (k=0;k<CatTotal;k++) {
		if (k==currentCat) {
		}
		else  {
			tt+='<br><A HREF="';
			tt+=CatPage[k];
			tt+='">';
			tt+=CatText[k];
			tt+='</A>';
		}

	}

	tt+='</div>';
	tt+='</td>';
	tt+='</tr>';
	tt+='</table>';

	document.write(tt);

}

function leftnavbar2(currentCat,currentsubCat,currentsubCat2) {
expand = 1; 
expand2 = 1;

	if (currentsubCat2 <0 || currentsubCat2 == null)  {
		currentsubCat2 = 0
	}		

	if (currentsubCat <0 || currentsubCat == null)  {
		currentsubCat = 0;
		expand2 = 0
	}		
	if (currentCat <0 || currentCat == null)  {
		expand = 0
	}		


	// alert(currentCat);
	tt='<table  border="0"  cellspacing=0 cellpadding=0 width=100%>';
	tt+='<tr><td>';
	tt+='<div id="cmh13349" class="header"><b>Categories</b></div>';

	// only do below section if there is a current cat
	if (expand == 1) {	
		tt+='<div class="leftbar"><A href="'+ CatPage[currentCat] + '">' + CatText[currentCat] + '</A></div>';
		j=0;
		while (subCatText[currentCat][j]!=null) {
			if (j==currentsubCat) {
				tt+='<div class="leftbarsubcurrent">'
				tt+='<A HREF="';
				tt+=subCatPage[currentCat][j];
				tt+='">';
				tt+=subCatText[currentCat][j];
				tt+='</A></div>';
	
				// only do below section if there is a current subcat
				if (expand2 == 1) {	
					l=0;
				}


			}
			 else  {
				tt+='<div class="leftbarsub">'
			}
			tt+='<A HREF="';
			tt+=subCatPage[currentCat][j];
			tt+='">';
			tt+=subCatText[currentCat][j];
			tt+='</A></div>';
			j++;
		}

	}
	tt+='<div class="leftbar">';

	for (k=0;k<CatTotal;k++) {
		if (k==currentCat) {
		}
		else  {
			tt+='<br><A HREF="';
			tt+=CatPage[k];
			tt+='">';
			tt+=CatText[k];
			tt+='</A>';
		}

	}

	tt+='</div>';
	tt+='</td>';
	tt+='</tr>';
	tt+='</table>';

	document.write(tt);

}


function bottomnavbar(){

tt='<br clear=all>';

tt+='<center>&copy; Copyright 2010 judaicaonline.com';

document.write(tt);
}

function bottomnavbarnew(){

tt='<br clear=all>';

tt+='<center>&copy; Copyright 2010';

document.write(tt);
}

function bottomnavbar2(){

tt='<br clear=all>';
tt='<br clear=all>';
tt='<table border=0 cellpadding=0 cellspacing=1 width=100% ><tr>';
tt+='<td colspan=4><hr size=3></td></tr>';
tt+='<td align=center><A HREF="CT_MN.htm">Hanukkah Index';

tt+=subCatTotal;
tt+='</td><td align=center><A HREF="../index.htm">Home Page </td>';
tt+='<td align=center><A HREF="http://www.judaicaonline.com/cgi-bin/secure/shopcart.cgi?sc_action=disp_sc">Shopping Cart</td>';
tt+='</tr></table>';

tt+='<hr size=1><center>&copy; Copyright 2010 judaicaonline.com</h>';

document.write(tt);

}

function addtocart(idescr,iprice,icode) { 
//	document.orderitem.orderproducts.value="|shopcart@judaicaonline.com,1," + iprice + ", " +  document.orderitem.ioption1.value  + idescr +  document.orderitem.ioption2.value + "," + icode +"|";
	// split ioption to see if there's a price extension(each value separated by pipe) and add to price

        sc="|shopcart@judaicaonline.com,1," + iprice + "," + idescr ;   // No space after comma for Safari

        sc2 = "";
 
        try {
        	//see if ioption1 exists and has a price	
        	if (document.orderitem.ioption1 != null) {
        		temp=document.orderitem.ioption1.value;
        		stringArray = temp.split("|");
        	
        		optprice=parseFloat(stringArray[1]);
        		if (optprice > 0) {
        			iprice= parseFloat(iprice) + optprice;
        		}
        	}
        
        	//see if ioption2 exists and has a price	
        	if (document.orderitem.ioption2 != null) {
        		//see if ioption2 has a price	
        		temp2=document.orderitem.ioption2.value;
        		stringArray2 = temp2.split("|");
        	
        		optprice2=parseFloat(stringArray2[1]);
        		if (optprice2 > 0) {
        			iprice= parseFloat(iprice) + optprice2;
        		}
        	}
        
        	//see if ioption3 exists and has a price	
        	if (document.orderitem.ioption3 != null) {
        		temp3=document.orderitem.ioption3.value;
        		stringArray3 = temp3.split("|");
        	
        		optprice3=parseFloat(stringArray3[1]);
        		if (optprice3 > 0) {
        			iprice= parseFloat(iprice) + optprice3;
        		}
        
        	}
        	//see if ioption4 exists and has a price	
        	if (document.orderitem.ioption4 != null) {
        		temp4=document.orderitem.ioption4.value;
        		stringArray4 = temp4.split("|");
        	
        		optprice4=parseFloat(stringArray4[1]);
        		if (optprice4 > 0) {
        			iprice= parseFloat(iprice) + optprice4;
        		}
        
        	}
        
        
        
        	if ((document.orderitem.ioption1 != null) && document.orderitem.ioption1.value !="") {
        		sc2+= " [" + stringArray[0] + "]";
        	}
        
        	if ((document.orderitem.ioption2 != null) && document.orderitem.ioption2.value !="") {
        		sc2+= " [" + stringArray2[0] + "]";
        	}
        
        	if ((document.orderitem.ioption3 != null) && document.orderitem.ioption3.value !="") {
        		sc2+= " [" + stringArray3[0] + "]";
        	}
        
        	if ((document.orderitem.ioption4 != null) && document.orderitem.ioption4.value !="") {
        		sc2+= " [" + stringArray4[0] + "]";
        	}
        }
        catch (err) {
        
        }

	document.orderitem.orderproducts.value=sc + sc2 + "," + icode +"|";

	document.orderitem.submit();
  }

function ShowPopUp(url, width, height) {

	//alert (url);
	window.open(url,'judaicaonline','width=' + width + ',height=' + height + ',resizable=yes,scrollbars=yes,menubar=yes,status=yes' );
}

