var Toyota = window.Toyota || {};
Toyota.log = function() {
	var args = Array.prototype.slice.call(arguments, 0);
	if (window.console && console.log) {
		console.log.apply(console, args);
	}
}

$(function() { // ready to run

	// Set the width of the THs
	$("table.form th").css({width:"175px",height:"1%"});
	$("table.models th").css({width:"auto",height:"1%"});

	// Set width of date slector
	$(".buyingatoyota table:eq(1) td").attr({"width":"150px"});
	
	
	// Show sections based on selections
	//$("#topic").change(function(){
		//switch ($(this).attr("value"))
		//{
		//case "Buying a Toyota":
		  //$(".buyingatoyota").show();
		  //break
		//default:
		  //$(".buyingatoyota").hide();	
		  //break
		//}
	//});
	
});

