	var module = new Array();

	module[0] =
	{
	content:[

	{url:"http://blog.budgettravel.com/budgettravel/2012/02/are_airlines_cracking_down_on.html", headline:"Are Airlines Cracking Down on \"Airplane Mode\"?", blurb:"We’ve recently heard rumblings of airlines cracking down on cell phone use, even in airplane mode, and we want to know&mdash;how many of you have experienced this?", author:"Budget Travel", pubday:"Wednesday", pubdate:"Feb  8", timestamp:"10:53 AM"},

	{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", blurb:"There are plenty of apps on the market to help you find a hotel. Now there\'s an app to make your stay better, too.", author:"Budget Travel", pubday:"Tuesday", pubdate:"Feb  7", timestamp:" 5:38 PM"},

	{url:"http://blog.budgettravel.com/budgettravel/2012/02/gulf_coast_beaches_recovering.html", headline:"Gulf Coast Beaches Recovering In BP Aftermath", blurb:"Environmental inspection teams analyze the coastlines impacted by the April 2010 Deepwater Horizon oil spill.", author:"Michelle Baran", pubday:"Tuesday", pubdate:"Feb  7", timestamp:" 4:24 PM"},

	{url:"http://blog.budgettravel.com/budgettravel/2012/02/best_reader_tips_for_flying_wi.html", headline:"Best Reader Tips for Flying with an Infant", blurb:"Thanks to some great advice from readers, my first flight with our son was a breeze.", author:"Budget Travel", pubday:"Tuesday", pubdate:"Feb  7", timestamp:" 3:53 PM"},


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

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

	{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:"1"},
	{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:"0"},
	{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:"2"},
	{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:"0"},
	{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:"473"},
	{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:"1"},
	{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:"17"},
	{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:"0"},
	{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:"http://blog.budgettravel.com/budgettravel/2012/01/obama_wants_foreign_tourists_t.html", headline:"Obama Wants Foreign Tourists to Feel More Welcome", pubdate:"01/20/2012", comments:"1"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/france_plans_a_napoleonland_th.html", headline:"France Plans a Napoleonland Theme Park", pubdate:"01/20/2012", comments:"2"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/pondering_the_muslim_brotherho.html", headline:"Pondering the Muslim Brotherhood’s Effect On Travel To Egypt", pubdate:"01/19/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/how_come_fewer_and_fewer_ameri.html", headline:"How Come Fewer and Fewer Americans Are Going Camping?", pubdate:"01/19/2012", comments:"1"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/new_trend_booking_afternoononl.html", headline:"New Trend: Booking \"Afternoon-Only\" Rooms at Luxury Hotels", pubdate:"01/18/2012", comments:"2"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/five_reasons_why_your_cruise_s.html", headline:"Are you Less Likely to Cruise?", pubdate:"01/18/2012", comments:"26"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/how_to_avoid_airport_taxi_scam.html", headline:"How to Avoid Airport Taxi Scams", pubdate:"01/17/2012", comments:"4"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/does_coach_americas_bankruptcy.html", headline:"Does Coach America’s Bankruptcy Indicate Bus Travel Woes?", pubdate:"01/13/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/disney_fantasy_cruise_ship_bec.html", headline:"Disney Fantasy Cruise Ship Becoming Reality: A First Look", pubdate:"01/13/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/so_whats_that_sale_flight_real.html", headline:"So What\'s That \"Sale\" Flight Really Going to Cost Me? ", pubdate:"01/12/2012", comments:"2"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/when_nonstop_flights_arent_non.html", headline:"Nonstop Flights Increasingly Make Unplanned Stops", pubdate:"01/12/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/would_you_travel_to_north_kore.html", headline:"Would You Travel To North Korea Post Kim Jong Il?", pubdate:"01/11/2012", comments:"0"},
	{url:"http://blog.budgettravel.com/budgettravel/2012/01/six_major_hotel_chains_launch.html", headline:"Six Major Hotel Chains Launch Disappointing Room Search Engine", pubdate:"01/11/2012", comments:"2"},

	{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  } )


