//$(document).ready(function() {
//    $("input#searchBox").autocomplete({
//         minLength: 3,
//        source: [
//            "Charmalicious: Valentine", "A Guy Thing", "Haunted Twilight", "Winter Dreams", "Medium Tear", "Fabric", "Frayed Fabric", "Rub On", "Heavy Ink", "Burnt Edges", "Stained Wood", "Linen Texture", "Sparkle", "Painted Metal", "Sanded Edge", "Colored Glass", "Gemstone", "Cross Stitch", "Stitching", "Light Crumple", "Cutout", "Sketched and Painted", "Tissue", "Hand Stitching", "Chalk Heavy", "Burnished Silver", "Torn Cardboard", "Transparency", "Distressed Edge", "Torn & Printed Cardboard", "Pristine Chipboard", "Chalked Edges", "Small Torn Edges", "Inked Edges", "Silver", "Pine", "Painted Wood", "Wild Tear", "Glass", "Chipped Paint on Metal", "Bare Chipboard", "Curve Templates", "Template Bow 1", "Knot Template 1", "Fabric Flower Template", "Fly High", "Pencil Sketch Edge", "Molded Plastic", "Warmest Wishes", "Deliriously Yours", "Painted Cardboard", "Label Holder", "Puppy Love", "Fries With That?", "Baby of Mine", "Road Trip", "Eggzhileration", "Showtime", "Happy Campers", "Office Scraps", "Serendipity", "Charmalicious: Summer", "Skool Daze", "Gridiron Dreams", "Charmalicious: Autumn", "Autumn Reverie", "Charmalicious: Halloween", "Thankful for Pie", "Xavier", "Charmalicious: Winter", "Joy", "April Breeze", "Hot Rod", "Kiersten", "Kaylee", "Princess", "Treat", "Cozy", "Rockabye", "Sugar Rush", "DecoCut: Scallop Dot", "Tooled Leather", "Lace Template", "Cast Pewter", "Burnt Wood", "Knitted Fabric Texture - Stockinette", "Distressed Edge 2", "Glitter Edge", "Clips", "Acrylic", "Double Decker Fabric Flower", "Pretty Shapes", "DecoCut: Stamp", "DecoCut: Scallop (Big and Small)", "Pressed Tin", "Fiber Rope", "Wrought Iron", "Embossed Acrylic", "Beads and Chains", "Bookplates", "Painted Pressed Tin", "Puffy Felt", "Halloween Shapes", "Scratched Up Texture", "Crayon Drawing", "Barely Stamped", "Flower 3", "Carved Gold", "Handmade Paper", "Sprayed Ink Edge", "Carved Pine", "Forest Shapes", "DecoCut Jagged", "Embossed Foil", "Tight Stitching", "Tinsel Edge", "Wooden Toy", "Cast Copper", "Flower Shapes A", "Flower Shapes B", "Googly Eyes Set", "Flower 4", "Flower 5", "Inked Edges 2", "Flower 6", "Twill", "Satin Stitch", "Kraft Cutout", "Antique Bronze", "Acrylic Button", "Puffy Paint Edge", "Brushed Nickel", "Glossy Molded Plastic", "Distressed Cutout", "Crackle Glaze", "Lightly Inked", "Butterfly", "Shimmer", "Flower A", "Bead Chain", "Shiny Brad", "Grunge Stamp", "Wet Stamp", "Scribble Fill", "Dazzle", "Alcohol Inks", "Colored Acrylic", "Enameled Silver", "Bulldog Clip", "Distressed Tear", "Shiny Square Brad", "Printed Chipboard", "Ribbon Pleaters", "Bubble Clip", "Loose Glitter", "Ceramic Glaze", "DecoCut: Cutesy Scallop", "Puffy Plastic", "Stained Carving", "Flower B", "Cast Copper Verdigris", "Misty Ink", "Fabric Brad", "Antique Glass", "Floss Stitch", "Bow Maker", "Knot Maker", "Big Glitter Edge", "Sanded Chipboard", "Cast Zinc", "Marker", "Metal Badges", "Smudgy Inked Edge", "Acrylic Paint Stamp", "Distressed Edge 3", "Chipped Painted Tin", "Carved Amber", "Spring Shapes", "Flower 7", "Hammered Silver", "Enameled Gold", "Hammered Gold", "Pretty Shapes 2", "Tapestry", "Brushed Stamp", "Ruffled Edge", "Letterpress Wood Block", "Stone Carving", "Watercolor Fill", "Cracked Chipboard", "Simple Gloss", "Rusty Cast Iron"
//   ]
//     });   
//});
  
function setSearchDest()
{
    if (document.getElementById("action").checked)
        document.getElementById("Search").action="http://atomiccupcake.com/photoshop-actions/";
    else 
        document.getElementById("Search").action="http://atomiccupcake.com/digital-kits/";
}


