butt = new Image;
butt.src="images/menu/normal.gif";
buttO = new Image;
buttO.src="images/menu/over.gif";
buttP = new Image;
buttP.src="images/menu/down.gif";

buttText = new Image;
buttText.src="images/menu/normalT.gif";
buttTextO = new Image;
buttTextO.src="images/menu/overT.gif";
buttTextP = new Image;
buttTextP.src="images/menu/downT.gif";


	
	bgcolors = new Array;
	var EditPlace = "";
	var NumOfStickers = 0;
	var windowName;
	var PreCategoryName = "";
	var numOfPages;
	var numf=0;
	var fromEdit = false;
	var changeSize = false;	
	var parentName = "";
	var Birthday 	= 0;
	var Wired 	= 1;
	var Sleepovers	= 2;
	var Snack = 3;
	var mash = 4;	
	var GrabBag 	= 5;
	var FlipCards 	= 6;
	var Locker 	= 7;
	var sitters 	= 8;
	var notebook 	= 9;
	var doorhangers 	= 10;
	var bookmarks 	= 11;
	var book = 12;
	var personal = 13;
	var teller = 14;
	var specials = 15;
	var GiftCards = 16;
	var scrapSchool = 17;
	var scrapDreamy = 18;
	var scrapAnything = 19;
	var mixedstickers = 20;
	var stuffstickers = 21;
	var love = 22;
	var lovestickers = 23;
	var abcstickers = 24;
	var scraptext = 25;
	var scrapcover = 26;
	var envelopStickers = 27;
	var cardCuties = 28;
	var IOU = 29;
	var bookmarks4her = 30;
	var mommagnets = 31;
	var bizCards = 32;
	var dadHangers = 33;
	var bookmarks4him = 34;
	var GamesToGo = 35;
	var GreetingCards = 36;	
	var classybookmarks = 37;	
	var BookBuddies = 38;	
	var usaCards = 39;	


	numCategories = 40;
	
	var stickers = 0;
	var party = 1;
	var school	= 2;
	var room = 3;
	var cards = 4;	
	var games 	= 5;
	var organized 	= 6;
	var gifts 	= 7;
	var scrapbook 	= 8;

    var numMenus = 9;
	
	var categories = new Array(numCategories);	
	categories[GrabBag] = new category('Grab Bag','party/GrabBag',3,2,true,'',870,650,'',2,1,1,'','#5782D9','invitations','invitations invites party parties tea food heart',3)
	categories[Birthday] = new category('Birthday','party/birthday',3,2,true,'left',853,298,' Who- What- Where- When- Why',2,1,1,'','#5782D9','invitations','invitations invites party parties birthdays birthday cake singer elvis',3)
	categories[Wired] = new category('Wired','party/wired',3,2,true,'bottom',472,330,'',2,2,4,'','#5782D9','invitations','invitations invites party parties disco video games movies girl dancing dance disco',3)
	categories[Sleepovers] = new category('Sleepovers','party/Sleepovers',4,2,true,'',430,650,'',2,1,2,'','#5782D9','invitations','pajama star slumber lady sleepovers invitations invites party parties',3)
	categories[Snack] = new category('Snack Parties','party/Snack',3,2,true,'',430,650,'',2,1,2,'','#5782D9','invitations','invitations invites party parties birthdays snack food cherry chef burger hamburger barbecue bbq tea',3)
	categories[specials] = new category('Specials','party/specials',1,2,true,'',870,650,'',2,1,1,'','#5782D9','invitations','hamburger burger food sleepovers invitations invites party parties',3)
	categories[envelopStickers] = new category('Envelope Stickers','party/envelope',1,2,true,'',850,640,'',2,1,1,'','#5782D9','stickers','invitations invites envelopes envelope stickers sealers for you girl cake flowers angel hearts stars love swirls',1)
	categories[Locker] = new category('Locker Magnets','school/locker',10,2,true,'bottom',556,208,'',4,2,2,'bg2.gif','#0A9A51','magnets','school stickers camera teacher pig lasers door blurry lock robot warning',1)
	categories[sitters] = new category('Screen Sitters','room/sitters',6,2,true,'',278,491,'',3,1,3,'bg1.gif','#5782D9','screen sitters','decorations room screen shelf witch dino dinosaur costume ghost monster Frankenstein mummy bat boo',3)
	categories[notebook] = new category('Notebook Stickers','stickers/notebook',9,2,true,'right',180,241,'',3,1,4,'','#5782D9','stickers','school stickers skateboard basketball butterfly shoe gum girl blackboard board ruler boy clock braces',1)
	categories[doorhangers] = new category('Door Hangers','room/doorhangers',16,2,true,'',768,252,'',4,2,2,'bg1.gif','#5782D9','hangers','door signs chinese food lunch clothespin nose dream angry frustrated wake rooster beware of dogs breath sock hot fire extinguisher music record headphones sorry hear man him dad father daddy train president door hanger dads work sign men sleeping pajamas cap praying wake bear bed hibernation polar mask',3)
	categories[bookmarks] = new category('Bookmarks','school/bookmarks',3,2,false,'',860,650,'',2,1,1,'bg2.gif','#0A9A51','bookmarks','geese once detective crown books bookmarks',3)
	categories[book] = new category('Book Belongers','stickers/book',9,2,true,'right',180,241,'',3,1,4,'','#5782D9','stickers','school stickers my book mine own private cloud angel cool boy sunglasses dart dartboard',1)
	categories[personal] = new category('Me cards','cards/personal',6,2,true,'middle',190,340,'',2,2,8,'bg3.gif','#0A29AE','cards','',3)
	categories[FlipCards] = new category('Flip Cards','cards/FlipCards',9,2,true,'',489,591,'',3,1,1,'bg3.gif','#0A29AE','cards','bird pillow baby chicken smiley bear heart',0)	
	categories[teller] = new category('Fortune Tellers','games/teller',4,2,true,'',644,642,'',2,1,1,'bg2.gif','#0A9A51','\"fortune tellers\"','fortune tellers game yellow green egg bird hand bananas carrot',3)
	categories[mash] = new category('M.A.S.H.','games/mash',1,2,true,'',850,640,'',3,1,1,'bg2.gif','#0A9A51','','game MASH mansion shack house attic friends pets country marry vehicle job hobby vacation',0)
	categories[GiftCards] = new category('Gift Card Minis','cards/GiftCards',8,2,true,'',424,311,'',3,2,4,'bg3.gif','#0A29AE','cards','gift card minis hearts flowers happy holiday',3)
	categories[scrapSchool] = new category('School Pages','scrapbook/school',3,2,true,'',850,640,'',3,1,1,'bg2.gif','#0A9A51','pages','scrapbook scrap book football chalkboard blackboard train school',3)
	categories[scrapDreamy] = new category('Dreamy Pages','scrapbook/dreamy',4,2,true,'',850,640,'',3,1,1,'bg2.gif','#0A9A51','pages','scrapbook scrap book butterfly fish water blue today flower star flowers blue swirl color smudges',3)
	categories[scrapAnything] = new category('Anything Pages','scrapbook/anything',4,2,true,'',850,640,'',3,1,1,'bg2.gif','#0A9A51','pages','scrapbook scrap book plaid buttons butterfly clip picture photo frame clothespin',3)
	categories[mixedstickers] = new category('Mixed Stickers','scrapbook/mixedstickers',1,2,false,'',850,640,'',3,1,1,'bg2.gif','#0A9A51','stickers','scrapbook scrap book stickers button flower heart hand flag dragonfly hanger star strawberry bust statue clock pencil bandaid tulip guitar dancing girl fish welcome mat telephone phone ball baseball starfish apple bride groom clothespin fire extinguisher',1)
	categories[stuffstickers] = new category('Stuff Stickers','scrapbook/stuffstickers',1,2,false,'',850,640,'',3,1,1,'bg2.gif','#0A9A51','stickers','scrapbook scrap book stickers referee coach pig arrow lettuce skateboard speech bubble cartoon basketball baseball mitt glove pool billiards robot football helmet eat food plate knife fork alarm clock happy sad smiley darts dartboard heart clothespin police car trophy bomb explode TV television toothbrush binoculars pencil scissors spider web ear bus danger skull crossbones airplane plane bike bicycle dinosaur yes OK eye PC computer peace',1)
	categories[love] = new category('Love Pages','scrapbook/love',4,2,true,'',850,640,'',3,1,1,'bg2.gif','#0A9A51','pages','scrapbook scrap book heart kisses ',3)
	categories[lovestickers] = new category('Love Stickers','scrapbook/lovestickers',1,2,false,'',850,640,'',3,1,1,'bg2.gif','#0A9A51','stickers','scrapbook scrap book stickers heart purple frame love you flowers bouquet basket of strawberries Eiffel tower cupid angel chocolate bonbons chocolates candy love yellow roses',1)	
	categories[abcstickers] = new category('ABC Stickers','scrapbook/abcstickers',2,2,false,'',850,640,'',2,1,1,'bg2.gif','#0A9A51','stickers','abc stickers letters alphabet texts titles words',1)	
	categories[scraptext] = new category('Text Creations','scrapbook/scrapText',2,2,true,'',850,640,'',3,1,1,'bg2.gif','#0A9A51','stickers','scrapbook scrap book texts titles words',1)
	categories[scrapcover] = new category('Scrap Covers','scrapbook/cover',4,2,true,'',850,640,'',2,1,1,'bg2.gif','#0A9A51','front and back covers ','scrapbook cover scrap book cover scrap cover binder binding top heart black cat',3)
	categories[cardCuties] = new category('Card Cuties','cards/cardcuties',10,2,true,'',398,288,'',3,2,1,'bg3.gif','#0A29AE','card cuties ','love goodbye egg queen umbrella card cuties gift scissors button strawberry hearts boot shoe pretzels bon voyage friends mothers day gifts',3)
	categories[IOU] = new category('IOU Coupons','cards/IOU',13,2,false,'IOU',197,535,'',2,1,4,'bg3.gif','#0A29AE','IOU coupons','ice cream popcorn lawnmower flowers rooster breakfast footsteps DJ turntable paint painting park disco quiet surprise poem movies coupons iou mothers day gifts',3)
	categories[bookmarks4her] = new category('Bookmarks 4 Her','mothersday/bookmarks',2,2,false,'',850,640,'',2,1,1,'bg3.gif','#0A29AE','bookmarks','tulips flowers story bookmarks book mark angel strawberries star woman read fifties mothers day gifts',3)
	categories[mommagnets] = new category('Mom Magnets','mothersday/magnets',1,2,false,'',850,640,'',2,1,1,'bg3.gif','#0A29AE','magnets','butterfly food cherries baguette monkey chimpanzee hot tamale candy heart pie sweets slippers fire works strawberry chocolate rose magnets mom cozy million hot mama funny kisses rules bomb love mothers day gifts',2)
	categories[bizCards] = new category('\"Biz\" cards','cards/bizcards',12,2,true,'middle',190,340,'',2,2,8,'bg3.gif','#0A29AE','cards','man dad father dads him daddy men hearts cowboy business cards biz cards me cards personal URL ID cards name airplane spider',3)
	//categories[peskyBiz] = new category('Pesky* Biz cards','cards/peskyGirls',8,2,true,'middle',190,340,'',2,2,8,'bg3.gif','#0A29AE','cards','man dad father dads him daddy men hearts cowboy business cards biz cards me cards personal URL ID cards name airplane spider',3)
	categories[dadHangers] = new category('Dad Door Hangers','fathersday/dadhangers',6,2,true,'',768,252,'',3,2,2,'bg1.gif','#5782D9','hangers','',3)
	categories[bookmarks4him] = new category('Bookmarks 4 Him','fathersday/bookmarks',1,2,false,'',850,640,'',2,1,1,'bg3.gif','#0A29AE','bookmarks','fly table cloth swatter tablecloth bookmark book mark eye chart magnifying glass love man dad father dads him daddy men ruler measure rules fishing fish',3)
	categories[GamesToGo] = new category('Games to Go','games/GamesToGo',6,2,false,'',850,640,'',2,1,1,'bg2.gif','#0A9A51','\"Games to Go\"','play road travel challenge color fill games go camp words search find alligator plane kids dots connect butterfly maze chef carrot crossword cheese mouse twins trivia dinosaur',3)	
	categories[GreetingCards] = new category('Greeting Cards','cards/GreetingCards',21,2,false,'',850,640,'',3,1,1,'bg3.gif','#0A29AE','cards','ice cream cards greeting elephants island woman flower cheer cool bears bird perfect get well wish lion bon voyage dog palm tree love luck shark ocean sea star mon boy girl cry fish dreams best friends turtles chick chicken sorry forgot skateboard cake birthday cell phone heart',3)	
	categories[classybookmarks] = new category('Classy Bookmarks','school/classybookmarks',1,2,false,'',850,640,'',2,1,1,'bg2.gif','#0A9A51','bookmarks','boy girl mountain climbing pages bookmarks books worm sheep counting asleep homework school praying',3)
	categories[BookBuddies] = new category('Book Buddies','school/BookBuddies',3,2,false,'',618,340,'',3,1,1,'bg2.gif','#0A9A51','Book Buddies','frog lilypad man diver water bookmark book read school back',3)
    categories[usaCards] = new category('USA Cards','cards/usaCards',7,2,false,'',850,640,'',3,1,1,'bg3.gif','#0A29AE','cards','usa cardsgreeting world peace boys flower girls dove kids home safely army flag proud war counting patriotic send support',3) 	

	var Tips = new Array(numCategories);	
	Tips[GrabBag] = new Array("\n\n<td class=CONTENT width=171 valign=top>Choose the invitations you want to print and the quantity you want of each invite. Cut out and fold the invitations and write in the information for your guests.<br>Look for the matching stickers to seal your envelopes and make your invites complete. Don't forget to switch the paper in the printer before you print!</td>\n<td class=CONTENT width=183 valign=top>Each of these cards comes with its own little envelope. Since these need to be cut out and folded, we suggest using heavyweight paper (matte or glossy) to make them sturdy.<br>For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. Use full sheet sticker paper to print out the envelope stickers.<br>You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your invitations sparkle!<br><img src='tips/images/invites.gif'>\n</td>\n")
	Tips[Birthday] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the invitations you want to print and the quantity you want of each invite. Type in the party information - use our guides or write it any way you like. Look for the matching stickers to seal your envelopes and make your invites complete. Don't forget to switch the paper in the printer before you print!</td>\n<td class=CONTENT width=183 valign=top>Each of these cards comes with its own little envelope. Since these need to be cut out and folded, we suggest using heavyweight paper (matte or glossy) to make them sturdy.<br>For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. Use full sheet sticker paper to print out the envelope stickers.<br>You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your invitations sparkle!<br>For extra shine, use metallic pens to write in the names of your friends on the envelopes.<br><img src='tips/images/invites.gif'>\n</td>\n")
	Tips[Wired] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the invitations you want to print and the quantity you want of each invite. Type in the party information or whatever you want to get your friends wired for your party!</td>\n<td class=CONTENT width=183 valign=top>To make these invites look like tickets, we recommend printing them using glossy poster paper or heavyweight printer paper. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy the paper at office supply stores like Staples... or ask your parents to help you purchase it on-line at www.staples.com or www.epson.com.</td>\n<td class=CONTENT width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your invitations sparkle!<br>Use gel pens on your disco invitations for a cool neon look!\n</td>\n")
	Tips[Sleepovers] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the invitations you want to print and the quantity you want of each invite. Cut out and fold the invitations and write in the information for your guests.</td>\n<td class=CONTENT  width=183 valign=top>For impressive invites that won't let your markers leak through, we suggest that you print out these invitations on poster or greeting card paper. To keep the writing from smudging, choose matte.<br>For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy the paper at office supply stores like Staples... or ask your parents to help you purchase it on-line at www.staples.com or www.epson.com.</td>\n<td class=CONTENT width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your invitations sparkle!<br>Add buttons, feathers or different scraps of material (try a piece of flannel from those old pajamas you were about to throw out!) to make your invitations really unique!<br><img src='tips/images/sleepovers.gif'>\n</td>\n")
	Tips[Snack] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the invitations you want to print and the quantity you want of each invite. Cut out and fold the invitations and write in the information for your guests.</td>\n<td class=CONTENT  width=183 valign=top>For impressive invites that won't let your markers leak through, we suggest that you print out these invitations on poster or greeting card paper. To keep the writing from smudging, choose matte.<br>For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy the paper at office supply stores like Staples... or ask your parents to help you purchase it on-line at www.staples.com or www.epson.com.</td>\n<td class=CONTENT width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your invitations sparkle!\n</td>\n")
	Tips[specials] = new Array("\n<td class=CONTENT width=171 valign=top>Trim the card to its correct size using the black border as yourguide. Or cut out each item separately and staple the finished card together. You might want to decorate an envelope to send it in.</td>\n<td class=CONTENT  width=183 valign=top>If you choose to cut out and fold these cards, we suggest using heavyweight paper. To keep the writing from smudging, choose matte. For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your invitations sparkle!<br><img src='tips/images/specials.gif'>\n</td>\n")
	Tips[envelopStickers] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the stickers you want to print and the quantity you want of each sticker. Print on sticker paper, cut them out and use them to seal your \"Invite\" envelopes, or as decorations for your scrapbooks or anywhere you want.<br><b>CAUTION:</b> Always beware of sticking stickers somewhere you might later regret. If a sticker is hard to remove, wet a rag with warm water and liquid soap, scrub the sticker with the rag and then try to peel it off.\n<td class=CONTENT  width=183 valign=top>For these stickers, <font color=red>full-sheet sticker paper</font> is the way to go; this way you can trim things to size once you have printed them.<br>You can buy the sticker paper at office supply stores like Staples... or ask your parents to help you purchase it on-line at www.avery.com.<br>(Look in the Avery product catalog for information on the products or go to the shop page to find stores near you or on-line shopping options.)\n<td class=CONTENT width=171 valign=top>\nYou can use glitter or glitter glue pens in any number of colors to make your stickers sparkle!</td>\n")
	Tips[Locker] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the magnets you want to print and the quantity you want of each magnet. Type in your name, a message, or whatever you want, to personalize your magnet. Print on magnet paper, cut them out and stick them to your locker.</td>\n<td class=CONTENT  width=183  valign=top>For these magnets, <font color=red>full-sheet magnet paper</font> is the way to go; this way you can trim things to size once you have printed them.<br>You can buy the magnet paper at office supply stores like Staples... or ask your parents to help you purchase it on-line at www.avery.com.<br>(Look in the Avery product catalog for information on the products or go to the shop page to find stores near you or on-line shopping options.)</td>\n<td class=CONTENT  width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your magnets sparkle!<br><img src='tips/images/locker.gif'>\n</td>\n")
	Tips[sitters] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the screen sitters you want and the number you want of each sitter. Print your sitters and cut them so that you can still see the fold lines, and fold along the lines. Then cut more carefully inside the dotted lines so they won't appear on your sitter, and then refold the sitters along the fold marks that you created.</td>\n<td class=CONTENT  width=183 valign=top>Since these need to be folded and you'll of course want them to SIT UP, we suggest using poster paper or greeting card paper (matte or glossy). For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Seat your screen sitters ANYWHERE you want to decorate your room or have some fun - you can even put them on the TV in the den, or on a shelf in the cupboard near the peanut butter!<br><img src='tips/images/sitters.gif'>\n</td>\n")	
	Tips[notebook] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the stickers you want to print and the quantity you want of each sticker. Type in your name, or school subject, or whatever you want, to personalize your stickers. Print on sticker paper, cut them out and stick them to your notebooks.<br><b>CAUTION:</b> Always beware of sticking stickers somewhere you might later regret. If a sticker is hard to remove, wet a rag with warm water and liquid soap, scrub the sticker with the rag and then try to peel it off.</td>\n<td class=CONTENT  width=183  valign=top>For these stickers, <font color=red>full-sheet sticker paper</font> is the way to go; this way you can trim things to size once you have printed them.<br>You can buy the sticker paper at office supply stores like Staples... or ask your parents to help you purchase it on-line at www.avery.com.<br>(Look in the Avery product catalog for information on the products or go to the shop page to find stores near you or on-line shopping options.)</td>\n<td class=CONTENT  width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your stickers sparkle!<br><img src='tips/images/notebook.gif'>\n</td>\n")
	Tips[doorhangers] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the door hangers you want and the number you want of each door hanger. Print your door signs and then cut them out carefully, making sure not to cut off the handles. Hang them on your doorknob and let everyone know what's behind door number 1!</td>\n<td class=CONTENT  width=183 valign=top>To make sure everyone gets the message, make sure to use ultra white glossy poster paper or photo paper to make your door hangers extra durable. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Photo\" paper or the \"Glossy and Matte finish\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your door hangers sparkle!<br>You might want to go to Kinko's and get your bookmarks laminated & then they'll last forever!<br><img src='tips/images/hangers.gif'>\n</td>\n")	
	Tips[bookmarks] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the bookmarks you want to print and the quantity you want of each bookmark. Cut them out and decorate them, to make them uniquely your own!</td>\n<td class=CONTENT  width=183 valign=top>For bookmarks that last, we recommend printing them using matte poster paper or any other heavy bond printer paper. For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Try punching a small hole in the top and then adding colorful yarn to make your bookmark easier to find in one of those really fat books you love reading!<br>For truly sturdy bookmarks, you might consider printing them first on full sheet sticker paper and then sticking them to cardboard.<br>You might want to go to Kinko's and get your bookmarks laminated & then they'll last forever!<br><img src='tips/images/bookmarks.gif'>\n</td>\n")
	Tips[book] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the stickers you want to print and the quantity you want of each sticker. Type in your name or whatever you want, to personalize your stickers. Print on sticker paper, cut them out and stick them to your books and personal belongings.<br><b>CAUTION:</b> Always beware of sticking stickers somewhere you might later regret. If a sticker is hard to remove, wet a rag with warm water and liquid soap, scrub the sticker with the rag and then try to peel it off.</td>\n<td class=CONTENT  width=183 valign=top>For these stickers, <font color=red>full-sheet sticker paper</font> is the way to go; this way you can trim things to size once you have printed them.<br>You can buy the sticker paper at office supply stores like Staples... or ask your parents to help you purchase it on-line at www.avery.com.<br>(Look in the Avery product catalog for information on the products or go to the shop page to find stores near you or on-line shopping options.)</td>\n<td class=CONTENT width=171 valign=top>You might want to stick these stickers on the inside front cover of your books before lending them out to friends.\n</td>\n")
	Tips[personal] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the ME cards you want and the number you want of each card. Type in the information to personalize your cards and then print them out. Cut them to size and then hand them out to make sure everyone knows who they're doing business with! An example of what to write might be:<center><br>John Doe<br>The guy to trust!<br>www.kiddonet.com</center></td>\n<td class=CONTENT  width=183 valign=top>For a funky or wild look for your personal cards, print on neon paper or on any colored or patterned paper. Try to use card stock or heavy bond paper, which is easy to find in a variety of colors at most office supply stores. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can also look for special 'biz-card' paper for kids at www.avery.com or tryHammermill Business Cards available at www.staples.com.You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com or www.avery.com.</td>\n<td class=CONTENT width=171 valign=top>You may also want to add glitter or star stickers to make your ME cards even more special, just like you. Make sure you always carry some around in your bag or wallet!<br><img src='tips/images/personal.gif'>\n</td>\n")
	Tips[FlipCards] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the Flip Cards you want to send and the number you want of each card. Cut them out and staple them together, carefully lining up the pages and putting the page with the instructions on the BOTTOM. Print out a matching envelope for each flip card you print. Cut out and fold along the lines to form your envelope. Use clear Scotch™ tape to seal the folds. Don't forget to address your envelope correctly and add a stamp, and then send your card. Your friends will 'flip' when they see them!\n</td>\n<td class=CONTENT  width=183 valign=top>We found that the best 'flip' paper was regular printer paper.</td>\n<td class=CONTENT width=171 valign=top>Decorate your cards with metallic pens and colorful markers. We don't recommend using glue-based decorations or stickers because this will make them harder to flip.<br><img src='tips/images/flipcards.gif'>\n</td>\n")
	Tips[teller] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the \"Fortune Tellers\" you want to print and the quantity of each \"Fortune Teller\" you'd like.<br>Cut out your \"Fortune Teller\" and then fold it. Don't know how? Here's what you do:<br>1. Put your \"Fortune Teller\" printed side down on the table. 2. Fold it diagonally, bringing the two opposite corners together exactly. 3. Unfold the \"Fortune Teller\" and then do the same with the other two corners, pressing firmly when you fold. When you unfold it, you should now see an 'X' caused by the folds.<br>4. Fold each corner point into the center.<br>5. Flip the square over and again fold all four corners into the center. (Don't forget to flip it first!)<br>6.	Now, fold your \"Fortune Teller\" in half, unfold it and fold it in half the other way, making it flexible.<br>But wait - you're not ready to play yet. Open the inner folds of your \"Fortune Teller\" and write in your fortunes under the flaps. (We've suggested some things you can write in the Tips column, on the right. You might like to take a look.)</td>\n<td class=CONTENT  width=183 valign=top>We tried a variety of printer papers and found that regular printer paper, or slightly heavier weight paper worked best. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look also at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy paper at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Here's some suggestions for fortunes for your \"Fortune Tellers\".<font color=black><ul><li>You will find a lucky penny.</li><br><li>The next time you're photographed you will make a funny face.</li><br><li>You will go on a long journey.</li><br><li>You will have a strange dream about unicorns.</li><br><li>You will suddenly feel like eating vegetables.</li><br><li>You will suddenly stop eating chocolate.</li><br><li>You will find something someone has lost.</li><br><li>You will learn something exciting about your future.</li><br><li>Someone will return something they once borrowed from you.</li><br><li>You will become a famous actor.</li><br><li>You will become a famous writer.</li><br><li>You will forget to do your homework.</li><br><li>All the pencils in your pencil case will have broken points.</li><br><li>You will find a stray dog and take it home.</li><br><li>Your dog will eat your homework.</li><br><li>You won't be able to get the knots out of your shoelaces.</li><br><li>You will fall in love with the next kid who talks to you.</li><br><li>Your jokes will suddenly all be funny.</li><br><li>No one will laugh at your jokes for a week.</li><br><li>You will hear a secret.</li><br><li>You will be discovered by a talent scout.</li><br><li>Your library books will be overdue.</li><br><li>You should change your secret hiding place - it has been discovered!</li><br><li>You will run out of ink during an important test.</li><br><li>You will wake up tomorrow singing opera songs.</li>\n</ul></font><br><img src='tips/images/tellers.gif'></td>\n")
	Tips[mash] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the number of M.A.S.H. pages you'd like to print. Once printed, M.A.S.H. is ready to play – no cutting, peeling or sticking needed!<br>M.A.S.H. is a fortune-telling game for one or more players.<br>For each category, write four different answers. You can fill the answers in yourself or friends can fill in M.A.S.H. pages for each other.<br>When all the squares have been filled in, tap a pen or pencil back and fourth randomly on the numbers in the top left corner. Your friend should yell, \"Stop!\" (If you're playing alone, do the same with your eyes closed or roll a die).<br>Whatever number you're on at the word \"Stop!\" is the lucky number. Use that number to tell the fortune. Starting from the letter M in the top left corner, count clockwise, starting from 1. (M will be 1, A is 2, etc.) When you get to the lucky number, X out the answer. Stop Xing when only one answer remains in each line. (Make sure to leave one answer in each category!)<br>Circle the remaining answers and then tell your fortune!</td>\n<td class=CONTENT  width=183 valign=top>Any type of printer paper is fine for this activity – but we don't recommend glossy, because your writing will smudge.<br>For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look also at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com.<br>You can buy paper at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.<br>If you're playing alone, you might want to use dice, if you have, but it's not necessary.</td>\n<td class=CONTENT width=171 valign=top>*M.A.S.H. is most fun if you also throw in some \"bad\" answers, like the girl or boy you'd least like to marry, for example.<br><br>*Print out a few pages so you can play many times.<br><img src='tips/images/mash.gif'>\n</td>\n")
	Tips[GiftCards] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the Mini Gift Cards you want to print and the number you want of each card. Print your cards and cut them out, carefully cutting along the outer line of the card. Write your message on the inside of the card (the white part) and then fold the card, to form a mini envelope. Don't forget to write who the gift is for!\n</td>\n<td class=CONTENT  width=183 valign=top>We recommend printing them using matte poster paper or heavy bond printer paper. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Try punching a small hole in the top or corner and then add colorful yarn or matching ribbons to make your card easy to attach to your gift.You may also want to add glitter or star stickers to make your gift cards even more special.<br><img src='tips/images/giftcards.gif'>\n</td>\n")
	Tips[scrapSchool] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the pages you want to print and the number you want to print of each page. Print your pages and cut them out, carefully cutting along the outer line of the page.<br>Put the pages in the order you'd like and attach them. A strip has been added on the left side of each page so that when you bind your book you don't punch holes through anything important.  Try using brass fasteners or punching holes and tying the pages together with colored yarn or ribbon.<br>If you fold along the left strip of each page, after binding it will be easier to flip back and forth in your book. Spiral binding is the best option if you want it to be really easy to flip back and forth in your book.</td>\n<td class=CONTENT  width=183 valign=top>We tried a variety of printer papers and found that regular printer paper, or slightly heavier weight paper worked best. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look also at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com.<br>You can buy paper at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Write your texts and decorate your pages using our Scrap Stickers, Text Creations, colorful glitter, or even things you've collected, such as leaves, flowers, etc.<br>Also, don't forget to choose a Scrap Cover for your book!<br><img src='tips/images/scrappages.gif'><br><center><a class=TipsLink href=\"javascript:parent.ShowSample()\">See Sample Scrapbook\n</center></a>\n</td>\n")
	Tips[scrapDreamy] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the pages you want to print and the number you want to print of each page. Print your pages and cut them out, carefully cutting along the outer line of the page.<br>Put the pages in the order you'd like and attach them. A strip has been added on the left side of each page so that when you bind your book you don't punch holes through anything important.  Try using brass fasteners or punching holes and tying the pages together with colored yarn or ribbon.<br>If you fold along the left strip of each page, after binding it will be easier to flip back and forth in your book. Spiral binding is the best option if you want it to be really easy to flip back and forth in your book.</td>\n<td class=CONTENT  width=183 valign=top>We tried a variety of printer papers and found that regular printer paper, or slightly heavier weight paper worked best. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look also at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com.<br>You can buy paper at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Write your texts and decorate your pages using our Scrap Stickers, Text Creations, colorful glitter, or even things you've collected, such as leaves, flowers, etc.<br>Also, don't forget to choose a Scrap Cover for your book!<br><img src='tips/images/scrappages.gif'><br><center><a class=TipsLink href=\"javascript:parent.ShowSample()\">See Sample Scrapbook\n</center></a>\n</td>\n")
	Tips[scrapAnything] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the pages you want to print and the number you want to print of each page. Print your pages and cut them out, carefully cutting along the outer line of the page.<br>Put the pages in the order you'd like and attach them. A strip has been added on the left side of each page so that when you bind your book you don't punch holes through anything important.  Try using brass fasteners or punching holes and tying the pages together with colored yarn or ribbon.<br>If you fold along the left strip of each page, after binding it will be easier to flip back and forth in your book. Spiral binding is the best option if you want it to be really easy to flip back and forth in your book.</td>\n<td class=CONTENT  width=183 valign=top>We tried a variety of printer papers and found that regular printer paper, or slightly heavier weight paper worked best. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look also at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com.<br>You can buy paper at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Write your texts and decorate your pages using our Scrap Stickers, Text Creations, colorful glitter, or even things you've collected, such as leaves, flowers, etc.<br>Also, don't forget to choose a Scrap Cover for your book!<br><img src='tips/images/scrappages.gif'><br><center><a class=TipsLink href=\"javascript:parent.ShowSample()\">See Sample Scrapbook\n</center></a>\n</td>\n")
	Tips[mixedstickers] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the number of pages of stickers you want to print. Print on sticker paper, cut out and stick them in your scrapbook wherever you want.<br><b>CAUTION:</b> Always beware of sticking stickers somewhere you might later regret. If a sticker is hard to remove, wet a rag with warm water and liquid soap, scrub the sticker with the rag and then try to peel it off.</td>\n<td class=CONTENT  width=183 valign=top>For these stickers, full-sheet <font color=red>sticker paper</font> is the way to go; this way you can trim things to size once you have printed them. For magnets, use ink-jet magnetic sheets (8 ½ x 11).<br>You can buy the paper at office supply stores like Staples? or ask your parents to help you purchase it on-line at www.avery.com.<br>(Look in the Avery product catalog for information on the products or go to the shop page to find stores near you or on-line shopping options.)</td>\n<td class=CONTENT width=171 valign=top>*You can use glitter or glitter glue pens in any number of colors to make your stickers sparkle!<br><br>*You might want to turn these stickers into cool magnets to decorate your locker or family fridge.<br><img src='tips/images/scrapstickers.gif'><br><center><a class=TipsLink href=\"javascript:parent.ShowSample()\">See Sample Scrapbook\n</center></a>\n</td>\n")
	Tips[stuffstickers] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the number of pages of stickers you want to print. Print on sticker paper, cut out and stick them in your scrapbook wherever you want.<br><b>CAUTION:</b> Always beware of sticking stickers somewhere you might later regret. If a sticker is hard to remove, wet a rag with warm water and liquid soap, scrub the sticker with the rag and then try to peel it off.</td>\n<td class=CONTENT  width=183 valign=top>For these stickers, full-sheet <font color=red>sticker paper</font> is the way to go; this way you can trim things to size once you have printed them. For magnets, use ink-jet magnetic sheets (8 ½ x 11).<br>You can buy the paper at office supply stores like Staples? or ask your parents to help you purchase it on-line at www.avery.com.<br>(Look in the Avery product catalog for information on the products or go to the shop page to find stores near you or on-line shopping options.)</td>\n<td class=CONTENT width=171 valign=top>*You can use glitter or glitter glue pens in any number of colors to make your stickers sparkle!<br><br>*You might want to turn these stickers into cool magnets to decorate your locker or family fridge.<br><img src='tips/images/scrapstickers.gif'><br><center><a class=TipsLink href=\"javascript:parent.ShowSample()\">See Sample Scrapbook\n</center></a>\n</td>\n")
	Tips[love] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the pages you want to print and the number you want to print of each page. Print your pages and cut them out, carefully cutting along the outer line of the page.<br>Put the pages in the order you'd like and attach them. A strip has been added on the left side of each page so that when you bind your book you don't punch holes through anything important.  Try using brass fasteners or punching holes and tying the pages together with colored yarn or ribbon.<br>If you fold along the left strip of each page, after binding it will be easier to flip back and forth in your book. Spiral binding is the best option if you want it to be really easy to flip back and forth in your book.</td>\n<td class=CONTENT  width=183 valign=top>We tried a variety of printer papers and found that regular printer paper, or slightly heavier weight paper worked best. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look also at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com.<br>You can buy paper at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Write your texts and decorate your pages using our Scrap Stickers, Text Creations, colorful glitter, or even things you've collected, such as leaves, flowers, etc.<br>Also, don't forget to choose a Scrap Cover for your book!<br><img src='tips/images/scrappages.gif'><br><center><a class=TipsLink href=\"javascript:parent.ShowSample()\">See Sample Scrapbook\n</center></a>\n</td>\n")
	Tips[lovestickers] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the number of pages of stickers you want to print. Print on sticker paper, cut out and stick them in your scrapbook wherever you want.<br><b>CAUTION:</b> Always beware of sticking stickers somewhere you might later regret. If a sticker is hard to remove, wet a rag with warm water and liquid soap, scrub the sticker with the rag and then try to peel it off.</td>\n<td class=CONTENT  width=183 valign=top>For these stickers, full-sheet <font color=red>sticker paper</font> is the way to go; this way you can trim things to size once you have printed them. For magnets, use ink-jet magnetic sheets (8 ½ x 11).<br>You can buy the paper at office supply stores like Staples? or ask your parents to help you purchase it on-line at www.avery.com.<br>(Look in the Avery product catalog for information on the products or go to the shop page to find stores near you or on-line shopping options.)</td>\n<td class=CONTENT width=171 valign=top>*You can use glitter or glitter glue pens in any number of colors to make your stickers sparkle!<br><br>*You might want to turn these stickers into cool magnets to decorate your locker or family fridge.<br><img src='tips/images/scrapstickers.gif'><br><center><a class=TipsLink href=\"javascript:parent.ShowSample()\">See Sample Scrapbook\n</center></a>\n</td>\n")
	Tips[abcstickers] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the number of pages of stickers you want to print. Print on sticker paper, cut out and stick them in your scrapbook wherever you want.<br><b>CAUTION:</b> Always beware of sticking stickers somewhere you might later regret. If a sticker is hard to remove, wet a rag with warm water and liquid soap, scrub the sticker with the rag and then try to peel it off.</td>\n<td class=CONTENT  width=183 valign=top>For these stickers, full-sheet <font color=red>sticker paper</font> is the way to go; this way you can trim things to size once you have printed them. For magnets, use ink-jet magnetic sheets (8 ½ x 11).<br>You can buy the paper at office supply stores like Staples? or ask your parents to help you purchase it on-line at www.avery.com.<br>(Look in the Avery product catalog for information on the products or go to the shop page to find stores near you or on-line shopping options.)</td>\n<td class=CONTENT width=171 valign=top>*You can use glitter or glitter glue pens in any number of colors to make your stickers sparkle!<br><br>*You might want to turn these stickers into cool magnets to decorate your locker or family fridge.<br><img src='tips/images/abc.gif'><br><center><a class=TipsLink href=\"javascript:parent.ShowSample()\">See Sample Scrapbook\n</center></a>\n</td>\n")
	Tips[scrapcover] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the cover you want to print and the number of covers you want. Print your covers and cut them out, carefully cutting along the outer line of the page.<br>Attach the covers to your scrapbook. Punch holes and then use brass fasteners or tie them together with the scrap pages using colored yarn or ribbon.</td>\n<td class=CONTENT  width=183 valign=top>We recommend printing the covers using poster paper (matte or glossy) or heavy bond printer paper. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper, the \"Brochure and Banner\" paper or at the \"Colored\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Decorate your scrapbook cover with glitter or stickers. Use gel pens or metallic pens to write your name on the dark sections of the cover.<br><img src='tips/images/scrapcover.gif'><br><center><a class=TipsLink href=\"javascript:parent.ShowSample()\">See Sample Scrapbook\n</center></a></td>\n")
	Tips[cardCuties] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the Card Cuties you want to print and the number you want of each card. Print your cards and cut them out, carefully cutting along the outer line of the card. Write your message on the inside of the card and then fold the card. Distribute daily!</td>\n<td class=CONTENT  width=183 valign=top>We recommend printing them using matte poster paper or heavy bond printer paper. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples. or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Decorate your Card Cuties with glitter or stickers. You can also punch a hole in the card with a hole puncher and run yarn or a ribbon through. Attach to a gift with tape or a bow.</a></td>\n")
	Tips[IOU] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the IOU coupons you want to print and the number you want of each coupon. Print your coupons and cut them out, carefully cutting along the outer line of the coupon.</td>\n<td class=CONTENT  width=183 valign=top>We recommend printing them using matte poster paper or heavy bond printer paper. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>IOU coupons make great gifts. Print out as many as you want, cut them out and put them in an envelope with a ribbon.<br>For those with extra ambition, create a box from thin cardboard to put them in. Print out stickers from the Scrapbook section of this site to decorate the envelope/box with.</a></td>\n")
	Tips[bookmarks4her] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the bookmarks you want to print and the quantity you want of each bookmark. Cut them out and decorate them, to make them uniquely your own!</td>\n<td class=CONTENT  width=183 valign=top>For bookmarks that last, we recommend printing them using matte poster paper or any other heavy bond printer paper. For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Try punching a small hole in the top and then adding colorful yarn to make your bookmark easier to find in one of those really fat books you love reading!<br>For truly sturdy bookmarks, you might consider printing them first on full sheet sticker paper and then sticking them to cardboard.<br>You might want to go to Kinko's and get your bookmarks laminated & then they'll last forever!<br><img src='tips/images/bookmarks.gif'>\n</td>\n")
	Tips[mommagnets] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the magnets you want to print and the quantity you want of each magnet. Print on special magnet paper, cut them out and put them on the fridge for your mom to find as a special Mother's Day surprise.</td>\n<td class=CONTENT  width=183 valign=top>For the Mom Magnets, Avery has really cool magnet sheets that you print on your ink jet printer.  These are Avery(r) 3270(tm) Printable Magnet Sheets.<br><br>You can buy what you need at office supply stores like Staples. or ask your parents to help you purchase everything on-line at www.staples.com or www.avery.com. (Look in the Avery product catalog for information on the products or go to the shop page to find stores near you or on-line shopping options.)</td>\n<td class=CONTENT width=171 valign=top>Wrap up as a gift or decorate the fridge - either way - this will be a great gift for Mother's Day.\n</td>\n")
	Tips[bizCards] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the cards you want and the number you want of each card. Type in the information to personalize your cards and then print them out. Cut them to size and then hand them out to make sure everyone knows who they're doing business with! An example of what to write might be:<center><br>John Doe<br>The guy to trust!<br>www.kiddonet.com</center></td>\n<td class=CONTENT  width=183 valign=top>For a funky or wild look for your personal cards, print on neon paper or on any colored or patterned paper. Try to use card stock or heavy bond paper, which is easy to find in a variety of colors at most office supply stores. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can also look for special 'biz-card' paper for kids at www.avery.com or tryHammermill Business Cards available at www.staples.com.You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com or www.avery.com.</td>\n<td class=CONTENT width=171 valign=top>You may also want to add glitter or star stickers to make your ME cards even more special, just like you. Make sure you always carry some around in your bag or wallet!<br><img src='tips/images/personal.gif'>\n</td>\n")
	//Tips[peskyBiz] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the cards you want and the number you want of each card. Type in the information to personalize your cards and then print them out. Cut them to size and then hand them out to make sure everyone knows who they're doing business with! An example of what to write might be:<center><br>John Doe<br>The guy to trust!<br>www.kiddonet.com</center></td>\n<td class=CONTENT  width=183 valign=top>For a funky or wild look for your personal cards, print on neon paper or on any colored or patterned paper. Try to use card stock or heavy bond paper, which is easy to find in a variety of colors at most office supply stores. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can also look for special 'biz-card' paper for kids at www.avery.com or tryHammermill Business Cards available at www.staples.com.You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com or www.avery.com.</td>\n<td class=CONTENT width=171 valign=top>You may also want to add glitter or star stickers to make your ME cards even more special, just like you. Make sure you always carry some around in your bag or wallet!<br><img src='tips/images/personal.gif'>\n</td>\n")
	Tips[dadHangers] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the door hangers you want and the number you want of each door hanger. Print your door signs and then cut them out carefully, making sure not to cut off the handles. Hang them on your doorknob and let everyone know what's behind door number 1!</td>\n<td class=CONTENT  width=183 valign=top>To make sure everyone gets the message, make sure to use ultra white glossy poster paper or photo paper to make your door hangers extra durable. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Photo\" paper or the \"Glossy and Matte finish\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>You can use glitter or glitter glue pens in any number of colors to make your door hangers sparkle!<br>You might want to go to Kinko's and get your bookmarks laminated & then they'll last forever!<br><img src='tips/images/hangers.gif'>\n</td>\n")	
	Tips[bookmarks4him] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the bookmarks you want to print and the quantity you want of each bookmark. Cut them out and decorate them, to make them uniquely your own!</td>\n<td class=CONTENT  width=183 valign=top>For bookmarks that last, we recommend printing them using matte poster paper or any other heavy bond printer paper. For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Try punching a small hole in the top and then adding colorful yarn to make your bookmark easier to find in one of those really fat books you love reading!<br>For truly sturdy bookmarks, you might consider printing them first on full sheet sticker paper and then sticking them to cardboard.<br>You might want to go to Kinko's and get your bookmarks laminated & then they'll last forever!<br><img src='tips/images/bookmarks.gif'>\n</td>\n")
	Tips[GamesToGo] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the Games to Go pages you'd like to print. Once printed, Games to Go are ready to play. Just grab a package of markers and a couple of pencils and you're ready for some travel fun.</td>\n<td class=CONTENT  width=183 valign=top><b>Any type of printer paper is fine for this activity</b> – but we don't recommend glossy, because your writing will smudge.<br>For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look also at the \"Colored\" paper, \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com.<br>You can buy paper at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.<br>If you're playing alone, you might want to use dice, if you have, but it's not necessary.</td>\n<td class=CONTENT width=171 valign=top>Print out a variety of our Games to Go pages and make your own personal activity book for hours of travel fun. Don't forget to take along markers, colored pencils or crayons to color your pages.</td>\n")
	Tips[GreetingCards] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the Greeting Card you want to print and the number you want of each card. Print your cards and cut them out, carefully cutting along the outer line of the card. Write your message on the inside of the card and then fold the card. Print out a matching envelope for each card you print. Cut out and fold along the lines to form your envelope. Use clear Scotch[tm] tape to seal the folds. Don't forget to address your envelope correctly and add a stamp, and then send your card.</td>\n<td class=CONTENT  width=183 valign=top>We recommend printing them using matte poster paper or heavy bond printer paper. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples. or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Decorate your cards and envelopes with glitter or stickers. Note: Make sure the glue dries before putting them in the envelopes.</td>\n")	
	Tips[classybookmarks] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the bookmarks you want to print and the quantity you want of each bookmark. Cut them out and decorate them, to make them uniquely your own!</td>\n<td class=CONTENT  width=183 valign=top>For bookmarks that last, we recommend printing them using matte poster paper or any other heavy bond printer paper. For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Try punching a small hole in the top and then adding colorful yarn to make your bookmark easier to find in one of those really fat books you love reading!<br>For truly sturdy bookmarks, you might consider printing them first on full sheet sticker paper and then sticking them to cardboard.<br>You might want to go to Kinko's and get your bookmarks laminated & then they'll last forever!<br><img src='tips/images/bookmarks.gif'>\n</td>\n")
	Tips[BookBuddies] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the Book Buddies bookmarks you want to print and the quantity you want of each bookmark. Follow the instructions on each one to cut them out and then decorate them, to make them uniquely your own!</td>\n<td class=CONTENT  width=183 valign=top>For bookmarks that last, we recommend printing them using matte poster paper or any other heavy bond printer paper. For ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples... or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Follow the dotted lines carefully when cutting out the section of the Book Buddies that will fit over the page.<br>For truly sturdy bookmarks, you might consider printing them first on full sheet sticker paper and then sticking them to cardboard.<br>You might want to go to Kinko's and get your bookmarks laminated & then they'll last forever!<br><img src='tips/images/bookbuddies.gif'>\n</td>\n")
	Tips[usaCards] = new Array("\n<td class=CONTENT width=171 valign=top>Choose the Greeting Card you want to print and the number you want of each card. Print your cards and cut them out, carefully cutting along the outer line of the card. Write your message on the inside of the card and then fold the card. Print out a matching envelope for each card you print. Cut out and fold along the lines to form your envelope. Use clear Scotch[tm] tape to seal the folds. Don't forget to address your envelope correctly and add a stamp, and then send your card.</td>\n<td class=CONTENT  width=183 valign=top>We recommend printing them using matte poster paper or heavy bond printer paper. For more ideas on what paper to use, try looking for Staple's \"Inkjet products\" at www.staples.com (look specifically at the \"Signs and Notices\" paper or the \"Brochure and Banner\" paper). You can also try Epson's \"Paper Products\" at www.epson.com. You can buy what you need at office supply stores like Staples. or ask your parents to help you purchase everything on-line at www.staples.com.</td>\n<td class=CONTENT width=171 valign=top>Decorate your cards and envelopes with glitter or stickers. Note: Make sure the glue dries before putting them in the envelopes.</td>\n")
	
	var titles = new Array('stickers','party','school','room','cards','games','organized','gifts','scrapbook');	

	var LeftMenu = new Array(9);	
	LeftMenu[stickers] = new Array(notebook,book,abcstickers,lovestickers,mixedstickers,stuffstickers)
	LeftMenu[party] = new Array(Birthday,Wired,Sleepovers,Snack,GrabBag,specials,envelopStickers)
	LeftMenu[school] = new Array(scraptext,classybookmarks,abcstickers,notebook,book,Locker,bookmarks,BookBuddies)
	LeftMenu[room] = new Array(sitters,doorhangers)
	LeftMenu[cards] = new Array(usaCards,GreetingCards,bizCards,FlipCards,GiftCards,cardCuties,IOU)
	//LeftMenu[cards] = new Array(usaCards,GreetingCards,bizCards,FlipCards,GiftCards,cardCuties,IOU,peskyBiz)
	LeftMenu[games] = new Array(GamesToGo,teller,mash) 	
	LeftMenu[organized] = new Array()
	//LeftMenu[gifts] = new Array(doorhangers,bookmarks,FlipCards,sitters,IOU,bookmarks4her,mommagnets,bookmarks4him,bizCards,peskyBiz)
	LeftMenu[gifts] = new Array(doorhangers,bookmarks,FlipCards,sitters,IOU,bookmarks4her,mommagnets,bookmarks4him,bizCards,dadHangers)	
	LeftMenu[scrapbook] = new Array(scrapcover,scrapSchool,scrapDreamy,scrapAnything,love,mixedstickers,stuffstickers,lovestickers,abcstickers,scraptext)
	
	var bgnotebook = new Array ('#FAB861','#FC8341','#FEF970','#3EFA61','#AFD3FB','#FE94F1','#3CD27C','#7AA3B0','#91FBEE','#EDFE55');
	var bgbook = new Array ('#C3E825','#80FC6C','#55FE71','#737AFB','#A1A6FC','#8DFBF0','#E9F64E','#B0FC2B','#98FEDC','#6EC7C6');
	var bglocker = new Array ('#3DC302','#F985CA','#FDE302','#E8ACFF','#3DC302','#FDE302','#00C6FF','#FB5402','#00FF00','#FDF503');
	var bgbirthday = new Array ('#F4FC69','#FDF96C','#E7F506');
	var bgwired = new Array ('#BD9EFD','#8398F0','#FCE206');
	var bizText = new Array ('Name','Info','Home Page URL');
	var peskyBizText = new Array ("Your Name:","Pesky Info About You:","Your Movie's URL:");
	bgpersonal = new Array(6);
		bgpersonal[0]	 = new bgCol('#FFFF00', '#00FF00');
		bgpersonal[1]	 = new bgCol('#EDBCFD', '#F8A420');
		bgpersonal[2] 	 = new bgCol('#86ABF5', '#B0C8F8');
		bgpersonal[3]	 = new bgCol('#E2FE45', '#F9C909');
		bgpersonal[4]	 = new bgCol('#7DC8EB', '#55F40F');
		bgpersonal[5]	 = new bgCol('#00FF00', '#FBA928');

	bgBiz = new Array(6);
		bgBiz[0]	 = new bgCol('#FFFF00', '#00FF00');
		bgBiz[1]	 = new bgCol('#EDBCFD', '#F8A420');
		bgBiz[2] 	 = new bgCol('#86ABF5', '#B0C8F8');
		bgBiz[3]	 = new bgCol('#E2FE45', '#F9C909');
		bgBiz[4]	 = new bgCol('#7DC8EB', '#55F40F');
		bgBiz[5]	 = new bgCol('#00FF00', '#FBA928');
		bgBiz[6]	 = new bgCol('#4AC201', '#02BFFD');
		bgBiz[7]	 = new bgCol('#8C27FE', '#81C544');
		bgBiz[8] 	 = new bgCol('#FFFF00', '#0124F8');
		bgBiz[9]	 = new bgCol('#FCD601', '#B34DFA');
		bgBiz[10]	 = new bgCol('#4888FD', '#FD007E');
		bgBiz[11]	 = new bgCol('#045BFA', '#FD4800');

	bgPeskyBiz = new Array(6);
		bgPeskyBiz[0]	 = new bgCol('#A1FF5A', '#B34DFA');
		bgPeskyBiz[1]	 = new bgCol('#F1FC72', '#FAA1EB');
		bgPeskyBiz[2] 	 = new bgCol('#FFFFFF', '#7BE846');
		bgPeskyBiz[3]	 = new bgCol('#FFFF00', '#B2DEF7');
		bgPeskyBiz[4]	 = new bgCol('#FFAAC0', '#5EFF9B');
		bgPeskyBiz[5]	 = new bgCol('#FF204D', '#A21EFF');
		bgPeskyBiz[6]	 = new bgCol('#C0C2CD', '#FFBB4C');
		bgPeskyBiz[7]	 = new bgCol('#C0C2C0', '#78C000');
