// JavaScript Document var Features = new Array(); Features[0] = new Array(); Features[0]['Title'] = 'Go Wild…and Bring the Kids'; Features[0]['Desc'] = 'Want to really get to know your kids? One weekend in the woods may teach you more than you\'d learn in a year. It\'s not expensive; the memories, however, are priceless.'; Features[0]['Byline'] = ''; Features[0]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/go_wild_bring_kids/index.html'; Features[0]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/go_wild_bring_kids/small.jpg'; Features[1] = new Array(); Features[1]['Title'] = 'Sunday Supper…or Any Other Time'; Features[1]['Desc'] = 'Spaghetti and meatballs at Grandma’s may be a thing of the past, but there are still ways to create special memories, one meal a week. '; Features[1]['Byline'] = ''; Features[1]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/sunday_supper/index.html'; Features[1]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/sunday_supper/small.jpg'; Features[2] = new Array(); Features[2]['Title'] = 'Be a Clean Freak … for Less'; Features[2]['Desc'] = 'Regular household products can often do double duty as cleaning supplies, saving you money in the process. '; Features[2]['Byline'] = ''; Features[2]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/home_cleaning/index.html'; Features[2]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/home_cleaning/small.jpg'; Features[3] = new Array(); Features[3]['Title'] = 'Money for Something?'; Features[3]['Desc'] = 'The next time your child asks for a raise in allowance, give him a cool job to do instead. You\'ll both be the richer for it!'; Features[3]['Byline'] = ''; Features[3]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/money_for_something/index.html'; Features[3]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/money_for_something/small.jpg'; Features[4] = new Array(); Features[4]['Title'] = 'Get the Most $ out of Grilling'; Features[4]['Desc'] = 'It\'s quick, easy and virtually mess-free. And when you play it smart, grilling can also be one of the most economical ways to cook.'; Features[4]['Byline'] = ''; Features[4]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/grilling_tips/index.html'; Features[4]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/grilling_tips/small.jpg'; Features[5] = new Array(); Features[5]['Title'] = 'How Clean Is Your Home?'; Features[5]['Desc'] = 'Dust, grime and mold may be collecting in hidden places and can even pose a health hazard. Here\'s how to get -- and keep -- your home really clean.'; Features[5]['Byline'] = ''; Features[5]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/clean_home/index.html'; Features[5]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/clean_home/small.jpg'; Features[6] = new Array(); Features[6]['Title'] = 'Cut Back on Summer Spending'; Features[6]['Desc'] = 'While you\'re out having fun in the sun, your expenses may be sneaking up on you. Here\'s how to keep hidden costs in check.'; Features[6]['Byline'] = ''; Features[6]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/summer_spending/index.html'; Features[6]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/summer_spending/small.jpg'; Features[7] = new Array(); Features[7]['Title'] = '6 Shortcuts for 6 Summer Recipes'; Features[7]['Desc'] = 'What\'s the fastest way to cook ribs, make pie, husk corn? Here, tips from the pros on how to make quickwork of summer cooking.'; Features[7]['Byline'] = ''; Features[7]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/summer_recipes/index.html'; Features[7]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/summer_recipes/small.jpg'; Features[8] = new Array(); Features[8]['Title'] = 'Get Your Kitchen Cleaner Quicker'; Features[8]['Desc'] = 'Sick of the ick on every surface of your kitchen? Here, money-saving ways to clean your kitchen, from oil spots on your cabinets to burnt food remnants in your oven.'; Features[8]['Byline'] = ''; Features[8]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/kitchen_cleaning/index.html'; Features[8]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/kitchen_cleaning/small.jpg'; Features[9] = new Array(); Features[9]['Title'] = '10 Ways to Reuse and Save'; Features[9]['Desc'] = 'Recycling is great for the environment, but reusing benefits your budget too. Here are some smart and surprising ways to give toss-ables a second chance.'; Features[9]['Byline'] = ''; Features[9]['Link'] = 'http://www.ideasthatspark.com/cobrand/feature/recycle_and_save/index.html'; Features[9]['Image'] = 'http://www.ideasthatspark.com/cobrand/feeds/recycle_and_save/small.jpg'; function GetParams() { Params = new Array(); // get the script object that "included" this JavaScript file in the src attribute var Scripts = document.getElementsByTagName('script'); if( Scripts && Scripts.length > 0 ) { // the script object that "included" us is currently the last script object loaded // (any following script objects will be created after this code executes) var ThisScript = Scripts[Scripts.length-1]; var QueryString = ThisScript.src.replace(/^[^\?]+\??/,''); var KeyValuePairs = QueryString.split( '&' ); for( var i=0; i 0 ) { var key = KeyValuePairs[i].substring(0,pos); var val = KeyValuePairs[i].substring(pos+1); Params[key] = val; } } } return Params; } var Params = GetParams(); var FeatureFormat = Params['Format']; if( !FeatureFormat ){ FeatureFormat = 'Desc' } var FeatureCount = parseInt( Params['Count'] ); if( !FeatureCount ){ FeatureCount = 1 } var FeatureSponsor = Params['Sponsor']; if( !FeatureSponsor ){ FeatureSponsor = '1' } var FeatureByLine = Params['ByLine']; if( !FeatureByLine ){ FeatureByLine = '0' } var FeatureLogo = Params['Logo']; if( !FeatureLogo ){ FeatureLogo = '0' } // display features if( FeatureFormat == 'Image' ) { document.writeln(''); for( var FeatureIndex = 0; Features[FeatureIndex] != null && FeatureIndex < FeatureCount; FeatureIndex++ ) { document.writeln(''); document.writeln(''); document.writeln(''); } if( FeatureSponsor != '0' ) { document.writeln(''); document.writeln(''); document.writeln(''); document.writeln('
'); document.writeln('

'); document.writeln('' + Features[FeatureIndex]['Title'] + ' -- ' + Features[FeatureIndex]['Desc'] + '

'); document.writeln('
'); } } else if( FeatureFormat == 'HTML') { document.writeln('
'); if( FeatureLogo == '1' ) { document.writeln(''); } for( var FeatureIndex = 0; Features[FeatureIndex] != null && FeatureIndex < FeatureCount; FeatureIndex++ ) { document.writeln(''); document.writeln( ( ( FeatureByLine == '1' && Features[FeatureIndex]['Byline'] ) ? '
By ' + Features[FeatureIndex]['Byline'] + '
' : '' ) ); document.writeln('
' + Features[FeatureIndex]['Desc'] + '
'); } document.writeln('
'); } else { document.writeln('
'); document.writeln('
    '); for( var FeatureIndex = 0; Features[FeatureIndex] != null && FeatureIndex < FeatureCount; FeatureIndex++ ) { document.writeln('
  • ' + Features[FeatureIndex]['Title'] + '' + ( FeatureFormat == 'Desc' ? ' -- ' + Features[FeatureIndex]['Desc'] : '' ) + '
  • '); } document.writeln('
'); document.writeln('
'); if( FeatureSponsor != '0' ) { document.writeln(''); document.writeln('
'); document.writeln('

Ideas That Spark is made possible by Bounty

'); } } var CurDate = new Date(); var CacheString = '?' + CurDate.getMonth() + CurDate.getDate() + CurDate.getYear() + CurDate.getTime(); document.writeln(''); if( FeatureFormat == 'Image' ) { if( FeatureSponsor != '0' ) { document.writeln('
'); document.writeln('

Ideas That Spark is made possible by Bounty

'); document.writeln('
'); } document.writeln('
'); } else if( FeatureSponsor != '0' ) { document.writeln(''); } document.writeln('');