/**
 * Cookie 990702
 * by oliviero rossi, Oct 2000
 * Copyright (c) 2000 - ATS SpA
 *
 * ATS grants you a royalty free license to use or modify this
 * software provided that this copyright notice appears on all copies.
 * This software is provided "AS IS," without a warranty of any kind.
 */

function setCookie (name,value,expires,path,domain,secure) 
{
  var nname = name;
  var vvalue = value;
  var ppath = path;
  var eexpires = expires;
  var ddomain = domain;
  var ssecure = secure;

  document.cookie = nname + "=" + escape (vvalue) +
    ((eexpires) ? "; expires=" + eexpires.toGMTString() : "") +
    ((ppath) ? "; path=" + ppath : "") +
    ((ddomain) ? "; domain=" + ddomain : "") +
    ((ssecure) ? "; secure" : "");
}
function setImage(file, alt)
{
  var ffile;
  var aalt;
  ffile = file;
  aalt = alt;

  setCookie('file',ffile);
  setCookie('place',aalt);
}