function bgCol (bg1, bg2) {
		this.bgNo1 = bg1;
		this.bgNo2 = bg2;				
	}
	
function category (name, FolderName1, NumOfStickers1, NumOfFrames1, NumOfCopies1, EditPlace1, DivHeight1, DivWidth1, TextFormat1, ImgPerRowSel1 , ImgPerRow1, ImgPerPage1, BG1, BGcolor1,Instructions1,note,paperType) {

	this.FolderName = FolderName1;
	this.NumOfStickers = NumOfStickers1;
	this.NumOfFrames = NumOfFrames1;
	this.EditPlace = EditPlace1;
	this.DivHeight = DivHeight1;
	this.DivWidth = DivWidth1;
	this.TextFormat = TextFormat1;
	this.ImgPerRowSel = ImgPerRowSel1;
	this.ImgPerRow = ImgPerRow1;
	this.ImgPerPage = ImgPerPage1;
	this.BG = BG1;
	this.BGcolor = BGcolor1;
	this.NumOfCopies = NumOfCopies1;
	this.Instructions = Instructions1;
	this.note = note;
	this.Name = name;
	this.paperType = paperType;
	
}
function CheckURL() {
	urlString = "" + top.location.href;
	if(urlString.indexOf('/AOL/') != -1 || urlString.indexOf('/aol/') != -1)
		urlStr = "AOL";
	else
		urlStr = "KN";
}
function CheckPageSize(numTotal,num) {
var str="";
	if (numTotal==1)
		hightOfDiv = 50;
	else
		hightOfDiv = hightOfDiv+categories[parent.categoryName].DivHeight;
		
	PageSize = 	hightOfDiv+categories[parent.categoryName].DivHeight;	
	if (PageSize > numOfPages*parent.pageOffset)
	{
		hightOfDiv = ((numOfPages-1)*parent.pageOffset)+(parent.pageOffset);
		numOfPages++;
	}	
	return (str);
}

