/* Copyright (c) 2001-2010 Hot Neuron LLC.  See http://MagPortal.com/help/free_feeds/license.html */
function i_100(mag,magurl,pubdate,auth,title,desc,id,num_sim)
	{
	this.m = mag
	this.mu = magurl
	this.pd = pubdate
	this.a = auth
	this.t = title
	this.d = desc
	this.i = id
	this.s = num_sim
	}
a_100 = new Array(
new i_100("Popular Mechanics","http://popularmechanics.com/","March 10, 2010","David Kiley","2011 Ford F-Series Super Duty Test Drive","The best bits of the redesigned Ford Super Duty are under the hood, in the bed, and behind the instrument panel.","406358","228"),
new i_100("Popular Mechanics","http://popularmechanics.com/","March 2010","Mike Allen","6 Steps to Prepare Your Car For Long-Term Storage","Unless there&#39;s something very special about a particular car, I don&#39;t suggest placing a car in storage for more than a year.","406367","119"),
new i_100("Popular Mechanics","http://popularmechanics.com/","March 9, 2010","James Tate","2011 Mercedes-Benz E-Class Cabriolet Test Drive","While the E-Class Cabriolet is more than handsome from the front, the rear view could be called an acquired taste.","406276","47"),
new i_100("Popular Mechanics","http://popularmechanics.com/","March 8, 2010","Mike Allen","Toyota Fires Back: Electronics Don&#39;t Rewire Themselves","Claims by Dave Gilbert on ABC News and before Congress about how easy it is for Toyotas to accelerate out of control involve manipulations of electrical circuits that are extremely unlikely to occur in practice.  Furthermore, no case of sudden unintended acceleration has been attributed to bad wiring.","406270","40"),
new i_100("Popular Mechanics","http://popularmechanics.com/","March 5, 2010","Mike Allen","How to Handle Sudden Unintended Acceleration","A video illustrating what will happen if you accelerate your car to 55 and then stop it while the throttle is still open.","406096","72"),
new i_100("Popular Mechanics","http://popularmechanics.com/","March 3, 2010","Mike Allen","Anatomy of Toyota&#39;s Problem Pedal: Mechanic&#39;s Diary","Toyota deserves a better deal than the media and Congress are giving it.","405859","48"),
new i_100("Popular Mechanics","http://popularmechanics.com/","March 1, 2010","David Kiley","What&#39;s Next for Toyota: Your Top Recall Questions, Answered","Questions still linger, notably, what will be the ultimate consequence of Toyota&#39;s nightmare episode.","405506","335"),
new i_100("Popular Mechanics","http://popularmechanics.com/","March 1, 2010","Ben Stewart","2011 Infiniti M36 and M56 Test Drive","Two months ago we had a chance to spend some time behind the wheel of prototype versions of Infiniti&#39;s new M37 and M56 sedans. We were certainly impressed. But it&#39;s difficult to judge a luxury car when there are still some rough edges to smooth out.","405480","74"),
new i_100("Popular Mechanics","http://popularmechanics.com/","February 22, 2010","Ben Stewart","2011 Hyundai Sonata Test Drive","Hyundai has made a habit these days of studying the benchmark in a class of vehicle, and nearly duplicating the style and performance of that car for far less money.","404792","63"),
new i_100("U.S. NHTSA","http://www.nhtsa.dot.gov/","February 22, 2010","","New Sample Bill will Aid States in Banning Texting While Driving","U.S. Transportation Secretary Ray LaHood today unveiled sample legislation to be used as a starting point for states crafting new laws to prohibit texting while behind-the-wheel.  Currently, nineteen States have texting laws.","404834","41"))
function c_100(c,t)
	{
	return c == '' ? t : '<FONT COLOR="'+c+'">'+t+'</FONT>'
	}
function l_100(c,u,t,w)
	{
	return '<A HREF="'+u+'"'+w+'>'+c_100(c,t)+'</A>'
	}
function mpfmt_100(max_articles,new_win,detail,left_width,bgcolor,font_ctrl,text_color,mag_color,title_color,mark_color,sim_color)
	{
	var c='http://MagPortal.com/cgi/'
	var ts='<TABLE CELLPADDING=0 BORDER=0 CELLSPACING='
	var fb=font_ctrl=='' ? '' : '<FONT '+font_ctrl+'>'
	var fe=fb=='' ? '' : '</FONT>'
	var n=max_articles<a_100.length ? max_articles : a_100.length
	var w=new_win ? ' TARGET="_blank"' : ' TARGET="_top"'
	var r

	left_width = detail=='full' ? ' WIDTH='+left_width : ''
	r = ts+'0 WIDTH="100%" BGCOLOR="'+bgcolor+'"><TR><TD>'+ts+'2 WIDTH="100%">\n'
	for (var i=0; i<n; ++i)
		{
		r+='<TR VALIGN=baseline>'
		r+='<TD'+left_width+'>'

		if (i==0 && detail!='full')
			{
			r+=ts+'0 ALIGN=right><TR><TD ALIGN=center>'+fb+'<B>'
			r+=c_100(text_color,'&nbsp;News&nbsp;Powered&nbsp;by&nbsp;')
			r+=l_100(title_color,'http://MagPortal.com/','MagPortal.com',w)+'&nbsp;'
			r+='</B>'+fe+'</TD></TR></TABLE>'
			}

		r+=fb+l_100(mag_color,a_100[i].mu,a_100[i].m,w)
		if (detail!='full')
			r+= ' '
		else
			{
			var da=a_100[i].pd=='' ? '' : '<BR>'+a_100[i].pd
			da+=a_100[i].a=='' ? '' : '<BR>'+a_100[i].a
			r+=c_100(text_color,da)+fe+'</TD><TD>'

			if (i==0)
				{
				r+=ts+'1 ALIGN=right><TR><TD ALIGN=center>'+fb+'<B>'
				r+=c_100(text_color,'&nbsp;News&nbsp;Powered&nbsp;by&nbsp;')
				r+='<BR>'
				r+='&nbsp;'+l_100(title_color,'http://MagPortal.com/','MagPortal.com',w)+'&nbsp;'
				r+='</B>'+fe+'</TD></TR></TABLE>'
				}

			r+=fb
			}
 		r+=l_100(title_color,'http://MagPortal.com/nr/rdir.php?w='+a_100[i].i,a_100[i].t,w)
		if (detail!='little') r+=' '+c_100(text_color,a_100[i].d) 
		r+=' '+l_100(mark_color,c+'myart.cgi?w='+a_100[i].i,'[mark]',w) 
		if (a_100[i].s>0) r+=' '+l_100(sim_color,c+'sim.cgi?w='+a_100[i].i,'[similar]',w)
		r+=fe+'</TD></TR>\n'
		}
	r+='<TR><TD COLSPAN=2 ALIGN=center>'+fb+'<I>'+c_100(text_color,'Get '+l_100(title_color,'http://MagPortal.com/c/home/auto/','more articles',w)+' or a '+l_100(title_color,c+'feed_request.cgi?c=100','free feed',w)+' for your web site.')+'</I>'+fe+'</TD></TR>\n'
	r+='</TABLE></TD></TR></TABLE>'
	return r
	}
