function changeLinkTargets( element, target ) {
	if ( element && element.getElementsByTagName ) {
		var localDomainUrlRegExp = new RegExp( "^[^:]+:\\/\\/([^\\/]+\\.)*?" + location.host, "i" );
		var elementsWithHrefs = new Array();
		elementsWithHrefs.push( element.getElementsByTagName( "A" ), element.getElementsByTagName( "AREA" ) );
		for ( var eachArray in elementsWithHrefs ) {
			for ( var i = 0, numOfElements = elementsWithHrefs[eachArray].length; i < numOfElements; i++ ) {
				var thisObject = elementsWithHrefs[eachArray][i];
				if ( thisObject ) {
					var thisHref = thisObject.getAttribute( "HREF" );
					if ( thisHref ) {
						if ( thisHref.indexOf( 'http' ) == 0 && ! thisHref.match( localDomainUrlRegExp ) ) {
							if ( ! thisHref.match( /^[^:]+:\/\/([^\/]+\.)*((cnn|turner|money|fortune(500|sb)?|fsb|business20?|ecompany(now)?|askannie|stanleybing)\.com|business20?\.co\.uk|mutualfundsmag\.biz)/i ) || thisHref.match( /^[^:]+:\/\/([^\/]+\.)*(digital\.(fortune|business2|fsb)\.com|secretsofgreatness\.fortune\.com)/i ) ) {
								thisObject.target = "new";
								thisObject.rel = "external nofollow";
							} else {
								thisObject.rel = "external";
							}
						}
					}
				}
			}
		}
	}
}

function blogGetSource() {
	var source = "";
	if ( location.hostname.match(/(.*)\.blogs\.business2\.cnn\.com/) ) {
		source = "BIZ2"; }
	else
	if ( location.hostname.match(/(.*)\.blogs\.fortune\.cnn\.com/) ) {
		source = "FORT"; }
	else
	if ( location.hostname.match(/(.*)\.blogs\.fsb\.cnn\.com/) ) {
		source = "FSB"; }
	else
	if ( location.hostname.match(/(.*)\.blogs\.money\.cnn\.com/) ) {
		source = "MONEY"; }
	else { source = "CNN"; }
	// alert(source);
	return source;
}

function blogGetBrand() {
	// Appearing in ABC order of wordpress account
	var myBrand = "";
	// askfsb
	if (location.href.match("http://askfsb.blogs.fsb.cnn.com")) {
		myBrand = "questionsforfsb";	}
	// browser
	else if (location.href.match("http://thebrowser.blogs.fortune.cnn.com")) {
		myBrand = "browser";	}
	// cnnmoneymediabiz
	else if (location.href.match("http://mediabiz.blogs.cnnmoney.cnn.com")) {
		myBrand = "mediabiz";	}
	// fortuneaskannie
	else if (location.href.match("http://askannie.blogs.fortune.cnn.com")) {
		myBrand = "annie";	}
	// fortunefeatures
	else if (location.pathname.match("/2007/05/03/100-top-mba-employers/")) {
		myBrand = "mba100_2007";	}
	else if (location.pathname.match("/2007/05/15/20-great-employers-for-new-grads/")) {
		myBrand = "entrylevel";	}
	else if (location.pathname.match("fortune-500")) {
		myBrand = "fortune500_2007";	}
	else if (location.pathname.match("most-admired-companies")) {
		myBrand = "mostadmiredcos";	}
	else if (location.pathname.match("most-powerful-women-in-business-2007")) {
		myBrand = "powerwomen2007";	}	
	// fortunetalkback
	else if (location.pathname.match("global-500")) {
		myBrand = "global500_2007";	}
	// fsbfeatures
	else if (location.pathname.match("next-little-thing")) {
		myBrand = "nextlittlething";	}
	// moneyfeatures
	else if (location.pathname.match("best-places-to-live-2007")) {
		myBrand = "bestplacelive_2007"; }
	//techinnovators2008
	else if ( location.href.match('/2008/10/14/live-apple-laptop-event-at-10-am-pt/') || location.href.match('/2008/10/14/will-steve-jobs-outrun-a-bear/') || location.href.match('/2008/10/14/the-800-rumor-that-spoiled-apples-party/') ) {
		myBrand = "techinnovators2008"; }
	else { myBrand = "";  }
	// alert(myBrand);
	return myBrand;
}

