/*


Dynamic Application of Functions to DOM
*/
var _debugMode = false;
document.observe('dom:loaded', init);
Event.observe(window, 'load', initAfterImages);


function init () {
  if (Prototype.Browser.IE) {

    $$('#navPrimary ul', '#navFoot ul').invoke('wrap', 'del', {'style': 'display: inline-block; text-decoration: none; margin: 0 0 1px 0'});
    $$('ul.navSub li:last-child')[0].addClassName('last-child');
	[$('cocoDesign')].compact().invoke('pngHack');

    if (!window.XMLHttpRequest) {
      $$('input[type="text"]').invoke('setStyle', 'display: block; font-family: Georgia, serif; border: 1px solid #BFB388; padding: 7px 10px;');
      $$('h1:first-child').invoke('setStyle', 'margin-top: 0');
    }  
  }
}

function initAfterImages () {
  
}