function SetParam(categoryName1,CategoryMenu) {
	if (categoryName1 != parent.categoryName)
	{
		for(i=0; i<categories[categoryName1].NumOfStickers; i++)
		{	
    		parent.selections[i] = 0;		
			parent.copies[i] = 0;
			parent.texts[i] = '' ;
			
		}	
	}	
	parent.categoryName=categoryName1;		
	parent.CategoryMenu = CategoryMenu;
	parent.currentPress =parent.categoryName
	if (categories[parent.categoryName].FolderName=='stickers/notebook')
		bgcolors = bgnotebook;
	if (categories[parent.categoryName].FolderName=='stickers/book')
		bgcolors = bgbook;
	if (categories[parent.categoryName].FolderName=='school/locker')
		bgcolors = bglocker;
	if (categories[parent.categoryName].FolderName=='party/birthday')
		bgcolors = bgbirthday;
	if (categories[parent.categoryName].FolderName=='party/wired')
		bgcolors = bgwired;
	if (categories[parent.categoryName].NumOfFrames == 1)
	{
		parentName = "parent";
		main.location.href="OneFrameActivity.htm";
	}	
	else
	{	
		parentName = "parent.parent";
		main.document.location.href="TwoFramesActivity.htm";
	}	

}


function back1() {
	if (categories[parent.categoryName].NumOfFrames == 1)
	{
		main.location.href="OneFrameActivity.htm";
	}	
	else
	{	
		if ( nIE50 )
			self.document.location.reload();
		else
			main.document.location.href="TwoFramesActivity.htm";
		
	}	
}

