//auto generates by the storecreator and templates
var storeName='Your Lace Place';
var mainPage='intro.html';
var totalItems=151;
var ir = new Array(totalItems);
var mAlignStr='<Center>';
A(0, '150', ' Lauren 15" Round Doily', 4.80, 'Lauren Placemats and Doilies # 510-12 ColorIvoryWhite');
A(1, '152', ' Lauren 18" Round Doily', 6.45, 'Lauren Placemats and Doilies # 510-12 ColorIvoryWhite');
A(2, '400', '*American Treasure Tablecloths #1050', 57.00, 'American Treasure Tablecloth #1050ColorIvoryWhiteSize*52" x 70" Oblong*70" x 90" Oblong70" Round70" x 108" Oblong70" x 126" Oblong70" x 144" Oblong70" x 162" Oblong');
A(3, '402', '*Ashley Tableclothes #6715', 49.95, 'Ashley Tablecloth # 6715ColorIvoryWhiteSize52" x 70" Oblong60" x 80" Oblong70" Round70" x 108" Oblong70" x 108" Oval70" x 90" Oblong70" x 90" Oval');
A(4, '404', '*Charlseston Table Cloth #7410-C', 39.00, 'Charleston Tablecloth #7410-CColorIvoryWhiteSize52" x 70" Oblong60" x 80" Oblong70" Round70" x 108" Oblong70" x 108" Oval70" x 90" Oblong70" x 90" Oval');
A(5, '410', '*Heather Tablecloths #6633', 39.00, 'Heather Tablecloth # 6633ColorIvoryWhiteSize52" x 70" Oblong60" x 108" Oblong60" x 108" Oval60" x 80" Oblong60" x 90" Oblong60" x 90" Oval70" Round');
A(6, '413', '*Lauren Tablecloths #6643', 35.00, 'Lauren Tablecloth # 6643ColorIvoryWhiteSize52" x 70" Oblong60" x 108" Oblong60" x 80" Oblong60" x 90" Oblong70" Round');
A(7, '318', '1073', 15.00, 'Lace By The Yard ColorIvoryWhite');
A(8, '313', '1223', 15.00, 'Lace By The Yard ColorIvoryWhite');
A(9, '182', '14" Square Envelope Box  #42', 45.00, 'Square Envelope Box # 42');
A(10, '319', '2234', 15.00, 'Lace By The Yard ColorIvoryWhite');
A(11, '358', '60" x 54" Window Curtain no valance', 30.00, 'Princess Scroll Shower & Window CurtainsColorIvoryWhite');
A(12, '357', '60" x 54" Window Curtain w/Valance', 55.50, 'Princess Scroll Shower & Window CurtainsColorIvoryWhite');
A(13, '317', '9025', 15.00, 'Lace By The Yard ColorIvoryWhite');
A(14, '314', '9190', 15.00, 'Lace By The Yard ColorIvoryWhite');
A(15, '316', '9209', 15.00, 'Lace By The Yard ColorIvoryWhite');
A(16, '315', '9363', 15.00, 'Lace By The Yard ColorIvoryWhite');
A(17, '312', '9900', 15.00, 'Lace By The Yard ColorIvoryWhite');
A(18, '289', 'Allison Bed / Chair Caddy #1110', 45.00, 'Allison Ruffled Bed / Chair Caddy # 1110ColorIvoryWhite');
A(19, '439', 'Always & Forever Banquet and Cake Table Cover #10-1000', 75.00, 'Always & Forever Banquet and Cake Table CoversColorClassic WhiteSize*70" x 90" Oblong*70" x 90" Oval70" Round70" x 108" Oblong70" x 108" Oval70" x 126" Oblong70" x 126" Oval70" x 144" Oblong');
A(20, '348', 'Always and Forever 70" Round Tablecloth #10-1000', 75.00, 'Always & Forever Banquet and Cake Table CoversColorClassic WhiteSize*70" x 90" Oblong*70" x 90" Oval70" Round70" x 108" Oblong70" x 108" Oval70" x 126" Oblong70" x 126" Oval70" x 144" Oblong');
A(21, '149', 'American Treasure 36 "  Table Topper #1050', 29.00, 'American Treasure Tablecloth #1050ColorIvoryWhiteSize36" Square');
A(22, '401', 'American Treasure Banquet Tablecloths #1050', 178.50, 'American Treasure Tablecloth #1050ColorIvoryWhiteSize*70" x 180"70" x 198"70" x 216"70" x 234"70" x 252"70" x 270"');
A(23, '403', 'Ashley Banquet Tablecloths #6715', 59.75, 'Ashley Tablecloth # 6715ColorIvoryWhiteSize70" x 126"70" x 144"');
A(24, '305', 'BH13-13', 4.50, '13" x 13" Lace Crafting SquaresColorIvoryWhite');
A(25, '178', 'Bridal Doll #22', 120.00, 'Bridal Doll # 22Hair ColorBlackBlondeBrownSkin ColorBlackWhite');
A(26, '179', 'Bridal Heart Ring Pillow #32', 37.50, 'Bridal Heart Ring Pillow # 33');
A(27, '180', 'Bridal Purse #24', 37.50, 'Bridal Purse #24');
A(28, '288', 'Carlton Sofa/ Arm Chair Doilies/Protectors #1106', 6.25, 'Carlton #1106 Sofa and Arm Chair Doilies / ProtectorsColorIvoryWhite');
A(29, '311', 'CG21-06', 7.50, '21" x 21" Lace Crafting SquaresColorIvoryWhite');
A(30, '308', 'CH21-05', 7.50, '21" x 21" Lace Crafting SquaresColorIvoryWhite');
A(31, '155', 'Chair Back Tie Bow #533', 45.00, 'Vintage Leaves Chair Back Tie BowColorIvoryParchmentWhitePatternCottage GardenDaisyPrincess scrollVintage Leaves');
A(32, '406', 'Chelsea Topper #1005', 18.00, 'Chelsea Topper #1005ColorIvoryWhiteSize*36" Square54" Square70" Round90" Round to the floor ');
A(33, '169', 'Classic 17"  Napkin', 4.65, 'Classic  Napkins #17C-12ColorsIvoryWhite');
A(34, '370', 'Cottage Garden 14" x 36" Fringed Runner/Scarf #9465', 21.00, 'Cottage Garden #9465 Fringed Runner / ScarfColorIvoryWhiteSize*14"x 36"14" x 54"14" x 72"14" x 90"');
A(35, '440', 'Cottage Garden 14"x 36" Scalloped Runner /Scarf #9465', 21.00, 'Cottage Garden #9465 Scalloped  Runner / ScarfColorIvoryWhiteSize14" x 36"14" x 54"14" x 72"14" x 90"');
A(36, '134', 'Cottage Garden 17 " x 17" Scalloped Napkin ', 4.65, 'Cottage Garden Scalloped NapkinColorsIvoryWhite');
A(37, '14', 'Cottage Garden 18" Decorative Pillow W/ Sham', 36.00, 'Cottage Garden Bedding and Accessories #9465ColorTraditional IvoryWhite');
A(38, '196', 'Cottage Garden 4" x 24" Tiebacks', 6.75, 'Cottage Garden  Curtains # 9465ColorIvoryWhite');
A(39, '197', 'Cottage Garden 45" Wide Fabric By 1 Yard', 18.00, 'Lace By The Yard ColorIvoryWhite');
A(40, '183', 'Cottage Garden 45" x 14" Tier Valance', 18.00, 'Cottage Garden  Curtains # 9465ColorIvoryWhite');
A(41, '184', 'Cottage Garden 45" x 18" Panel  Valance', 18.75, 'Cottage Garden  Curtains # 9465ColorIvoryWhite');
A(42, '10', 'Cottage Garden Bed Skirts (Twin) 14"', 73.50, 'Cottage Garden Bedding and Accessories #9465ColorTraditional IvoryWhiteSize*TwinFullKing / Cal KingQueenSkirts can be lined (optional)*no lining (standard)FullKingQueenTwin');
A(43, '11', 'Cottage Garden Bed Skirts (Twin) 18"', 84.00, 'Cottage Garden Bedding and Accessories #9465ColorTraditional IvoryWhiteSize*TwinFullKing / Cal KingQueenSkirts can be lined (optional)*no lining (standard)FullKingQueenTwin');
A(44, '327', 'Cottage Garden Double Curtain W/ Tie Backs / Valance', 75.00, 'Cottage Garden Double Shower Curtains ColorIvoryWhitePatternChantillyCottage GardenCountrylaneEnglish ManerPrincess scrollVintage Leaves');
A(45, '157', 'Cottage Garden Panel ( 45" x 63" )', 33.75, 'Cottage Garden  Curtains # 9465ColorIvoryWhiteSize*45" x 63"45" x 72"45" x 84"');
A(46, '13', 'Cottage Garden Pillow Sham (Standard)', 42.00, 'Cottage Garden Bedding and Accessories #9465ColorTraditional IvoryWhiteSize*Standaed30" Euro ShamKing');
A(47, '136', 'Cottage Garden Scalloped  13" x 19" Placemat #9465', 7.05, 'Cottage Garden Scalloped  Placemat #9465ColorsIvoryWhite');
A(48, '420', 'Cottage Garden Special Order Panels', 48.75, 'Cottage Garden Curtain Special Order SizesColorIvoryWhiteSize*45" x 90"45" x 108"45" x 126"45" x 95"');
A(49, '419', 'Cottage Garden Tier (45"x 24")', 19.50, 'Cottage Garden  Curtains # 9465ColorIvoryWhiteSize*45" x 24"45" x 30"45" x 36"45" x 45"');
A(50, '407', 'Country Blossom Tablecloths #820', 42.50, 'Country Blossom Tablecloth # 820ColorIvoryWhiteSize*52" x 70" Oblong70" Round70" x 108" Oblong70" x 108" Oval70" x 126" Oblong70" x 144" Oblong70" x 90" Oblong70" x 90" Oval');
A(51, '421', 'Country Lane  Tier ( 60" x 24" ) #9623', 24.75, 'Country Lane Curtains #9623ColorIvoryWhiteSize*60" x 24"60" x 30"60" x 36"60" x 45"');
A(52, '423', 'Country Lane  Window Scarf (45" x 4 yards)', 63.00, 'Country Lane 45" Window scarf by:ColorIvoryWhiteSize*45" x 4 yards45" By 5 yards45" By 6 yards');
A(53, '19', 'Country Lane 18" Decorative Pillow W/ Sham ', 36.00, 'Country Lane Bedding & Accessories # 9623ColorTraditional IvoryWhite');
A(54, '337', 'Country Lane 4" x 30" Tiebacks #9623', 6.75, 'Country Lane Curtains #9623ColorIvoryWhite');
A(55, '158', 'Country Lane 60" x 14" Tier Valance #9623', 19.50, 'Country Lane Curtains #9623ColorIvoryWhite');
A(56, '230', 'Country Lane 60" x 18" Panel Valence #9623', 23.25, 'Country Lane Curtains #9623ColorIvoryWhite');
A(57, '18', 'Country Lane Bed Sham (standard) ', 42.00, 'Country Lane Bedding & Accessories # 9623ColorTraditional IvoryWhiteSize*StandardEuro ShamKing');
A(58, '15', 'Country Lane Bed Skirts 14"  (Twin)', 48.75, 'Country Lane Bedding & Accessories # 9623ColorTraditional IvoryWhiteSize*TwinFullKing / Cal KingQueenSkirts can be lined (optional)*no lining (standard)FullKingQueenTwin');
A(59, '16', 'Country Lane Bed Skirts 18" (Twin)', 60.00, 'Country Lane Bedding & Accessories # 9623ColorTraditional IvoryWhiteSize*TwinFullKing / Cal KingQueenSkirts can be lined (optional)*no lining (standard)FullKing / Cal KingQueenTwin');
A(60, '422', 'Country Lane Panel ( 60" x 63" ) #9623', 45.75, 'Country Lane Curtains #9623ColorIvoryWhiteSize60" x 63"60" x 72"60" x 84"');
A(61, '326', 'Daisy Double Curtain W/ Tie Backs / Valance', 75.00, 'Daisy Double Shower CurtainsColorIvoryWhite');
A(62, '360', 'Enchanted Rose Table Topper #1060', 29.00, 'Enchanted Rose Table TopperColorIvoryWhiteSize*36" Square70" Round90" Round to the floor');
A(63, '408', 'Enchanted Rose Tablecloth #1060', 70.50, 'Enchanted Rose Tablecloth # 1060ColorIvoryWhiteSize*70" Round70" x 108" Oblong70" x 108" Oval70" x 126" Oblong70" x 126" Oval70" x 144" Oblong70" x 90" Oblong70" x 90" Oval');
A(64, '198', 'English Manor 45" x 14" Tier Valance', 13.50, 'English Manor Curtains # 9900ColorIvoryWhite');
A(65, '199', 'English Manor 45" x 18" Panel Valance', 15.75, 'English Manor Curtains # 9900ColorIvoryWhite');
A(66, '115', 'English Manor 45"Topper W/ Fringe #9900', 39.95, 'English Manor Topper # 9900ColorIvoryWhite');
A(67, '425', 'English Manor Panel (45" x 45" ) #9900', 21.00, 'English Manor Curtains # 9900ColorIvoryWhiteSize*45" x 45"45" x 63"45" x 72"45" x 84"');
A(68, '426', 'English Manor Special Order Curtain Panels #9900', 42.00, 'English Manor Curtains # 9900ColorIvoryWhiteSize*45" x 90"45" x 108"45" x 126"45" x 95"');
A(69, '424', 'English Manor Tiers ( 45" x 24" ) #9900', 16.50, 'English Manor Curtains # 9900ColorIvoryWhiteSize*45" x 24"45" x 30"45" x 36"');
A(70, '300', 'FH13-09', 4.50, '13" x 13" Lace Crafting SquaresColorIvoryWhite');
A(71, '168', 'Formal  21" x 21" Dinner Napkin', 7.20, 'Formal Four Corner Dinner Napkins # 21R-12ColorIvoryWhite');
A(72, '167', 'Formal  22" x 22" Dinner Napkin', 7.50, 'Formal Dinner Napkins # 22R-12ColorIvoryWhite');
A(73, '321', 'Gardenia Lace 72" Shower Curtain', 30.00, 'Gardenia Lace Shower Curtains ColorsIvoryWhite');
A(74, '409', 'Georgetown Manor Tablecloths', 79.50, 'Georgetown Manner Tablecloth # 1220ColorIvoryWhiteSize*60" x 60" Square60" x 80" Oblong70" Round70" x 108" Oblong70" x 108" Oval70" x 126" Oblong70" x 126" Oval70" x 144" Oblong70" x 162" Oblong70" x 90" Oblong70" x 90" Oval');
A(75, '162', 'Gramercy 43" Table Topper', 19.95, 'Gramercy Table TopperColorBurgandyHunter GreenIvoryWhiteSize43" Square');
A(76, '329', 'Gramercy 72"  Lace Shower Curtain', 30.00, 'Gramercy Lace Shower CurtainColorIvoryWhite');
A(77, '411', 'Heather Banquet Sizes # 6633', 49.00, 'Heather Tablecloth # 6633ColorIvoryWhiteSize*60" x 126" Oblong60" x 126" Oval60" x 144" Oblong60" x 144" Oval');
A(78, '166', 'Joanna  13" x 19" Placemat / Doily #1227-1', 9.00, 'Joanna Placemats and Doilies # 1227-1ColorIvoryWhite');
A(79, '371', 'Joanna 16"x 36" Runner/ Scarf #1227-1', 24.00, 'Joanna # 1227-1 Runner / ScarfColorIvoryWhiteSize16" x 36"16" x 54"16" x 72"16" x 90"');
A(80, '97', 'Katherine 17" x 17"', 5.55, 'Katherine Napkins # 9522ColorsIvoryWhite');
A(81, '228', 'Katherine 4" x 30" Tiebacks', 6.75, 'Katherine Curtains #9522ColorIvoryWhite');
A(82, '227', 'Katherine 60"  Wide By 1 Yard', 22.50, 'Lace By The Yard ColorIvoryWhite');
A(83, '211', 'Katherine 60" x 14" Tier Valence', 19.50, 'Katherine Curtains #9522ColorIvoryWhite');
A(84, '212', 'Katherine 60" x 18" Panel Valence', 23.25, 'Katherine Curtains #9522ColorIvoryWhite');
A(85, '372', 'Katherine Runner / Scarf #9522', 15.00, 'Katherine Runners / Scarves # 9522ColorIvoryWhiteSize14" x 36"14" x 54"14" x 72"14" x 90"');
A(86, '428', 'Katherine Special Order Panel Sizes ', 0.00, 'Katherine Curtains #9522ColorIvoryWhiteSize60" x 108"60" x 126"60" x 90"60" x 95"');
A(87, '412', 'Katherine Tablecloths #9522', 32.00, 'Katherine Tablecloth # 9522ColorIvoryWhiteSize*52 x 70" Oblong60" x 108" Oblong60" x 108" Oval60" x 126" Oblong60" x 80" Oblong60" x 90" Oblong60" x 90" Oval70" Round');
A(88, '427', 'Katherine Tiers (60" x 24" ) #9522', 24.75, 'Katherine Curtains #9522ColorIvoryWhiteSize*60" x 24"60" x 30"60" x 36"60" x 45"');
A(89, '356', 'Katherine Window Scarf (45" x 4 yards)', 63.00, 'Katherine Curtains #9522ColorIvoryWhiteSize*45" x 4 yards45" By 5 Yards45" By 6 yards');
A(90, '160', 'Lauren  Runner/ Scarf #510-1', 13.50, 'Lauren # 510-1 Runner/ ScarfColorIvoryWhiteSize16" x 36" 16" x 54" 16" x 72" ');
A(91, '148', 'Lauren 12" x 18" Mat/ Doily', 6.45, 'Lauren Placemats and Doilies # 510-12 ColorIvoryWhite');
A(92, '163', 'Lauren Banquet Tablecloths #6643', 49.00, 'Lauren Tablecloth # 6643ColorIvoryWhiteSize*60" x 126" Oblong60" x 144" Oblong');
A(93, '310', 'LB21-04', 7.50, '21" x 21" Lace Crafting SquaresColorIvoryWhite');
A(94, '159', 'Lustratone 72" x 72" Fabric Shower Curtain ', 40.35, 'Lustratone Fabric LinerColorBoneWhite');
A(95, '303', 'MD13-08', 4.50, '13" x 13" Lace Crafting SquaresColorIvoryWhite');
A(96, '414', 'Monticello Tablecloths #140', 39.00, 'Monticello Tablecloth # 6-140ColorIvoryWhiteSize52" x 70" Oblong60" x 108" Oblong60" x 108" Oval60" x 80" Oblong60" x 90" Oblong60" x 90" Oval70" Round');
A(97, '502', 'O Holy Night Tablecloth', 39.00, 'O Holy NightColorWhiteSize60"x104" Rectangle60"x60" Square60"x84" Rectangle');
A(98, '330', 'Peacock 72" Lace Shower Curtain', 30.00, 'Peacock Lace Shower CurtainColorIvoryWhite');
A(99, '290', 'Primrose Bed / Chair Caddy #1108', 37.50, 'Primrose Tailored Bed / Chair Caddy # 1108ColorIvoryWhite');
A(100, '359', 'Princess Scroll 45" Windo Scarf ( 45" x 4 yards ) #8680', 62.00, 'Princess Scroll Curtains # 8680ColorIvoryWhiteSize*45" x 4 yards45" by 5 Yards45" by 6 Yards');
A(101, '273', 'Princess Scroll 54" Long Window Curtain #8680', 30.00, 'Princess Scroll Curtains # 8680ColorIvoryWhite');
A(102, '260', 'Princess Scroll 60" x 14" Tier Valance #8680', 19.50, 'Princess Scroll Curtains # 8680ColorIvoryWhite');
A(103, '261', 'Princess Scroll 60" x 18" Panel Valance', 23.25, 'Princess Scroll Curtains # 8680ColorIvoryWhite');
A(104, '323', 'Princess Scroll 72" Shower Curtain  no Valance', 30.00, 'Princess Scroll Shower & Window CurtainsColorIvoryWhite');
A(105, '322', 'Princess Scroll 72" Shower Curtain W/ Valence', 52.50, 'Princess Scroll Shower & Window CurtainsColorIvoryWhite');
A(106, '20', 'Princess Scroll Bed Skirts 14" (Twin)', 48.25, 'Princess Scroll Bedding & Accessories #8680ColorTraditional IvoryWhiteSize*TwinFullKing / Cal KingQueenSkirts can be lined (optional*no lining (standard)FullKing / Cal KingQueenTwin');
A(107, '21', 'Princess Scroll Bed Skirts 18" (Twin)', 60.00, 'Princess Scroll Bedding & Accessories #8680ColorTraditional IvoryWhiteSize*TwinFullKing / Cal KingQueenSkirts can be lined (optional*no lining (standard)FullKing / Cal KingQueenTwin');
A(108, '431', 'Princess Scroll Curtain Panel  (60" x 63" ) #8680', 45.75, 'Princess Scroll Curtains # 8680ColorIvoryWhiteSize*60" x 63"60" x 72"60" x 84"');
A(109, '24', 'Princess Scroll Decorative Pillow W/ Sham', 36.00, 'Princess Scroll Bedding & Accessories #8680ColorTraditional IvoryWhite');
A(110, '275', 'Princess Scroll Double 54" Long Window', 75.00, 'Princess Scroll Curtains # 8680ColorIvoryWhite');
A(111, '153', 'Princess Scroll Slip Cover / Tie Bow #756', 75.00, 'Princess Scroll Slip Cover / Tie Bow #756ColorIvoryParchmentWhitePatternCottage GardenDaisyPrincess scrollVintage Leaves');
A(112, '154', 'Princess Scroll Slip Cover w/ Tie Bow #756', 75.00, 'Princess Scroll Folding Chair /Slip Cover With Tie BowColorIvoryParchmentWhitePatternCottage GardenDaisyPrincess scrollVintage Leaves');
A(113, '432', 'Princess Scroll Special Order Panels #8680', 0.00, 'Princess Scroll Curtains # 8680ColorIvoryWhiteSize60" x 108"60" x 126"60" x 90"60" x 95"');
A(114, '22', 'Princess Scroll Standard Sham', 42.00, 'Princess Scroll Bedding & Accessories #8680ColorTraditional IvoryWhiteSize*Standard30" Euro ShamKing');
A(115, '430', 'Princess Scroll Tiers ( 60" x 24" ) #8680', 24.75, 'Princess Scroll Curtains # 8680ColorIvoryWhiteSize*60" x 24"60" x 30"60" x 36"60" x 45"');
A(116, '415', 'Princess Tablecloth #1230', 105.00, 'Princess Tablecloth # 1230ColorIvoryWhiteSize*70" Round70" x 108" Oblong70" x 126" Oblong70" x 144" Oblong70" x 90" Oblong');
A(117, '287', 'Rainforest 4" x 30" Tiebacks #1295', 6.75, 'Rainforest Curtains # 1295ColorIvoryWhite');
A(118, '282', 'Rainforest 60" x 18" Valance #1295', 36.00, 'Rainforest Curtains # 1295ColorIvoryWhite');
A(119, '433', 'Rainforest Panel (60" X 63" ) #1295', 54.00, 'Rainforest Curtains # 1295ColorsIvoryWhiteSizes *60" X 63"60" x 72"60" x 84"');
A(120, '434', 'Rainforest Victorian Restoration Lengths #1295', 0.00, 'Rainforest Curtains # 1295ColorIvoryWhiteSize60" x 108"60" x 126"60" x 90"60" x 95"');
A(121, '416', 'Renaissance Heirloom Tablecloth #12-1200', 180.00, 'Renaissance Heirloom Lace Tablecloth # 12-1200ColorIvoryWhiteSize*70" x 90" Oblong70" Round70" x 108" Oblong70" x 126" Oblong70" x 144" Oblong70" x 162" Oblong70" x 180" Oblong');
A(122, '304', 'RH13-10', 4.50, '13" x 13" Lace Crafting SquaresColorIvoryWhite');
A(123, '170', 'Rose 22" Napkin', 7.50, 'Rose  Napkins # 22R-12ColorsIvoryWhite');
A(124, '417', 'Royal Harvest Tablecloths', 86.25, 'Royal Harvest Tablecloth # 1070ColorIvoryWhiteSize*70" x 90" Oblong*70" x 90" Oval52" x 70" Oblong70" Round70" x 108" Oblong70" x 108" Oval70" x 126" Oblong70" x 126" Oval70" x 144" Oblong70" x 162" Oblong');
A(125, '127', 'Royal Palace  Scarf / Runner #1210-1', 14.10, 'Royal Palace # 1210-1 Scarves and Runners ColorIvoryWhiteSize16" x 36" 16" x 54" 16" x 72" 16" x 90" ');
A(126, '128', 'Royal Palace Formal Four Corner Dinner Napkins', 7.20, 'Royal Palace Napkin # 21RP-12ColorsIvoryWhite');
A(127, '129', 'Royal Palace Mats / Doilies 13" x 20"', 7.20, 'Royal Palace Mats and Doilies #1210-12ColorIvoryWhite');
A(128, '418', 'Royal Palace Tablecloths #1210', 111.75, 'The Royal Palace Collection  Tablecloth # 1210ColorIvoryWhiteSize*70" x 90" Oblong*70" x 90" Oval60" x 60" Square60" x 80" Oblong70" Round70" x 108" Oblong70" x 108" Oval70" x 126" Oblong70" x 126" Oval70" x 144" Oblong70" x 162" Oblong');
A(129, '306', 'RT21-01', 7.50, '21" x 21" Lace Crafting SquaresColorIvoryWhite');
A(130, '301', 'SB13-12', 4.50, '13" x 13" Lace Crafting SquaresColorIvoryWhite');
A(131, '302', 'SD13-14', 4.50, '13" x 13" Lace Crafting SquaresColorIvoryWhite');
A(132, '501', 'Season`s Greetings', 39.00, 'Season`s GreetingsColorWhiteSize52"x70" Rectangle60"x108" Rectangle60"x126" Rectangle60"x90" Rectangle70" Round70"x108" Rectangle70"x90" Rectangle');
A(133, '309', 'SH21-02', 7.50, '21" x 21" Lace Crafting SquaresColorIvoryWhite');
A(134, '2', 'Softee  Standard  72" x 72"  Liner', 19.80, 'SofteeColorBoneEnglish RoseGreenIce BluePeachSlate BlueSoft GreyWhiteYellowSize*standard 72" x 72"Large stall 48" x 78"Small stall  36" x 72"Window 60/70" x 54"');
A(135, '181', 'Square Bridal  Ring Pillow #32', 37.50, 'Square Bridal Ring Pillow # 32');
A(136, '331', 'Suedette 10 Guage 72" x 72" Liner', 25.50, 'SuedetteColorsBoneWhite');
A(137, '299', 'VH13-07', 4.50, '13" x 13" Lace Crafting SquaresColorIvoryWhite');
A(138, '307', 'VH21-03', 7.50, '21" x 21" Lace Crafting SquaresColorIvoryWhite');
A(139, '9', 'Vintage Rose 18" Decorative Pillow W/ Sham', 38.25, 'Vintage Rose Bedding and Accessories # 9468 ColorTraditional IvoryWhite');
A(140, '257', 'Vintage Rose 4" x 24"  Tiebacks #9468', 6.75, 'Vintage Rose Curtains #9468ColorIvoryWhite');
A(141, '259', 'Vintage Rose 45" By 1 Yard', 18.00, 'Lace By The Yard ColorIvoryWhite');
A(142, '245', 'Vintage Rose 45" x 14 Tier Valance #9468', 18.00, 'Vintage Rose Curtains #9468ColorIvoryWhite');
A(143, '246', 'Vintage Rose 45" x 18 Panel  Valance', 18.75, 'Vintage Rose Curtains #9468ColorIvoryWhite');
A(144, '4', 'Vintage Rose Bed Skirts 14" (Twin)', 73.50, 'Vintage Rose Bedding and Accessories # 9468 ColorTraditional IvoryWhiteSize*TwinFullKing / Cal KingQueenSkirts can be lined (optional*no lining (standard)FullKing / Cal KingQueenTwin');
A(145, '5', 'Vintage Rose Bed Skirts 18"', 84.00, 'Vintage Rose Bedding and Accessories # 9468 ColorTraditional IvoryWhiteSize*TwinFullKing / Cal KingQueenSkirts can be lined (optional*no lining (standard)FullKing / Cal KingQueenTwin');
A(146, '436', 'Vintage Rose Curtain Panel (45" x 63" ) #9468', 33.75, 'Vintage Rose Curtains #9468ColorIvoryWhiteSize*45" x 63" 45" x 72"45" x 84"');
A(147, '438', 'Vintage Rose Special Order Panel Sizes #9468', 0.00, 'Vintage Rose Curtains #9468ColorIvoryWhiteSize45" x 108"45" x 126"45" x 90"45" x 95"');
A(148, '7', 'Vintage Rose Standard Sham', 43.50, 'Vintage Rose Bedding and Accessories # 9468 ColorTraditional IvoryWhiteSize*Standard30" Euro ShamKing');
A(149, '435', 'Vintage Rose Tiers (45" x 24" ) #9468', 19.50, 'Vintage Rose Curtains #9468ColorIvoryWhiteSize*45" x 24"45" x 30"45" x 36"45" x 45"');
A(150, '437', 'Vintage Rose Window Scarf', 0.00, 'Vintage Rose Curtains #9468ColorIvoryWhiteSize45" x 4 Yards45" x 5 Yards45" x 6 Yards');
function A(i, id, s, p, c)
{
	ir[i] = new RECORD();
	ir[i].itemID = id; 
	ir[i].catalog=c;
	ir[i].itemName = s; 
	ir[i].price = p;
}

