2 * Copyright (c) 2010 The Chromium Authors. All rights reserved. Use of this
3 * source code is governed by a BSD-style license that can be found in the
8 * @fileoverview Defines the constants and most commonly used functions.
9 * @author navneetg@google.com (Navneet Goel).
13 * Default feed news URL.
15 var DEFAULT_NEWS_URL = 'http://news.google.com/news?output=rss';
18 * Image URL of Israel country.
20 var ISRAEL_IMAGE_URL = 'http://www.gstatic.com/news/img/logo/iw_il/news.gif';
23 * Alias for getElementById.
24 * @param {String} elementId Element id of the HTML element to be fetched.
25 * @return {Element} Element corresponding to the element id.
27 function $(elementId) {
28 return document.getElementById(elementId);