function checkSelections() {
	var flag = false;
	for(i=0; i<categories[parent.categoryName].NumOfStickers; i++)
	{	
		if (categories[parent.categoryName].NumOfFrames == 1)
		{
			selected = eval("main.document.forms.SelectionForm.item" + i + ".checked");
		}	
		else
		{
			selected = eval("main.right.document.forms.SelectionForm.item" + i + ".checked");	  
		}	
		
	  if(selected)
	  {
	  	flag = true;		
	  }	
	}
	if (flag)
	{
		Save();
	}	
	else		
	{
		alert ("Please choose an item.");
	}	
}

function Save() {
	for(i=0; i<categories[parent.categoryName].NumOfStickers; i++)
	{
		windowName = "main.right";
			
		selected = eval(windowName+".document.forms.SelectionForm.item" + i + ".checked");	
		
	  if (categories[parent.categoryName].NumOfCopies)
	  {
	  	if (eval(windowName+".document.forms.SelectionForm.copies" + i +".value!=0"))
        {			
			if (isNaN(eval(windowName+".document.forms.SelectionForm.copies" + i +".value")))				
			{
				alert ('Please enter a number for the items you have chosen.')		
				return;
			}	
			else		
	    	  	parent.copies[i] = eval(windowName+".document.forms.SelectionForm.copies" + i +".value");			
		}		
		else
			parent.copies[i] = 0;						
	  }		  
	  if(selected)
	  {
	  	parent.selections[i] = "1";
	  }	
	  else
	  {
	  	parent.selections[i] = "0";	  
	  }
	}
	if (categories[parent.categoryName].EditPlace == '')
	{
		Preview();
		}
	else
		EditPage();
}
function buildOneFrame() {
if (parent.categoryName==25)
{
	main.right.location.href="scrapbook/scrapText/index.htm";
	return;
}	
str = "";
str += "<body scroll='auto' bottommargin='0' topmargin='0' leftmargin='0' marginwidth='0' marginheight='0'"
if (categories[parent.categoryName].BG!='')
	str += " background='/kiddonet/printables/bg/"+categories[parent.categoryName].BG+"'"
str += " bgcolor='"+categories[parent.categoryName].BGcolor+"' link=#FFFFFF alink=#FFFFFF vlink=#FFFFFF>\n";
str += "<form name=SelectionForm>\n<table border=0 width=100% height=100% cellpadding=0 cellspacing=0>\n<tr>\n<td valign=top height=50 width=260><img src='"+categories[parent.categoryName].FolderName+"/title.gif' alt='title image'></td>\n<td valign=top align=right>"
if (categories[parent.categoryName].EditPlace == '')
{
	
	str += "<a href='javascript:"+parentName+".checkSelections()'><img src='images/goto.gif' border=0 alt='Go To Print'></a></td>";
}	
else
{
	str += "<a href='javascript:"+parentName+".checkSelections()'><img src='images/ok.gif' align=right border=0 width=94 height=28 alt='OK'></a></td>";
	//str += "<img src='images/ok.gif' border=0 width=94 height=28 alt='OK'><img src='images/home1.gif' border=0 width=94 height=28 alt='Printable menu'></td></tr>";
}
str += "<td align=right valign=top><a href='javascript:"+parentName+".parent.document.location.href=\"index.htm\"'><img src='images/home1.gif' align=right border=0 width=94 height=28 alt='Printable menu'></a></td>\n</tr>\n\n";
str += "<tr><td colspan=3 align='center' height=10><font color=#FFFFFF face=verdana size=2>";
	if (categories[parent.categoryName].NumOfCopies)
	{
		if (categories[parent.categoryName].NumOfStickers == 1)
			if (categories[parent.categoryName].Instructions != "")
				str+= "Click the box to select this page of " +categories[parent.categoryName].Instructions+". Enter the number of<br>pages you'd like to print.<br>";
			else
				str+= "Click the box to select the page. Enter the number of<br>pages you'd like to print.<br>";
		else	
		{
			str+= "Choose the "+categories[parent.categoryName].Instructions+" you'd like to"
			if (categories[parent.categoryName].EditPlace == '')
				 str+= " print and the quantity you'd like of each.<br>";
			else	
				str+= " personalize and the quantity you'd like of each.<br>";
		}		
	}
	else
	{
		if (categories[parent.categoryName].NumOfStickers == 1)
			str+= "Click the box to select this page of " +categories[parent.categoryName].Instructions+".<br>";
		else		
		{
			str+= "Click the box to select the page of " +categories[parent.categoryName].Instructions+" you want"
			if (categories[parent.categoryName].EditPlace == '')
				str+= ".<br>";
			else	
				str+= " to personalize.<br>"
		}
	}

if (categories[parent.categoryName].EditPlace == '')
	str += " Click <a href='javascript:"+parentName+".checkSelections()'>GO TO PRINT</a> when you are ready.<br>";
else
{
	str += " Click <a href='javascript:"+parentName+".checkSelections()'>OK</a> when you are ready.<br>";
}	
str+="</font></td>\n</tr>\n"
if (parent.categoryName==38)
	str+="<tr><td align=center colspan=3><img src='tips/images/sample/example.gif' align=absmiddle>&nbsp;&nbsp;<img src='tips/images/sample/bookbuddies.gif'></td></tr>";
str+="<tr><td colspan=3><table width=100% height=100%  cellpadding=5 cellspacing=0 border=0>\n";
for(i=0; i< categories[parent.categoryName].NumOfStickers; i++)
	{
		line = "";
		itemsInline=categories[parent.categoryName].ImgPerRowSel;
		r = i%itemsInline;
		startrow = false;
		endrow = false;
		if (r == 0) {
			startrow = true;
			numT = 0
		}
		else if (r == itemsInline-1) {
			endrow = true;
		}
		if (startrow) {
			line += '<tr>\n';
		}
			
		checkedString = "";		
		clickString = "";		
		numOfCopies = "";			
		if(parent.selections[i]==1)
		{
			checkedString = " checked ";			
		}
		//if (parent.categoryName==mommagnets) checkedString = " checked disabled style='visibility:hidden'"
											//else clickString="<a href=\"javascript:eval()\" onClick=\"document.SelectionForm.item"+i+".checked=!document.SelectionForm.item"+i+".checked\">"
		clickString="<a href=\"javascript:eval()\" onClick=\"document.SelectionForm.item"+i+".checked=!document.SelectionForm.item"+i+".checked\">"	
		if(parent.copies[i]!=0)
		{
			numOfCopies = parent.copies[i];					
		}
		numT++
		line += "<td align=center valign='top'><input type=checkbox name=item" + i + checkedString + ">&nbsp;&nbsp;";
		line += clickString+"<img name='image"+i+"' src='"+categories[parent.categoryName].FolderName+"/icons/" + i + ".gif' align='top' border=0 alt='image"+i+"'></a>";
		if (categories[parent.categoryName].NumOfCopies)
		{			
			line += "<br><font color=white size=2 face=verdana>number of items:</font><input type='text' name='copies"+ i +"' size='2' value='"+numOfCopies+"' MAXLENGTH=2";
			if (navigator.appName != 'Netscape')
				line += " style='border-style:solid;height:20px;width:30px;border-width:1;>'";
			else
				line += ">";
		}	
		line += "</td>\n";	
		num = categories[parent.categoryName].NumOfStickers-1;		
		if (endrow || i==num) {
			if (numT == categories[parent.categoryName].ImgPerRowSel)
				line += '</tr>\n';	

			else
			{
				numT = categories[parent.categoryName].ImgPerRowSel - numT;
				for (j=0;j<numT;j++)
					line += '<td>&nbsp;</td>';
			}		
		}
		str += line;	
		
	}
	
str += "</table></td></tr>";
if (categories[parent.categoryName].EditPlace == '')
{
	
	str += "<tr><td valign='bottom' align='center' colspan=3 height=27><a href='javascript:"+parentName+".checkSelections()'><img src='images/goto2.gif' border=0 alt='Go To Print'></a></td></tr>";
}	
else
{
	str += "<tr><td valign='bottom' align='center' colspan=3 height=28>";
	if (parent.categoryName == 40)
		str +="<font color=#FFFFFF face=verdana size=1><br>* based on the book \"Life is a Movie Starring You - The Pesky Meddling Girls guide to living Your Dreams\" by Jennifur Brandt</font><br><br>";
	str +="<a href='javascript:"+parentName+".checkSelections()'><img src='images/ok2.gif' border=0 alt='OK'></a></td></tr>";
}
str += "</form></table>"
str += "</body>";
return (str);
}
function changeURL()
{
	location.href="http://www.kiddonet.com/kiddonet/printables/index.htm#father's_day"
}

