/**
 * this files creates the base namespace for all core 
 * code -"sw". In addtion, shortcuts are created into the YAHOO.util for ease of coding.
 * @author Danlan
 */

if(YAHOO.util){
  /**
   * create shortcuts into YAHOO lib, allows for easer coding/readability.
   * some of the shortcuts: yuiDom, yuiEvent, yuiAnim, yuiEasing...
   * Same as var yuiDom = YAHOO.util.Dom;
   */
  for(var prop in YAHOO.util){
    window["yui"+ prop] = YAHOO.util[prop];
  }
}
/**
 * create the base "sw" namespace for all core  code.
 */
var sw = YAHOO.namespace("sw");

