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 FeatureUser = Params['user']; if( !FeatureUser ){ FeatureUser = '' } 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' } // JavaScript Document var Features = new Array(); Features[0] = new Array(); Features[0]['Title'] = 'Holiday Mission: Start a Family Tradition!'; Features[0]['Desc'] = 'Holidays are all about time with the family, so make these special days remarkably memorable, year after year.'; Features[0]['Byline'] = ''; Features[0]['Link'] = 'http://girlworld.teenspot.com/feature/holiday/index.html?user=' + FeatureUser ; Features[0]['Image'] = 'http://girlworld.teenspot.com/feeds/holiday/small.jpg'; Features[1] = new Array(); Features[1]['Title'] = '5 Fun-tastic Things to Do With Your Friends'; Features[1]['Desc'] = 'Are you and your buds bored? Think you guys don’t have anything to do? Stop that right now -- it’s time to fun it up with your BFFs!'; Features[1]['Byline'] = ''; Features[1]['Link'] = 'http://girlworld.teenspot.com/feature/fun_activities_girls/index.html?user=' + FeatureUser ; Features[1]['Image'] = 'http://girlworld.teenspot.com/feeds/fun_activities_girls/small.jpg'; Features[2] = new Array(); Features[2]['Title'] = 'When Frenemies Attack!'; Features[2]['Desc'] = 'She’s known as your friend. But you know deep down you secretly can’t stand each other. A pretend friend? No … she’s your frenemy.'; Features[2]['Byline'] = ''; Features[2]['Link'] = 'http://girlworld.teenspot.com/feature/frenemies/index.html?user=' + FeatureUser ; Features[2]['Image'] = 'http://girlworld.teenspot.com/feeds/frenemies/small.jpg'; Features[3] = new Array(); Features[3]['Title'] = 'Quiz: Are You an Awesome BFF?'; Features[3]['Desc'] = 'Do you have what it takes to be the best bestie ever? Take our quiz to find out!

Also! Hip Relationship Tip, right here.'; Features[3]['Byline'] = ''; Features[3]['Link'] = 'http://girlworld.teenspot.com/feature/quiz_awesome_bff/index.html?user=' + FeatureUser ; Features[3]['Image'] = 'http://girlworld.teenspot.com/feeds/quiz_awesome_bff/small.jpg'; Features[4] = new Array(); Features[4]['Title'] = 'Ditch the Body Drama'; Features[4]['Desc'] = '\'I hate my boobs!\'…\'My butt’s too big\'…\'Why haven’t I gotten my period?\'…\'Hair where!?!\' Get over it, would ya? Love your ever-changing fabulous bod for all its girly glory.'; Features[4]['Byline'] = ''; Features[4]['Link'] = 'http://girlworld.teenspot.com/feature/ditch_body_drama/index.html?user=' + FeatureUser ; Features[4]['Image'] = 'http://girlworld.teenspot.com/feeds/ditch_body_drama/small.jpg'; Features[5] = new Array(); Features[5]['Title'] = 'May the Force Be With You'; Features[5]['Desc'] = 'Ever hear of Ayurveda? It\'s a "life science" of India that says every girl has a unique body type based on the elements of air, fire and Earth. Find out your type, and you\'ll be destined for a happy, balanced life!'; Features[5]['Byline'] = ''; Features[5]['Link'] = 'http://girlworld.teenspot.com/feature/may_the_force_be_with_you/index.html?user=' + FeatureUser ; Features[5]['Image'] = 'http://girlworld.teenspot.com/feeds/may_the_force_be_with_you/small.jpg'; Features[6] = new Array(); Features[6]['Title'] = 'Cheap Is Chic'; Features[6]['Desc'] = 'Tough financial times call for frugal-iciousness! You can easily have a fab time with friends -- without blowing all your cashola.

Bonus! What\'s been Spotted by Spygirl?'; Features[6]['Byline'] = ''; Features[6]['Link'] = 'http://girlworld.teenspot.com/feature/cheap_is_chic/index.html?user=' + FeatureUser ; Features[6]['Image'] = 'http://girlworld.teenspot.com/feeds/cheap_is_chic/small.jpg'; Features[7] = new Array(); Features[7]['Title'] = 'Wherefore Art Thou?'; Features[7]['Desc'] = 'What do you do when you like the "wrong" guy? Such as the cutie from a different school... or your brother\'s best friend. Relax, that dude could be your Romeo! Also! Hip Relationship Tip, right here'; Features[7]['Byline'] = ''; Features[7]['Link'] = 'http://girlworld.teenspot.com/feature/wherefore_art_thou/index.html?user=' + FeatureUser ; Features[7]['Image'] = 'http://girlworld.teenspot.com/feeds/wherefore_art_thou/small.jpg'; Features[8] = new Array(); Features[8]['Title'] = 'What\'s Buggin\' Ya?'; Features[8]['Desc'] = 'Believe it or not, adults care about kids\' concerns. Worried about global warming? The flailing economy? Cyberbullying? All of the above, according to some recent reports.'; Features[8]['Byline'] = 'Kim Childress'; Features[8]['Link'] = 'http://girlworld.teenspot.com/feature/buggin_ya/index.html?user=' + FeatureUser ; Features[8]['Image'] = 'http://girlworld.teenspot.com/feeds/buggin_ya/small.jpg'; Features[9] = new Array(); Features[9]['Title'] = 'The Self-esteem Makeover!'; Features[9]['Desc'] = 'Hey, want to come off as unattractive? Act like you totally lack confidence -- that should do the trick.'; Features[9]['Byline'] = ''; Features[9]['Link'] = 'http://girlworld.teenspot.com/feature/self_esteem_makeover/index.html?user=' + FeatureUser ; Features[9]['Image'] = 'http://girlworld.teenspot.com/feeds/self_esteem_makeover/small.jpg'; // display features if( FeatureFormat == 'Image' ) { document.writeln('

Girl World Daily

'); document.writeln(''); for( var FeatureIndex = 0; Features[FeatureIndex] != null && FeatureIndex < FeatureCount; FeatureIndex++ ) { document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); document.writeln(''); if( FeatureSponsor != '0' ) { document.writeln(''); } document.writeln('
'); document.writeln('

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

'); } if( FeatureSponsor != '0' ) { 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('
'); } } var CurDate = new Date(); var CacheString = '?' + CurDate.getMonth() + CurDate.getDate() + CurDate.getYear() + CurDate.getTime(); document.writeln(''); if( FeatureFormat == 'Image' ) { document.writeln('
'); document.writeln('
'); } else if( FeatureSponsor != '0' ) { document.writeln(''); document.writeln(''); } document.writeln('');