function buildLeftFrame() {
str = "";
str += "<html><head><LINK REL='stylesheet' TYPE='text/css' HREF='menu.css'></head><body scroll='auto' topmargin='0' leftmargin='0' marginwidth='0' marginheight='0' background='"+titles[parent.CategoryMenu]+"/bg.gif'>\n";
str += "\n<table border=0 height=100% width=100% cellspacing=0 cellpadding=0><tr><td valign=top height=50%><table border=0 width=100% cellspacing=0 cellpadding=0>\n<tr>\n<td height=61>\n<img src='"+titles[parent.CategoryMenu]+"/title.gif'>\n</td>\n</tr>";
	
for(i=0; i<LeftMenu[parent.CategoryMenu].length ; i++)
{
	TempStr = LeftMenu[parent.CategoryMenu][i];
	if (TempStr==25)
		str += "<tr>\n<td height=30>&nbsp;</td></tr>";
	str += "\n<tr>\n<td height=33>\n<a id=fontCat"+i+" name=fontCat"+i+" class=MenuStyle onmouseover='javascript:parent.parent.overButt("+TempStr+")' onmouseout='javascript:parent.parent.outButt("+TempStr+")' ";
	str += "href='javascript:parent.parent.setCategory("+TempStr+")'><img id=ImgBut"+i+" name=ImgBut"+i+" border=0";
	if (TempStr==25)
		str += " src='images/menu/normalT.gif' align=absmiddle width=33 height=33>"
	else
		str += " src='images/menu/normal.gif' align=absmiddle width=33 height=33>"
	 str += "\n"+categories[TempStr].Name+"</a>\n</td>\n</tr>";
}		
str += "</table></td></tr>"
//if (parent.CategoryMenu==7)
//	str += "<tr><td valign=bottom align=center><a href='javascript:parent.parent.changeURL()'><img src='images/menu/FatherMenu.gif' border=0></a></td></tr>"
//else	
	str += "<tr><td>&nbsp;</td></tr>"
str += "</table></body></html>";
return (str);
}
function setCategory(categoryName1)
{	
	PreCategoryName = parent.categoryName;	
	parent.categoryName=categoryName1;	
	parent.currentPress =parent.categoryName
	if (parent.categoryName != PreCategoryName)
	{
		for(i=0; i<categories[categoryName1].NumOfStickers; i++)
		{	
    		parent.selections[i] = 0;		
			parent.copies[i] = 0;
			parent.texts[i] = '' ;
			
		}	
	
	}
		if (categories[parent.categoryName].FolderName=='stickers/notebook')
			bgcolors = bgnotebook;
		if (categories[parent.categoryName].FolderName=='stickers/book')
			bgcolors = bgbook;
		if (categories[parent.categoryName].FolderName=='school/locker')
			bgcolors = bglocker;
		if (categories[parent.categoryName].FolderName=='party/birthday')
			bgcolors = bgbirthday;
		if (categories[parent.categoryName].FolderName=='party/wired')
			bgcolors = bgwired;
	if (categories[parent.categoryName].NumOfFrames == 1)
		parentName = "parent";
	else
		parentName = "parent.parent";		
	main.right.document.open()						
	main.right.document.write(buildOneFrame());
	clickButt(parent.currentPress)
	main.right.document.close()						

}
function UpdateArrays()
{
	if (categories[parent.categoryName].EditPlace != '')
	{
		for(i=0; i<categories[parent.categoryName].NumOfStickers; i++)
		{ 
			if(parent.selections[i] == "1" )
			{	
				if (categories[parent.categoryName].EditPlace == "middle")
				{				
					eval("parent.textpersonal[" + i + "].textNo1="+pageFormat+".cardsForm" + i + ".t1_" + i + ".value");
					eval("parent.textpersonal[" + i + "].textNo2="+pageFormat+".cardsForm" + i + ".ta" + i + ".value");
					eval("parent.textpersonal[" + i + "].textNo3="+pageFormat+".cardsForm" + i + ".t2_" + i + ".value");
					
				}
				else if (categories[parent.categoryName].EditPlace == "IOU")
				{
					eval("parent.IOUparams[" + i + "].textNo1="+pageFormat+".cardsForm" + i + ".t1_" + i + ".value");
					eval("parent.IOUparams[" + i + "].textNo2="+pageFormat+".cardsForm" + i + ".ta" + i + ".value");
					eval("parent.IOUparams[" + i + "].textNo3="+pageFormat+".cardsForm" + i + ".t2_" + i + ".value");
					
				}
				else
				{
						eval("parent.texts[" + i + "]="+pageFormat+".f" + i +".ta" + i + ".value");
				}		
			}		
		}
	}	
}
function Back()
{
	if (categories[parent.categoryName].EditPlace != '')
	{
		for(i=0; i<categories[parent.categoryName].NumOfStickers; i++)
		{ 
			if(parent.selections[i] == "1" )
			{	
				if (categories[parent.categoryName].EditPlace == "middle")
				{
					eval("parent.textpersonal[" + i + "].textNo1="+pageFormat+".cardsForm" + i + ".t1_" + i + ".value");
					eval("parent.textpersonal[" + i + "].textNo2="+pageFormat+".cardsForm" + i + ".ta" + i + ".value");
					eval("parent.textpersonal[" + i + "].textNo3="+pageFormat+".cardsForm" + i + ".t2_" + i + ".value");
					
				}
				else if (categories[parent.categoryName].EditPlace == "IOU")
				{
					eval("parent.IOUparams[" + i + "].textNo1="+pageFormat+".cardsForm" + i + ".t1_" + i + ".value");
					eval("parent.IOUparams[" + i + "].textNo2="+pageFormat+".cardsForm" + i + ".ta" + i + ".value");
					eval("parent.IOUparams[" + i + "].textNo3="+pageFormat+".cardsForm" + i + ".t2_" + i + ".value");
					
				}
				else
				{
					eval("parent.texts[" + i + "]="+pageFormat+".f" + i +".ta" + i + ".value");
				}		
			}		
		}
	}	
	eval(windowName+".document.open()")
	eval(windowName+".document.write(buildOneFrame())");
	eval(windowName+".document.close()")


}
function CreateFooter()
{
	if (!fromEdit)
	{
		parentName1 = "parent"
		closePath = "parent.Preview()"
	}
	else
	{
		parentName1 = parentName;
		closePath = parentName+".EditPage()"
	}	
	str = "\n<tr>\n<td class=FOOTER><a href='javascript:"+closePath+"'><img src='tips/images/close.gif' border=0></a>\n</td><td class=FOOTER>&nbsp;</td>\n<td align=right class=FOOTER><a href='JavaScript:"+parentName1+".init()'><img src='tips/images/print.gif' border=0></a>\n</td>\n</tr>\n";	
	return (str);
}
function ChangePageSize(val)
{	
	parent.pageOffset = val;
	changeSize = true;
	Preview();
}
function ShowSample()
{	

	if (fromEdit)
	{
		myWindow="main.right"
	}	
	else
		myWindow="main"

	eval(myWindow+".document.open()")
	eval(myWindow+".document.write(BuildSamplePage())")
	eval(myWindow+".document.close()")

}
function ShowSample2()
{	
	eval(windowName+".document.open()")
	eval(windowName+".document.write(BuildSamplePage2())")
	eval(windowName+".document.close()")

}
function BuildSamplePage()
{	
	var str = "";
	str +="<head><BODY bgcolor=" + "#ffffff" + " topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>";		
	str += "<table border='0' cellpadding='0' cellspacing='0' width='100%' height='100%'>\n"
  	str += "<tr>\n<td width='100%' align=center>\n<table border='0' cellpadding='0' cellspacing='10' width='224'>\n"
	str += "<tr>\n<td><img border='0' src='tips/images/sample/1.gif' width='298' height='193'></td>\n<td><img border='0' src='tips/images/sample/2.gif' width='300' height='193'></td><td rowspan=2 valign=top><a href='javascript:parent.ShowTips()'><img src='images/back2.gif' border=0 ></a>\n</td>"
  	str += "</tr>\n<tr><td><img border='0' src='tips/images/sample/3.gif' width='297' height='193'></td><td><img border='0' src='tips/images/sample/4.gif' width='300' height='193'></td>"
	str += "</tr></table></td></tr></table>"
	//str += CreateFooter();
//	str += "</table></td></tr></table></body>";

	return (str);

}
function BuildSamplePage2()
{	
	var str = "";
	str +="<head><BODY bgcolor=" + "#ffffff" + " topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>";		
	str += "<table border='0' cellpadding='0' cellspacing='0' width='100%' height='100%'>\n"
	str += "<tr><td align=center valign=middle><img align=absmiddle border='0' src='tips/images/sample/5.gif' width='298' height='193'><br><a href='javascript:parent.ShowTips()'><img src='images/back2.gif' border=0 ></a></td></tr></table>\n"
	str += "</body>";

	return (str);

}
function ShowHelp()
{	
	if (fromEdit)
	{
		UpdateArrays();
		myWindow="main.right"
	}	
	else
		myWindow="main"
	
	//eval(windowName+".location.href='help.htm'")
	eval(myWindow+".document.open()")
	eval(myWindow+".document.write(BuildDivHelp())")
	eval(myWindow+".document.close()")
}
function ShowTips()
{	
	if (fromEdit)
	{
		UpdateArrays();
		myWindow="main.right"
	}	
	else
		myWindow="main"
	
	eval(myWindow+".document.open()")
	eval(myWindow+".document.write(BuildDivTip())")
	eval(myWindow+".document.close()")

	//eval(windowName+".location.href='tip.htm'")
	

}
function BuildDivTip()
{	
	var str = "";
	str +="<head><LINK REL='stylesheet' TYPE='text/css' HREF='menu.css'></head><BODY bgcolor=" + "#ffffff" + " topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>";		
	str += "<table border=0 height=100% width=100%><tr><td align=center><table border=0 cellspacing=0 cellpadding=0>\n<tr>\n<td class=HEADER width=171><img src='tips/images/howto.gif'></td>\n<td class=HEADER width=183><img src='tips/images/need.gif'></td>\n<td class=HEADER><img src='tips/images/tips.gif'></td>\n</tr>";
	str += "<tr><td align=center colspan=3 bgcolor=#4c77cd><table border=0 cellspacing=2 cellpadding=0 width=100% height=100%><tr>";
	str += Tips[parent.categoryName];
	str += "</tr></table></td></tr>"
	str += CreateFooter();
	str += "</table></td></tr></table></body>";

	return (str);
}

