function startwidget160x400_Healthy(tracking_id) {
		startwidget160x400(tracking_id, "/rsshealthy.asp");
}

function startwidget160x400_Promo(tracking_id) {
		startwidget160x400(tracking_id, "/rsspromo.asp");
}

function startwidget160x400_TopRated(tracking_id) {
		startwidget160x400(tracking_id, "/rsstoprated.asp");
}

function startwidget300x250_Healthy(tracking_id) {
		startwidget300x250(tracking_id, "/rsshealthy.asp");
}

function startwidget300x250_Promo(tracking_id) {
		startwidget300x250(tracking_id, "/rsspromo.asp");
}

function startwidget300x250_TopRated(tracking_id) {
		startwidget300x250(tracking_id, "/rsstoprated.asp");
}

function startwidget160x400(tracking_id, xml_path) {
	tracking_id = tracking_id.replace('-', '')
	document.write('			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="160" height="400" id="ckbhwg_main" name="blogherwidget" align="middle">');
	document.write('				<param name="movie" value="http://www.cooking.com/blogher/widget/160x400blogher.swf">');
	document.write('				<param name="allowscriptaccess" value="always">');
	document.write('				<param name="allownetworking" value="all">');
	document.write('				<param name="flashvars" value="tracking_id=CKBW' + tracking_id + '&amp;bg_image=/images/widget/blogher/160x400/bgImage.jpg&amp;logo=/images/widget/blogher/160x400/affiliatelogo.jpg&amp;logo_bg=/images/widget/blogher/160x400/affiliatelogo_BG.jpg&amp;submit_image=/images/widget/blogher/160x400/submit.jpg&amp;submit_URL=/blogher/widgetoptin.asp?blogheremail=&amp;xml_path=' + xml_path + '">');
	document.write('				<!--[if !IE]>-->');
	document.write('				<object type="application/x-shockwave-flash" data="http://www.cooking.com/blogher/widget/160x400blogher.swf" width="160" height="400" align="middle">');
	document.write('					<param name="allowscriptaccess" value="always">');
	document.write('					<param name="allownetworking" value="all">');
	document.write('					<param name="flashvars" value="tracking_id=CKBW' + tracking_id + '&amp;bg_image=/images/widget/blogher/160x400/bgImage.jpg&amp;logo=/images/widget/blogher/160x400/affiliatelogo.jpg&amp;logo_bg=/images/widget/blogher/160x400/affiliatelogo_BG.jpg&amp;submit_image=/images/widget/blogher/160x400/submit.jpg&amp;submit_URL=/blogher/widgetoptin.asp?blogheremail=&amp;xml_path=' + xml_path + '">');
	document.write('				<!--<![endif]-->');
	document.write('					<a href="http://www.adobe.com/go/getflashplayer">');
	document.write('						<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />');
	document.write('					</a>');
	document.write('				<!--[if !IE]>-->');
	document.write('				</object>');
	document.write('				<!--<![endif]-->');
	document.write('			</object>');
}

function startwidget300x250(tracking_id, xml_path) {
	tracking_id = tracking_id.replace('-', '')
	document.write('			<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="250" id="ckbhwg_main" name="blogherwidget" align="middle">');
	document.write('				<param name="movie" value="http://www.cooking.com/blogher/widget/300x250blogher.swf">');
	document.write('				<param name="allowscriptaccess" value="always">');
	document.write('				<param name="allownetworking" value="all">');
	document.write('				<param name="flashvars" value="tracking_id=CKBW' + tracking_id + '&amp;bg_image=/images/widget/blogher/300x250/bgImage_wide.jpg&amp;logo=/images/widget/blogher/300x250/affiliatelogo2_wide.jpg&amp;logo_bg=/images/widget/blogher/300x250/affiliatelogo_BG_wide.jpg&amp;submit_image=/images/widget/blogher/300x250/submit_wide.jpg&amp;submit_URL=/blogher/widgetoptin.asp?blogheremail=&amp;xml_path=' + xml_path + '">');
	document.write('				<!--[if !IE]>-->');
	document.write('				<object type="application/x-shockwave-flash" data="http://www.cooking.com/blogher/widget/300x250blogher.swf" width="300" height="250" align="middle">');
	document.write('					<param name="allowscriptaccess" value="always">');
	document.write('					<param name="allownetworking" value="all">');
	document.write('					<param name="flashvars" value="tracking_id=CKBW' + tracking_id + '&amp;bg_image=/images/widget/blogher/300x250/bgImage_wide.jpg&amp;logo=/images/widget/blogher/300x250/affiliatelogo2_wide.jpg&amp;logo_bg=/images/widget/blogher/300x250/affiliatelogo_BG_wide.jpg&amp;submit_image=/images/widget/blogher/300x250/submit_wide.jpg&amp;submit_URL=/blogher/widgetoptin.asp?blogheremail=&amp;xml_path=' + xml_path + '">');
	document.write('				<!--<![endif]-->');
	document.write('					<a href="http://www.adobe.com/go/getflashplayer">');
	document.write('						<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />');
	document.write('					</a>');
	document.write('				<!--[if !IE]>-->');
	document.write('				</object>');
	document.write('				<!--<![endif]-->');
	document.write('			</object>');
}