function MakeArray(n) {
      this.length = n;
      for(var i = 0; i < n; i++){
            this[i] = 0;
      }
      return this;
}

function Currency(money)
{
	money =  parseFloat(money);
	money += 0.005;
	money +=  "";           
	var monLen = money.length;
	var digPos = money.indexOf(".");
	if(digPos == -1) {
		if (money <=0) {
			money ="0.00";
		} else {
			money += ".00";
		}
		return money;
	} else {
		if (digPos + 3 > monLen) {
			money += "0";
		} else if (digPos + 3 != monLen) {
			money = money.substring(0, digPos+3);
		} 
		return money;
	}     
}
function RECORD()
{
	this.itemID = 0;
	this.itemName="";
	this.price=0;
	this.match=0;
	this.catalog="";
	return this;
}



function CompareMatch(a, b) {
   return a.match < b.match;
}

function Search()
{
	Search_Start(parent.frames["cart"].document.forms[0]);
}

function NewSearch(theForm)
{
	Search_Start(theForm);
}


function Search_Start(theForm)
{
	var searchStr = theForm.keywords.value;
	searchStr=searchStr.toLowerCase();
	var space = " ";
	var searchWords = searchStr.split(space);

	searchWords.sort();
	var searchStart =0;
	for (var i=0; i < searchWords.length; i++) {
		if (searchWords[i].length == 0) {
			searchStart++;
		} else {
			break;
		}
	}
	var totalSearchWord = searchWords.length - searchStart;
	if (totalSearchWord <= 0) {
		return;
	}
	var totalFound=0;
	var j;

	for (j=0;j<totalItems;j++) {
		var totalMatch=0;
		var str = ir[j].itemName.toLowerCase();
		var sid=ir[j].itemID.toLowerCase();
		var c= ir[j].catalog.toLowerCase();
		for (var i=searchStart; i < searchWords.length; i++) {
			if (str.search(searchWords[i])>=0) totalMatch++; 
			else 
			if (c.search(searchWords[i])>=0) totalMatch++; 
			else 
			if (sid.search(searchWords[i])>=0) totalMatch++; 
		}
		if (totalMatch>0) totalFound++;
		ir[j].match=totalMatch;
	}
	ir.sort(CompareMatch);
	
	var cWin=parent.frames["shop"].document;
	
	cWin.open();
	cWin.write("<HTML><HEAD><TITLE> Zilron StoreCreator v3.0 Shopping Cart Viewer</TITLE></HEAD>");
	cWin.write("<BODY BACKGROUND='"+parent.mCartBGImage+"' Text='"+parent.mCartText+"' BGCOLOR='"+parent.mCartBGColor+"' LINK='"+parent.mCartALink+"' VLINK='"+parent.mCartLink+"'  ALINK='"+parent.mCartALink+"' valign=top>");
	cWin.write(" "+mAlignStr+"<TABLE width=600 border=1 CELLSPACING=0 CELLPADDING=0>");
	cWin.write("<tr><td width=600 bgcolor=#666699 height=24><p align='center'><big><font color=#FFFFFF size=6><strong>"+parent.storeName+"</strong></font></big></td></tr>");
	cWin.write("<tr><td width=600 bgcolor=#ffffff><font color=#333333 size=2><strong>Contact Address:</strong><BLOCKQUOTE><font color=#333333 size=2>"+parent.storeContactAddress+"</font></td></tr>");
	cWin.write("<tr><td width=600 bgcolor=#666699><center><Strong><font color=#ffffff>Search results are as shown in the following table:["+totalFound+"]</td></tr>");
	cWin.write("<tr><td width=600>");
	cWin.write("<TABLE width=600 border=2 CELLSPACING=0 CELLPADDING=0>");
	cWin.write("<tr bgcolor='"+parent.mCartTableHeaderBGColor+"'><td width=10%><b><strong><font size=2 color='"+parent.mCartTableHeaderColor+"'><center>Match#</center></td><td width=10%><b><strong><font size=2 color='"+parent.mCartTableHeaderColor+"'><center>ItemID</center></td><td width=50%><b><strong><font size=2 color='"+parent.mCartTableHeaderColor+"'><center>Item Name</center></td><td width=10%><b><strong><font size=2 color='"+parent.mCartTableHeaderColor+"'><center>Price</center></td></tr>");
	for (j=0;j<ir.length;j++) {
		if (ir[j].match>0) {
			cWin.write("<tr bgcolor='"+parent.mCartTableBodyBGColor+"'><td valign=top><font size=2 color='"+parent.mCartTableBodyColor+"'><strong><center>"+ir[j].match+"</strong></td><td valign=top><font size=2 color='"+parent.mCartTableBodyColor+"'><strong><center>"+ir[j].itemID+"</strong></td><td valign=top><font size=2 color='"+parent.mCartTableBodyColor+"'><strong><center><a href='item"+ir[j].itemID+".html'  target=shop>"+ir[j].itemName+"</a></strong></td><td align=right><font size=2 color='"+parent.mCartTableBodyColor+"'><strong><right>"+Currency(ir[j].price)+"</strong></td></tr>");
		}
	}
	cWin.write("</table></td></tr></table></body></html>");
	cWin.close();	
}


function PrintSearchPage()
{
	var cWin=parent.frames["shop"].document;
	cWin.open();
	cWin.write("<HTML><HEAD><TITLE> Zilron StoreCreator v3.0 Shopping Cart Viewer</TITLE></HEAD>");
	cWin.write("<BODY Text=#000000 BGCOLOR=#ffffff LINK=#ff0000 VLINK=#ff0000 alink=#222222 valign=top OnLoad='document.forms[0].elements[0].focus()'>");
	cWin.write("<table border=0> <tr><td><a href='"+mainPage+"'><Strong>Main Page</strong></a></td><td><a href='"+parent.returnHtmlPath+"'><Strong>Back</strong></a></td></tr></table><hr size=1 width=50%>");
	cWin.write("<input type=button size=40 value='Submit' onClick='parent.frames[\"cart\"].Search()'>");
	cWin.write("</form></td></tr></table>");
	cWin.write("</body></html>");
	cWin.close();	
}