function BuildDivHelp()
{	
	var str = "";
	if (!fromEdit)
	{
		parentName1 = "parent"
	}
	else
		parentName1 = parentName;
	str +="<head><LINK REL='stylesheet' TYPE='text/css' HREF='menu.css'></head><BODY bgcolor=" + "#ffffff" + " topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>";		
	str += "<table border=0 height=100% width=100%><tr><td align=center><table border=0 cellspacing=0 cellpadding=0>\n<tr>\n<td colspan=3 class=HEADER align=left ><img src='tips/images/help.gif'></td></tr>";
	str += "<tr><td align=center colspan=3 bgcolor=#4c77cd><table border=0 cellspacing=2 cellpadding=0 width=100% height=100%><tr><td class=CONTENT>If your printout appears cut off, this is most likely because your printer is set to A4 size pages. Our default is Letter Size (8 ½ inches X 11 inches). If you would like to change your setting, <a href='javascript:"+parentName1+".ChangePageSize("+parent.A4Size+")' class=HelpLink>click here</a> and then print your selection again. To return your printer to its original setting, <a href='javascript:"+parentName1+".ChangePageSize("+parent.letterSize+")' class=HelpLink>click here</a>. If you continue to have trouble, we recommend doing test prints in black and white to see how many items you can fit on a page without anything being cut off.</td></tr></table></td></tr>"
	str += CreateFooter();
	str += "</table></td></tr></table></body>";
	return (str);
}
function EditPage() {
	fromEdit = true;
	windowName = "main.right";
	pageFormat = windowName+".document.forms";
	var num=1;
	var numT=0;
	var temp = "";
	var textIns = categories[parent.categoryName].Instructions;
	textIns = textIns.substring(0,(textIns.length)-1);
	temp +="<head></head><BODY bgcolor=#ffffff link=#0A29AE vlink=#0A29AE alink=#0A29AE topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>";
	temp +="<center><table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n";
	temp += "<td align='center' valign=top><a href='javascript:"+parentName+".Preview()' ><img src='images/preview2.gif' border=0></a>\n</td>\n<td align='center' width=25% valign=top><a href='javascript:"+parentName+".Back()' ><img src='images/back2.gif' border=0></a>  \n</td>\n"
	if (Tips[parent.categoryName]!="")
		temp += "<td width=25% align='center' valign=top>\n<a href=\"javascript:"+parentName+".ShowTips()\"><img src='images/before.gif' border=0></a>\n</td>\n";
	temp += "<td width=25% align='center' valign=top>\n<a href=\"javascript:"+parentName+".ShowHelp()\"><img src='images/help.gif' border=0></a>\n</td>\n"
	if (Tips[parent.categoryName]=="")
		temp += "<td width=25%>&nbsp;</td>\n";
	temp += "\n</tr>\n</table>";	
	
	temp += "<table width=570 cellpadding=0 border=0>\n<tr>\n<td><font color=0A29AE face=verdana size=2><b>"
	if(categories[parent.categoryName].EditPlace!="IOU") temp += "Type in your own text to personalize your "+categories[parent.categoryName].Instructions+". Click the empty boxes to begin typing.";
							else temp += "Print the IOU coupons as they are or type in your own text to personalize your coupons. Change the words by clicking the text in the window and typing over it.";
	temp += " The text you type will appear on your "+textIns+".<br><font color=red>Note:</font> If a scrollbar appears you've written too much and your text will be cut.<br>Click <a href='javascript:"+parentName+".Preview()'>GO TO PRINT</a> when you are ready to print.";
	temp += "</b></font></td>\n</tr>\n</table>";
		for(i=0; i<categories[parent.categoryName].NumOfStickers; i++)
		{
			if(parent.selections[i] == "1" )
			{
				numT++;
			}
				
		}	

	
	for(i=0; i<categories[parent.categoryName].NumOfStickers; i++)
	{
		if(parent.selections[i] == "1" )
		{	
			if(categories[parent.categoryName].EditPlace=="right")
			{			
				if (navigator.appName != 'Netscape')
					temp += "\n<form name=f" + i + "><table bgcolor="+bgcolors[i]+" border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td><img src='"+categories[parent.categoryName].FolderName+"/" + i + ".gif' align=absmiddle border=0 alt='image"+i+"'></td><td width=150 bgcolor="+bgcolors[i]+" align=center><textarea name=ta" + i + " WRAP='hard' rows=9 style='width:140px;font-family:verdana;overflow:auto;font-size:14px;font-weight:bold'>" + parent.texts[i] + "</textarea>\n</td>\n</tr>\n</table></form>";								
				else	
					temp += "\n<form name=f" + i + "><table bgcolor="+bgcolors[i]+" border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td><img src='"+categories[parent.categoryName].FolderName+"/" + i + ".gif' align=absmiddle border=0 height="+(categories[parent.categoryName].DivHeight-10)+"px width="+(categories[parent.categoryName].DivWidth)+"px alt='image"+i+"'></td><td bgcolor="+bgcolors[i]+" align=center><textarea name=ta" + i + " WRAP='soft' cols=15 rows=9>" + parent.texts[i] + "</textarea>\n</td>\n</tr>\n</table></form>";								
			}
					
			if(categories[parent.categoryName].EditPlace=="left")
			{		
				if (parent.texts[i]=='')
				{
					if (categories[parent.categoryName].TextFormat != '')
					{	tempText = categories[parent.categoryName].TextFormat;
						tempText1 = tempText.substr(0,tempText.indexOf('-'));
						textValue = tempText1+": \n\n";
						tempText = tempText.substring(tempText.indexOf('-')+1,tempText.length);
						while (tempText.indexOf('-') != -1)
						{
							tempText1 = tempText.substr(0,tempText.indexOf('-'));
							textValue += tempText1+": \n\n";
							tempText = tempText.substring(tempText.indexOf('-')+1,tempText.length);
						}					
						textValue += tempText+": ";
					}
				}
				else
					textValue = parent.texts[i];
				if (navigator.appName != 'Netscape')
					temp += "\n<table bgcolor="+bgcolors[i]+" border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td width=298 bgcolor="+bgcolors[i]+" align=center ><form name=f" + i + "><textarea name=ta" + i + " WRAP='hard' rows=21 style='width:288px;font-family:verdana;overflow:auto;font-size:16px;font-weight:bold'>" + textValue + "</textarea></form>\n</td>\n<td><img src='"+categories[parent.categoryName].FolderName+"/" + i + ".gif' align=absmiddle border=0 alt='image"+i+"'></td></tr>\n</table>\n<br>";								
				else
					temp += "\n<table bgcolor="+bgcolors[i]+" border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td bgcolor="+bgcolors[i]+" align=center ><form name=f" + i + "><textarea name=ta" + i + " WRAP='soft' cols=34 rows=23>" + textValue + "</textarea></form>\n</td>\n<td><img src='"+categories[parent.categoryName].FolderName+"/" + i + ".gif' align=absmiddle border=0 height="+(categories[parent.categoryName].DivHeight-443)+"px width="+(categories[parent.categoryName].DivWidth)+"px alt='image"+i+"'></td></tr>\n</table>\n<br>";												
			}
			if(categories[parent.categoryName].EditPlace=="middle")
			{
				if (parent.categoryName == 32)
				{
					textArray = "bizText"
				}	
				if (parent.categoryName == 13)
				{
					textArray = "bizText"
				}	
				if (parent.categoryName == 40)
				{
					textArray = "peskyBizText"
				}	
			
				if (eval("parent.textpersonal["+i+"].textNo1") == '' )
					tempText1 = eval(textArray+"[0]");
				else
				{
					tempText1 = eval("parent.textpersonal["+i+"].textNo1")
					tempText1=SaveText(tempText1)
				}	
								
				if (eval("parent.textpersonal["+i+"].textNo2") == '' )
					tempText2 = eval(textArray+"[1]");
				else
					tempText2 = eval("parent.textpersonal["+i+"].textNo2")

				if (eval("parent.textpersonal["+i+"].textNo3") == '' )
					tempText3 = eval(textArray+"[2]");
				else
				{
					tempText3 = eval("parent.textpersonal["+i+"].textNo3")
					tempText3=SaveText(tempText3)
				}	
				if (navigator.appName != 'Netscape')
					temp += "\n<form name=cardsForm" + i + "><table cellspacing='0' cellpadding='0' border=0><tr><td background='"+categories[parent.categoryName].FolderName+"/"+i+".gif'><table width=330 height=179 border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=45 background=''>&nbsp;</td></tr>\n<tr>\n<td height=10 align=center background=''><INPUT TYPE='TEXT' MAXLENGTH=35 size=40 name=t1_" + i + " value=\""+tempText1+"\" style='width:320px;font-family:verdana;font-size:14px;text-align:center;font-weight:bold;'></td>\n</tr>\n<tr>\n<td valign=top align=center height=50 background=''><textarea name=ta" + i + " WRAP='hard' style='width:320px;font-family:verdana;overflow:auto;font-size:11px;text-align:center;font-weight:bold;'>" + tempText2 + "</textarea></td>\n</tr>\n<tr>\n<td background='' align=center height=25><INPUT TYPE='TEXT' MAXLENGTH=55 size=40 name=t2_" + i + " value=\""+tempText3+"\" style='width:320px;font-family:verdana;font-size:10px;text-align:center;font-weight:bold;'></td>\n</tr></table></td></tr></table></form>\n<hr width='80%'>";						
				else	
				{					
					temp += "\n<form name=cardsForm" + i + "><table cellspacing='0' cellpadding='0' border=0><tr><td background='"+categories[parent.categoryName].FolderName+"/"+i+".gif'><table width=330 height=179 border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=45 background=' '>&nbsp;</td></tr>\n<tr>\n<td height=10 align=center background=' '><INPUT TYPE='TEXT' MAXLENGTH=40 size=40 name=t1_" + i + " value=\""+tempText1+"\"></td>\n</tr>\n<tr>\n<td valign=top align=center height=50 background=' '><textarea name=ta" + i + " WRAP='soft' cols=38 rows=2>" + tempText2 + "</textarea></td>\n</tr>\n<tr>\n<td background=' ' align=center height=25><INPUT TYPE='TEXT' MAXLENGTH=40 size=40 name=t2_" + i + " value=\""+tempText3+"\" ></td>\n</tr></table></td></tr></table></form>\n<hr width='80%'>";						
				}									
			}
			if(categories[parent.categoryName].EditPlace=="IOU")
			{
					tempText1 = eval("parent.IOUparams["+i+"].textNo1")
					tempText1=SaveText(tempText1)
					tempText2 = eval("parent.IOUparams["+i+"].textNo2")
					tempText2=SaveText(tempText2)
					tempText3 = eval("parent.IOUparams["+i+"].textNo3")
					tempText3=SaveText(tempText3)
				if (navigator.appName != 'Netscape')
					temp += "\n<form name=cardsForm" + i + "><table cellspacing='0' cellpadding='0' border=0><tr><td background='"+categories[parent.categoryName].FolderName+"/"+i+".gif'><table width=525 height=187 border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=92 background=''>&nbsp;</td></tr>\n<tr>\n<td height=35 align=left background=''>&nbsp;<INPUT TYPE='TEXT' MAXLENGTH=30 size=30 name=t1_" + i + " value=\""+tempText1+"\" style='width:252px;font-family:verdana;font-size:20px;color:#FBE708;text-align:left;font-weight:bold'></td>\n</tr>\n<tr>\n<td valign=top align=left height=23 background=''>&nbsp;<input type='text' value=\"" + tempText2 + "\" name=ta" + i + " style='width:252px;font-family:verdana;font-size:14px;text-align:left;font-weight:bold;color:#FBE708;'></td>\n</tr>\n<tr>\n<td background='' align=left height=35>&nbsp;<INPUT TYPE='TEXT' MAXLENGTH=55 size=40 name=t2_" + i + " value=\""+tempText3+"\" style='width:252px;font-family:verdana;font-size:12px;text-align:left;font-weight:bold'></td>\n</tr></table></td></tr></table></form>\n";
				else	
				{					
					temp += "\n<form name=cardsForm" + i + "><table cellspacing='0' cellpadding='0' border=0><tr><td background='"+categories[parent.categoryName].FolderName+"/"+i+".gif'><table width=525 height=187 border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=92 background=' '>&nbsp;</td></tr>\n<tr>\n<td height=35 align=left background=' '><INPUT TYPE='TEXT' MAXLENGTH=30 size=30 name=t1_" + i + " value=\""+tempText1+"\"></td>\n</tr>\n<tr>\n<td valign=top align=left height=23 background=' '><input type='text' value=\"" + tempText2 + "\" name=ta" + i + " maxlength=30 size=30></td>\n</tr>\n<tr>\n<td background=' ' align=left height=34><INPUT TYPE='TEXT' MAXLENGTH=30 size=30 name=t2_" + i + " value=\""+tempText3+"\" ></td>\n</tr></table></td></tr></table></form>\n";
				}
			}
			if(categories[parent.categoryName].EditPlace=="bottom")
			{			
				if (navigator.appName != 'Netscape')				
					temp += "<form name=f" + i + ">\n<table border=0 cellpadding=0 cellspacing=0><tr><td><table border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td><img src='"+categories[parent.categoryName].FolderName+"/" + i + ".gif'  border=0 alt='image"+i+"'></td></tr><tr><td height=100 align=center bgcolor=" +bgcolors[i]+ "><textarea name=ta" + i + " WRAP='hard' rows=5 style='font-family:verdana;overflow:auto;width:"+(categories[parent.categoryName].DivWidth - 20)+"px;font-size:14px;font-weight:bold'>" + parent.texts[i] + "</textarea>\n</td></tr></table></form>\n</td>\n</tr>\n</table>";		
				else	
				{
					if (parent.categoryName==7)
						NumOfCols=19;
					else	
						NumOfCols=36;
					temp += "<form name=f" + i + ">\n<table border=0 cellpadding=0 cellspacing=0 ><tr><td><table border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td><img src='"+categories[parent.categoryName].FolderName+"/" + i + ".gif'  height="+(categories[parent.categoryName].DivHeight-100)+"px width="+(categories[parent.categoryName].DivWidth-10)+"px border=0 alt='image"+i+"'></td></tr><tr><td bgcolor=" +bgcolors[i]+ "><textarea name=ta" + i + " WRAP='soft' cols="+NumOfCols+" rows=4>" + parent.texts[i] + "</textarea>\n</td></tr></table></form>\n</td>\n</tr>\n</table>";		
				}
			}	
			
		}
	}
	eval(windowName+".document.open()");
	eval(windowName+".document.write(temp)");
	eval(windowName+".document.write('</center></body>')");	
	eval(windowName+".document.close()");
	for(i=0; i<categories[parent.categoryName].NumOfStickers; i++)
	{
		if(parent.selections[i] == "1" )
		{
			if ((categories[parent.categoryName].EditPlace == "middle")||(categories[parent.categoryName].EditPlace == "IOU"))
				eval(pageFormat+".cardsForm" + i + ".t1_"+i+".focus()");	
			else	
				eval(pageFormat+".f"+i+".ta"+i+".focus()");				
			break;	
		}
	}		
}
	function SaveText(itemvalue)
	{		
	
		var clean_itemvalue,re;
		itemnameString = "" + itemvalue;
		re = /"/g;
		clean_itemvalue = itemnameString.replace(re, "'");		
		return (clean_itemvalue)
		
    				
	}

