	var module = new Array();

	module[0] =
	{
	content:[

	{url:"http://blog.budgettravel.com/budgettravel/2012/02/readers_choice_nominations_whi.html", headline:"READERS\' CHOICE: Which City Has The Most User-Friendly Public Transportation System?", blurb:"We get to share our travel picks with you all year long. Now it’s your turn.", author:"Budget Travel", pubday:"Wednesday", pubdate:"Feb 22", timestamp:" 1:35 PM"},

	{url:"http://blog.budgettravel.com/budgettravel/2012/02/new_apps_let_you_create_animat.html", headline:"New Apps Let You Create Animated Photos", blurb:"Two new apps allow capture a two-second video and make a photo where only part of the scenery moves. Check out the cool images!", author:"Sean O\'Neill", pubday:"Wednesday", pubdate:"Feb 22", timestamp:"10:20 AM"},

	{url:"http://blog.budgettravel.com/budgettravel/2012/02/stevens_pass_avalanche_this_ai.html", headline:"Stevens Pass Avalanche: This Air Bag Backpack Saved a Life", blurb:"Sales are blowing up for the ABS TwinBag backpack that apparently saved a skiers life in the avalanche in Washington State this past Sunday.", author:"Sean O\'Neill", pubday:"Tuesday", pubdate:"Feb 21", timestamp:" 5:03 PM"},

	{url:"http://blog.budgettravel.com/budgettravel/2012/02/what_is_your_favorite_rental_c.html", headline:"READERS\' CHOICE: What Is Your Favorite Rental Car Company?", blurb:"We get to share our travel picks with you all year long. Now it’s your turn.", author:"Budget Travel", pubday:"Tuesday", pubdate:"Feb 21", timestamp:"12:54 PM"},


	{url:"", headline:"", blurb:"", author:"", pubday:"", pubdate:"", timestamp:""}
	]
	};

	var modulelast30days = new Array();
	modulelast30days[0] =
	{
	content:[

	{url:"http://blog.budgettravel.com/budgettravel/2012/02/readers_choice_nominations_whi.html", headline:"READERS\' CHOICE: Which City Has The Most User-Friendly Public Transportation System?", pubdate:"02/22/2012", comments:"5"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/new_apps_let_you_create_animat.html", headline:"New Apps Let You Create Animated Photos", pubdate:"02/22/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/stevens_pass_avalanche_this_ai.html", headline:"Stevens Pass Avalanche: This Air Bag Backpack Saved a Life", pubdate:"02/21/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/what_is_your_favorite_rental_c.html", headline:"READERS\' CHOICE: What Is Your Favorite Rental Car Company?", pubdate:"02/21/2012", comments:"5"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/avoiding_stomach_upset_on_the.html", headline:"How Do You Avoid Stomach Upset on the Road?", pubdate:"02/21/2012", comments:"5"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/avoid_being_pickpocketed_with.html", headline:"Avoid Being Pickpocketed with These Tips", pubdate:"02/20/2012", comments:"2"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/tips_for_taking_the_kids_to_ma.html", headline:"Tips For Taking The Kids To Mardi Gras This Year", pubdate:"02/17/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/poll_how_much_would_you_pay_to.html", headline:"Poll: What\'s The Most You Would Pay To Fly To Europe?", pubdate:"02/17/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/what_is_your_favorite_historic.html", headline:"READERS\' CHOICE: What Is Your Favorite Historical Spot In America?", pubdate:"02/17/2012", comments:"15"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/tripadvisor_reviews_now_availa.html", headline:"TripAdvisor Reviews Now Available On Kayak", pubdate:"02/17/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/this_spring_get_a_second_night.html", headline:"This Spring, Get a Second Night Free at KOA Campgrounds", pubdate:"02/17/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/travel_product_concepts_were_r.html", headline:"Travel Product Concepts We\'re Rooting For", pubdate:"02/17/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/should_you_travel_to_myanmar.html", headline:"Should You Travel to Myanmar?", pubdate:"02/17/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/how_to_keep_miles_alive.html", headline:"Keep Your Miles Alive Without Flying", pubdate:"02/16/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/todays_question_3rd_annual_rea.html", headline:"READERS\' CHOICE: Which Airport Features The Best Food?", pubdate:"02/16/2012", comments:"5"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/cruise_industry_changes_safety.html", headline:"Cruise Industry Changes Safety Drills", pubdate:"02/15/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/budget_travels_3rd_annual_read.html", headline:"Budget Travel’s 3rd Annual Readers’ Choice Contest", pubdate:"02/14/2012", comments:"49"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/peoplexpress_airlines_may_rela.html", headline:"Back-From-the-Dead Airline May Bring $128 Fares to East Coast", pubdate:"02/14/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/obama_plans_32_billion_in_air.html", headline:"Obama Plans $32 Billion in Air Traveler Fees to Cut Debt", pubdate:"02/13/2012", comments:"4"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/15_places_kids_should_see_befo.html", headline:"15 Places Kids Should See Before 15: Nominate Now!", pubdate:"02/13/2012", comments:"9"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/luggage_makers_strive_to_respo.html", headline:"A Surprising Trend in Affordable Luggage", pubdate:"02/13/2012", comments:"5"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/coming_soon_to_an_airport_near.html", headline:"Coming Soon To an Airport Near You: Skipping the Passport Line", pubdate:"02/10/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/are_airlines_cracking_down_on.html", headline:"Are Airlines Cracking Down on \"Airplane Mode\"?", pubdate:"02/08/2012", comments:"34"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/lodgenets_new_app_enhances_hot.html", headline:"A More Comfortable Hotel Stay? There\'s an App for That", pubdate:"02/07/2012", comments:"1"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/gulf_coast_beaches_recovering.html", headline:"Gulf Coast Beaches Recovering In BP Aftermath", pubdate:"02/07/2012", comments:"3"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/best_reader_tips_for_flying_wi.html", headline:"Best Reader Tips for Flying with an Infant", pubdate:"02/07/2012", comments:"2"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/using_pinterest_for_travel_ins.html", headline:"Using Pinterest for Travel Inspiration", pubdate:"02/06/2012", comments:"1"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/a_day_in_dickenss_london.html", headline:"Happy Birthday, Charles Dickens! ", pubdate:"02/06/2012", comments:"2"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/plenty_of_hotels_just_opened_u.html", headline:"Plenty Of Hotels Just Opened Up for London 2012", pubdate:"02/03/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/5_vacations_facebooks_new_mill.html", headline:"4 Vacations Facebook\'s New Millionaires Should Take", pubdate:"02/03/2012", comments:"1"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/cruise_lines_address_safety_st.html", headline:"Cruise Lines Address Safety Standards In Concordia Aftermath", pubdate:"02/02/2012", comments:"3"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/stock_up_on_free_ebooks_before.html", headline:"Stock Up on Free E-books Before Your Trip", pubdate:"02/01/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/02/coolest-small-town-2012-tie.html", headline:"Budget Travel\'s Coolest Small Town Results 2012? It’s a Tie!", pubdate:"02/01/2012", comments:"479"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/romance_in_midair_gets_a_boost.html", headline:"New Site \"We Met on a Plane\" Reconnects Fliers for Romance", pubdate:"01/31/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/where_do_you_turn_for_offthera.html", headline:"Where do You Turn for Off-The-Radar Restaurant Recommendations?", pubdate:"01/31/2012", comments:"5"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/missing_flight_reservation.html", headline:"What Happens When Your Flight Reservation Doesn\'t Exist?", pubdate:"01/31/2012", comments:"1"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/4_easy_ways_to_save_on_ski_tri.html", headline:"4 Easy Ways to Save on Ski Trips", pubdate:"01/30/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/the_tweet_that_got_a_british_t.html", headline:"The Tweets That Got Two Tourists Barred from the US", pubdate:"01/30/2012", comments:"2"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/the_battle_continues_americas.html", headline:"Which of America\'s Towns Will be Crowned \"The Coolest\" in 2012?", pubdate:"01/30/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/are_electric_carcharging_stati.html", headline:"Are Electric Car-Charging Stations the New Must-Have Hotel Amenity?", pubdate:"01/27/2012", comments:"2"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/why_dont_americans_take_more_v.html", headline:"Why Don’t Americans Take More Vacation?", pubdate:"01/27/2012", comments:"3"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/chinese_new_year_a_surprisingl.html", headline:"Chinese New Year: A surprisingly Affordable Time to Visit Hong Kong", pubdate:"01/26/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/new_ways_to_locate_hotels_base.html", headline:"3 New Ways to Locate Hotels Based On Travel Time To Major Attractions", pubdate:"01/26/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/where_to_go_for_snow.html", headline:"Where To Go For Snow", pubdate:"01/25/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/disney_worker_beard_ban_finall.html", headline:"Disney Worker Beard Ban Finally Gets Clipped ", pubdate:"01/25/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/the_sixweek_rule_for_getting_t.html", headline:"The Six-Week Rule for Finding the Cheapest Flights", pubdate:"01/25/2012", comments:"1"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/is_there_an_easy_way_to_get_th.html", headline:"Is There an Easy Way to Get Through Security With a Little One?", pubdate:"01/25/2012", comments:"18"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/feds_to_airlines_stop_hiding_t.html", headline:"Feds to Airlines: Stop Hiding Ticket Fees and Taxes", pubdate:"01/24/2012", comments:"2"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/good_luck_scoring_a_cheap_flig.html", headline:"Good Luck Scoring a Cheap Flight for the Superbowl", pubdate:"01/24/2012", comments:"0"},

	{url:"", headline:"", blurb:"", author:"", pubday:"", pubdate:"", timestamp:"",  comments: ""}
	]
	};
    

var moduleTalking = new Array();
    moduleTalking[0] = {
		content: [ {url:"", headline:"", blurb:"", author:"", pubday:"", pubdate:"", timestamp:"",  comments: ""} ]
		};
		
modulelast30days[0].content.sort(function(a,b){ return b.comments - a.comments});
var min20comments = 0;
for (i=0; i< modulelast30days[0].content.length; i++) {
	if (modulelast30days[0].content[i].comments >= 20) {
		min20comments++;	
	} else {
		i = modulelast30days[0].content.length;
	}
}

    
if ( min20comments < 4) { min20comments = 4;}

for (numcom=0; numcom < min20comments; numcom++ ) {
 moduleTalking[0].content[numcom] = modulelast30days[0].content[numcom];
} 

moduleTalking[0].content.sort(function(a,b){ return Math.random() - 0.5  } )


