if(typeof window['__dsns_'] == 'undefined') window['__dsns_'] = {};
(function() {
var ds_namespace = '__dsns_', ds_plugin_name = 'KSTP_WidgetsV2';
window[ds_plugin_name] = function() {
	var Keywords = '50 Cent,Adam Putnam,Adam Sandler,Adam Schiff,Adam Smith,Afton,Aishwarya Rai,Akon,Al Franken,Al Green,Alan Jackson,Alanis Morissette,Albany,Albertville,Alec Baldwin,Alexandria,Alfred Hitchcock,Alice Cooper,Alicia Keys,Alison Krauss,Alyssa Milano,Amery,Amy Klobuchar,Amy Winehouse,Anderson Cooper,Andover,Andre Carson,Andy Griffith,Andy Williams,Angelina Jolie,Anna Eshoo,Anna Nicole Smith,Annandale,Anoka,Anthony Hamilton,Anthony Williams,Antonio Banderas,Apple Valley,Aretha Franklin,Arlen Specter,Arnold Schwarzenegger,Art Barron,Artur Davis,Ashlee Simpson,Ashley Judd,Ashley Tisdale,Ashton Kutcher,Audrey Hepburn,Avon,Avril Lavigne,Babyface,Baldwin,Bam Margera,Barack Obama,Barbara Boxer,Barbara Lee,Barbara Mikulski,Barney Frank,Barry Manilow,Bart Gordon,Baseball,Basketball,Bay City,Bay Scroggins,Bayport,Becker,Beldenville,Belgrade,Belle Plaine,Ben Harper,Ben Nelson,Ben Stiller,Bennie Thompson,Bethel,Bette Midler,Betty McCollum,Betty Sutton,Beverly Perdue,Beyonce Knowles,Big Lake,Bill Cosby,Bill Foster,Bill Lunn,Bill Maher,Bill Nelson,Bill Richardson,Bill Ritter,Bill Young,Billie Holiday,Billy Idol,Billy Joel,Billy Ray Cyrus,Birdman,Bjork,Blake Shelton,Blanche Lincoln,Bloomington,Bob Brady,Bob Casey,Bob Corker,Bob Dylan,Bob Filner,Bob Fletcher,Bob Goodlatte,Bob Marley,Bob McNaney,Bob Riley,Bob Seger,Bobby Bright,Bobby Brown,Bobby Jindal,Bobby Rush,Bobby Scott,Bow Wow,Bowling,Boxing,Brad Ellsworth,Brad Henry,Brad Miller,Brad Paisley,Brad Pitt,Brad Sattin,Braham,Brainerd,Bret Michaels,Brian Schweitzer,Britney Spears,Brooke Burke,Brooklyn Park,Bruce Lee,Bruce Springsteen,Buddy Holly,Buffalo,Burnsville,Busta Rhymes,Byron Dorgan,Cambridge,Cameron Diaz,Candice Miller,Cannon Falls,Carl Levin,Carlos Gutierrez,Carlos Santana,Carrie Underwood,Carver,Cassie,Cedar,Celine Dion,Center City,Champlin,Chanhassen,Channing Tatum,Charles Manson,Charlie Brown,Charlie Chaplin,Charlie Crist,Charlie Rangel,Charlie Sheen,Charlie Wilson,Charlize Theron,Chaska,Chellie Pingree,Chet Culver,Chevy Chase,Chikage Windler ,Chris Botti,Chris Brown,Chris Cole,Chris Coleman,Chris Cornell,Chris Dodd,Chris Gregoire,Chris Keating,Chris Lee,Chris Long,Chris Murphy,Chris Rock,Chris Smith,Chris Van Hollen,Christian Bale,Christie Brinkley,Christina Aguilera,Chuck Berry,Chuck Grassley,Chuck Norris,Chuck Schumer,Ciara,Circle Pines,Claire McCaskill,Clay Aiken,Clayton,Clear Lake,Clearwater,Clint Eastwood,Colbie Caillat,Cold Spring,Colleen Mahoney,Collegeville,Collin Peterson,Cologne,Condoleezza Rice,Connie Mack,Coon Rapids,Cottage Grove,Courtney Love,Craig Ferguson,Cricket,Crystal,Crystal Bay,Cushing,Cycling,Cyndy Brucato,Cynthia Lummis,Daddy Yankee,Dakota Fanning,Dan Boren,Dan Burton,Dana Rohrabacher,Dane Cook,Daniel Inouye,Darius Rucker,Darrell Issa,Dave Dahl,Dave Matthews,Dave Senjem,David Archuleta,David Beckham,David Bowie,David Foster,David Letterman,David Price,David Robinson,David Scott,David Vitter,Dayton,Dean Heller,Dean Martin,Debbie Stabenow,Deer Park,Delano,Demi Moore,Denise Richards,Dennis Kucinich,Dennis Quaid,Dennis Rodman,Dennison,Denzel Washington,Deval Patrick,Diana Ross,Diane Lane,Dianne Feinstein,Dick Cheney,Dick Durbin,Dick Van Dyke,Diddy,Dido,Dinah Shore,DMX,Dolly Parton,Don Young,Donna Edwards,Donna Karan,Doris Day,Doug Lamborn,Dr. Dre,Dresser,Drew Barrymore,Drew Carey,Duke Ellington,Duncan Hunter,Dutch Ruppersberger,Eagan,Earl Pomeroy,Ed Perlmutter,Ed Rendell,Eddie Murphy,Eden Prairie,Edina,Edolphus Towns,Elaine Chao,Elijah Cummings,Elizabeth Dole,Elizabeth Hurley,Elizabeth Taylor,Elk River,Elko,Ella Fitzgerald,Elle MacPherson,Ellen DeGeneres,Ellen Tauscher,Ellsworth,Elmwood,Elton John,Elvis Presley,Eminem,Emma Watson,Eric Cantor,Eric Clapton,Erik Paulsen,Etta James,Eva Longoria,Eva Mendes,Evan Bayh,Excelsior,Faith Hill,Faribault,Farmington,Fergie,Foley,Football,Forest Lake,Frank Lautenberg,Frank Lucas,Frank Sinatra,Fred Thompson,Frederic,Freeport,Fridley,Garth Brooks,Gary Miller,Gene Autry,Gene Taylor,Gene Winstead,George Bush,George Clooney,George Harrison,George Jones,George Lopez,George Michael,George Miller,George Strait,Gerard Butler,Gilman,Glenwood City,Gloria Estefan,Golden Valley,Golf,Goodhue,Grace Kelly,Greenwald,Greg Walden,Gregory Meeks,Gucci Mane,Gwen Stefani,Gwyneth Paltrow,Gymnastics,Hager City,Haley Barbour,Halle Berry,Hamburg,Hamel,Hammond,Hampton,Hank Williams,Hanover,Harold Ford,Harris,Harrison Ford,Harry Reid,Hastings,Hayden Panettiere,Heath Ledger,Heath Shuler,Heidi Klum,Henry Waxman,Hilary Duff,Hilda Solis,Hillary Clinton,Hockey,Hopkins,Howard Stern,Hudson,Hugh Jackman,Hugo,Hulk Hogan,Hutchinson,Ice Cube,Ike Skelton,Inver Grove Heights,Isanti,Jack Benny,Jack Black,Jack Johnson,Jack Kevorkian,Jack Kingston,Jack Markell,Jack Nicholson,Jack Reed,Jackson Browne,James Brown,James Dean,James Franco,James Moran,James Oberstar,James Taylor,Jamie Foxx,Jane Harman,Janet Jackson,Janet Napolitano,Janis Joplin,Jared Polis,Jason Aldean,Jason Davis,Jason Mraz,Jay Leno,Jay Nixon,Jay Rockefeller,Jay-Z,Jeanne Shaheen,Jeff Miller,Jeff Sessions,Jennifer Aniston,Jennifer Garner,Jennifer Granholm,Jennifer Griswold,Jennifer Hudson,Jennifer Lopez,Jennifer Love Hewitt,Jerry Costello,Jerry Lewis,Jerry Moran,Jerry Springer,Jesse Jackson,Jessica Alba,Jessica Biel,Jessica Miles,Jessica Simpson,Jill Scott,Jim Bunning,Jim Carrey,Jim Cooper,Jim Doyle,Jim Gibbons,Jim Himes,Jim Jones,Jim Kelly,Jim Morrison,Jim Webb,Jimi Hendrix,Jimmy Buffett,Jimmy Fallon,Jimmy Kimmel,Joan Baez,Joan Collins,Joan Crawford,Joan Jett,Joaquin Phoenix,Jodie Foster,Joe Biden,Joe Manchin,Joe Mazan,Joe Schmit,Joe Sestak,Joe Wilson,John Baldacci,John Boehner,John Campbell,John Conyers,John Cornyn,John Denver,John Dingell,John Edwards,John Hall,John Harrington,John Kerry,John Kline,John Larson,John Legend,John Lennon,John Lynch,John Mayer,John McCain,John Peterson,John Russell,John Sullivan,John Tanner,John Tierney,John Travolta,John Warner,John Wayne,Johnny Carson,Johnny Cash,Johnny Depp,Johnny Isakson,JoJo,Jon Kyl,Jon Stewart,Jordan,Jordin Sparks,Josh Groban,Josh Simeone,Judge Judy,Judy Garland,Julia Roberts,Justin Timberlake,Kanye West,Karate,Kate Beckinsale,Kate Hudson,Kate Moss,Kate Winslet,Katharine McPhee,Katherine Heigl,Kathleen Sebelius,Kathy Griffin,Katie Couric,Katie Holmes,Kay Granger,Kay Hagan,Keira Knightley,Keith Ellison,Keith Urban,Kellie Pickler,Kelly Clarkson,Kelly Ripa,Ken Salazar,Kendrick Meek,Kenny Chesney,Kenny G,Kenny Rogers,Kenyon,Kevin Costner,Kevin McCarthy,Keyshia Cole,Kid Rock,Kim Kardashian,Kimball,Kirsten Gillibrand,Kit Bond,Kristen Stewart,Kurt Cobain,Kurt Zellers,Kylie Minogue,Lake Elmo,Lakeland,Lakeville,Lamar Alexander,Lamar Smith,Larry Pogemiller,Lauren Conrad,Leah McLean,LeAnn Rimes,Leonard Cohen,Leonardo DiCaprio,Lil Wayne,Lily Allen,Lindsay Lohan,Lindsey Graham,Lindstrom,Lino Lakes,Lionel Richie,Lisa Murkowski,LL Cool J,Lloyd Doggett,Long Lake,Loretta Sanchez,Loretto,Lori Swanson,Louis Armstrong,Lucille Ball,Luck,Ludacris,Lupe Fiasco,Madonna,Maggie Newland,Mandy Moore,Mankato,Maple Grove,Maplewood,Marc Anthony,Margaret Anderson Kelliher,Margaret Spellings,Maria Cantwell,Mariah Carey,Marie Osmond,Marilyn Monroe,Marine on Saint Croix,Mariska Hargitay,Mark Albert,Mark Begich,Mark Harmon,Mark Pryor,Mark Sanford,Mark Schauer,Mark Udall,Mark Warner,Marsha Blackburn,Marshall,Martina McBride,Marvin Gaye,Mary J. Blige,Mary Jo Kilroy,Mary Landrieu,Mary Tyler Moore,Matt Damon,Max Baucus,Maxine Waters,Mayer,Mazie Hirono,Megan Fox,Megan Newquist,Mel Gibson,Mel Martinez,Melrose,Mendota,Merle Haggard,Meryl Streep,Michael Buble,Michael Chertoff,Michael Douglas,Michael J. Fox,Michael Jackson,Michele Bachmann,Michelle Williams,Mickey Rourke,Mike Beebe,Mike Crapo,Mike Doyle,Mike Huckabee,Mike Pence,Mike Rogers,Mike Ross,Mike Simpson,Mike Thompson,Mila Kunis,Miley Cyrus,Minneapolis,Minnetonka,Miranda Lambert,Mitch Daniels,Mitch McConnell,Mitt Romney,Montevideo,Monticello,Montrose,Morgan Freeman,Morristown,Mound,Nancy Pelosi,Naomi Campbell,Natalie Portman,Natasha Bedingfield,Navarre,Neil Diamond,Neil Young,Nelly,Nerstrand,New Brighton,New Market,New Prague,New Richmond,Newport,Ne-Yo,Nicole Kidman,Nicole Richie,Nita Lowey,Norm Coleman,Norm Dicks,North Branch,Northfield,Norwood,Oak Park,Olympia Snowe,Oprah Winfrey,Orlando Bloom,Orrin Hatch,Osceola,Osseo,Ozzy Osbourne,Pamela Anderson,Paris Hilton,Pat Roberts,Patrick Hammer,Patrick Leahy,Patrick Murphy,Patrick Swayze,Patti LaBelle,Patty Murray,Paul Davis,Paul Hodes,Paul McCartney,Paul Newman,Paul Ryan,Paul Simon,Paul Smith,Paula Abdul,Paynesville,Penelope Cruz,Perry Como,Pete Sessions,Pete Stark,Peter Welch,Phil Collins,Pine Island,Plato,Plymouth,Prescott,Prior Lake,Queen Latifah,R. Kelly,R.T. Rybak,Rahm Emanuel,Randolph,Randy Forbes,Randy Jackson,Randy Travis,Raul Grijalva,Ray Charles,Ray LaMontagne,Reba McEntire,Rebekah Wood,Red Skelton,Red Wing,Reese Witherspoon,Rice,Rich Stanek,Richard Burr,Richard Gere,Richard Shelby,Richfield,Richmond,Rick Larsen,Rick Perry,Rick Ross,Ricky Martin,River Falls,Robert Byrd,Robert Moses,Roberts,Robin Thicke,Robin Williams,Rockford,Rockville,Rod Blagojevich,Rod Stewart,Rodeo,Rogers,Ron Howard,Ron Paul,Ron Wyden,Ronald Reagan,Roscoe,Rosemount,Roseville,Roy Orbison,Roy Rogers,Rudy Giuliani,Rugby,Russ Feingold,Rusty Gatenby,Ryan Reynolds,Ryan Seacrest,Sade,Saint Cloud,Saint Joseph,Saint Paul,Salma Hayek,Salvador Dali,Sam Graves,Samuel L. Jackson,Sandra Bullock,Santiago,Sara Evans,Sarah Jessica Parker,Sarah McLachlan,Sarah Palin,Sarah Silverman,Sartell,Sauk Rapids,Savage,Saxby Chambliss,Scandia,Scarlett Johansson,Sean Connery,Sean Penn,Selena,Seth Rogen,Shafer,Shaggy,Shakira,Shakopee,Shania Twain,Shaquille O\'Neal,Sharon Stone,Sherrod Brown,Sheryl Crow,Shirley Temple,Shoreview,Silver Creek,Silver Lake,Silvestre Reyes,Simon Cowell,Skiing,Snoop Dogg,Snowboarding,Soccer,Softball,Somerset,Sonny Perdue,Sophia Loren,Spring Valley,St Louis Park,Stacy,Stanchfield,Stephen Lynch,Steve Cohen,Steve Harvey,Steve King,Steve Latourette,Steve Miller,Steve Perry,Steve Shaw,Steve Young,Stevie Wonder,Stewart,Stillwater,Sue Myrick,Susan Collins,Susan Lucci,Susanna Song,Taylor Hicks,Taylor Swift,Taylors Falls,Ted Kennedy,Ted Poe,Ted Stevens,Ted Strickland,Tennis,Thalia,Tiger Woods,Tim Bishop,Tim Burton,Tim Dolan,Tim Johnson,Tim Mahoney,Tim McGraw,Tim Pawlenty,Tim Ryan,Tim Sherno,Tim Walz,Tina Turner,Toby Keith,Tom Coburn,Tom Cruise,Tom Green,Tom Hanks,Tom Harkin,Tom Hauser,Tom Jones,Tom Petty,Tom Price,Tommy Lee,T-Pain,Trace Adkins,Trent Lott,Trey Songz,Ty Pennington,Tyler Perry,Tyra Banks,Usher,Van Morrison,Vermillion,Victoria,Vin Diesel,Vince Gill,Vineeta Sawkar,Virginia Foxx,Volleyball,Waconia,Waite Park,Walter Jones,Walter Reed,Warsaw,Watertown,Waverly,Wayzata,Webster,Welch,Wendy Williams,West St Paul,White Bear Lake,Whitney Houston,Will Ferrell,Will Smith,Willmar,Wilson,Woodbury,Woodville,Woody Allen,Wrestling,Wyoming,Young America,Young Jeezy,Zac Efron,Zimmerman,Zumbrota,'.split(','); var qsHTML = '<div class="dsnsqs">\n  <div class="title">\n    <div class="text">Advanced Search</div>\n    <div class="close">&times;</div><i></i>\n  </div>\n  <form action="http://search.kstp.com">\n    <input type="hidden" name="ct" value="r" />\n    <label for="qscat_\{id\}">Category</label><select id="qscat_\{id\}" rel="20198">\n      <option value="">( any category )</option>\n      <!--<option value="89000013">Local &amp; Regional</option>\n      <option value="20249789">YouNews</option>\n      <option value="89000010">National &amp; World</option>\n      <option value="20249325">Entertainment</option>\n      <option value="89000038">Business</option>\n      <option value="20249732">Sports</option>\n      <option value="89000015">Offbeat</option>\n      <option value="89000026">Technology</option>\n      <option value="90000049">Health</option>\n      <option value="89000017">Consumer</option>\n      <option value="20249757">Weather</option>\n      <option value="20249745">Traffic</option>\n      <option value="90000010">Economy</option>\n      <option value="20249604">Blogs</option>-->\n    </select><i></i>\n    <label for="qsfeat_\{id\}">When</label><select id="qsdate_\{id\}" rel="r.STRDAT">\n      <option value="">( anytime )</option>\n      <option value="0">Today</option>\n      <option value="7">Past 7 Days</option>\n      <option value="30">Past 30 Days</option>\n      <option value="365">Past 12 Months</option>\n    </select><i></i>\n    <label for="qscity_\{id\}">City</label><select id="qscity_\{id\}" rel="361">\n      <option value="">( any city )</option>\n      <!--<option value="106764" rel="639">Seattle</option>\n      <option value="99958" rel="653">Olympia</option>\n      <option value="110075" rel="202">Tacoma</option>\n      <option value="83672" rel="650">Everett</option>\n      <option value="107900" rel="650">Snohomish</option>\n      <option value="74149" rel="639">Bellevue</option>\n      <option value="91173" rel="639">Kirkland</option>\n      <option value="103621" rel="639">Redmond</option>-->\n    </select><i></i>\n    <label for="qscnty_\{id\}">County</label><select id="qscnty_\{id\}" rel="6">\n      <option value="">( any county )</option>\n      <!--<option value="639">King</option>\n      <option value="202">Pierce</option>\n      <option value="653">Thurston</option>\n      <option value="650">Snohomish</option>\n      <option value="640">Kitsap</option>\n      <option value="656">Whatcom</option>\n      <option value="648">Skagit</option>-->\n    </select><i></i>\n    <label for="qstext">Keywords</label><input class="qstext" name="q" /><i></i>\n    <input type="submit" class="normalbutton" value="Search" /><i></i>\n  </form>\n</div>'; var lfHTML = '<div class="dsnsTemplate" id="dsnsLatestNews">\n<pre><!--\n<div id="dsnsLatestNews" class="dsnsNewsWidget">\n\t<div\tclass="title"><h2>Where You Live</h2></div>\n<div><a\tclass="pickcommunity"\thref="#pickcommunity">CHANGE</a></div>\n\t<h3>Latest News</h3>\n\t<div class="stories">\n\t\t<ul>\n\t\t\t<li class="first">\n\t\t\t <h4><a href="first_community_link?utm_base=communitylink">first_community_name</a></h4>\n\t\t\t\t<a href="first_link?utm_base=storythumbnail"><img class="localimg" src="first_image" alt="first_title" /></a>\n\t\t\t\t\n\t\t\t\t<h5><a href="first_link?utm_base=storylink">first_title</a></h5>\n\t\t\t\t<i class="clear"></i></li>\n\t\t\t<li class="second">\n\t\t\t\t<h4><a href="second_community_link?utm_base=communitylink">second_community_name</a></h4>\n\t\t\t\t<h5><a href="second_link?utm_base=storylink">second_title</a></h5>\n\t\t\t</li>\n\t\t\t<li class="third">\n\t\t\t\t<h4><a href="third_community_link?utm_base=communitylink">third_community_name</a></h4>\n\t\t\t\t<h5><a href="third_link?utm_base=storylink">third_title</a></h5>\n\t\t\t</li>\n\t\t</ul>\n\t</div>\n\t\n\t<div class="links">\n\t\t<ul>\n\t\t\t<li><a class="morenews" title="morenews" href="http://search.kstp.com">More News</a></li> | \n<li class="email"><a class="morenews email" href="#">Newsletter Sign Up</a></li>\n\t\t</ul>\n\t</div>\n\t<div class="choose">\n\t\t<a href="#pickcommunity">Choose Where You Live</a>\n\t</div>\n\t<div class="bottom"></div>\n</div>\n--></pre></div>\n<div class="dsnsTemplate" id="dsnsCommunityNews"><pre><!--\n<div id="dsnsCommunityNews" class="dsnsNewsWidget">\n\t<div class="title">\n\t\t<h2>Where You Live</h2></div>\n<div><a\tclass="pickcommunity"\thref="#pickcommunity">CHANGE</a></div>\n\t<h3><a class="community" href="community_link?utm_base=communityname">community_name</a></h3>\n\t<div class="stories">\n\t\t<ul>\n\t\t\t<li\tclass="first"><a\thref="first_link?utm_base=storythumbnail"><img\tclass="localimg"\tsrc="first_image"\t\t alt="first_title"\t/></a><a\thref="first_link?utm_base=storylink">first_title</a><i\tclass="clear"></i></li>\n\t\t\t<li class="second"><a href="second_link?utm_base=storylink">second_title</a></li>\n\t\t\t<li class="third"><a href="third_link?utm_base=storylink">third_title</a></li>\n\t\t\t<li class="fourth"><a href="fourth_link?utm_base=storylink">fourth_title</a></li>\n\t\t\t<li class="fifth"><a href="fifth_link?utm_base=storylink">fifth_title</a></li>\n\t\t</ul>\n\t</div>\n\t<div class="links">\n\t\t<ul>\n\t\t\t<li><a\tclass="morenews" title="morenews"\thref="community_link?utm_content=morenewslink">More News</a></li> | \n<li class="email"><a class="morenews email" href="#">Newsletter Sign Up</a></li> | \n\t\t\t<li><a\ttitle="businessdirectory"\tclass="morenews\tbizdir"\thref="community_link/business-directory?utm_content=businessdirectorylink">Business\tDirectory</a></li>\n\t\t</ul>\n\t</div>\n\t<div class="sponsor">\n\t</div>\n\t<div class="bottom"></div>\n</div>\n--></pre></div>\n<div class="dsnsTemplate" id="dsnsCommunitySponsor"><pre><!--\n\t<a href="sponsor_link?utm_base=sponsorthumb"><img src="sponsor_img" /></a>\n\t<div class="text">\n\t\t<span>Community Sponsor</span><br/>\n\t\t<a class="name" href="sponsor_link?utm_base=sponsorlink">sponsor_title</a><br/>\n\t\t<a class="coupon" href="coupon_link&utm_base=couponlink"><span></span>coupon_title</a>\n\t</div>\n\t<div style="clear:both;"></div>\n--></pre></div>\n<div class="dsnsTemplate" id="dsnsbizdir"><pre><!--\n\t<div class="head">\n\t\t <div\tclass="alldeals"><a\thref="http://biz.kstp.com/default.aspx?ct=r&type=ITYPE,offers">All\tDeals</a></div>\n\t</div>\n\t<div\tclass="title">Business\tDirectory</div><div\tclass="change"> | <a\thref="http://pickcommunity.kstp.com/#pickcommunity">Change\tCommunity</a></div>\n\t<div class="biglist">\n\t\t<div class="business business1">\n\t\t\t<div class="thumb"></div>\n\t\t\t<div class="right">\n\t\t\t\t<div class="name"></div>\n\t\t\t\t<div class="video"><span class="icon"></span><a href="#">Watch Video</a></div>\n\t\t\t\t<div class="coupon"><span class="text"></span></div>\n\t\t\t</div><i></i>\n\t\t</div>\n\t\t<div class="business business2">\n\t\t\t<div class="thumb"></div>\n\t\t\t<div class="right">\n\t\t\t\t<div class="name"></div>\n\t\t\t\t<div class="video"><span class="icon"></span><a href="#">Watch Video</a></div>\n\t\t\t\t<div class="coupon"><span class="text"></span></div>\n\t\t\t</div><i></i>\n\t\t</div>\n\t\t<div class="business business3">\n\t\t\t<div class="thumb"></div>\n\t\t\t<div class="right">\n\t\t\t\t<div class="name"></div>\n\t\t\t\t<div class="video"><span class="icon"></span><a href="#">Watch Video</a></div>\n\t\t\t\t<div class="coupon"><span class="text"></span></div>\n\t\t\t</div><i></i>\n\t\t</div>\n\t</div>\n\t<div class="smalllist">\n\t\t<div class="business business4">\n\t\t\t<div class="name"></div>\n\t\t\t<div class="coupon"></div>\n\t\t</div>\n\t\t<div class="business business5">\n\t\t\t<div class="name"></div>\n\t\t\t<div class="coupon"></div>\n\t\t</div>\n\t\t<div class="business business6">\n\t\t\t<div class="name"></div>\n\t\t\t<div class="coupon"></div>\n\t\t</div>\n\t</div>\n\t<div class="links">\n\t\t<a href="http://biz.kstp.com">Business Directory</a> |\n\t\t<a href="http://biz.kstp.com/default.aspx?ct=r&type=ITYPE,offers">All Deals</a> |\n\t\t<a href="http://biz.kstp.com/add-your-business">See your ad here</a>\n\t</div>\n\t--></pre></div>\n\n<div class="widget"></div>\n<div id="dsnsOverlay">&nbsp;</div>\n<div id="dsnsLfPopup" class="rounded">\n\t<div class="topHead">\n\t\t<div class="logo">kstp News</div>\n\t\t<h1>Customize your homepage with news from your neighborhood</h1>\n\t\t<div class="closeButton"><a href="#close">X</a></div>\n\t</div>\n\t<div class="mainHoodContent">\n\t\t<p class="introText">Click on your neighborhood and you\'ll get headlines from your community on this homepage every day!</p>\n\t\t<div class="comm-list">\n\t\t\t<div class="box">\n\t\t\t<!--\n\t\t\t\t<h3>&nbsp;</h3>\n\t\t\t\t<div class="column">\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li><a href="http://alexandria.kstp.com#alexandria">Alexandria</a></li>\n\t\t\t\t\t\t<li><a href="http://anoka-blaine-coonrapids.kstp.com#anoka-blaine-coonrapids">Anoka - Blaine - Coon Rapids</a></li>\n\t\t\t\t\t\t<li><a href="http://applevalley-rosemount.kstp.com#applevalley-rosemount">Apple Valley - Rosemount</a></li>\n\t\t\t\t\t\t<li><a href="http://bloomington.kstp.com#bloomington">Bloomington</a></li>\n\t\t\t\t\t\t<li><a href="http://brainerd-littlefalls.kstp.com#brainerd-littlefalls">Brainerd - Little Falls</a></li>\n\t\t\t\t\t\t<li><a href="http://brooklynpark-brooklyncenter.kstp.com#brooklynpark-brooklyncenter">Brooklyn Park - Brooklyn Center</a></li>\n\t\t\t\t\t\t<li><a href="http://buffalo-monticello-biglake.kstp.com#buffalo-monticello-biglake">Buffalo - Monticello - Big Lake</a></li>\n\t\t\t\t\t\t<li><a href="http://burnsville-lakeville-farmington.kstp.com#burnsville-lakeville-farmington">Burnsville - Lakeville - Farmington</a></li>\n\t\t\t\t\t\t<li><a href="http://camden.kstp.com#camden">Camden</a></li>\n\t\t\t\t\t\t<li><a href="http://chaska-chanhassen-waconia.kstp.com#chaska-chanhassen-waconia">Chaska - Chanhassen - Waconia</a></li>\n\t\t\t\t\t\t<li><a href="http://downtown.kstp.com#downtown">Downtown</a></li>\n\t\t\t\t\t\t<li><a href="http://downtown-westside.kstp.com#downtown-westside">Downtown - West Side</a></li>\n\t\t\t\t\t\t<li><a href="http://eagan.kstp.com#eagan">Eagan</a></li>\n\t\t\t\t\t\t<li><a href="http://eastside-downtown-westside.kstp.com#burnsville-lakeville-farmington">Eastside - Downtown St. Paul - Westside</a></li>\n\t\t\t\t\t\t<li><a href="http://eastside-downtown-westside.kstp.com#burnsville-lakeville-farmington">Eastside/Downtown/Westside</a></li>\n\t\t\t\t\t\t<li><a href="http://edenprairie.kstp.com#edenprairie">Eden Prairie</a></li>\n\t\t\t\t\t\t<li><a href="http://edina.kstp.com#edina">Edina</a></li>\n\t\t\t\t\t\t<li><a href="http://elkriver-rogers-stmichael.kstp.com#elkriver-rogers-stmichael">Elk River - Rogers - St. Michael</a></li>\n\t\t\t\t\t\t<li><a href="http://forestlake-hugo.kstp.com#forestlake-hugo">Forest Lake - Hugo</a></li>\n\t\t\t\t\t\t<li><a href="http://fridley-columbiaheights.kstp.com#fridley-columbiaheights">Fridley - Columbia Heights</a></li>\n\t\t\t\t\t\t<li><a href="http://goldenvalley.kstp.com#goldenvalley">Golden Valley</a></li>\n\t\t\t\t\t\t<li><a href="http://greatereastside.kstp.com#greatereastside">Greater Eastside</a></li>\n\t\t\t\t\t\t<li><a href="http://greaterminnesota.kstp.com#chaska-chanhassen-waconia">Greater Minnesota</a></li>\n\t\t\t\t\t\t<li><a href="http://hastings-cottagegrove.kstp.com#hastings-cottagegrove">Hastings - Cottage Grove</a></li>\n\t\t\t\t\t\t<li><a href="http://hopkins-stlouispark.kstp.com#hopkins-stlouispark">Hopkins - St. Louis Park</a></li>\n\t\t\t\t\t\t<li><a href="http://invergroveheights-southstpaul.kstp.com#invergroveheights-southstpaul">Inver Grove Heights - South St. Paul</a></li>\n\t\t\t\t\t\t<li><a href="http://isanticounty.kstp.com#isanticounty">Isanti County</a></li>\n\t\t\t\t\t\t<li><a href="http://lakeminnetonkaarea.kstp.com#lakeminnetonkaarea">Lake Minnetonka Area</a></li>\n\t\t\t\t\t\t<li><a href="http://linolakes-circlepines.kstp.com#linolakes-circlepines">Lino Lakes - Circle Pines</a></li>\n\t\t\t\t\t\t<li><a href="http://macgroveland-highlandpark.kstp.com#macgroveland-highlandpark">MacGroveland - Highland Park</a></li>\n\t\t\t\t\t\t<li><a href="http://mankatoarea.kstp.com#mankatoarea">Mankato Area</a></li>\n\t\t\t\t\t\t<li><a href="http://maplegrove-osseo.kstp.com#maplegrove-osseo">Maple Grove - Osseo</a></li>\n\t\t\t\t\t\t<li><a href="http://maplewood-oakdale-northstpaul.kstp.com#maplewood-oakdale-northstpaul">Maplewood - Oakdale - North St. Paul</a></li>\n\t\t\t\t\t\t<li><a href="http://marshall-redwoodfalls.kstp.com#marshall-redwoodfalls">Marshall - Redwood Falls</a></li>\n\t\t\t\t\t\t<li><a href="http://midway.kstp.com#midway">Midway</a></li>\n\t\t\t\t\t\t<li><a href="http://midway-stanthony-como.kstp.com#edenprairie">Midway - St. Anthony - Como</a></li>\n\t\t\t\t\t\t<li><a href="http://midway-stanthony-como.kstp.com#edenprairie">Midway/St. Anthony/Como</a></li>\n\t\t\t\t\t\t<li><a href="http://montevideo-granitefalls.kstp.com#montevideo-granitefalls">Montevideo - Granite Falls</a></li>\n\t\t\t\t\t\t<li><a href="http://newbrighton-moundsview.kstp.com#newbrighton-moundsview">New Brighton - Mounds View</a></li>\n\t\t\t\t\t\t<li><a href="http://newhope-robbinsdale-crystal.kstp.com#newhope-robbinsdale-crystal">New Hope - Robbinsdale - Crystal</a></li>\n\t\t\t\t\t\t<li><a href="http://northeast.kstp.com#northeast">Northeast</a></li>\n\t\t\t\t\t\t<li><a href="http://plymouth.kstp.com#plymouth">Plymouth</a></li>\n\t\t\t\t\t\t<li><a href="http://priorlake.kstp.com#priorlake">Prior Lake</a></li>\n\t\t\t\t\t\t<li><a href="http://ramsey-andover-stfrancis.kstp.com#ramsey-andover-stfrancis">Ramsey - Andover - St. Francis</a></li>\n\t\t\t\t\t\t<li><a href="http://richfield.kstp.com#richfield">Richfield</a></li>\n\t\t\t\t\t\t<li><a href="http://roseville-falconheights.kstp.com#roseville-falconheights">Roseville - Falcon Heights</a></li>\n\t\t\t\t\t\t<li><a href="http://shakopee-savage.kstp.com#shakopee-savage">Shakopee - Savage</a></li>\n\t\t\t\t\t\t<li><a href="http://shoreview-vadnaisheights.kstp.com#shoreview-vadnaisheights">Shoreview - Vadnais Heights</a></li>\n\t\t\t\t\t\t<li><a href="http://southeast.kstp.com#southeast">Southeast</a></li>\n\t\t\t\t\t\t<li><a href="http://southwest-calhoun.kstp.com#southwest-calhoun">Southwest - Calhoun</a></li>\n\t\t\t\t\t\t<li><a href="http://stanthony-como.kstp.com#stanthony-como">St. Anthony - Como</a></li>\n\t\t\t\t\t\t<li><a href="http://stcloudarea.kstp.com#stcloudarea">St. Cloud Area</a></li>\n\t\t\t\t\t\t<li><a href="http://stcroixvalley.kstp.com#stcroixvalley">St. Croix Valley</a></li>\n\t\t\t\t\t\t<li><a href="http://summit-macgroveland-highland.kstp.com#summit-macgroveland-highland">Summit - MacGroveland - Highland</a></li>\n\t\t\t\t\t\t<li><a href="http://summithill.kstp.com#summithill">Summit Hill</a></li>\n\t\t\t\t\t\t<li><a href="http://summit-macgroveland-highland.kstp.com#summit-macgroveland-highland">Summit/MacGroveland/Highland</a></li>\n\t\t\t\t\t\t<li><a href="http://universityofmn.kstp.com#universityofmn">University of MN</a></li>\n\t\t\t\t\t\t<li><a href="http://weststpaul-mendotaheights.kstp.com#weststpaul-mendotaheights">West St. Paul - Mendota Heights</a></li>\n\t\t\t\t\t\t<li><a href="http://westernwisconsin.kstp.com#westernwisconsin">Western Wisconsin</a></li>\n\t\t\t\t\t\t<li><a href="http://whitebearlake-mahtomedi.kstp.com#whitebearlake-mahtomedi">White Bear Lake - Mahtomedi</a></li>\n\t\t\t\t\t\t<li><a href="http://willmar-litchfield.kstp.com#willmar-litchfield">Willmar - Litchfield</a></li>\n\t\t\t\t\t\t<li><a href="http://woodbury.kstp.com#woodbury">Woodbury</a></li>\n\t\t\t\t\t\t\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t -->\n\t\t\t\t\n\t\t\t\t<div class="column">\n\t\t\t\t\t<ul>\n\t\t\t\t\t<li><h3>Greater Minnesota</h3></li>\n\t\t\t\t\t<li><a href="#alexandria" title="Alexandria News">Alexandria</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#brainerd-littlefalls" title="Brainerd News">Brainerd</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#greaterminnesota" title="Granite Falls News ">Granite Falls </a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#greaterminnesota" title="Litchfield News News">Litchfield</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#brainerd-littlefalls" title="Little Falls News">Little Falls</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#greaterminnesota" title="Mankato Area News">Mankato Area</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#greaterminnesota" title="Marshall - Redwood Falls News">Marshall</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#greaterminnesota" title="Montevideo - Granite Falls News">Montevideo</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#greaterminnesota" title="Marshall - Redwood Falls News ">Redwood Falls</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#stcloudarea" title="St. Cloud Area News">St. Cloud Area</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#greaterminnesota"\ttitle="Willmar Area News">Willmar</a></li>\t\n\t\t\t\t\t</ul>\n\t\t\t\t\t\n\t\t\t\t\t<ul>\n\t\t\t\t\t<li><h3>Minneapolis</h3></li>\n\t\t\t\t\t<li><a href="#southwest-calhoun" title="Southwest - Calhoun News">Calhoun Isles</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#camden" title="Camden News ">Camden</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#downtown" title="Downtown News">Downtown</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#northeast" title="Northeast News">Northeast</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#southeast" title="Southeast News">Southeast</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#southwest-calhoun" title="Southwest - Calhoun News ">Southwest</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#universityofmn" title="University of MN News ">University of MN</a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t\t\n\t\t\t\t\t<ul>\n\t\t\t\t\t<li><h3>St. Paul</h3></li>\n\t\t\t\t\t\t<li><a href="#midway-stanthony-como" title="St. Anthony - Como News ">Como</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#eastside-downtown-westside" title="Downtown - West Side News">Downtown</a></li>\n\t\t\t\t\t\t<li><a href="#eastside-downtown-westside" title="Greater Eastside News">Greater Eastside</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#summit-macgroveland-highland" title="MacGroveland - Highland Park News">Highland Park</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#summit-macgroveland-highland"\ttitle="MacGroveland\t- Highland Park News">MacGroveland</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#midway-stanthony-como" title="Midway News">Midway</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#midway-stanthony-como"\ttitle="St. Anthony\t- Como News ">St. Anthony Park</a></li>\n\t\t\t\t\t\t<li><a href="#summit-macgroveland-highland" title="Summit Hill News ">Summit Hill</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#eastside-downtown-westside" title="Downtown - West Side News">West Side</a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t<ul>\n\t\t\t\t\t<li><h3>Northeast</h3></li>\n\t\t\t\t\t<li><a href="#roseville-falconheights" title="Roseville - Falcon Heights News">Falcon Heights</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#forestlake-hugo" title="Forest Lake - Hugo News">Forest Lake</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#forestlake-hugo" title="Forest Lake - Hugo News">Hugo</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#linolakes-circlepines"\ttitle="Lino Lakes - Circle Pines News">Lino Lakes</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#whitebearlake-mahtomedi" title="White Bear Lake - Mahtomedi News">Mahtomedi</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#maplewood-oakdale-northstpaul" title="Maplewood - Oakdale - North St. Paul News">Maplewood</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#maplewood-oakdale-northstpaul" title="Maplewood -\tOakdale - North St. Paul News">North St. Paul</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#maplewood-oakdale-northstpaul" title="Maplewood -\tOakdale - North St. Paul News">Oakdale</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#roseville-falconheights"\ttitle="Roseville -\tFalcon Heights News">Roseville</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#shoreview-vadnaisheights" title="Shoreview - Vadnais Heights News ">Shoreview</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#stcroixvalley" title="St. Croix Valley News">St. Croix Valley</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#shoreview-vadnaisheights" title="Shoreview - Vadnais Heights News">Vadnais Heights</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#whitebearlake-mahtomedi" title="White Bear Lake - Mahtomedi News">White Bear Lake</a></li>\n\t\t\t\t\t</ul>\n\n\t\t\t</div>\n\t\t</div>\n\t\t\n\t\t\n\t\t<div class="box btmbox">\n\t\t\t<!--\n\t\t\t\t<h3>&nbsp;</h3>\n\t\t\t\t<div class="column">\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li><a href="http://alexandria.kstp.com#alexandria">Alexandria</a></li>\n\t\t\t\t\t\t<li><a href="http://anoka-blaine-coonrapids.kstp.com#anoka-blaine-coonrapids">Anoka - Blaine - Coon Rapids</a></li>\n\t\t\t\t\t\t<li><a href="http://applevalley-rosemount.kstp.com#applevalley-rosemount">Apple Valley - Rosemount</a></li>\n\t\t\t\t\t\t<li><a href="http://bloomington.kstp.com#bloomington">Bloomington</a></li>\n\t\t\t\t\t\t<li><a href="http://brainerd-littlefalls.kstp.com#brainerd-littlefalls">Brainerd - Little Falls</a></li>\n\t\t\t\t\t\t<li><a href="http://brooklynpark-brooklyncenter.kstp.com#brooklynpark-brooklyncenter">Brooklyn Park - Brooklyn Center</a></li>\n\t\t\t\t\t\t<li><a href="http://buffalo-monticello-biglake.kstp.com#buffalo-monticello-biglake">Buffalo - Monticello - Big Lake</a></li>\n\t\t\t\t\t\t<li><a href="http://burnsville-lakeville-farmington.kstp.com#burnsville-lakeville-farmington">Burnsville - Lakeville - Farmington</a></li>\n\t\t\t\t\t\t<li><a href="http://camden.kstp.com#camden">Camden</a></li>\n\t\t\t\t\t\t<li><a href="http://chaska-chanhassen-waconia.kstp.com#chaska-chanhassen-waconia">Chaska - Chanhassen - Waconia</a></li>\n\t\t\t\t\t\t<li><a href="http://downtown.kstp.com#downtown">Downtown</a></li>\n\t\t\t\t\t\t<li><a href="http://downtown-westside.kstp.com#downtown-westside">Downtown - West Side</a></li>\n\t\t\t\t\t\t<li><a href="http://eagan.kstp.com#eagan">Eagan</a></li>\n\t\t\t\t\t\t<li><a href="http://eastside-downtown-westside.kstp.com#burnsville-lakeville-farmington">Eastside - Downtown St. Paul - Westside</a></li>\n\t\t\t\t\t\t<li><a href="http://eastside-downtown-westside.kstp.com#burnsville-lakeville-farmington">Eastside/Downtown/Westside</a></li>\n\t\t\t\t\t\t<li><a href="http://edenprairie.kstp.com#edenprairie">Eden Prairie</a></li>\n\t\t\t\t\t\t<li><a href="http://edina.kstp.com#edina">Edina</a></li>\n\t\t\t\t\t\t<li><a href="http://elkriver-rogers-stmichael.kstp.com#elkriver-rogers-stmichael">Elk River - Rogers - St. Michael</a></li>\n\t\t\t\t\t\t<li><a href="http://forestlake-hugo.kstp.com#forestlake-hugo">Forest Lake - Hugo</a></li>\n\t\t\t\t\t\t<li><a href="http://fridley-columbiaheights.kstp.com#fridley-columbiaheights">Fridley - Columbia Heights</a></li>\n\t\t\t\t\t\t<li><a href="http://goldenvalley.kstp.com#goldenvalley">Golden Valley</a></li>\n\t\t\t\t\t\t<li><a href="http://greatereastside.kstp.com#greatereastside">Greater Eastside</a></li>\n\t\t\t\t\t\t<li><a href="http://greaterminnesota.kstp.com#chaska-chanhassen-waconia">Greater Minnesota</a></li>\n\t\t\t\t\t\t<li><a href="http://hastings-cottagegrove.kstp.com#hastings-cottagegrove">Hastings - Cottage Grove</a></li>\n\t\t\t\t\t\t<li><a href="http://hopkins-stlouispark.kstp.com#hopkins-stlouispark">Hopkins - St. Louis Park</a></li>\n\t\t\t\t\t\t<li><a href="http://invergroveheights-southstpaul.kstp.com#invergroveheights-southstpaul">Inver Grove Heights - South St. Paul</a></li>\n\t\t\t\t\t\t<li><a href="http://isanticounty.kstp.com#isanticounty">Isanti County</a></li>\n\t\t\t\t\t\t<li><a href="http://lakeminnetonkaarea.kstp.com#lakeminnetonkaarea">Lake Minnetonka Area</a></li>\n\t\t\t\t\t\t<li><a href="http://linolakes-circlepines.kstp.com#linolakes-circlepines">Lino Lakes - Circle Pines</a></li>\n\t\t\t\t\t\t<li><a href="http://macgroveland-highlandpark.kstp.com#macgroveland-highlandpark">MacGroveland - Highland Park</a></li>\n\t\t\t\t\t\t<li><a href="http://mankatoarea.kstp.com#mankatoarea">Mankato Area</a></li>\n\t\t\t\t\t\t<li><a href="http://maplegrove-osseo.kstp.com#maplegrove-osseo">Maple Grove - Osseo</a></li>\n\t\t\t\t\t\t<li><a href="http://maplewood-oakdale-northstpaul.kstp.com#maplewood-oakdale-northstpaul">Maplewood - Oakdale - North St. Paul</a></li>\n\t\t\t\t\t\t<li><a href="http://marshall-redwoodfalls.kstp.com#marshall-redwoodfalls">Marshall - Redwood Falls</a></li>\n\t\t\t\t\t\t<li><a href="http://midway.kstp.com#midway">Midway</a></li>\n\t\t\t\t\t\t<li><a href="http://midway-stanthony-como.kstp.com#edenprairie">Midway - St. Anthony - Como</a></li>\n\t\t\t\t\t\t<li><a href="http://midway-stanthony-como.kstp.com#edenprairie">Midway/St. Anthony/Como</a></li>\n\t\t\t\t\t\t<li><a href="http://montevideo-granitefalls.kstp.com#montevideo-granitefalls">Montevideo - Granite Falls</a></li>\n\t\t\t\t\t\t<li><a href="http://newbrighton-moundsview.kstp.com#newbrighton-moundsview">New Brighton - Mounds View</a></li>\n\t\t\t\t\t\t<li><a href="http://newhope-robbinsdale-crystal.kstp.com#newhope-robbinsdale-crystal">New Hope - Robbinsdale - Crystal</a></li>\n\t\t\t\t\t\t<li><a href="http://northeast.kstp.com#northeast">Northeast</a></li>\n\t\t\t\t\t\t<li><a href="http://plymouth.kstp.com#plymouth">Plymouth</a></li>\n\t\t\t\t\t\t<li><a href="http://priorlake.kstp.com#priorlake">Prior Lake</a></li>\n\t\t\t\t\t\t<li><a href="http://ramsey-andover-stfrancis.kstp.com#ramsey-andover-stfrancis">Ramsey - Andover - St. Francis</a></li>\n\t\t\t\t\t\t<li><a href="http://richfield.kstp.com#richfield">Richfield</a></li>\n\t\t\t\t\t\t<li><a href="http://roseville-falconheights.kstp.com#roseville-falconheights">Roseville - Falcon Heights</a></li>\n\t\t\t\t\t\t<li><a href="http://shakopee-savage.kstp.com#shakopee-savage">Shakopee - Savage</a></li>\n\t\t\t\t\t\t<li><a href="http://shoreview-vadnaisheights.kstp.com#shoreview-vadnaisheights">Shoreview - Vadnais Heights</a></li>\n\t\t\t\t\t\t<li><a href="http://southeast.kstp.com#southeast">Southeast</a></li>\n\t\t\t\t\t\t<li><a href="http://southwest-calhoun.kstp.com#southwest-calhoun">Southwest - Calhoun</a></li>\n\t\t\t\t\t\t<li><a href="http://stanthony-como.kstp.com#stanthony-como">St. Anthony - Como</a></li>\n\t\t\t\t\t\t<li><a href="http://stcloudarea.kstp.com#stcloudarea">St. Cloud Area</a></li>\n\t\t\t\t\t\t<li><a href="http://stcroixvalley.kstp.com#stcroixvalley">St. Croix Valley</a></li>\n\t\t\t\t\t\t<li><a href="http://summit-macgroveland-highland.kstp.com#summit-macgroveland-highland">Summit - MacGroveland - Highland</a></li>\n\t\t\t\t\t\t<li><a href="http://summithill.kstp.com#summithill">Summit Hill</a></li>\n\t\t\t\t\t\t<li><a href="http://summit-macgroveland-highland.kstp.com#summit-macgroveland-highland">Summit/MacGroveland/Highland</a></li>\n\t\t\t\t\t\t<li><a href="http://universityofmn.kstp.com#universityofmn">University of MN</a></li>\n\t\t\t\t\t\t<li><a href="http://weststpaul-mendotaheights.kstp.com#weststpaul-mendotaheights">West St. Paul - Mendota Heights</a></li>\n\t\t\t\t\t\t<li><a href="http://westernwisconsin.kstp.com#westernwisconsin">Western Wisconsin</a></li>\n\t\t\t\t\t\t<li><a href="http://whitebearlake-mahtomedi.kstp.com#whitebearlake-mahtomedi">White Bear Lake - Mahtomedi</a></li>\n\t\t\t\t\t\t<li><a href="http://willmar-litchfield.kstp.com#willmar-litchfield">Willmar - Litchfield</a></li>\n\t\t\t\t\t\t<li><a href="http://woodbury.kstp.com#woodbury">Woodbury</a></li>\n\t\t\t\t\t\t\n\t\t\t\t\t</ul>\n\t\t\t\t</div>\n\t\t\t -->\n\t\t\t\t\n\t\t\t\t<div class="column">\n\t\t\t\t\t<ul>\n\t\t\t\t\t<li><h3>Southeast</h3></li>\n\t\t\t\t\t<li><a href="#applevalley-rosemount" title="Apple Valley - Rosemount News">Apple Valley</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#hastings-cottagegrove" title="Hastings - Cottage Grove News">Cottage Grove</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#eagan" title="Eagan News">Eagan</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#burnsville-lakeville-farmington"\ttitle="Burnsville - Lakeville - Farmington News">Farmington</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#hastings-cottagegrove" title="Hastings - Cottage Grove News">Hastings</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#invergroveheights-southstpaul" title="Inver Grove Heights - South St. Paul News">Inver Grove Heights</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#weststpaul-mendotaheights" title="West St. Paul - Mendota Heights News">Mendota Heights</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#applevalley-rosemount" title="Apple Valley - Rosemount News">Rosemount</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#invergroveheights-southstpaul" title="Inver Grove Heights - South St. Paul News">South St. Paul</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#weststpaul-mendotaheights" title="West St. Paul - Mendota Heights News">West St. Paul</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#westernwisconsin" title="Western Wisconsin News">Western Wisconsin</a></li>\n\t\t\t\t\t\t\t\t\t\t<li><a href="#woodbury" title="Woodbury News ">Woodbury</a></li>\t\n\t\t\t\t\t</ul>\n\t\t\t\t\t\n\t\t\t\t\t<ul>\n\t\t\t\t\t<li><h3>Southwest</h3></li>\n\t\t\t\t\t<li><a href="#bloomington"\ttitle="Bloomington News">Bloomington</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#burnsville-lakeville-farmington"\ttitle="Burnsville - Lakeville - Farmington News">Burnsville</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#chaska-chanhassen-waconia" title="Chaska - Chanhassen News">Chanhassen</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#chaska-chanhassen-waconia" title="Chaska - Chanhassen News">Chaska</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#edenprairie"\ttitle="Eden Prairie News">Eden Prairie</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#edina"\ttitle="Edina News">Edina</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#hopkins-stlouispark"\ttitle="Hopkins - St. Louis Park News">Hopkins</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#lakeminnetonkaarea"\ttitle="Lake Minnetonka Area News">Lake Minnetonka Area</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#burnsville-lakeville-farmington"\ttitle="Burnsville - Lakeville - Farmington News">Lakeville</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#priorlake"\ttitle="Prior Lake News">Prior Lake</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#richfield"\ttitle="Richfield News">Richfield</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#shakopee-savage"\ttitle="Shakopee - Savage News">Savage</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#shakopee-savage"\ttitle="Shakopee - Savage News">Shakopee</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#hopkins-stlouispark"\ttitle="Hopkins - St. Louis Park News">St. Louis Park</a></li>\n\t\t\t\t\t\t\t\t\t\t <li><a href="#chaska-chanhassen-waconia"\ttitle="Waconia News">Waconia</a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t\t\n\t\t\t\t\t<ul>\n\t\t\t\t\t<li><h3>Northwest</h3></li>\n\t\t\t\t\t<li><a href="#ramsey-andover-stfrancis"\ttitle="Ramsey - Andover - St. Francis News">Andover</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#anoka-blaine-coonrapids"\ttitle="Anoka - Blaine - Coon Rapids News">Anoka</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#buffalo-monticello-biglake"\ttitle="Big Lake News">Big Lake</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#anoka-blaine-coonrapids"\ttitle="Anoka - Blaine - Coon Rapids News">Blaine</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#brooklynpark-brooklyncenter" title="Brooklyn Park - Brooklyn Center News">Brooklyn Center</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#brooklynpark-brooklyncenter" title="Brooklyn Park - Brooklyn Center News">Brooklyn\tPark</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#buffalo-monticello-biglake"\ttitle="Buffalo News">Buffalo</a></li>\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#fridley-columbiaheights"\ttitle="Fridley - Columbia Heights News ">Columbia Heights</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#anoka-blaine-coonrapids"\ttitle="Anoka - Blaine - Coon Rapids News">Coon Rapids</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#newhope-robbinsdale-crystal"\ttitle="New Hope - Robbinsdale - Crystal News">Crystal</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#elkriver-rogers-stmichael"\ttitle="Elk River News">Elk River</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#fridley-columbiaheights"\ttitle="Fridley - Columbia Heights News ">Fridley</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#goldenvalley"\ttitle="Golden Valley News">Golden Valley</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#isanticounty"\ttitle="Isanti County News ">Isanti County</a></li>\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#maplegrove-osseo"\ttitle="Maple Grove - Osseo News">Maple Grove</a></li>\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<li><a href="#buffalo-monticello-biglake"\ttitle="Monticello News">Monticello</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#newbrighton-moundsview"\ttitle="New Brighton - Mounds View News ">Mounds View</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#newbrighton-moundsview"\ttitle="New Brighton - Mounds View News ">New Brighton</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#newhope-robbinsdale-crystal"\ttitle="New Hope - Robbinsdale - Crystal News">New Hope</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#maplegrove-osseo"\t title="Maple Grove\t- Osseo News">Osseo</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#plymouth"\ttitle="Plymouth News ">Plymouth</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#ramsey-andover-stfrancis"\ttitle="Ramsey - Andover - St. Francis News">Ramsey</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#newhope-robbinsdale-crystal"\ttitle="New Hope - Robbinsdale - Crystal News">Robbinsdale</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#elkriver-rogers-stmichael"\ttitle="Rogers News">Rogers</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#ramsey-andover-stfrancis"\ttitle="Ramsey - Andover - St. Francis News">St. Francis</a></li>\n\t\t\t\t\t\t\t\t\t\t\t <li><a href="#elkriver-rogers-stmichael"\ttitle="St. Michael News">St. Michael</a></li>\n\t\t\t\t\t</ul>\n\t\t\t</div>\n\t\t</div>\n\t\t\n\t\t<div class="widget"></div>\n\t\t<i class="clear"></i>\n\t\t<div class="popupBottom">\n\t\t\t<div class="buttons">\n\t\t\t\t<a href="#ask-later" class="button ask-later">Ask me later</a><a class="dont-ask" href="#dont-ask">Don\'t ask me again</a>\n\t\t\t</div>\n\t\t\t<div class="logo" alt="kstp - kstp.com" title="kstp - kstp.com">kstp.com</div>\n\t\t</div>\n\t</div>\n</div>\n\n\t<!--[if IE 6]>\n<style>\n#dsnslocal .widget\{margin-top:-15px !important;\}\n</style>\n<![endif]-->\n\n\n<!--[if IE 7]>\n<style>\n#dsnslocal .widget\{margin:0px auto 8px auto\}\n/*#dsnsLfPopup .widget \{position:relative; top:20px; left:0px !important; bottom:0px !important;\}*/\n#dsnsLfPopup .widget .title h2 \{font-size:17px !important;\}\n#dsnsLfPopup .mainHoodContent .widget \{margin-top:300px!important\}\n#dskstc #dsnslocal .widget\{margin:0px auto 8px auto\}\n</style>\n<![endif]-->\n\n<!--[if IE 8]>\n <style>\n#dsnslocal .widget\{position:relative;top:0px !important;margin: 0px auto 15px auto\}\n#dskstc #dsnslocal .widget\{display:block;background-repeat:no-repeat;margin:0 auto 8px auto;position:relative;top:0px !important;\}\n</style>\n <![endif]-->\n\t\n<!--[if IF 7]>\n<style>\n\t/* http://twincitieslive.com events widget */\n#wrapperColumn2 .column2 #dsnsevents .tab-links a \{width:105px\}\n.column2 #dsnsevents .tab-links\{height:20px\}\n\t#wrapperColumn2 \{border:1px solid #cdcdcd;\}\n</style>\n<![endif]-->'; var dlHTML = '';
	var plugin_name = ds_plugin_name;
	var Load = function() {
		if(typeof window[ds_namespace] != "object")
			window[ds_namespace] = {};
		if(typeof window[ds_namespace].OnInit != "undefined") {
			if(window[ds_namespace].Initialized) {
				window[ds_plugin_name].Init(window[ds_namespace]);
				if(window[ds_namespace].IsReady)
					window[ds_plugin_name].Ready(window[ds_namespace]);
				else
					window[ds_namespace].OnReady.push(window[ds_plugin_name].Ready);
			}
			else {
				window[ds_namespace].OnInit.push(window[ds_plugin_name].Init);
			}
			return;
		}
		
		if(typeof window[ds_namespace].$ == "function") {
			window[ds_plugin_name].$ = window[ds_namespace].$;
			window[ds_plugin_name].Init();
			return;
		}
		if(typeof window[ds_plugin_name].$ == "function") {
			window[ds_plugin_name].Init();
			return;
		}
 
		if(typeof jQuery == "function" && (jQuery.fn.jquery >= '1.3.2')) {
			window[ds_plugin_name].$ = jQuery;
			window[ds_plugin_name].Init();
			return;
		}
		
		var el = document.createElement('SCRIPT');
		el.setAttribute('language', 'JavaScript');
		el.setAttribute('src', 'http://cdn.secondspace.com/news/jquery.1.4.2.js');
		document.getElementsByTagName('head')[0].appendChild(el);
		WaitForInit(1000);
	}
		
	var WaitForInit = function(max) {
		if(!max) max = 200;
		if(typeof window[ds_namespace].$ != "function") {
			if (max > 0)
				setTimeout(function() { window[ds_plugin_name].WaitForInit(max - 1); }, 200);
			return;
		}
		window[ds_plugin_name].Init();
	}
	var WaitForReady = function(max) {
		if(!max) max = 200;
		if(typeof window[ds_plugin_name].FullyInitialized != 'bool') {
			if (max > 0)
				setTimeout(function() { window[ds_plugin_name].WaitForReady(max - 1); }, 200);
			return;
		}
		window[ds_plugin_name].Ready();
	}
	var WaitForBody = function(max) {
		if(!max) max = 200;
		try {
			document.body.className += ' dsnsjs';
		} catch (e) {
			if (max > 0)
				setTimeout(function() { window[ds_plugin_name].WaitForBody(max - 1); }, 200);
		}
	}
	
	var SetCookie = function(name, value, expires, domain, path) {
		if(!expires) expires = 'Wed, 1 Jan 2020 00:00:00 UTC';
		if(!path) path = '/';
		if(!domain && location.host.indexOf('.') != -1) { // default to topmost domain
			var a = location.host.split('.');
			domain = '.' + a[a.length-2] + '.'+ a[a.length-1];
		}
		document.cookie = name+'='+value+'; expires='+expires+'; domain='+domain+'; path='+path;
	}
	window['__dsns_'].SetCookie = SetCookie;
	
	var GetCookie = function(name) { 
		var nameEQ = name + '=';
		var ca = document.cookie.split(';');
		for(var i=0;i < ca.length;i++) {
			var c = ca[i];
			while (c.charAt(0)==' ') c = c.substring(1,c.length);
			if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
		}
		return null;
	}
	window['__dsns_'].GetCookie = GetCookie;
	
	var GetCommunityCookie = function() {
		var cc = __dsns_.GetCookie('dsnscomm'), h = window.location.hash;
		if (h.indexOf('overridecommunity')==1) {
			var c = h.split('=')[1];
			if (c != '') cc = c;
		}
		return cc;
	}

	var Init = function(init_host) {
		if(window[ds_plugin_name].Initialized) return;
		window[ds_plugin_name].Initialized = true;
		var $ = window[ds_plugin_name].$;
		if(typeof $ == 'undefined')
		{
			if(init_host && typeof init_host.$ == 'function') // we're a plugin
				$ = window[ds_plugin_name].$ = init_host.$;
			else 
				$ = window[ds_namespace].$;
		}
		if(typeof $ == 'undefined')
			return;
		
		$.ajaxSetup({ cache: true });
		var IE = $.browser.msie;
		var IE6 = IE && /MSIE 6/.test(navigator.userAgent);
		var IE8 = IE && /MSIE 8/.test(navigator.userAgent);
		
		function Bind(sel, ev, func) {$(sel).live(ev, func);}
		function FullQuery(q) {var r = {};if(!q) q = CurrentSearch();if(!q) return new Array(); q = q.replace(/^\?/,'').replace(/\&$/,'');$.each(q.split('&'), function(){r[this.split('=')[0]] = this.split('=')[1];});return r;};
		function CurrentSearch() {var s = GetMetaData($('.searchquery'), location.search);if(!s || s == undefined)return false;return s;}
		function GetMetaData(el, fallback) {el = $(el); if (typeof fallback == 'undefined') fallback = false; if (el.length == 0) return fallback; var h = $.trim(el.html());if (h.length > 6) {if (h.slice(0, 5).toLowerCase() == '<pre>') h = h.slice(5); if (h.slice(0, 4) == '<!--') h = h.slice(4);if (h.slice(-6).toLowerCase() == '</pre>') h = h.slice(0, -6); if (h.slice(-3) == '-->') h = h.slice(0, -3);}return $.trim(h);}
		
		var Autocomplete = function(input) {
var host = $(input);
var cache = new Array();
var pending,popup,seeAllLink,list;
var options = {extraleft:0, extrawidth:0, maxheight:175, extratop:0, altpos:false, host:'BODY', match:'startword'}; // match:all, start, startword

function Render(data, q, c) {
	if(typeof data == 'undefined' || typeof data.suggest == 'undefined')
		return;
	
	list.empty();
	seeAllLink.css({ display: 'none' }).unbind();
	var html1 = new Array();
	var html2 = new Array();
	var html3 = new Array();
	var all = new RegExp(query, 'i');
	var start = new RegExp('^'+query, 'i');
	var startword = new RegExp(' '+query, 'i');
	var count = 0;
	var truncated = false;
	for(var i=0;i<data.suggest.length;i++) {
		var matched = false;
		var s = data.suggest[i].replace( all, function(q) { matched = true; return '<span class="match">' + q + '</span>' });
		if (matched) {
			// test if the cached data is valid
			var l = data.suggest[i].toLowerCase();
			if (typeof q != 'undefined' && typeof c != 'undefined' && l.indexOf(c) != l.indexOf(q))
				return false;
			if(start.test(l))
					html1.push('<li>' + s + '</li>');
			else if(startword.test(l) && options.match == 'startword')
					html2.push('<li>' + s + '</li>');
			else if(options.match == 'all')
					html3.push('<li>' + s + '</li>');
			else
				continue;
			count++;
			if (count > 100 && !seeAll) {
				truncated = true;
				break;
			}
		}			
	}
	if (html1.length + html2.length + html3.length == 0) {
		popup.css({ display: 'none' });
		return true;
	}
	list.append(html1.join('') + html2.join('') + html3.join(''));
	if (truncated) seeAllLink.css({ display: 'inline' }).click(function() { Complete(true); host.focus(); return false; });
	
	var o = host.offset();
	if(options.altpos == '1' || options.altpos == 'true')
		o = host.position();
	else if('' == 'position' && window.location.host.indexOf('search') == 0)
		o = host.position();
	else if('' == 'position' && window.location.host.indexOf('www') == 0)
		o = host.position();
		 
	var d = {height:host.height(), width:host.outerWidth()};
	var top = o.top + d.height + options.extratop + 5;
	var left = o.left + options.extraleft;
	var width = d.width + options.extrawidth - 1;
	popup.css({height:'auto', overflowY:'auto', display:'block', top:top, left:left, width:width});
	if(list.height() > options.maxheight)
		popup.css({height:options.maxheight, overflowY:'scroll'});
	list.find('LI').hover(MouseOver, MouseOut).click(Click);
	popup.scrollTop(0);
	host.focus();
	$(document).click(BodyClick);
	return true;
}
function BodyClick(event) {							
	$(document).unbind('click', BodyClick);
	var target = $(event.target);
	if(target.parents('#AutoComplete_'+id).length == 0)
	{
		popup.css({display:'none'});
		return;
	}

	list = $('#AutoComplete_'+id);				
	if (list == null)
		return;

	var selected = list.find('.mouseover');
	if (selected.length == 0) return;
	host.val(selected.text()).focus();		 
}

function ScrollToView() {
	var selected = list.find('.selected');
	if(selected.length == 0) return;
	var pos = selected.position().top;
	var max = popup.height() - selected.outerHeight();
	if(pos > max)
		popup.scrollTop(popup.scrollTop() + pos - max);
	if(pos < 0)
		popup.scrollTop(popup.scrollTop() + pos);
}
function HandleKey(event) {
	var selected = list.find('.selected');
	var keycode = event.which;
	if(keycode == 9) {
		// if there's only one choice, select it
		if(selected.length > 0 && list.find('LI').length == 1) {
			popup.css({display:'none'});
			host.val(selected.text()+' ').focus();
			return false;
		}
		if(event.shiftKey)
			keycode = 38; // shift+tab = up
		else
			keycode = 40; // tab = down
	}
	switch(keycode) {
		case 13:	// return when item selected, get text
			if(selected.length == 0)
			{				
				return true;
			}
			popup.css({display:'none'});
			host.val(selected.text()).focus();
			return true;
		case 40: // down selects the one below
			if(selected.length == 0) {
				list.find('LI:first').addClass('selected');
				ScrollToView();
				return false;
			}
			var next = selected.removeClass('selected').next();
			if(next.length == 0)
				list.find('LI:first').addClass('selected');
			else
				next.addClass('selected');
			ScrollToView();
			return false;
		case 38: // up selects the one on top
			if(selected.length == 0) {
				list.find('LI:last').addClass('selected');
				ScrollToView();
				return false;
			}
			var prev = selected.removeClass('selected').prev();
			if(prev.length == 0)
				list.find('LI:last').addClass('selected');
			else
				prev.addClass('selected');
			ScrollToView();
			return false;
		case 16: // shift by itself
			return true;
		case 33: //page up
			popup.scrollTop(popup.scrollTop() - popup.height());
			return false;
		case 34: // page down
			popup.scrollTop(popup.scrollTop() + popup.height());
			return false;
		case 27: // esc: disable autocomplete
			popup.css({display:'none'});
			host.attr('autocomplete', 'on');
			host.attr('AutoCompleted', 'false');
			host.unbind('keydown', HandleKey);
			return false;
		default:
			setTimeout(function() {Complete();}, 10);
			return true;
	}
}

function Complete(forceSeeAll) {
	if(!host || !popup || !list) return;
	seeAll = false;
	if (forceSeeAll) seeAll = true;
	var v = host.val();
	if(v.length < 3) {
		popup.css({display:'none'});
		return;
	}
	
	query = v.toLowerCase();
	var p = host.val().substring(0,i);
	prefix = ''
	if(p.length > 0)
		prefix = '<span class="before">'+p+' </span>';

	// check if we have a cache for the the full length down to the first 3 letters
	// if we do, call render and see if it's a valid one
	var cacheKey = query +'';
	var data = false;
	for(var i=query.length;i>2;i--) {
		cacheKey = query.substring(0, i);
		data = cache[cacheKey];
		if (typeof data != 'undefined')
			if(Render(data, query, cacheKey))
				return;
	}
	cacheKey = query + ''; // revert to the full key
	var data = {suggest:new Array()};
	var r = new RegExp(query, 'i');
	data.suggest = $.grep(Keywords, function(n,i) {return r.test(n);} );
	cache[cacheKey] = data;
	Render(data);
	// call the web service
	/*
	var url = "/ws.aspx?key=SUGGEST&q=" + query;
	if (pending) return;
	pending = true;
	setTimeout(function() {pending = false;}, 2000);
	$.getJSON(url,
		function(data){
			cache[cacheKey] = data;
			pending = false;
			Render(data);
		}
	);
	*/
}
function MouseOver() {
	$(this).addClass('mouseover');
}
function MouseOut(event) {
	$(this).removeClass('mouseover');
}
function Click(event) {
	if(!host) return;
	popup.css({display:'none'});
	host.val($(this).text()+' ').focus();
}
function Resized(event) {
	if($(window).width() != savedWidth)
		setTimeout(function() {Complete();}, 10);
	savedWidth = $(window).width();
}
var savedWidth = $(window).width();
$(window).bind('resize', Resized);
			
// look for options
var temp = host.parent().html();
var start = -1;
if(temp) 
	start = temp.indexOf('<!-- autocompleted.options');
if(start > -1) {
	temp = temp.substring(start + 26, temp.indexOf('-->', start))+' ';
	var extraleft = temp.indexOf('extraleft:');
	if(extraleft > -1)
		try {options.extraleft = parseInt(temp.substring(extraleft + 10, temp.indexOf(' ', extraleft + 10)));} catch(err) {}
	var extrawidth = temp.indexOf('extrawidth:');
	if(extrawidth > -1)
		try {options.extrawidth = parseInt(temp.substring(extrawidth + 11, temp.indexOf(' ', extrawidth + 11)));} catch(err) {}
	var extratop = temp.indexOf('extratop:');
	if(extratop > -1)
		try {options.extratop = parseInt(temp.substring(extratop + 9, temp.indexOf(' ', extratop + 9)));} catch(err) {}
	var maxheight = temp.indexOf('maxheight:');
	if(maxheight > -1)
		try {options.maxheight = parseInt(temp.substring(maxheight + 10, temp.indexOf(' ', maxheight + 10)));} catch(err) {}
	var altpos = temp.indexOf('altpos:');
	if(altpos > -1)
		try {options.altpos = temp.substring(maxheight + 10, temp.indexOf(' ', maxheight + 10));} catch(err) {}
	var achost = temp.indexOf('host:');
	if(achost > -1)
		try {options.host = temp.substring(achost + 5, temp.indexOf(' ', achost + 5));} catch(err) {}
	var match = temp.indexOf('match:');
	if(match > -1)
		try {options.match = temp.substring(match + 6, temp.indexOf(' ', match + 6));} catch(err) {}
}
var id = (''+Math.random()).substr(2);
var popupid = '__dsns_autocomplete_'+id;
if(host.data('dsnsAutoCompleted') == 'false')
	return;

if(host.data('dsnsAutoCompleted') == 'true') {
	popup = $('#'+popupid);
	seeAllLink = popup.find('A[href$=#all]');
	list = popup.find('UL');
	return;
}

host.attr('autocomplete', 'off');
host.data('dsnsAutoCompleted', 'true');
host.keydown(HandleKey);
var tmp = $(options.host);
if(tmp.length == 0)
	tmp = $('#loaderhost');
if(tmp.length == 0)
	tmp = $('BODY');
if($('#'+popupid).length == 0)
	tmp.append('<div id="'+popupid+'" class="dsnsAutoComplete"><ul></ul><a href="#all" class="dsnsAutoCompleteSeeAll">See all...</a></div>');

popup = $('#'+popupid);
seeAllLink = popup.find('A[href$=#all]');
list = popup.find('UL');
}; /*
$('#advancedsearch, .dsnsadvsearch A, #header .advanced A, #search .advanced A').live('click', function() {
	var me = $(this);
	var id = me.data('dsns_quicksearch');
	if(!me.data('dsns_quicksearch')) {
		id = (''+Math.random()).substr(2);
		me.data('dsns_quicksearch', id);
	}
	
	var popupid = '__dsns_quicksearch_'+id;
	var popup = $('#'+popupid);

	var tmp = $('#loaderhost');
	if(tmp.length == 0)
		tmp = $('body');
			
	var created = false;
	if(popup.length == 0) {
		popup = $('<div id="'+popupid+'" class="dsnsQuickSearch"></div>').appendTo(tmp);
		popup.html(qsHTML.replace(/\{id\}/ig, id));
		created = true;
	}
	if(me.hasClass('dsnsoffset')) {
		var oft = me.offset();
		var l = oft.left + me.width() - popup.width();
		popup.css({display:'block', top: oft.top + 20, left: l});
	} else {
		var pos = me.position();
		popup.css({display:'block', top: pos.top + me.height(), left: -1000});
		popup.css({left:$('#header').width() - 50});
		if(me.attr('id') == 'advancedsearch') popup.css({top:220, left:380, marginTop:0});
	}
	if(!created) return false;
	
	function BodyClick(event) {							
		var target = $(event.target);
		if (!(target.parents().index(popup) >= 0 || target[0] == popup[0] || target[0].tagName == 'HTML')) {
			popup.css({display:'none'});
			return;
		}
	}
	$(document).mousedown(BodyClick);
	
	function Resized(event) {
		if($(window).width() != savedWidth)
			popup.css({display:'none'});
		savedWidth = $(window).width();
	}
	var savedWidth = $(window).width();
	$(window).bind('resize', Resized);
	
	popup.find('.close').click(function() {
		popup.css({display:'none'});
	});
	
	$('#qscity_' + id).bind('change', function() {
		var me = $(this);
		var city = me.find('OPTION:selected');
		var v = city.val();
		if(v && v.length > 0)
			$('#qscnty_' + id).attr('disabled', true).find('option[value="'+city.attr('rel')+'"]').attr('selected', 'selected');
		else
			$('#qscnty_' + id).attr('disabled', false);
	});
	
	popup.find('FORM').bind('submit', function() {
		var type = '', q = '', date = '';
		var me = $(this);
		q = me.find('.qstext').val();
		
		var cat = $('#qscat_' + id +' OPTION:selected').val();
		if(cat && cat.length > 0)
			type += $('#qscat_'+id).attr('rel') + ',' + cat + ';';
			
		var feat = $('#qsfeat_' + id +' OPTION:selected').val();
		if(feat && feat.length > 0)
			type += $('#qsfeat_'+id).attr('rel') + ',' + feat + ';';
		
		var city = $('#qscity_' + id +' OPTION:selected').val();
		if(city && city.length > 0)
			type += $('#qscity_'+id).attr('rel') + ',' + city + ';';
			
		var cnty = $('#qscnty_' + id +' OPTION:selected').val();
		if(cnty && cnty.length > 0)
			type += $('#qscnty_'+id).attr('rel') + ',' + cnty + ';';
		
		var date = $('#qsdate_' + id +' OPTION:selected').val();
		if(date && date.length > 0) {
			var d = new Date();
			d.setDate(d.getDate() - parseInt(date));
			var day = d.getDate();
			if(day < 10) day = '0'+day;
			var month = d.getMonth() + 1;
			if(month < 10) month = '0'+month;
			date = $('#qsdate_'+id).attr('rel') + '=' + month + '%2f' + day + '%2f' + d.getFullYear() + '%2c';
		}
		
		if(type.length > 0)
			type = type.substr(0, type.length - 1);
		
		var url = 'http://'+window.location.host.replace('www', 'search')+'/default.aspx?ct=r';
		if(q && q.length > 0)
			url += '&q="'+q+'"';
		if(type && type.length > 0)
			url += '&type='+type;
		if(date && date.length > 0)
			url += '&'+date;
		window.location = url;
		return false;
	});
	
	return false;
});
*/  function AddDefaultText(box) {
	if(!box || box.length == 0 || box.data('defaulttext'))
		return;
	box.data('defaulttext', true);
	var t = box.attr('title');
	if (!t || typeof t != 'string')
		t = 'Search';
	box.blur(function() {
		var me = $(this).removeClass('hasfocus').addClass('isblurred');
		var v = me.val();
		if(v == '' || v == t)
			me.val(t);
	}).focus(function() {
		var me = $(this).removeClass('isblurred').addClass('hasfocus');
		var v = me.val();
		if(v == t)
			me.val('');
	});

	var v = box.val();
	if(v == '' || v == t)
		box.addClass('isblurred').val(t);

	var forms = box.parents('form');
	if(forms && forms.length > 0) {
		forms.each(function(n, f) {
			var p = $(f), u = p.attr('action') + '?ct=r&q=';
			p.submit(function() {
				var v = p.find('.autocompleted').val();
				if(v == t) v = '';
				window.location = u + encodeURIComponent(v.replace(/^\s*|\s*$/g,'').replace(/[\s]+/g,' '));
				return false;
			});
		});
	}
}

(function() {
setTimeout(function() {$('.autocompleted').each(function() {AddDefaultText($(this));});}, 10);
setTimeout(function() {$('.autocompleted').each(function() {AddDefaultText($(this));});}, 200);
setTimeout(function() {$('.autocompleted').each(function() {AddDefaultText($(this));});}, 500);
$(function() {$('.autocompleted').each(function() {AddDefaultText($(this));});});
})(); var localFeeds = new Array({"t":"Woodbury", "u":"http://woodbury.kstp.com", "k":"woodbury", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Movie Night at Central Park", "n":"127903"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"St. Croix Valley", "u":"http://stcroixvalley.kstp.com", "k":"stcroixvalley", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Music Therapists Use Special Harp Made by Stillwater Company", "n":"127625"} ]},{"t":"White Bear Lake - Mahtomedi", "u":"http://whitebearlake-mahtomedi.kstp.com", "k":"whitebearlake-mahtomedi", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Sheriff\\\\'s Office: Don\\\\'t Take Vehicles on Ramsey Co. Lakes", "n":"127926"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Rough Seas Delay Oil Pumping Operations at Cruise Ship Wreck", "n":"127890"} ]},{"t":"Shoreview - Vadnais Heights", "u":"http://shoreview-vadnaisheights.kstp.com", "k":"shoreview-vadnaisheights", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Admission Surcharge Part of Vikings Stadium Financing Plan", "n":"127790"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Sheriff\\\\'s Office: Don\\\\'t Take Vehicles on Ramsey Co. Lakes", "n":"127926"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Hastings - Cottage Grove", "u":"http://hastings-cottagegrove.kstp.com", "k":"hastings-cottagegrove", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Cottage Grove Man Accused of Assaulting Mass. 14-Year-Old", "n":"127900"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Inver Grove Heights - South St. Paul", "u":"http://invergroveheights-southstpaul.kstp.com", "k":"invergroveheights-southstpaul", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Western Wisconsin", "u":"http://westernwisconsin.kstp.com", "k":"westernwisconsin", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Wis. DOJ Catches Up on Concealed Carry Permits", "n":"127967"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Bomb Threat Prompts Precautions at Hudson High School", "n":"127905"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Maplewood - Oakdale - North St. Paul", "u":"http://maplewood-oakdale-northstpaul.kstp.com", "k":"maplewood-oakdale-northstpaul", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Children Rally for Maplewood Daycare Provider", "n":"127924"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Lino Lakes - Circle Pines", "u":"http://linolakes-circlepines.kstp.com", "k":"linolakes-circlepines", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"VIDEO WEB EXTRA: Girls Hockey OT Playoff Thriller - Blaine vs. Centennial", "n":"128004"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Man Convicted of Murdering Columbia Heights Woman", "n":"127913"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Forest Lake - Hugo", "u":"http://forestlake-hugo.kstp.com", "k":"forestlake-hugo", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Forest Lake School District Looks to Form \\\\'Strategic Planning Team\\\\'", "n":"127896"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Isanti County", "u":"http://isanticounty.kstp.com", "k":"isanticounty", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Ramsey - Andover - St. Francis", "u":"http://ramsey-andover-stfrancis.kstp.com", "k":"ramsey-andover-stfrancis", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Man Convicted of Murdering Columbia Heights Woman", "n":"127913"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Maple Grove - Osseo", "u":"http://maplegrove-osseo.kstp.com", "k":"maplegrove-osseo", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Web Seminar Discusses \\\\'Co-Parenting at a Distance\\\\' for Military Families", "n":"127824"} ]},{"t":"Plymouth", "u":"http://plymouth.kstp.com", "k":"plymouth", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Anoka - Blaine - Coon Rapids", "u":"http://anoka-blaine-coonrapids.kstp.com", "k":"anoka-blaine-coonrapids", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"VIDEO WEB EXTRA: Girls Hockey OT Playoff Thriller - Blaine vs. Centennial", "n":"128004"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Man Convicted of Murdering Columbia Heights Woman", "n":"127913"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Brooklyn Park - Brooklyn Center", "u":"http://brooklynpark-brooklyncenter.kstp.com", "k":"brooklynpark-brooklyncenter", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Complaint: Brooklyn Park Arsonist Was Upset With Housing Situation", "n":"127892"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Fridley - Columbia Heights", "u":"http://fridley-columbiaheights.kstp.com", "k":"fridley-columbiaheights", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Man Convicted of Murdering Columbia Heights Woman", "n":"127913"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Fridley Man\\\\'s Car Stolen While Warming Up in Garage", "n":"127889"} ]},{"t":"New Hope - Robbinsdale - Crystal", "u":"http://newhope-robbinsdale-crystal.kstp.com", "k":"newhope-robbinsdale-crystal", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"North Memorial Among \"Top 5% of Hospitals\"", "n":"127837"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"New Brighton - Mounds View", "u":"http://newbrighton-moundsview.kstp.com", "k":"newbrighton-moundsview", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Sheriff\\\\'s Office: Don\\\\'t Take Vehicles on Ramsey Co. Lakes", "n":"127926"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Tuesday\\\\'s New Brighton City Council Meeting Agenda", "n":"127887"} ]},{"t":"Roseville - Falcon Heights", "u":"http://roseville-falconheights.kstp.com", "k":"roseville-falconheights", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Admission Surcharge Part of Vikings Stadium Financing Plan", "n":"127790"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Roseville Man Facing Charges after 6-Hour Standoff with Police", "n":"127088"} ]},{"t":"St. Cloud Area", "u":"http://stcloudarea.kstp.com", "k":"stcloudarea", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"18-Year-Old Found Dead Inside Stearns County Silo", "n":"128033", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/police-car_118.jpg"},{"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581"},{"t":"\"Piggyback Bandit\" Banned From Minn. Prep Events", "n":"127897"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"St. Cloud State Art Gallery Relocates, Hosts Weekend Exhibit", "n":"127904"} ]},{"t":"Golden Valley", "u":"http://goldenvalley.kstp.com", "k":"goldenvalley", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"North Memorial Among \"Top 5% of Hospitals\"", "n":"127837"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Hopkins - St. Louis Park", "u":"http://hopkins-stlouispark.kstp.com", "k":"hopkins-stlouispark", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Public Meeting on Hopkins Landfill Monday", "n":"127914"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Edina", "u":"http://edina.kstp.com", "k":"edina", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Fire Deflates Braemar Golf Dome", "n":"127888"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Lake Minnetonka Area", "u":"http://lakeminnetonkaarea.kstp.com", "k":"lakeminnetonkaarea", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"Neighbors Rescue Man After ATV Goes in Minn. Lake", "n":"128003", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/ice_lake90_1.jpg"},{"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Excelsior Open House", "n":"127898"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Eden Prairie", "u":"http://edenprairie.kstp.com", "k":"edenprairie", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Average Eden Prairie Water Bill Will Increase 7% in 2012", "n":"127912"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Chaska - Chanhassen", "u":"http://chaska-chanhassen.kstp.com", "k":"chaska-chanhassen", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Prior Lake", "u":"http://priorlake.kstp.com", "k":"priorlake", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Golf Academy of Three Rivers Park District", "n":"127836"} ]},{"t":"Shakopee - Savage", "u":"http://shakopee-savage.kstp.com", "k":"shakopee-savage", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Burnsville - Lakeville - Farmington", "u":"http://burnsville-lakeville-farmington.kstp.com", "k":"burnsville-lakeville-farmington", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Richfield", "u":"http://richfield.kstp.com", "k":"richfield", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Bloomington", "u":"http://bloomington.kstp.com", "k":"bloomington", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Eagan", "u":"http://eagan.kstp.com", "k":"eagan", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Apple Valley-Rosemount", "u":"http://applevalley-rosemount.kstp.com", "k":"applevalley-rosemount", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Camden", "u":"http://camden.kstp.com", "k":"camden", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"U.S. Commerce Secretary Visits Minneapolis", "n":"127792"} ]},{"t":"Southeast", "u":"http://southeast.kstp.com", "k":"southeast", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"U.S. Commerce Secretary Visits Minneapolis", "n":"127792"} ]},{"t":"Northeast", "u":"http://northeast.kstp.com", "k":"northeast", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Mpls Moves to Shut Down Apartments for Code Violations", "n":"127925"},{"t":"Oscars Party in Minneapolis", "n":"127962"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Southwest - Calhoun", "u":"http://southwest-calhoun.kstp.com", "k":"southwest-calhoun", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"U.S. Commerce Secretary Visits Minneapolis", "n":"127792"} ]},{"t":"University of MN", "u":"http://universityofmn.kstp.com", "k":"universityofmn", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Researchers Trying to Solve Hog Farm Mystery", "n":"127899"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"West St. Paul - Mendota Heights", "u":"http://weststpaul-mendotaheights.kstp.com", "k":"weststpaul-mendotaheights", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"Minn. City Councilman Defends Confederate Flag Outside Home", "n":"128002", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/confederate_20flag.jpg"},{"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]},{"t":"Brainerd - Little Falls", "u":"http://brainerd-littlefalls.kstp.com", "k":"brainerd-littlefalls", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Lakes Area Teachers Among Candidates for Minnesota Teacher of the Year", "n":"127732"},{"t":"CLC Student Earns State Scholarship Recognition", "n":"127730"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Alexandria", "u":"http://alexandria.kstp.com", "k":"alexandria", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Arvig Begins Search for Scholarship Applicants", "n":"127761"},{"t":"UCare to Hold Information Meetings", "n":"127760"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Downtown", "u":"http://downtown.kstp.com", "k":"downtown", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"Authorities ID Victim, Suspect in Mpls. Hotel Shooting", "n":"127955", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/police_lights_395.jpg"},{"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581"},{"t":"Oscars Party in Minneapolis", "n":"127962"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Chaska - Chanhassen - Waconia", "u":"http://chaska-chanhassen-waconia.kstp.com", "k":"chaska-chanhassen-waconia", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Minn. Educators Wondering What Changes NCLB Exemption Will Bring", "n":"127744"} ]},{"t":"Elk River - Rogers - St. Michael", "u":"http://elkriver-rogers-stmichael.kstp.com", "k":"elkriver-rogers-stmichael", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Elk River Hockey Coach Resigns Amid Investigation", "n":"127902"},{"t":"\\\\'There\\\\'s a Bomb at Your School... Beware. Thank you.\\\\'", "n":"127858"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Buffalo - Monticello - Big Lake", "u":"http://buffalo-monticello-biglake.kstp.com", "k":"buffalo-monticello-biglake", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Investigators Look for Answers After Deadly Montrose Crash", "n":"127911"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"\\\\'There\\\\'s a Bomb at Your School... Beware. Thank you.\\\\'", "n":"127858"},{"t":"Travel Advisory to Mexico", "n":"127918"} ]},{"t":"Greater Minnesota", "u":"http://greaterminnesota.kstp.com", "k":"greaterminnesota", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Lottery Ticket in Faribault Co. Worth $1.3M; Powerball Hits $325M", "n":"127974"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Authorities: Woman Used Others\\\\' IDs to Get Painkillers", "n":"127906"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"} ]},{"t":"Midway - St. Anthony - Como", "u":"http://midway-stanthony-como.kstp.com", "k":"midway-stanthony-como", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Twigs and Branches in watercolor Silverwood Park", "n":"127838"} ]},{"t":"Eastside - Downtown St. Paul - Westside", "u":"http://eastside-downtown-westside.kstp.com", "k":"eastside-downtown-westside", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"},{"t":"Ramsey Nursing Home Foundation Hosts Bingo Night", "n":"127816"} ]},{"t":"Summit Hill - MacGroveland - Highland", "u":"http://summit-macgroveland-highland.kstp.com", "k":"summit-macgroveland-highland", "lp":"/node/", "ip":"/sites/kstp.com/files/imagecache/story_image_widget/",  "i": [ {"t":"WEB FORECAST: Nice Day Ahead, Warming Next Week", "n":"108581", "i":"http://media.dtsph.com/sites/kstp.com/files/imagecache/story_image_widget/WEB_FORECASTnbspNice_Day_Ahead_Warming_Next_Week.jpg"},{"t":"Twin Cities Realtors Say January Home Sales Best in Years", "n":"127938"},{"t":"Linwood Recreation Center Ice Rink", "n":"127917"},{"t":"VIDEO: Weekend Box Office Preview 02-10-2012", "n":"109175"},{"t":"Valentine\\\\'s Day Events Where You Live", "n":"127651"} ]}); var utmbase = 'utm_source=' + window.location.host + '&utm_medium=homepagewidget&utm_campaign=widget&utm_content';
var host = window.location.host.replace('search.', 'www.').replace('.test.datasphere', '').replace('.regisweb', '').replace('dev.', '');

var adHider = false;

var loadeventwidget = true;
if (loadeventwidget || window.location.search.indexOf('dsnseventwidget') != -1) {

	$.getScript('http://content.secondspace.com/kstp/events/widget' + (GetCookie('dsnswidgetversion') || '') + '.js');
//$.getScript('http://content.secondspace.com/kstp/events/widget' + GetCookie('dsnswidgetversion') + '.js');

}
var forceautopop = false;
if (window.location.search.indexOf('dsnsautopop') != -1) {
	forceautopop = true;
}

var HideFlash = function() {
		$('object, embed').each(function() {
				var me = $(this);
				if (me.hasClass('dsnshidden')) return;
				if (me.css('visibility') != 'hidden' && !me.hasClass('nohide')) {
						me.addClass('dsnshidden').css('visibility','hidden');
				}
		});
		$('iframe').each(function() {
				var me = $(this);
				if(me.data('hiddenflash')) return;
				if(me.css('visibility') != 'hidden' && !me.hasClass('nohide')) {
						me.data('hiddenflash', true);
						me.css({visibility:'hidden'});
				}
		});
}
var ShowFlash = function() {
		$('object, embed').each(function() {
				var me = $(this);
				if (me.hasClass('dsnshidden'))
						me.removeClass('dsnshidden').css('visibility','visible');
		});
		$('iframe').each(function() {
				var me = $(this);
				if(me.data('hiddenflash'))
						me.css({visibility:'visible'});
						me.data('hiddenflash', false);
		});
}

var AddOverlay = function(needElement) {
	var mask = $('#dsnsOverlay');
	if(window.top != window.self) {
		window.top['__dsns_'].AddOverlay(true);
		return;
	}
	if(mask.length == 0 && needElement)
		mask = $('<div id="dsnsOverlay">&nbsp;</div>').appendTo($('body')).css({display:'none'});
	if(mask.length == 0 || mask.is(':visible'))
		return;
	var w = $(window).width();
	var h = $(window).height();
	var dw = $(document).width();
	var dh = $(document).height();
	if(dh>h)h=dh;
	if(dw>w)w=dw;
	if(IE6 || IE8) w -= 22;
	if(IE6) $('SELECT').css({visibility:'hidden'});
	mask.css({position:'absolute', opacity:.0, backgroundColor:'#333', top:0, left:0, width:w, height:h,display:'block', zIndex:19999, opacity:.4});
	HideFlash();
	adHider = setInterval(function() {HideFlash();}, 500);
	return this;
}
window['__dsns_'].AddOverlay = AddOverlay;

var RemoveOverlay = function(outto) {
	clearInterval(adHider);
	if(outto) {
		var pos = outto.position();
		if(pos.left || pos.top == 0) pos = outto.offset();
		$('#dsnsOverlay').css({height:$(window).height(), backgroundColor:'#5B8CBE'}).animate({opacity:.0, top:pos.top, left:pos.left, width:outto.width(), height:outto.height()}, 500, function() {$(this).hide();ShowFlash();if(IE6) $('SELECT').css({visibility:'visible'});});
	}
	else
		$('#dsnsOverlay').animate({opacity:.0}, 300, function() {$(this).hide();ShowFlash();if(IE6) $('SELECT').css({visibility:'visible'});});
	return this;
}

var localDealsCache = {};
var FindLocalDeals = function (comm, callback) {
	var tmp = localDealsCache[comm];
	if (typeof tmp == 'object' && tmp.feed && tmp.config) {
		callback(tmp.feed, tmp.config, comm);
		return;
	}

	var LocalDealsFound = false;
	comm = comm || (window['__dsns_'].LocalFeed ? window['__dsns_'].LocalFeed.k : false) || GetCommunityCookie();
	if (!comm) comm = 'all';
	$.ajax({
		url: 'http://content.secondspace.com/kstp/ld/' + comm + '.js',
		dataType: 'script',
		success: function () {
			if (typeof __dsns_.BusinessFeed != 'object' || comm != 'all' && __dsns_.BusinessFeed.length < 1) return;
			localDealsCache[comm] = { feed: __dsns_.BusinessFeed, config: __dsns_.BusinessFeedConfig };
			if (LocalDealsFound) return;
			LocalDealsFound = true;
			callback(__dsns_.BusinessFeed, __dsns_.BusinessFeedConfig, comm);
		}
	});
	setTimeout(function () { if (!LocalDealsFound) FindLocalDeals('all', callback); }, 2000);
}

var tmplBck = false;
var RenderLocalDeals = function (host, tmpl, comm) {
	ldRendered = true;
	FindLocalDeals(comm, function (feed, cfg, found) {
		host = host || $('#dsnslocaldeals').hide();
		if (tmpl == 'undefined') tmpl = false;
		tmpl = tmpl || tmplBck || GetMetaData(host.hide().html(lfHTML||'').find('#dsnsbizdir'));
		if (!tmplBck) tmplBck = tmpl;
		host.find('.title').text('fetching deals...');
		host.html(tmpl||'').find('.business, .smalllist, .biglist').hide();
		var max = 6;
		if (feed.length < max) max = feed.length;
		var arr = $(feed).sort(function () {
			return Math.round(Math.random()) - 0.5;
		}).slice(0, max)
		for (var i = 0; i < max && i < 3; i++) {
			var b = $('.business' + (i + 1)), x = arr[i];
			x.link = cfg.root + '/' + x.name.replace(/\W+/ig, '_') + '/' + x.id + '.html';
			b.find('.name').html('<a href="' + x.link + '">' + x.name + '</a>');

			var k = x.logo.indexOf('http://hlocal.');
			if (k > -1)
				x.logo = x.logo.substr(k);
			else
				x.logo = cfg.imgroot + x.logo;
			k = x.logo.indexOf('http://hlcdn.');
			if(k==-1)
				k = x.logo.indexOf('http://media.');
			if (k > -1)
				x.logo = x.logo.substr(k);

			b.find('.thumb').html('<a href="' + x.link + '"><img src="' + x.logo + '" /></a>');
			if (!x.video) b.find('.video').hide();
			else b.find('.video').show().find('A').attr('href', x.link);
			if (!x.coupon) b.find('.coupon').hide();
			else b.find('.coupon .text').show().html('<a href="' + x.link + '?o=' + x.oid + '">' + x.coupon + '</a>');
			host.find('.biglist').show();
			b.show();
		}

		for (var i = 3; i < max; i++) {
			var b = $('.business' + (i + 1)), x = arr[i];
			x.link = cfg.root + '/' + x.name.replace(/\W+/ig, '_') + '/' + x.id + '.html';
			b.find('.name').html('<a href="' + x.link + '">' + x.name + '</a>');
			b.find('.coupon').show().html('<a href="' + x.link + '?o=' + x.oid + '">' + x.coupon + '</a>');
			host.find('.smalllist').show();
			b.show();
		}

		var t = 'Local deals';
		if (found != 'all') {
			t = found + ' deals';
			if (window['__dsns_'].LocalFeed)
				t = window['__dsns_'].LocalFeed.t + ' deals';
		}
		host.find('.title').text(t);
		host.find('.change A').click(function () {
			if ($('#dsnsLfPopup').length == 0) {
				host.after($('<div/>').hide().html(lfHTML||''));
			}
			window['__dsns_'].ShowPicker();
			return false;
		});
		host.show();
	});
}

//hascomm, choosecomm, nocomm
var state = 'choosecomm';
function RenderFeed(source, popup) {
	if (typeof source == 'string') {
	 source = getCom('#'+source);
	}
	if (!source) return;
	var dealsHost = $('#dsnslocaldeals');
	window['__dsns_'].LocalFeed = source;
	if(dealsHost && dealsHost.length > 0 && !popup)
		RenderLocalDeals(dealsHost, dsnsLFHTMLTemplates.deals + '', source.k);

	var hascookies = function () {
		if(window['__dsns_'].GetCookie('dsnspop') != null) return true;
		window['__dsns_'].SetCookie('dsnstest', '1');
		var test = window['__dsns_'].GetCookie('dsnstest');
		window['__dsns_'].SetCookie('dsnstest', '', 'Sun, 1 Jan 2000 00:00:00 UTC');
		return test == '1';
	}

	if (GetCommunityCookie()) state = 'hascomm';
	else if (window['__dsns_'].GetCookie('dsnslfpop') != null || hascookies()) state = 'choosecomm';
	else state = 'nocomm';
	var commlist = null;

	if (popup) state = 'hascomm';
	if (popup && source == null) state = 'nocomm';

	$('#dsnslocalnews').hide().find('*').show();
	
	var newshtml = '';
	if (state == 'hascomm')
		newshtml = dsnsLFHTMLTemplates.communitynews + '';
	else
		newshtml = dsnsLFHTMLTemplates.latestnews + '';

	newshtml = newshtml.replace(/community_link/ig, source.u);
	newshtml = newshtml.replace(/community_name/ig, source.t);
	newshtml = newshtml.replace(/utm_base/ig, utmbase);
	var sponsor = false;
		var widget = widgetcontainer.find('.widget');
	if(popup)
		widget = $('#dsnsLfPopup .widget');

	if (state == 'choosecomm' || state == 'nocomm') {
		if (commlist == null) {
			commlist = function() {
				var r = new Array();
				var l = localFeeds.length;
				var i = 0, max = 100;
				while (i<3 && max -- > 0) {
					var rnd = Math.floor(Math.random()*l);
					if ($.inArray(rnd,r) == -1) {
							r.push(rnd)
							i++;
					}
				}
				var communities = new Array();
				for (var i=0; i < r.length; i++) {
					communities.push(localFeeds[r[i]])
				}
				source = communities[0];
				return communities;
			}();
		}
		else source = commlist[0];

		newshtml = dsnsLFHTMLTemplates.latestnews + '';
		newshtml = newshtml.replace(/first_community_name/ig, commlist[0].t);
		newshtml = newshtml.replace(/first_community_link/ig, commlist[0].u);
		newshtml = newshtml.replace(/first_link/ig, commlist[0].u + commlist[0].lp + commlist[0].i[0].n);
		newshtml = newshtml.replace(/first_title/ig, commlist[0].i[0].t);
		
		if (commlist.length > 1) {
			newshtml = newshtml.replace(/second_community_name/ig, commlist[1].t);
			newshtml = newshtml.replace(/second_community_link/ig, commlist[1].u);
			newshtml = newshtml.replace(/second_link/ig, commlist[1].u + commlist[1].lp + commlist[1].i[0].n);
			newshtml = newshtml.replace(/second_title/ig, commlist[1].i[0].t);
		}
		
		if (commlist.length > 2) {
			newshtml = newshtml.replace(/third_community_name/ig, commlist[2].t);
			newshtml = newshtml.replace(/third_community_link/ig, commlist[2].u);
			newshtml = newshtml.replace(/third_link/ig, commlist[2].u + commlist[2].lp + commlist[2].i[0].n);
			newshtml = newshtml.replace(/third_title/ig, commlist[2].i[0].t);
		}

		source = commlist[0];
	} else if (!popup) {
		FindLocalDeals(source.k, function (feed, cfg, found) {
			html = dsnsLFHTMLTemplates.sponsor + '';
			if(feed.length < 1) return;
			var x = feed[Math.floor(Math.random() * feed.length)];
			if (typeof x.processed != 'boolean' || !x.processed) {
				x.link = cfg.root + '/' + x.name.replace(/\W+/ig, '_') + '/' + x.id + '.html';
				if(x.url) x.link = x.url;
				var k = x.logo.indexOf('http://hlocal.');
				if (k > -1)
					x.logo = x.logo.substr(k);
				else
					x.logo = cfg.imgroot + x.logo;
				k = x.logo.indexOf('http://hlcdn.');
				if(k==-1)
					k = x.logo.indexOf('http://media.');
				if (k > -1)
					x.logo = x.logo.substr(k);
				x.processed = true;
			}
			html = html.replace(/sponsor_pid/ig, x.pid);
			html = html.replace(/sponsor_id/ig, x.id);
			html = html.replace(/sponsor_link/ig, x.link);
			html = html.replace(/sponsor_img/ig, x.logo);
			html = html.replace(/sponsor_title/ig, x.name);
			if (x.coupon) {
				html = html.replace(/coupon_link/ig, x.link + '?o=' + x.oid);
				html = html.replace(/coupon_title/ig, x.coupon);
			}
			sponsor = { html: html, coupon: x.coupon };
			widget.find('.sponsor').html(html||'');
			if (!x.coupon)
				widget.find('.sponsor .coupon').hide();
		});
	}

	var img = source.i[0].i, imgload = false;
	if (!img || img.length < 1) {
		img = false;
		newshtml = newshtml.replace(/first_image/ig, 'http://cdn.secondspace.com/fshr/blank.gif');
	} else {
		var k = img.indexOf('http://hlocal.');
		if(k==-1)
			k = img.indexOf('http://media.');
		if(k>-1)
			img = img.substr(k);
		else
			img = source.u + source.ip + source.i[0].i;
		k = img.indexOf('http://hlcdn.');
		if(k==-1)
			k = img.indexOf('http://media.');
		if(k>-1)
			img = img.substr(k);

		imgload = new Image();
		imgload.src = img;
		newshtml = newshtml.replace(/first_image/ig, img);
	}

	if (state == 'hascomm') {
		newshtml = newshtml.replace(/first_link/ig, source.u + source.lp + source.i[0].n);
		newshtml = newshtml.replace(/first_title/ig, source.i[0].t);

		if (source.i.length > 1) {
			newshtml = newshtml.replace(/second_link/ig, source.u + source.lp + source.i[1].n);
			newshtml = newshtml.replace(/second_title/ig, source.i[1].t);
		}
		if (source.i.length > 2) {
			newshtml = newshtml.replace(/third_link/ig, source.u + source.lp + source.i[2].n);
			newshtml = newshtml.replace(/third_title/ig, source.i[2].t);
		}
		if (source.i.length > 3) {
			newshtml = newshtml.replace(/fourth_link/ig, source.u + source.lp + source.i[3].n);
			newshtml = newshtml.replace(/fourth_title/ig, source.i[3].t);
		}
		if (source.i.length > 4) {
			newshtml = newshtml.replace(/fifth_link/ig, source.u + source.lp + source.i[4].n);
			newshtml = newshtml.replace(/fifth_title/ig, source.i[4].t);
		}
	}
newshtml = newshtml.replace(/\\\\\'/g, '\'');
		var widget;
		var Switch = function() {
			widget.hide();
			widget.html(newshtml||'');
			if (img) $('.dsnsNewsWidget .localimg').show();
			else $('.dsnsNewsWidget .localimg').hide()
			if (popup)
				widget.find('.sponsor').remove();
			else if (sponsor) {
				widget.find('.sponsor').html(sponsor.html||'');
				if (!sponsor.coupon)
					widget.find('.sponsor .coupon').hide();
			}
			widget.show();

			if (state == 'hascomm') {
				if (source.i.length < 2) $('.dsnsNewsWidget .second').hide();
				if (source.i.length < 3) $('.dsnsNewsWidget .third').hide();
				if (source.i.length < 4) $('.dsnsNewsWidget .fourth').hide();
				if (source.i.length < 5) $('.dsnsNewsWidget .fifth').hide();
			}
			if (window.top != window.self)
				$('.dsnsNewsWidget A').attr('target', '_top');

			widget.find('.stories ul').addClass('hidden');
			widgetcontainer.css('display', 'block');
			setTimeout(function(){ setwidgetheight(widget);}, 200);
			setTimeout(function(){ setwidgetheight(widget);}, 500);
			setTimeout(function(){ setwidgetheight(widget);}, 1000);
			setTimeout(function(){ setwidgetheight(widget);}, 3000);

			var autoPopup = 'true' == 'true';
			if (autoPopup) {
				if (forceautopop) {
					setTimeout(function() { ShowPicker(); }, 750);
					forceautopop = false;
					return;
				}
				if (GetCommunityCookie())
					return;
				var ck = window['__dsns_'].GetCookie('dsnslfpop');
				var day = 86400000;
				var date = new Date();
				if (ck && ck != '1') {
					try {
						if (date.getTime() > parseInt(ck)) {
							date.setTime(date.getTime() + (12 * day));
							window['__dsns_'].SetCookie('dsnslfpop', '1', date.toGMTString());
							trackEvent('homepagewidget', 'autopopshown', 'site=' + window.location.host);
							setTimeout(function() { ShowPicker(); }, 750);
						}
					} catch (e) { }
				}
				if (!ck) {
					date.setTime(date.getTime() + (3 * day));
					window['__dsns_'].SetCookie('dsnslfpop', date.getTime());
				}
			}
		}
 
		var c = 20;
		var cssready = function() {
			if (widgetcontainer.css('backgroundRepeat') == 'no-repeat') {
				if (imgload && (!imgload.width || imgload.width < 1))
					$(imgload).bind("load error", function() { setTimeout(function() { Switch(); }, 10); });
				else
					Switch();				 
			}
			else {
				c--;
				if (c > 0) setTimeout(function() { cssready(); }, 250);
			}
		};
		cssready();
	}
window['__dsns_'].RenderNewsFeed = RenderFeed;

var dsnsLFHTMLTemplates = { communitynews: '', latestnews: '', deals:'', sponsor:'' };

var sh = null;
var setwidgetheight = function(widget) {
	var storylist = widget.find('.stories ul');
	var img = storylist.find('.localimg:first');
	if (img.length > 0) {
		if (img.attr('src').indexOf('blank.gif') == -1 && img.height() < 45 && img.height() > 0) {
			setTimeout(function() { setwidgetheight(widget) },100);
		}
	}
	sh = parseInt(widget.find('.stories').css('height'));
	var maxHide = 5;
	//if (sh == null || sh == 0) sh = parseInt($('#dsnslocal .stories').css('height'));
	if (storylist.height() > sh && sh != 0) {
		var hideone = function() {
			storylist.find('li:visible:last').hide();
			if (storylist.height() > sh && maxHide-- > 0)
				hideone();
		}
		hideone();
	}
	storylist.removeClass('hidden');
	storylist.find('li:visible:last').addClass('last');
}

var getCom = function (href) {
	var comobj;
	var i = href.indexOf('#'), k=4;
	while(i == -1 && k-- > 0)
	{
		href = decodeURIComponent(href);
		i = href.indexOf('#');
	}
	if(i==-1) {
		HidePicker();
		return false;
	}
	var n = href.substr(i+1);
	comobj = false;

	$.each(localFeeds, function (i, c) {
		if (c.k == n) {
			comobj = c;
			return false;
		}
	});
	return comobj;
}


function ShowFeeds(picked) {
	var defcom = '';
	if (!picked)
		picked = defcom;
	
	var com = false, dcom = false;
	var communityList = new Array();

	function feedSort(a, b) {
		var A = a.t.charAt(0), B = b.t.charAt(0);
		return A > B ? 1 : A < B ? -1 : 0;
	}
	localFeeds.sort(feedSort);

	$.each(localFeeds, function(i, c) {
		if (c.i.length == 0)
			c.i.push({"t":"No News Yet", "n":"0", "i":false});
	});
	if(/debugfeeds/ig.test(window.location.href))
		window['dsnsTemp'] = {localFeeds:localFeeds, defcom:defcom};

	window['__dsns_'].LocalFeeds = localFeeds;
	$.each(localFeeds, function(i, c) {
		if (c.i.length == 0) return true;
		communityList.push('<li><a href="#pick' + i + '">' + c.t + '</a></li>');
		if (c.k == picked) com = c;
		if (c.k == defcom) dcom = c;
	});
	if (!com) {
		com = dcom ? dcom : localFeeds[0];
	}
	if (!com || communityList.length == 0) {
		widgetcontainer.show();
		return;
	}
	
	lfHTML = lfHTML.replace('<!--', '<pre><!--').replace('-->', '--></pre>').replace('<pre><pre>', '<pre>').replace('</pre></pre>', '</pre>');
		
		widgetcontainer.css('visibility','hidden').html(lfHTML||'');
		dsnsLFHTMLTemplates.communitynews = GetMetaData($('#dsnsCommunityNews'));
		dsnsLFHTMLTemplates.latestnews = GetMetaData($('#dsnsLatestNews'));
		dsnsLFHTMLTemplates.deals = GetMetaData($('#dsnsbizdir'));
		dsnsLFHTMLTemplates.sponsor = GetMetaData($('#dsnsCommunitySponsor')); 

		if (horizontalformat)
		{
				dsnsLFHTMLTemplates.communitynews = GetMetaData($('#dsnsHCommunityNews'));
				dsnsLFHTMLTemplates.latestnews = GetMetaData($('#dsnsHLatestNews'));
		}
		widgetcontainer.find('.dsnsTemplate').remove();

	if($('#fin_maincontainer').length > 0) { // new layout
		if($('#dsnslocalnews2').length > 0) dsnsLFHTMLTemplates.news = GetMetaData($('#dsnslocalnews2'));
		if($('#dsnslocallinks2').length > 0) dsnsLFHTMLTemplates.links = GetMetaData($('#dsnslocallinks2'));
	}
	RenderFeed(com);

	var cc = GetCommunityCookie();
	if (cc != null) trackEvent('homepagewidget', 'widgetshown', 'site='+window.location.host + ' : community='+cc);
	else trackEvent('homepagewidget', 'widgetshown', 'site='+window.location.host);
		
		widgetcontainer.find('a[href$="pickcommunity"], #dsnslocalbiz a[href$="pickcommunity"]').live('click', function() {
				setTimeout(function() { ShowPicker(); }, 100);
				return false;
		});

		widgetcontainer.find('.links a.email').live('click', function() {
				$('#dsnsLfPopup').addClass('email');
						setTimeout(function() {ShowPicker();}, 100);
						return false;
		});
		widgetcontainer.css('visibility','visible');
}

var AddLiveTracking = function() {
		widgetcontainer.find('.stories ul a').live('click', function() {
				var me = $(this);
				var li = me.parent('li');
				var p = me.parents('ul').find('li').index(li) + 1;
				if (me.find('img').length > 0)
						trackEvent('homepagewidget', 'storythumbclick', 'site=' + window.location.host + ' : storyname=' + me.find('img').attr('alt') + ' : storyposition=' + p);
				else
						trackEvent('homepagewidget', 'storylinkclick', 'site=' + window.location.host + ' : storyname=' + me.text() + ' : storyposition=' + p);
		});
		$('.sponsor img').live('click', function() {
				trackEvent('homepagewidget', 'logoclick', 'site=' + window.location.host + ' : business=' + $(this).parents('.sponsor').find('.name').text());
		});
		$('.sponsor .name').live('click', function() {
				trackEvent('homepagewidget', 'businessclick', 'site=' + window.location.host + ' : business=' + $(this).text());
		});
		widgetcontainer.find('.links a').live('click', function() {
				var t = $(this).attr('title');
				trackEvent('homepagewidget', t + 'click', 'site=' + window.location.host);
		});
		$('#dsnslocalbiz .pickcommunity').live('click', function() {
		 trackEvent('homepagewidget', 'changecommunityclick', 'site=' + window.location.host);
		 return false;
		});
		widgetcontainer.find('.pickcommunity').live('click', function() {
				trackEvent('homepagewidget', 'changecommunityclick', 'site=' + window.location.host);
		});
		widgetcontainer.find('.choose a').live('click', function() {
				trackEvent('homepagewidget', 'bigchoosecommunityclick', 'site=' + window.location.host);
		});
}

var trackCache = {};
if(typeof window['_gaq'] != 'object') {
	window['_gaq'] = [];
	setTimeout(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
	}, 1000);
}
window['_gaq'].push(['ds._setAccount', 'UA-8329098-9'], ['ds._trackPageview']);

function trackEvent(cat, type, data) {
	if (typeof cat != 'string') cat = false;
	if (typeof type != 'string') type = false;
	if (typeof data != 'string') data = false;
	var k = cat + ':' + type + ':' + data;
	if (!trackCache[k]) {
		if (cat && type && data) window['_gaq'].push(['ds._trackEvent', cat, type, data]);
		else if (cat && type) window['_gaq'].push(['ds._trackEvent', cat, type]);
		else if (cat) window['_gaq'].push(['ds._trackEvent',cat, "true" ]);
		trackCache[k] = true;
	}
}

var HidePicker = function(outto) {
	RemoveOverlay(outto);
		var o = widgetcontainer;
	var p = $('#dsnsLfPopup, #dsnsLfPopup2');
	var h = p.height();
	var w = p.width();
	p.find('.topHead, .mainHoodContent, .widget, .popupBottom').hide();
	$(p).animate({ left: o.offset().left + 100, top: o.offset().top + 100, height: 0, width: 0 }, 550, function() {
		var me = $(this);
		me.height(h);
		me.width(w);
		me.hide().removeClass('dsnspopupopen');
	});
	if (IE) $('BODY').css({ position: '' });
}

var ShowPicker = function (target, outto, linkoff) {
	if (window.top != window.self) {
		window.top['__dsns_'].ShowPicker(window.self);
		return;
	}

		var isemail = function() {return $('#dsnsLfPopup').hasClass('email');}
		if(isemail() && !$.isReady || IE && $('#fin_maincontainer').length > 0 && $('#footer').length == 0) {
				setTimeout(function() {ShowPicker(target, outto, linkoff);}, 500);
				return;
		}

	if (IE && $('#fin_maincontainer').length > 0 && $('#footer').length == 0) {
		setTimeout(function () { ShowPicker(); }, 500);
		return;
	}
	if ($('#header #dsnsOverlay').length == 0 && $('BODY > #dsnsOverlay').length == 0) {
		$('#dsnsOverlay').prependTo($('BODY')).hide();
		$('#dsnsLfPopup').prependTo($('BODY'));
	}

	var p = $('#dsnsLfPopup2');
	if (!p || p.length < 1)
		p = $('#dsnsLfPopup');

		var t = widgetcontainer.find('.widget');

	if (target) { // we need to copy the popup in here
		if (!p || p.length == 0) {
			p = $('<div id="dsnsLfPopup">&nbsp;</div>').appendTo($('body'));
			p.html($(target.document).find('#dsnsLfPopup').html());
		}
		t = $(target.frameElement);
	}

	var cl = p.find('.column ul');
	var gdc = 8;
	if (cl.length > 1) {
		if (cl.find('.show-all').length == 0) {
			cl.each(function (i) {
				var me = $(this);
				var c = me.find('li').length;
				me.find('li:gt(' + (gdc - 1) + ')').wrapAll('<li class="collapsed"><ul></ul></li>');
				me.find('.collapsed').hide();
				me.find('ul:last').parent().after('<li><a class="show-all" href="#">Show All (' + c + ')</a></li>');
				me.find('a.show-all').click(function () {
					var l = me.find('.collapsed, .expanded');
					if (l.attr('class') == 'collapsed') {
						if (IE6) l.show().addClass('expanded').removeClass('collapsed');
						else l.slideDown().addClass('expanded').removeClass('collapsed');
						$(this).text('Hide All');
}
					else {
						if (IE6) l.hide().addClass('collapsed').removeClass('expanded');
						else l.slideUp().addClass('collapsed').removeClass('expanded');
						$(this).text('Show All (' + c + ')');
					}
					return false;
				});
			});
		}
	}
	else {
		var udc = 3;
		var b = cl.parent('.column');
		var li = cl.find('li');

		var i = function() {
				var n = li.length / udc;
				if (n%1 !== 0) n++
				return parseInt(n);
		}();

		var g = cl.find('li:lt(' + i + ')').remove();
		$('<ul/>').append(g).appendTo(b);

		while (g.length) {
			g = cl.find('li:lt(' + i + ')').remove()
			if (g.length > 0)
				$('<ul/>').append(g).appendTo(b)
		}
		cl.remove();
	}

	var pw = p.find('.widget');
	var he = p.find('.mainHoodContent, .popupBottom, .closeButton a, .widget, .topHead');

		var showemail = function(animate) {
				p.removeClass('email');
				var cn = t.find('.community').text();
				var th = p.find('.topHead');
				th.find('iframe').remove();
				if (th.find('iframe').length == 0) {
						var iframe = '<iframe class="nohide" src="'+ t.find('a.community').attr('href').split('?')[0] + '/newsletter-signup-tm/'+ cn +'" style="width:430px;height:250px;margin:auto;display:block" frameborder="0" scrolling="no"></iframe>'
						if (animate) {
								p.find('.mainHoodContent').slideUp();
								p.find('.topHead').append(iframe).slideDown();
						}
						else
								p.find('.topHead').append(iframe);
						p.find('.mainHoodContent, .subHead').hide();
				}
				p.find('h1').text('Stay Informed');
		}

	setTimeout(function () { AddOverlay(target || outto); p.find('A').css({ color: '' }); }, 10);

		var o = t.offset();		
		var w;
		if (p.width() == 0) w = '860px';
		else w = p.width();
		var h = p.height();

	var ww = $(window).width();
	var wh = $(window).height();
	var dl = $(document).scrollLeft();
	var dt = $(document).scrollTop();
	var gettotalwidth = function() {
		var s = ['padding-left', 'padding-right', 'margin-left', 'margin-right'];
		var tw = 0, l = s.length;
		for (i=0; i < l; i++) {
			var v = parseInt(p.css(s[i]));
			tw += (isNaN(v)) ? 0 : parseInt(v);
		}
		return tw;
	}
	var gettotalheight = function() {
		var s = ['padding-top', 'padding-bottom', 'margin-top', 'margin-bottom'];
		var th = 0, l = s.length;
		for (i=0; i < l; i++) {
			var v = parseInt(p.css(s[i]));
			th += (isNaN(v)) ? 0 : parseInt(v);
		}
		return th;
	}
	var ew = parseInt(w) + gettotalwidth();

	var eh = parseInt(h) + gettotalheight();
	var left = (ww - ew) / 2 + dl;
	var top = (wh - eh > 0) ? (wh - eh) / 2 + dt : 0 + dt;
	if (top < 10) top = 10;
	if (left < 10) left = 10;

	pw.addClass('hidden');
		if (horizontalformat) p.find('.mainHoodContent').addClass('dsnshorizontalpopup');
	he.hide();

	p.css({ left: o.left + 100, top: o.top + 100, height: 0, width: 0 });
	p.show();
	p.animate({ left: left, top: top, height: h, width: w }, 550, function () {
		p.addClass('dsnspopupopen');
		pw.removeClass('hidden');
		he.show();

		if (isemail()) {
			if (GetCommunityCookie()) showemail();
		}
		else {
				var h = p.find('h1');
				if (h.text() == 'Stay Informed') {
				h.text('Choose your community');
				p.find('iframe').remove();
				p.find('.mainHoodContent, .subHead').show();
				}			
		}

		p.css('height', 'auto');
	});
	
	if (!p.data('bound')) {
		p.data('bound', true);
		p.find('A[href$=close], .closeButton').click(function () {
			HidePicker();
			trackEvent('homepagewidget', 'closepopup', 'site=' + window.location.host);
			return false;
		});

		pw.html(t.html()||'').find('.sponsor, .choose').remove();

		var boxes = p.find('.box:nth-child(4n)');
		boxes.each(function (i, e) {
			var me = $(this);
			me.after('<div style="clear:both"></div>')
		});

trackEvent('homepagewidget', 'popupshown', 'site=' + window.location.host);

		var hovertimer;				
				if (!horizontalformat) {
						p.find('.column A').hover(
								function () {
										clearTimeout(hovertimer);
										var com = getCom($(this).attr('href'));
										hovertimer = setTimeout(
												function () {
														if ($('#dsnsLfPopup').css('display') == 'block')
																RenderFeed(com, true);
												}, 125);
								},
								function () {
										var com = null;
										clearTimeout(hovertimer);
										hovertimer = setTimeout(
												function () {
														if ($('#dsnsLfPopup').css('display') == 'block')
																RenderFeed(com, true);
												}, 125);
										}
						);
				}

		p.find('.column A:not(.show-all)').click(function () {
			com = getCom($(this).attr('href'));
			if (com) {
				window['__dsns_'].SetCookie('dsnscomm', com.k);
				if (linkoff) {
					window.location = href.substr(0, href.indexOf('#'));
					return false;
				}
				if (typeof window['__dsns_'].selectBusinesses == 'function')
					window['__dsns_'].selectBusinesses();
				if (target) {
					target['__dsns_'].RenderFeed(com);
				}
				else RenderFeed(com);
				trackEvent('homepagewidget', 'communitychosen', 'site=' + window.location.host + ' : community=' + com.t);

				if (window['__dsns_'].hasOwnProperty('ShowEventFeed')) {
					window['__dsns_'].ShowEventFeed(com.t);
				}

				if (isemail())
						showemail(true);
				else
						HidePicker(target || outto);
			} else
				HidePicker();
			return false;
		});

p.find('.popupBottom a.dont-ask').click(function () {
			var day = 86400000;
			var date = new Date();
			date.setTime(date.getTime() + (1460 * day));
			window['__dsns_'].SetCookie('dsnslfpop', '1', date.toGMTString());
			HidePicker();
			trackEvent('homepagewidget', 'dontaskclick', 'site=' + window.location.host);
			return false;
		});
		p.find('.popupBottom a.ask-later').click(function () {
			HidePicker();
			trackEvent('homepagewidget', 'asklater', 'site=' + window.location.host);
			return false;
		});
		p.find('.widget a').live('click', function() {return false;});
	}
}
window['__dsns_'].ShowPicker = ShowPicker;
var lfRendered = ldRendered = false;
var needLocalDeals = false;

var lrmax = 200;
var widgetcontainer = '';
var horizontalformat = false;

var localReady = function() {		
	if (lrmax-- > 0 && (!lfRendered || (needLocalDeals && !ldRendered) || typeof window['__dsns_'] != 'object'))
		setTimeout(function() { localReady(); }, 200);
	
	if ($('#dsnslocal').length > 0)
		widgetcontainer = $('#dsnslocal');
	else if ($('#dsnslocalhorizontal').length > 0) {
		horizontalformat = true;
		widgetcontainer = $('#dsnslocalhorizontal');
	}
	if (!lfRendered && widgetcontainer.length > 0) {
		lfRendered = true;
		AddLiveTracking();
		var h = window.location.hash;
		if (h.indexOf('setcommunity')==1) {
		 var c = h.split('=')[1];
		 if (c != '') window['__dsns_'].SetCookie('dsnscomm', c);
		}
		ShowFeeds(GetCommunityCookie());
	}

	if (!ldRendered && $('#dsnslocaldeals').length > 0) {
		ldRendered = true;
		RenderLocalDeals();
	}
}
localReady();
		
		var Ready = function(ready_host) {
			if(window[ds_plugin_name].IsReady) return;
			window[ds_plugin_name].IsReady = true;
			if(typeof $ == 'undefined')
			{
				if(ready_host && typeof ready_host.$ == 'function')
					$ = window[ds_plugin_name].$ = ready_host.$;
				else 
					$ = window[ds_namespace].$;
			}
			if(typeof $ == 'undefined')
				return;
			var boxes = $('.autocompleted');
if(IE)
	$(function(){boxes.each(function() {Autocomplete($(this));});});
else
	boxes.each(function() {
		Autocomplete($(this));
	});
if($('#dsnslocalbiz').length == 0) $('#dsnslocallinks').css({height:'auto'}); /* */ 
 /* tracking */
		//remove double tracking
		$('#dsnsLfPopup .widget .trackingmeta').remove();
(function(){for(var p={Type:"",DSC:"",PPID:"",ILocation:"",ISource:"",SFLT:"",name:"",order:"",offer:""},q={Type:"",DSC:"",PPID:"",ILocation:"",ISource:"",SFLT:"",name:"",order:"",offer:""},i={URI:"",UserId:""},l=["a","button"],j="services.datasphere.com",h="",k=0;k<l.length;k++)h.length>0&&(h+=","),h=h+l[k]+".clicktracking ,.clicktracking "+l[k];var r=function(a){var f=[];typeof a==="undefined"&&(a=".meta");$(a).each(function(){f.push(GetMetaData(this))});return f},m=function(){var a="",f;for(f in i)i.hasOwnProperty(f)&& (a.length>0&&(a+=";"),i[f]!==""&&(a=a+f+":"+i[f]));return a},n=function(a){a.slice(0,4)=="<\!--"&&(a=a.slice(4));a.slice(-3)=="--\>"&&(a=a.slice(0,-3));return $.trim(a)},o=function(a,f){for(var b,d=0;d<a.length;){b=a[d].split(";");for(var e=0;e<b.length;){var g=b[e].split(":"),c=g[0],g=window.escape(g.slice(1).join(""));b[e]=c+":"+g;typeof i[c]!="undefined"&&(i[c]=g);c==="TRACKINGDOMAIN"&&(j=window.unescape(g));typeof f[c]=="undefined"?b.splice(e,1):e++}b.length>0?(a[d]=b.join(";"),d++):a.splice(d, 1)} },s=function(){var a=new Image,f="/trackingImage.trk?TYPE=IMPRESSION",b=r(".trackingmeta");o(b,p);var d=2,e;if(i.URI.length===0)i.URI=window.escape(window.location.host+window.location.pathname+window.location.search);var g=m();if(!(j.length<=0))if(f="http://"+j+f,b.join().length>2E3){for(;b.slice(0,d*2).toString().length<2E3;)d*=2;for(var c=d,h=0;h!=b.length;){for(e=b.slice(h,c).toString();e.length<2E3&&c<b.length;){if(e.length+b[c].length<1999)e=e+","+b[c];else break;c++}h=c;c+=d;if(c>b.length)c=b.length;a=new Image; a.src=f+"&sk="+g+"&d="+e} }else e=b.toString(),a.src=f+"&sk="+g+"&d="+e};$(function(){s();j.length>0&&$(h).bind("click",function(){var a="http://"+j+"/trackingImage.trk?TYPE=CLICK",f=new Image,b=$(this).parents(),d="",e=[],g=m(),c="";$(this).is("a")?(c=$(this).text().length>0?window.escape($(this).text()):window.escape($(this).attr("title")),d=d+"ClickElement:Link;LinkText:"+c+";LinkUrl:"+window.escape($(this).attr("href"))):$(this).is("img")&&(d+="ClickElement:image;",$(this).parent().is("a")&&(d= d+"LinkUrl:"+window.escape($(this).parent().attr("href"))));typeof $(this).attr("trackingattrb")!="undefined"&&(d=$(this).attr("trackingattrb"));$(this).siblings(".trackingmeta").length>0&&e.push(n($(this).siblings(".trackingmeta").html()));for(c=0;c<b.length;c++)$(b[c]).attr("trackingattrb")!==null&&typeof $(b[c]).attr("trackingattrb")!=="undefined"&&e.push($(b[c]).attr("trackingattrb")),$(b[c]).siblings(".trackingmeta").length>0&&e.push(n($(b[c]).siblings(".trackingmeta").html()));o(e,q);d=d+";"+ e.join(";");f.src=a+"&sk="+g+"&d="+d})})})(); 
		}
		window[ds_plugin_name].Ready = Ready;
		window[ds_plugin_name].FullyInitialized = true;

		if(init_host)
			init_host.OnReady.push(window[ds_plugin_name].Ready);
		else
			$(function(){window[ds_plugin_name].Ready();});
	}
	Ready = false;
	
	return {
		Load: Load,
		WaitForInit: WaitForInit,
		Init: Init,
		WaitForReady: WaitForReady,
		WaitForBody: WaitForBody,
		Ready: Ready,
		GetCookie: GetCookie,
		SetCookie: SetCookie
	};
}();
//window[ds_plugin_name].WaitForBody();
window[ds_plugin_name].Load();

})();