function Preview()
{
	var num=1;
	var numS=0;
	var numTotal=1;
	var temp = "";
	numOfPages = 1;
	//windowName = "main"

	for(i=0; i<categories[parent.categoryName].NumOfStickers; i++)
	{
		if(parent.selections[i] == "1" )
		{
			numS++;
				
			if (parent.copies[i]!="")
				numS += parent.copies[i]-1;
		}
				
	}	
	if (fromEdit)
	{	
		if (!changeSize)	
		{
			UpdateArrays();			
		}	
		else 
			changeSize = false;
	}		
	fromEdit = false;
	
	temp += "<html><head><LINK REL='stylesheet' TYPE='text/css' HREF='menu.css'></head><BODY  bgcolor='#ffffff' topmargin=0 leftmargin=0 marginwidth=0 marginheight=0>";
	if ( parent.nIE4 )
		temp += "<object id='browser' width= 0  height=0 classid='CLSID:8856F961-340A-11D0-A96B-00C04FD705A2'></object>"
	temp += "<div class=PaperDiv><a href=\"javascript:parent.ShowTips()\"><img src=\"images/paper"+categories[parent.categoryName].paperType+".gif\" border=0></a></div>"
	temp +="<table cellpadding=0 cellspacing=0 border=0 width=100%>\n<tr>\n";
	//temp += "<td align='left' valign=top width=50%>&nbsp;&nbsp;&nbsp;&nbsp;<a href='JavaScript:parent.init()'><img src='images/print2.gif' border=0></a>&nbsp;&nbsp;<a href='JavaScript:parent.PrintingProblems()'><img src='images/printingProblems.gif' align=top border=0></a>\n</td><td align='center' valign=top><a href='javascript:parent.back1()' ><img src='images/back2.gif' border=0></a> \n</td>\n\n";
	temp += "<td align='left' valign=top width=50%>&nbsp;&nbsp;&nbsp;&nbsp;<a href='JavaScript:parent.init()'><img src='images/print2.gif' border=0></a>\n</td><td align='center' valign=top><a href='javascript:parent.back1()' ><img src='images/back2.gif' border=0></a> \n</td>\n\n";
	//temp += "<td align='left' width=50%>&nbsp;&nbsp;&nbsp;&nbsp;<a href='JavaScript:parent.init()'><img src='images/print2.gif' border=0></a>\n</td><td align='center' valign=top><a href='javascript:parent.back1()' ><img src='images/back2.gif' border=0></a> \n</td>\n\n";
	if (Tips[parent.categoryName]!="")
		temp += "<td align='center' valign=top>\n<a href=\"javascript:parent.ShowTips()\"><img src='images/before.gif' border=0></a>\n</td>\n";
	temp += "<td align='center' valign=top>\n<a href=\"javascript:parent.ShowHelp()\"><img src='images/help.gif' border=0></a>\n</td>";
	if (Tips[parent.categoryName]=="")
		temp += "<td>&nbsp;</td>\n";
	temp += "\n</tr>\n</table>";	

	for(i=0; i<categories[parent.categoryName].NumOfStickers; i++)
	{
		if(parent.selections[i] == "1" )
		{
			if (categories[parent.categoryName].EditPlace == '')
			{
				if (parent.categoryName == lovestickers || parent.categoryName == stuffstickers || parent.categoryName == mixedstickers || parent.categoryName == sitters || parent.categoryName == mommagnets)
					ImgFormat = ".jpg";
				else
					ImgFormat = ".gif";
				if (parent.copies[i] == "")
				{
					if ((categories[parent.categoryName].ImgPerRow == 1) || (num == 1))
					{
						WidthOfDiv = 0;
						CheckPageSize(numTotal,num);	
					}	
					else
						WidthOfDiv = WidthOfDiv + categories[parent.categoryName].DivWidth;
					if (navigator.appName != 'Netscape')
						temp += "\n<DIV style='position:absolute; top:"+hightOfDiv+"px; left:"+WidthOfDiv+"px'>\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + ImgFormat+"' align=absmiddle border=0 alt='image"+i+"' width="+(categories[parent.categoryName].DivWidth-10)+"px height="+(categories[parent.categoryName].DivHeight-10)+"px>\n</div>";						
					else
						temp += "\n<layer id="+i+" top="+hightOfDiv+"px left="+WidthOfDiv+"px>\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + ImgFormat+"' align=absmiddle border=0 alt='image"+i+"' width="+(categories[parent.categoryName].DivWidth-10)+"px height="+(categories[parent.categoryName].DivHeight-10)+"px>\n</layer>";
					
					if (num == categories[parent.categoryName].ImgPerRow)
						num = 0 ;
					
					
				}
				else
				{
					var NumOfCopies = 0;
					while (NumOfCopies != parent.copies[i])
					{
						if ((categories[parent.categoryName].ImgPerRow == 1) || (num == 1))
						{
							WidthOfDiv = 0;
							CheckPageSize(numTotal,num);	
						}	
						else
							WidthOfDiv = WidthOfDiv + categories[parent.categoryName].DivWidth;
						if (navigator.appName != 'Netscape')
							temp += "\n<DIV style='position:absolute; top:"+hightOfDiv+"px; left:"+WidthOfDiv+"px'>\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + ImgFormat+"' align=absmiddle border=0 alt='image"+i+"' width="+(categories[parent.categoryName].DivWidth-10)+"px height="+(categories[parent.categoryName].DivHeight-10)+"px>\n</div>";
						else
							temp += "\n<layer id="+i+" top="+hightOfDiv+"px left="+WidthOfDiv+"px>\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + ImgFormat+"' align=absmiddle border=0 alt='image"+i+"' width="+(categories[parent.categoryName].DivWidth-10)+"px height="+(categories[parent.categoryName].DivHeight-10)+"px>\n</layer>";
						
						if (num == categories[parent.categoryName].ImgPerRow)
							num = 0 ;
						NumOfCopies++
						numTotal++
						num++;
					}
					
				}
			}	
			if (categories[parent.categoryName].EditPlace == 'right')
			{
				if (parent.copies[i] == "")
				{	
					CheckPageSize(numTotal,num);	
					WidthOfDiv = categories[parent.categoryName].DivWidth;
					if (navigator.appName != 'Netscape')
					{
						temp += "<DIV style='position:absolute;top:"+hightOfDiv+"px;left:0px;'>";
						temp += "&nbsp;<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' align=absmiddle border=0 alt='image"+i+"'>\n</DIV>";
						temp += "\n<DIV style='position:absolute;top:"+hightOfDiv+"px;left:"+WidthOfDiv+"px;'>";
						temp += "\n<form name=f" + i + ">\n&nbsp;<textarea name=ta" + i + " WRAP='hard' rows=9 readonly=true style='border-width:0;font-family:verdana;overflow:hidden;font-size:14px;font-weight:bold;width:150px;background-color:"+bgcolors[i]+"'>" + parent.texts[i] + "</textarea>\n</form>\n</DIV>";
					}	
					else
					{
						temp += "<layer id="+i+" top="+hightOfDiv+"px left=0px z-index=2>";
						temp += "<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' align=absmiddle border=0 height="+(categories[parent.categoryName].DivHeight-10)+"px width=391px alt='image"+i+"'>\n";
						temp += "\n<layer id="+i+" top=0px left="+WidthOfDiv+"px z-index=3>";
						temp += "\n<form name=f" + i + ">\n<table border=0 cellpadding=0 cellspacing=0><tr><td><textarea name=ta" + i + " WRAP='hard' rows=9 cols=15>" + parent.texts[i] + "</textarea></td></tr></table>\n</form>\n</layer>\n</layer>";
					}
						
				}
				else
				{
					var NumOfCopies = 0;
					while (NumOfCopies != parent.copies[i])
					{
						CheckPageSize(numTotal,num);	
						WidthOfDiv = categories[parent.categoryName].DivWidth;
						if (navigator.appName != 'Netscape')
						{
							temp += "<DIV style='position:absolute;top:"+hightOfDiv+"px;left:0px;'>";
							temp += "&nbsp;<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' align=absmiddle border=0 alt='image"+i+"'>\n</DIV>";
							temp += "\n<DIV style='position:absolute;top:"+hightOfDiv+"px;left:"+WidthOfDiv+"px;'>";
							temp += "\n<form name=f" + i + ">\n&nbsp;<textarea name=ta" + i + " WRAP='hard' rows=9 readonly=true style='border-width:0;font-family:verdana;overflow:hidden;font-size:14px;font-weight:bold;width:150px;background-color:"+bgcolors[i]+"'>" + parent.texts[i] + "</textarea>\n</form>\n</DIV>";
						}	
						else
						{
							temp += "<layer id="+i+" top="+hightOfDiv+"px left=0px>";
							temp += "<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' align=absmiddle border=0 height="+(categories[parent.categoryName].DivHeight-10)+"px width=391px alt='image"+i+"'>\n";
							temp += "\n<layer id="+i+" top=0px left="+WidthOfDiv+"px>";
							temp += "\n<form name=f" + i + ">\n<table border=0 cellpadding=0 cellspacing=0><tr><td><textarea name=ta" + i + " WRAP='hard' rows=9 cols=15>" + parent.texts[i] + "</textarea></td></tr></table>\n</form>\n</layer>\n</layer>";
						}
						NumOfCopies++
						numTotal++;
					}												
				}
			}	
			if (categories[parent.categoryName].EditPlace == 'left')
			{
				if (parent.copies[i] == "")
				{	
					CheckPageSize(numTotal,num);	
					hightOfDiv2 = hightOfDiv+433;
					if (navigator.appName != 'Netscape')
					{
						temp += "\n<DIV style='position:absolute;top:"+hightOfDiv+"px;left:0px;'>";
						temp += "&nbsp;<img src='"+categories[parent.categoryName].FolderName+"/" + i + "envelop.gif' height=433 width=629>\n</DIV>";											
					
						temp += "\n<DIV style='position:absolute;top:"+hightOfDiv2+"px;left:0px;'>";
						temp += "\n&nbsp;<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' align=absmiddle border=0 alt='image"+i+"' >\n";
						temp += "\n<DIV style='position:absolute;top:0px;left:0px;'>";
						temp += "\n<form name=f" + i + " id=f" + i + ">&nbsp;<textarea WRAP='hard' name=ta" + i + " rows=21 readonly=true style='border-width:0;width:298px;font-family:verdana;overflow:hidden;font-size:16px;font-weight:bold;background-color:"+bgcolors[i]+"'>" + parent.texts[i] + "</textarea></form>\n</DIV>\n</div>";
					}
					else
					{
						temp += "\n<layer id="+i+" top="+hightOfDiv+"px left=0px>";
						temp += "<img src='"+categories[parent.categoryName].FolderName+"/" + i + "envelop.gif' height=433 width=629>\n</layer>";											
					
						temp += "\n<layer id="+i+" top="+hightOfDiv2+"px left=0px>";
						temp += "\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' align=absmiddle border=0 alt='image"+i+"' height=410 width=599>\n";
						temp += "\n<layer id="+i+" top=0px left=0px>";
						temp += "\n<form name=f" + i + " id=f" + i + "><table border=0 cellpadding=0 cellspacing=0><tr><td><textarea WRAP='hard' name=ta" + i + " cols=34 rows=23>" + parent.texts[i] + "</textarea></td></tr></table></form>\n</layer>\n</layer>";
											
					}

				}
				else
				{
					var NumOfCopies = 0;
					while (NumOfCopies != parent.copies[i])
					{
						CheckPageSize(numTotal,num);	
						hightOfDiv2 = hightOfDiv+433;
						if (navigator.appName != 'Netscape')
						{
							temp += "\n<DIV style='position:absolute;top:"+hightOfDiv+"px;left:0px;'>";
							temp += "&nbsp;<img src='"+categories[parent.categoryName].FolderName+"/" + i + "envelop.gif' height=433 width=629>\n</DIV>";											
						
							temp += "\n<DIV style='position:absolute;top:"+hightOfDiv2+"px;left:0px;'>";
							temp += "\n&nbsp;<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' align=absmiddle border=0 alt='image"+i+"' >\n";
							temp += "\n<DIV style='position:absolute;top:0px;left:0px;'>";
							temp += "\n<form name=f" + i + " id=f" + i + ">&nbsp;<textarea WRAP='hard' name=ta" + i + " rows=21 readonly=true style='border-width:0;width:298px;font-family:verdana;overflow:hidden;font-size:16px;font-weight:bold;background-color:"+bgcolors[i]+"'>" + parent.texts[i] + "</textarea></form>\n</DIV>\n</div>";
						}
						else
						{
							temp += "\n<layer id="+i+" top="+hightOfDiv+"px left=0px>";
							temp += "<img src='"+categories[parent.categoryName].FolderName+"/" + i + "envelop.gif' height=433 width=629>\n</layer>";											
						
							temp += "\n<layer id="+i+" top="+hightOfDiv2+"px left=0px>";
							temp += "\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' align=absmiddle border=0 alt='image"+i+"' height=410 width=599>\n";
							temp += "\n<layer id="+i+" top=0px left=0px>";
							temp += "\n<form name=f" + i + " id=f" + i + "><table border=0 cellpadding=0 cellspacing=0><tr><td><textarea WRAP='hard' name=ta" + i + " cols=34 rows=23>" + parent.texts[i] + "</textarea></td></tr></table></form>\n</layer>\n</layer>";
												
						}

						NumOfCopies++
						numTotal++;
					}												
				}
			}
			if(categories[parent.categoryName].EditPlace=="middle")
			{
				tempText1 = "";
				tempText2 = "";
				tempText3 = "";
				if (parent.categoryName == 32)
				{
					bgArray = "bgBiz"
					textArray = "bizText"
				}	
				if (parent.categoryName == 13)
				{
					bgArray = "bgpersonal"
					textArray = "bizText"
				}	
				if (parent.categoryName == 40)
				{
					bgArray = "bgPeskyBiz"
					textArray = "peskyBizText"
				}	
				
				if (eval("parent.textpersonal["+i+"].textNo1") != '' )
				{				
					tempText1 = eval("parent.textpersonal["+i+"].textNo1")
					tempText1=SaveText(tempText1)
				}
				
				if (tempText1 == eval(textArray+"[0]"))
					tempText1 = "";
				if (eval("parent.textpersonal["+i+"].textNo2") != '' )
				{
					tempText2 = eval("parent.textpersonal["+i+"].textNo2")
				}	
				if (tempText2 == eval(textArray+"[1]"))
					tempText2 = "";
				if (eval("parent.textpersonal["+i+"].textNo3") != '' )
				{
					tempText3 = eval("parent.textpersonal["+i+"].textNo3")
					tempText3=SaveText(tempText3)
				}	
				if (tempText3 == eval(textArray+"[2]"))
					tempText3 = "";
				if (parent.copies[i] == "")
				{
					if ((categories[parent.categoryName].ImgPerRow == 1) || (num == 1))
					{
						WidthOfDiv = 0;
						CheckPageSize(numTotal,num);	
					}	
					else
						WidthOfDiv = WidthOfDiv + categories[parent.categoryName].DivWidth;
					if (navigator.appName != 'Netscape')
					{
						temp += "\n<DIV style='position:absolute; top:"+hightOfDiv+"px; left:"+WidthOfDiv+"px'>\n<img src='"+categories[parent.categoryName].FolderName+"/"+i+".gif' border=0 width=330 height=179>\n";
						temp += "\n<DIV style='position:absolute;top:0px;left:0px;'>\n<form name=cardsForm" + i + " id=cardsForm" + i + ">\n<table width=330 height=179  border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=45></td>\n<tr>\n<td height=10 align=center>\n<INPUT TYPE='TEXT' readonly=true name=t1_" + i + " value=\""+tempText1+"\" MAXLENGTH=35 size=23 style='border-width:0;width:330px;font-family:verdana;font-size:14px;text-align:center;font-weight:bold;background-color:"+eval(bgArray+'['+i+'].bgNo1')+"'>\n</td>\n</tr>\n<tr>\n<td valign=top align=center height=50>\n<textarea name=ta" + i + " WRAP='hard' rows=2 readonly=true style='border-width:0;width:330px;font-family:verdana;overflow:hidden;font-size:11px;text-align:center;font-weight:bold;background-color:"+eval(bgArray+'['+i+'].bgNo1')+"'>" + tempText2 + "</textarea>\n</td>\n</tr>\n<tr>\n<td height=25 align=center>\n<INPUT TYPE='TEXT' name=t2_" + i + " value=\""+tempText3+"\" MAXLENGTH=55 size=30 readonly=true style='border-width:0;width:330px;font-family:verdana;font-size:10px;text-align:center;font-weight:bold;background-color:"+eval(bgArray+'['+i+'].bgNo2')+"'>\n</td>\n</tr>\n</table>\n</form>\n</div>\n</div>";					
					}
					else
					{
						temp += "\n<layer id="+i+" top="+hightOfDiv+"px left="+WidthOfDiv+"px z-index=1>\n<img src='"+categories[parent.categoryName].FolderName+"/"+i+".gif' border=0 width=330 height=179>\n";
						temp += "\n<layer id="+i+" top=0px left=0px z-index=2>\n<form name=cardsForm" + i + ">\n<table width=330 height=179  border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=45></td>\n<tr>\n<td height=10 align=center>\n<font face=verdana><b>"+tempText1+"</b></font>\n</td>\n</tr>\n<tr>\n<td valign=top align=center height=50>\n<font face=verdana size=2><b>"+tempText2+"</b></font>\n</td>\n</tr>\n<tr>\n<td height=25 align=center>\n<font face=verdana size=1><b>"+tempText3+"</b></font>\n</td>\n</tr>\n</table>\n</form>\n</layer>\n</layer>";
					}	
					if (num == categories[parent.categoryName].ImgPerRow)
						num = 0 ;
				}
				else
				{
					var NumOfCopies = 0;
					while (NumOfCopies != parent.copies[i])
					{
						if ((categories[parent.categoryName].ImgPerRow == 1) || (num == 1))
						{
							WidthOfDiv = 0;
							CheckPageSize(numTotal,num);	
						}	
						else
							WidthOfDiv = WidthOfDiv + categories[parent.categoryName].DivWidth;
											
						if (navigator.appName != 'Netscape')
						{
							temp += "\n<DIV style='position:absolute; top:"+hightOfDiv+"px; left:"+WidthOfDiv+"px'>\n<img src='"+categories[parent.categoryName].FolderName+"/"+i+".gif' border=0 width=330 height=179>\n";
							temp += "\n<DIV style='position:absolute;top:0px;left:0px;'>\n<form name=cardsForm" + i + " id=cardsForm" + i + ">\n<table width=330 height=179  border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=45></td>\n<tr>\n<td height=10 align=center>\n<INPUT TYPE='TEXT' readonly=true name=t1_" + i + " value=\""+tempText1+"\" MAXLENGTH=35 size=23 style='border-width:0;width:330px;font-family:verdana;font-size:14px;text-align:center;font-weight:bold;background-color:"+eval(bgArray+'['+i+'].bgNo1')+"'>\n</td>\n</tr>\n<tr>\n<td valign=top align=center height=50>\n<textarea name=ta" + i + " WRAP='hard' rows=2 readonly=true style='border-width:0;width:330px;font-family:verdana;overflow:hidden;font-size:11px;text-align:center;font-weight:bold;background-color:"+eval(bgArray+'['+i+'].bgNo1')+"'>" + tempText2 + "</textarea>\n</td>\n</tr>\n<tr>\n<td height=25 align=center>\n<INPUT TYPE='TEXT' name=t2_" + i + " value=\""+tempText3+"\" MAXLENGTH=55 size=30 readonly=true style='border-width:0;width:330px;font-family:verdana;font-size:10px;text-align:center;font-weight:bold;background-color:"+eval(bgArray+'['+i+'].bgNo2')+"'>\n</td>\n</tr>\n</table>\n</form>\n</div>\n</div>";					
						}
						else
						{
							temp += "\n<layer id="+i+" top="+hightOfDiv+"px left="+WidthOfDiv+"px z-index=1>\n<img src='"+categories[parent.categoryName].FolderName+"/"+i+".gif' border=0 width=330 height=179>\n";
							temp += "\n<layer id="+i+" top=0px left=0px z-index=2>\n<form name=cardsForm" + i + ">\n<table width=330 height=179  border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=45></td>\n<tr>\n<td height=10 align=center>\n<font face=verdana><b>"+tempText1+"</b></font>\n</td>\n</tr>\n<tr>\n<td valign=top align=center height=50>\n<font face=verdana size=2><b>"+tempText2+"</b></font>\n</td>\n</tr>\n<tr>\n<td height=25 align=center>\n<font face=verdana size=1><b>"+tempText3+"</b></font>\n</td>\n</tr>\n</table>\n</form>\n</layer>\n</layer>";
						}	

						if (num == categories[parent.categoryName].ImgPerRow)
							num = 0 ;
					
						NumOfCopies++
						numTotal++;
						num++;
					}	
				}
			}	
			if(categories[parent.categoryName].EditPlace=="IOU")
			{
				tempText1 = eval("parent.IOUparams["+i+"].textNo1")
				tempText2 = eval("parent.IOUparams["+i+"].textNo2")
				tempText3 = eval("parent.IOUparams["+i+"].textNo3")
				if (parent.copies[i] == "")
				{
					if ((categories[parent.categoryName].ImgPerRow == 1) || (num == 1))
					{
						WidthOfDiv = 0;
						CheckPageSize(numTotal,num);	
					}	
					else
						WidthOfDiv = WidthOfDiv + categories[parent.categoryName].DivWidth;
					if (navigator.appName != 'Netscape')
					{
						temp += "\n<DIV style='position:absolute; top:"+hightOfDiv+"px; left:"+WidthOfDiv+"px'>\n<img src='"+categories[parent.categoryName].FolderName+"/"+i+".gif' border=0>\n";
						temp += "\n<DIV style='position:absolute;top:0px;left:0px;'>\n<form name=cardsForm" + i + "><table cellspacing='0' cellpadding='0' border=0><tr><td background='"+categories[parent.categoryName].FolderName+"/"+i+".gif'><table width=525 height=187 border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=92 background=''>&nbsp;</td></tr>\n<tr>\n<td height=35 align=left background=''><INPUT TYPE='TEXT' readonly=true MAXLENGTH=30 size=30 name=t1_" + i + " value=\""+tempText1+"\" style='border-width:0;width:262px;font-family:verdana;font-size:20px;color:#FBE708;text-align:left;font-weight:bold;background-color:"+parent.IOUparams[i].bgNo1+"'></td>\n</tr>\n<tr>\n<td valign=top align=left height=23 background=''><input type='text' readonly=true value=\"" + tempText2 + "\" name=ta" + i + " style='border-width:0;width:262px;font-family:verdana;font-size:14px;text-align:left;font-weight:bold;color:#FBE708;background-color:"+parent.IOUparams[i].bgNo1+"'></td>\n</tr>\n<tr>\n<td background='' align=left height=35><INPUT TYPE='TEXT' readonly=true MAXLENGTH=55 size=40 name=t2_" + i + " value=\""+tempText3+"\" style='border-width:0;width:262px;font-family:verdana;font-size:12px;text-align:left;font-weight:bold;background-color:"+parent.IOUparams[i].bgNo2+"'></td>\n</tr></table></td></tr></table></form>\n</div>\n</div>";
					}
					else
					{
						temp += "\n<layer id="+i+" top="+hightOfDiv+"px left="+WidthOfDiv+"px z-index=1>\n<img src='"+categories[parent.categoryName].FolderName+"/"+i+".gif' border=0 width=525 height=187>\n";
						temp += "\n<layer id="+i+" top=0px left=0px z-index=2>\n<table cellspacing='0' cellpadding='0' border=0><tr><td background='"+categories[parent.categoryName].FolderName+"/"+i+".gif'><table width=525 height=187 border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=92 background=' '>&nbsp;</td></tr>\n<tr>\n<td height=35 align=left background=' '><font face=verdana size=4 color=#FBE708><b>"+tempText1+"<b></font></td>\n</tr>\n<tr>\n<td valign=top align=left height=23 background=' '><font face=verdana size=3 color=#FBE708><b>" + tempText2 + "<b></font></td>\n</tr>\n<tr>\n<td background=' ' align=left height=34><font face=verdana size=2 color=#000000><b>"+tempText3+"</b></font></td>\n</tr></table></td></tr></table>\n</layer>\n</layer>";
					}	
					if (num == categories[parent.categoryName].ImgPerRow)
						num = 0 ;
				}
				else
				{
					var NumOfCopies = 0;
					while (NumOfCopies != parent.copies[i])
					{
						if ((categories[parent.categoryName].ImgPerRow == 1) || (num == 1))
						{
							WidthOfDiv = 0;
							CheckPageSize(numTotal,num);	
						}	
						else
							WidthOfDiv = WidthOfDiv + categories[parent.categoryName].DivWidth;
											
						if (navigator.appName != 'Netscape')
						{
							temp += "\n<DIV style='position:absolute; top:"+hightOfDiv+"px; left:"+WidthOfDiv+"px'>\n<img src='"+categories[parent.categoryName].FolderName+"/"+i+".gif' border=0 width=330 height=179>\n";
							temp += "\n<DIV style='position:absolute;top:0px;left:0px;'>\n<form name=cardsForm" + i + "><table cellspacing='0' cellpadding='0' border=0><tr><td background='"+categories[parent.categoryName].FolderName+"/"+i+".gif'><table width=525 height=187 border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=92 background=''>&nbsp;</td></tr>\n<tr>\n<td height=35 align=left background=''><INPUT TYPE='TEXT' readonly=true MAXLENGTH=30 size=30 name=t1_" + i + " value=\""+tempText1+"\" style='border-width:0;width:262px;font-family:verdana;font-size:20px;color:#FBE708;text-align:left;font-weight:bold;background-color:"+parent.IOUparams[i].bgNo1+"'></td>\n</tr>\n<tr>\n<td valign=top align=left height=23 background=''><input type='text' readonly=true value=\"" + tempText2 + "\" name=ta" + i + " style='border-width:0;width:262px;font-family:verdana;font-size:14px;text-align:left;font-weight:bold;color:#FBE708;background-color:"+parent.IOUparams[i].bgNo1+"'></td>\n</tr>\n<tr>\n<td background='' align=left height=35><INPUT TYPE='TEXT' readonly=true MAXLENGTH=55 size=40 name=t2_" + i + " value=\""+tempText3+"\" style='border-width:0;width:262px;font-family:verdana;font-size:12px;text-align:left;font-weight:bold;background-color:"+parent.IOUparams[i].bgNo2+"'></td>\n</tr></table></td></tr></table></form>\n</div>\n</div>";
						}
						else
						{
							temp += "\n<layer id="+i+" top="+hightOfDiv+"px left="+WidthOfDiv+"px z-index=1>\n<img src='"+categories[parent.categoryName].FolderName+"/"+i+".gif' border=0 width=330 height=179>\n";
							temp += "\n<layer id="+i+" top=0px left=0px z-index=2>\n<table cellspacing='0' cellpadding='0' border=0><tr><td background='"+categories[parent.categoryName].FolderName+"/"+i+".gif'><table width=525 height=187 border=0 cellpadding=0 cellspacing=0>\n<tr>\n<td height=92 background=' '>&nbsp;</td></tr>\n<tr>\n<td height=35 align=left background=' '><font face=verdana size=4 color=#FBE708><b>"+tempText1+"<b></font></td>\n</tr>\n<tr>\n<td valign=top align=left height=23 background=' '><font face=verdana size=3 color=#FBE708><b>" + tempText2 + "<b></font></td>\n</tr>\n<tr>\n<td background=' ' align=left height=34><font face=verdana size=2 color=#000000><b>"+tempText3+"</b></font></td>\n</tr></table></td></tr></table>\n</layer>\n</layer>";
						}	

						if (num == categories[parent.categoryName].ImgPerRow)
							num = 0 ;
					
						NumOfCopies++
						numTotal++;
						num++;
					}	
				}
			}	
			if(categories[parent.categoryName].EditPlace=="bottom")
			{		
				var hightOfDiv1 = categories[parent.categoryName].DivHeight - 102;
				var WidthOfDiv2 = categories[parent.categoryName].DivWidth - 10;						
					
				if (parent.copies[i] == "")
				{
					if ((categories[parent.categoryName].ImgPerRow == 1) || (num == 1))
					{
						WidthOfDiv = 0;
						CheckPageSize(numTotal,num);	
					}	
					else
						WidthOfDiv = WidthOfDiv + categories[parent.categoryName].DivWidth;
					if (navigator.appName != 'Netscape')
					{
						temp += "\n<DIV style='position:absolute;top:"+hightOfDiv+"px;left:"+WidthOfDiv+"px;'>\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' border=0 height="+(categories[parent.categoryName].DivHeight-10)+" width="+WidthOfDiv2+" alt='image"+i+"'>\n";
						temp += "\n<DIV style='position:absolute;top:"+hightOfDiv1+"px;left:0px;'><form name=f" + i + " id=f" + i + "><textarea WRAP='hard' rows=5 name=ta" + i + " readonly=true style='border-width:0;font-family:verdana;overflow:hidden;width:"+WidthOfDiv2+"px;font-size:14px;font-weight:bold;background-color:" +bgcolors[i]+ "'>" + parent.texts[i] + "</textarea>\n</form>\n</div>\n</div>";
					}
					else
					{
						temp += "\n<layer id="+i+" top="+hightOfDiv+"px left="+WidthOfDiv+"px>\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif'  border=0 width="+WidthOfDiv2+" height="+(categories[parent.categoryName].DivHeight-10)+" alt='image"+i+"'>\n";
						temp += "\n<layer id="+i+" top="+hightOfDiv1+"px left=0px><form name=f" + i + "><table border=0 cellpadding=0 cellspacing=0><tr><td><textarea name=ta" + i + " WRAP='hard' cols="+NumOfCols+" rows=4>" + parent.texts[i] + "</textarea></td></tr></table>\n</form>\n</layer>\n</layer>";
					}
					if (num == categories[parent.categoryName].ImgPerRow)
						num = 0 ;						
				}
				else
				{
					var NumOfCopies = 0;
					while (NumOfCopies != parent.copies[i])
					{
						if ((categories[parent.categoryName].ImgPerRow == 1) || (num == 1))
						{
							WidthOfDiv = 0;
							CheckPageSize(numTotal,num);	
						}	
						else
							WidthOfDiv = WidthOfDiv + categories[parent.categoryName].DivWidth;

						if (navigator.appName != 'Netscape')
						{
							temp += "\n<DIV style='position:absolute;top:"+hightOfDiv+"px;left:"+WidthOfDiv+"px;'>\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif' border=0 height="+(categories[parent.categoryName].DivHeight-10)+" width="+WidthOfDiv2+" alt='image"+i+"'>\n";
							temp += "\n<DIV style='position:absolute;top:"+hightOfDiv1+"px;left:0px;'><form name=f" + i + " id=f" + i + "><textarea WRAP='hard' rows=5 name=ta" + i + " readonly=true style='border-width:0;font-family:verdana;overflow:hidden;width:"+WidthOfDiv2+"px;font-size:14px;font-weight:bold;background-color:" +bgcolors[i]+ "'>" + parent.texts[i] + "</textarea>\n</form>\n</div>\n</div>";
						}
						else
						{
							temp += "\n<layer id="+i+" top="+hightOfDiv+"px left="+WidthOfDiv+"px>\n<img src='"+categories[parent.categoryName].FolderName+"/" + i + "s.gif'  border=0 width="+WidthOfDiv2+" height="+(categories[parent.categoryName].DivHeight-10)+" alt='image"+i+"'>\n";
							temp += "\n<layer id="+i+" top="+hightOfDiv1+"px left=0px><form name=f" + i + "><table border=0 cellpadding=0 cellspacing=0><tr><td><textarea name=ta" + i + " WRAP='hard' cols="+NumOfCols+" rows=4>" + parent.texts[i] + "</textarea></td></tr></table>\n</form>\n</layer>\n</layer>";
						}

						if (num == categories[parent.categoryName].ImgPerRow)
							num = 0 ;						

						NumOfCopies++
						numTotal++;
						num++;
					}
				}
			}	
			if (parent.copies[i] == "")
			{
				num++;
				numTotal++;
			}	

		}		
	}	
	temp += "</BODY></html>";
		main.document.open();
		main.document.write(temp);
		main.document.close()
}
	var results = "Start"
	function GetResults()
	{
		if(results == "Start")
			return("")					
		if(results == "")
		{
			res = "<tr><td>&nbsp;</td><td valign=top align=center bgcolor='#4C77CD'><font face=verdana Size=5 color='#ffffff'><br><br><br>" + "Key word not found" +	"</font></td></tr></table>"
			res = res + "\n<table border=0 cellspacing='0' cellpadding='0' height='100%' width='100%' bgcolor='#4C77CD'>\n<tr>\n<td width='10%' bgcolor='#3C3D48'>&nbsp;</td>\n<td width=80%>&nbsp;</td>\n<td width=10% bgcolor='#3C3D48'>&nbsp;</td></tr>\n</table>"; 		
		}
		else
		{
			res = results		
		}
		return res	  	  
	}					

	function Search(word)
	{
		num = 1;
		results = "";
		findcounter=0;
		for(i=0; i<numCategories; i++)
		{

				word = word.toUpperCase() 

				line2 = categories[i].note
				line2 = line2.toUpperCase()
				find2 = line2.indexOf (word)
				if (find2 >= 0)	 
				{
					for (j=0;j<numMenus;j++) { for (k=0;k<10;k++) { if (LeftMenu[j][k]==i) { MenuSec=j; break; } } }
					results = results + "\n<tr>\n<td height=47>&nbsp;</td>\n<td bgcolor='#4C77CD' align=left valign=bottom height=47><hr size='1' color='#7296DA'>&nbsp;&nbsp;<a href='javascript:parent.parent.SetParam("+i+","+MenuSec+")'><img src='images/search/"+i+".gif' align=absmiddle border=0></a>&nbsp;&nbsp;<font color=white>"+num+".</font>&nbsp;<a href='javascript:parent.parent.SetParam("+i+","+MenuSec+")'>"+categories[i].Name+"</a></td>\n</tr>"
					num++;
				}				
 			}
        if(results!="")
		{
		  results = results + "\n</table>"; 		
		  results = results + "\n<table border=0 cellspacing='0' cellpadding='0' height='100%' width='100%' bgcolor='#4C77CD'>\n<tr>\n<td width='10%' bgcolor='#3C3D48'>&nbsp;</td>\n<td width=80%>&nbsp;</td>\n<td width='10%' bgcolor='#3C3D48'>&nbsp;</td></tr>\n</table>"; 		
		}
		main.mainMenu.location.href= "Search.htm"
	}