function writeBlogAd(adtype){
// Appearing in order of wordpress account, default ad is business_news/blogs at the bottom
		// askfsb, small_business/ask_fsb/blogs
		if (location.href.match('http://askfsb.blogs.fsb.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("623117","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=336x280_rgt&cnn_money_rollup=small_business&cnn_money_section=ask_fsb&cnn_money_subsection=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("112598","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=728x90_top&cnn_money_rollup=small_business&cnn_money_section=ask_fsb&cnn_money_subsection=blogs&params.styles=fs","90","728");
			}
		}
		// asktheexpert, retirement/ask_the_expert/blog
		else if (location.href.match('http://asktheexpert.blogs.money.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("235136","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=money&cnn_money_pagetype=blog&cnn_money_position=336x280_rgt&cnn_money_rollup=retirement&cnn_money_section=ask_the_expert&cnn_money_subsection=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("291471","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=money&cnn_money_pagetype=blog&cnn_money_position=728x90_top&cnn_money_rollup=retirement&cnn_money_section=ask_the_expert&cnn_money_subsection=blogs&params.styles=fs","90","728");
			}
		}
		// bigtech, techonolgy/fortune/blogs
		else if (location.href.match('http://bigtech.blogs.fortune.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("775894","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=technology&cnn_money_section=blogs&params.styles=fs","280","336");
		} else {
cnnad_createAd("387088","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=technology&cnn_money_section=blogs&params.styles=fs","90","728");
			}
		}
		// fortune tech special, technology/tech_special_report/fortune
		else if ( location.href.match('/2008/10/14/live-apple-laptop-event-at-10-am-pt/') || location.href.match('/2008/10/14/will-steve-jobs-outrun-a-bear/') || location.href.match('/2008/10/14/the-800-rumor-that-spoiled-apples-party/') ){
			if (adtype == "adsquare") {
cnnad_createAd("600733","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=technology&cnn_money_section=tech_special_report&params.styles=fs","280","336");
		} else {
cnnad_createAd("703999","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=technology&cnn_money_section=tech_special_report&params.styles=fs","90","728");
			}
		}
		// cnnmoneytalkback uses default
		// fortuneapple20, technology/blogs/apple20
		else if (location.href.match('http://apple20.blogs.fortune.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("848418","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=technology&cnn_money_section=blogs&cnn_money_subsection=apple20&params.styles=fs","280","336");
		} else {
cnnad_createAd("570441","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=technology&cnn_money_section=blogs&cnn_money_subsection=apple20&params.styles=fs","90","728");
			}
		}
		// fortuneaskannie, business_news/jobs_and_economy/careers/blogs/fortune
		else if (location.href.match('http://askannie.blogs.fortune.cnn.com/')){
			if (adtype == "adsquare") {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_pagetype=blog&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=jobs_and_economy&cnn_money_subsection=careers");
			} else {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_pagetype=blog&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=jobs_and_economy&cnn_money_subsection=careers");
			}
		}
		// fortunedailybriefing, business_news/blogs/fortune/daily_briefing
		else if (location.href.match('http://dailybriefing.blogs.fortune.cnn.com/')){
			if (adtype == "adsquare") {
cnnad_createAd("410368","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=blogs&cnn_money_subsection=daily_briefing&params.styles=fs","280","336");
			} else {
cnnad_createAd("491303","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=blogs&cnn_money_subsection=daily_briefing&params.styles=fs","90","728");
			}
		}
		// fortunefeatures - most admired companies, business_news/lists/most_admired_companies_feature
		else if (location.pathname.match('most-admired-companies')){
			if (adtype == "adsquare") {
cnnad_createAd("390522","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=lists&cnn_money_subsection=most_admired_companies_feature&params.styles=fs","280","336");
			} else {
cnnad_createAd("147785","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=lists&cnn_money_subsection=most_admired_companies_feature&params.styles=fs","90","728");
			}
		}
		// fortunefeatures uses default
		// fortunegig - business_news/jobs_and_economy/careers/blogs/fortune
		else if (location.href.match('http://thegig.blogs.fortune.cnn.com')){
			if (adtype == "adsquare") {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_pagetype=blog&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=jobs_and_economy&cnn_money_subsection=careers");
			} else {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_pagetype=blog&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=jobs_and_economy&cnn_money_subsection=careers");
			}
		}
		// fortunegowest, markets_and_stocks/blogs/go_west/fortune
		else if (location.href.match('http://gowest.blogs.fortune.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("722917","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=markets_and_stocks&cnn_money_section=blogs&cnn_money_subsection=go_west&params.styles=fs","280","336");
			} else {
cnnad_createAd("463710","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=markets_and_stocks&cnn_money_section=blogs&cnn_money_subsection=go_west&params.styles=fs","90","728");
			}
		}
		// fortunelegalpad - business_news/blogs/fortune
		else if (location.href.match('http://legalpad.blogs.fortune.cnn.com/')){
			if (adtype == "adsquare") {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=blogs");
			} else {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=blogs");
			}
		}
		// fortunepostcards - business_news/blogs/fortune/postcards
		else if (location.href.match('http://postcards.blogs.fortune.cnn.com/')){
			if (adtype == "adsquare") {
cnnad_createAd("650005","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_pagetype=blog&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=blogs&cnn_money_subsection=postcards&params.styles=fs","280","336");
			} else {
cnnad_createAd("967676","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_pagetype=blog&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=blogs&cnn_money_subsection=postcards&params.styles=fs","90","728");
			}
		}
		// fortunepowerplay - business_news/blogs/fortune
		else if (location.href.match('http://powerplay.blogs.fortune.cnn.com/')){
			if (adtype == "adsquare") {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=blogs");
			} else {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=blogs");
			}
		}
		// fortunetalkback - best advice, business_news/best_advice
		else if (location.pathname.match('the-best-and-worst-advice-you-ever-got')){
			if (adtype == "adsquare") {
cnnad_createAd("920608","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=best_advice&params.styles=fs","280","336");
			} else {
cnnad_createAd("460396","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=best_advice&params.styles=fs","90","728");
			}
		}
		// fortunetalkback - Global 500, business_news/lists/global_500_blog
		else if (location.pathname.match('global-500')){
			if (adtype == "adsquare") {
cnnad_createAd("449896","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=lists&cnn_money_subsection=global_500_blog&params.styles=fs","280","336");
			} else {
cnnad_createAd("351853","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=lists&cnn_money_subsection=global_500_blog&params.styles=fs","90","728");
			}
		}
		// fortunetalkback uses default
		// fortunetechland, techonolgy/fortune/blogs
		else if (location.href.match('http://techland.blogs.fortune.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("775894","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=technology&cnn_money_section=blogs&params.styles=fs","280","336");
		} else {
cnnad_createAd("387088","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=technology&cnn_money_section=blogs&params.styles=fs","90","728");
			}
		}
		// fortunewheeldeal, lifestyle/auto/blogs/fortune
		else if (location.href.match('http://thewheeldeal.blogs.fortune.cnn.com/')){
			if (adtype == "adsquare") {
cnnad_createAd("971408","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=lifestyle&cnn_money_section=auto&cnn_money_subsection=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("685155","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=lifestyle&cnn_money_section=auto&cnn_money_subsection=blogs&params.styles=fs","90","728");
			}
		}
		// fsbfeatures, small_business/blogs/fsb
		else if (location.href.match('http://fsbfeatures.blogs.fsb.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("72693","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=336x280_rgt&cnn_money_rollup=small_business&cnn_money_section=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("992856","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=728x90_top&cnn_money_rollup=small_business&cnn_money_section=blogs&params.styles=fs","90","728");
			}
		}
		// fsbfeatures - next little thing, small_business/next_little_thing/fortune
		else if (location.pathname.match('next-little-thing')){
			if (adtype == "adsquare") {
cnnad_createAd("147544","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=small_business&cnn_money_section=next_little_thing&params.styles=fs","280","336");
			} else {
cnnad_createAd("530713","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=small_business&cnn_money_section=next_little_thing&params.styles=fs","90","728");
			}
		}
		// fsbfeatures uses default
		// futureboy, small_business/ask_and_answer/blogs
		else if (location.href.match('http://futureboy.blogs.fsb.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("562738","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=336x280_rgt&cnn_money_rollup=small_business&cnn_money_section=ask_and_answer&cnn_money_subsection=blogs&params.styles=fs","280","336");
		} else {
cnnad_createAd("387899","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=728x90_top&cnn_money_rollup=small_business&cnn_money_section=ask_and_answer&cnn_money_subsection=blogs&params.styles=fs","90","728");
			}
		}
		// garmentos uses default, business_news/blogs/fortune
		else if (location.href.match('http://garmentos.blogs.fortune.cnn.com/')){
			if (adtype == "adsquare") {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=blogs");
			} else {
cnnad_renderAd("http://ads.cnn.com/js.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=blogs");
			}
		}
		// greenwombat, business_news/biz_green/blog
		else if (location.href.match('http://greenwombat.blogs.fortune.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("869267","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=biz_green&cnn_money_subsection=blogs&params.styles=fs","280","336");
		} else {
cnnad_createAd("302637","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=biz_green&cnn_money_subsection=blogs&params.styles=fs","90","728");
			}
		}
		// grouchygeek, technology/fortune/blogs
		else if (location.href.match('http://grouchygeek.blogs.fortune.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("775894","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=336x280_rgt&cnn_money_rollup=technology&cnn_money_section=blogs&params.styles=fs","280","336");
		} else {
cnnad_createAd("387088","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=fortune&cnn_money_position=728x90_top&cnn_money_rollup=technology&cnn_money_section=blogs&params.styles=fs","90","728");
			}
		}
		// millionairesinthemaking, retirement/millionaires_center/blog
		else if (location.href.match('http://millionaires.blogs.cnnmoney.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("946640","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=money&cnn_money_pagetype=blog&cnn_money_position=336x280_rgt&cnn_money_rollup=retirement&cnn_money_section=millionaires_center&cnn_money_subsection=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("855198","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=money&cnn_money_pagetype=blog&cnn_money_position=728x90_top&cnn_money_rollup=retirement&cnn_money_section=millionaires_center&cnn_money_subsection=blogs&params.styles=fs","90","728");
			}
		}
		// moneyethics, personal_finance/blogs
		else if (location.href.match('http://moneyethics.blogs.money.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("931519","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=336x280_rgt&cnn_money_rollup=personal_finance&cnn_money_section=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("372391","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=728x90_top&cnn_money_rollup=personal_finance&cnn_money_section=blogs&params.styles=fs","90","728");
			}
		}
		// moneyfeatures - best places, personal_finance/blogs
		else if (location.pathname.match('best-places-to-live-2007')){
			if (adtype == "adsquare") {
cnnad_createAd("726861","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=money&cnn_money_position=336x280_rgt&cnn_money_rollup=personal_finance&cnn_money_section=best_places_to_live&cnn_money_subsection=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("16118","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=money&cnn_money_position=728x90_top&cnn_money_rollup=personal_finance&cnn_money_section=best_places_to_live&cnn_money_subsection=blogs&params.styles=fs","90","728");
			}
		}
		// moneyfeatures - your family, personal_finance/your_family
		else if (location.href.match('/how-much-do-you-know-about-your-spouses-money/') || location.href.match('/is-it-harder-to-get-a-student-loan/')){
			if (adtype == "adsquare") {
cnnad_createAd("833440","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=money&cnn_money_position=336x280_rgt&cnn_money_rollup=personal_finance&cnn_money_section=your_family&params.styles=fs","280","336");
			} else {
cnnad_createAd("305737","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_brand=money&cnn_money_position=728x90_top&cnn_money_rollup=personal_finance&cnn_money_section=your_family&params.styles=fs","90","728");
			}
		}
		// moneyfeatures, personal_finance/blogs
		else if (location.href.match('http://moneyfeatures.blogs.money.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("931519","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=336x280_rgt&cnn_money_rollup=personal_finance&cnn_money_section=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("372391","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=728x90_top&cnn_money_rollup=personal_finance&cnn_money_section=blogs&params.styles=fs","90","728");
			}
		}
		// moneyhelps, personal_finance/blogs
		else if (location.href.match('http://moneyhelps.blogs.money.cnn.com')){
			if (adtype == "adsquare") {
cnnad_createAd("931519","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=336x280_rgt&cnn_money_rollup=personal_finance&cnn_money_section=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("372391","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=728x90_top&cnn_money_rollup=personal_finance&cnn_money_section=blogs&params.styles=fs","90","728");
			}
		}
		// cnnmoneytest, uses default
		// default tags: business_news/blogs
		else {
			if (adtype == "adsquare") {
cnnad_createAd("388280","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=336x280_rgt&cnn_money_rollup=business_news&cnn_money_section=blogs&params.styles=fs","280","336");
			} else {
cnnad_createAd("878424","http://ads.cnn.com/html.ng/site=cnn_money&cnn_money_position=728x90_top&cnn_money_rollup=business_news&cnn_money_section=blogs&params.styles=fs","90","728");
		}
	}
}

