// JScript source code
function BakeCookie( CookieName, CookieValue ) {
  today = new Date;      
  var dDate = new Date(today.getYear() + 1, today.getMonth(), today.getDate())
      
  // Set the cookie
  setCookie(CookieName, CookieValue, dDate );
  }
    
function setCookie( name, value, expires, path, domain, secure ) {
  document.cookie = name + "=" + escape( value ) + 
    ((expires) ? "; expires=" + expires.toGMTString() : "" ) + 
    ((path) ? "; path=" + path : "" ) +
    ((domain) ? "; domain=" + domain : "" ) +
    ((secure) ? "; secure" : "" );
  }

function SwapImage( ImageName, NewImagePath )
  {
  ImageName.src = NewImagePath;
  }    