function overButt(num)
{
 if (num != parent.currentPress )  
 {
 	for(i=0; i<LeftMenu[parent.CategoryMenu].length ; i++)
 	{
 		TempStr = LeftMenu[parent.CategoryMenu][i];		
 		if (TempStr == num )
 		{
		  if (TempStr == 25 )	
		   	eval("main.left.document.ImgBut"+i+".src=buttTextO.src");
		  else 	
		   	eval("main.left.document.ImgBut"+i+".src=buttO.src");
		}
	}
	}
}
function outButt(num)
{
 if (num != parent.currentPress )  
 {
 	for(i=0; i<LeftMenu[parent.CategoryMenu].length ; i++)
 	{
 		TempStr = LeftMenu[parent.CategoryMenu][i];		
 		if (TempStr == num )
 		{
		  if (TempStr == 25 )	
	 		  eval("main.left.document.ImgBut"+i+".src=buttText.src");
		  else	  
	 		  eval("main.left.document.ImgBut"+i+".src=butt.src");
		 }
	}
 }
}
function clickButt(num)
{	
 	for(i=0; i<LeftMenu[parent.CategoryMenu].length ; i++)
 	{
 		TempStr = LeftMenu[parent.CategoryMenu][i];		
		if (TempStr == parent.prevPress)
		{
		  if (TempStr == 25 )	
			eval("main.left.document.ImgBut"+i+".src=buttText.src");
		  else	
			eval("main.left.document.ImgBut"+i+".src=butt.src");
		  
		  	if (navigator.appName != 'Netscape')
		 	 eval("main.left.fontCat"+i+".style.color = 'white'");
		}	
 		if (TempStr == num )
 		{
		  if (TempStr == 25 )	
 			  eval("main.left.document.images.ImgBut"+i+".src=buttTextP.src");
		  else
 			  eval("main.left.document.images.ImgBut"+i+".src=buttP.src");
		  
		  if (navigator.appName != 'Netscape')
		 	 eval("main.left.fontCat"+i+".style.color = '#FFFF00'");
 		 }
	}
  parent.prevPress = parent.currentPress ;
}
function showPress()
{
	for(i=0; i<LeftMenu[parent.CategoryMenu].length ; i++)
	{
		TempStr = LeftMenu[parent.CategoryMenu][i];		
		if (TempStr == parent.currentPress )
		{
		  if (TempStr==25)	
		  	eval("main.left.document.images.ImgBut"+i+".src=buttTextP.src");
		  else	
		    eval("main.left.document.images.ImgBut"+i+".src=buttP.src");
		  if (navigator.appName != 'Netscape')
		   	 eval("main.left.fontCat"+i+".style.color = '#FFFF00'");
		}
	}	
	parent.prevPress = parent.currentPress ;
}

function PrintingProblems()
{
  //theLink = '/kiddonet/supportMenu/gtmailSupport/index.pl?referer=printables';
  //theLink = 'http://www.fixray.com/kiddonet_root/19/client/';
  theLink = "http://sy.fixray.com/kn-client/client2.htm";

  window.open(theLink,'printingProblemsWin','scrollbars=auto,resizable,left=10,top=10,width=800,height=600');
}
