//designated settings for overriding widget_width = typeof widget_width == 'number' ? widget_width : 300; widget_height = typeof widget_height == 'number' ? widget_height : 350; widget_border = typeof widget_border == 'number' ? widget_border : 5; widget_border_color = typeof widget_border_color == 'string' ? widget_border_color : '#aaaaaa'; widget_item_separator_color = typeof widget_item_separator_color == 'string' ? widget_item_separator_color : '#CCCCCC'; widget_item_background_color = typeof widget_item_background_color == 'string' ? widget_item_background_color : '#ffffff'; widget_item_text_color = typeof widget_item_text_color == 'string' ? widget_item_text_color : '#444444'; widget_background_color = typeof widget_background_color == 'string' ? widget_background_color : '#000000'; widget_header_text_color = typeof widget_header_text_color == 'string' ? widget_header_text_color : '#ffffff'; widget_footer_text_color = typeof widget_footer_text_color == 'string' ? widget_footer_text_color : '#ffffff'; widget_max_search_results = typeof widget_max_search_results == 'number' ? widget_max_search_results : 5; //calculated settings widget_item_box_width = (widget_width - (widget_border * 2)) - 10; //(the - 10 is for the padding) widget_item_box_scroll_width = widget_item_box_width - 5; widget_item_box_height = widget_height - 91; if(widget_item_box_height < 0){ widget_item_box_height = 1; } function initialize(){ document.write(''); document.write(''); document.write(''); document.write(''); document.write(''); document.write(' '); document.write(''); document.write(''); document.write(''); document.write('
Nutrition Lookup
'); document.write(' '); document.write(' '); document.write(' '); document.write('
'); document.write('
'); document.write('
'); document.write(' '); document.write('
'); } initialize(); setTimeout(function() { widgetSearch(''); }, 200);