
function af_loadphoto(n) {
 top.location.href = 'alissaflint.php?menu=photos&n='+n;
}

function af_counter() {
document.write ('<iframe src="af-counter.php" width=94 scrolling=no frameborder=0 height=25>');
document.write ('</iframe>');
}

var oLastBtn = 0;
function RaiseButton ()
{ window.event.cancelBubble = true;
  oBtn = window.event.srcElement;
  var bChosen = false;
  if (oLastBtn && oLastBtn != oBtn) {HideButton();}
  if (oBtn.buttonType) {oBtn.className = oBtn.buttonType + "Up"; oLastBtn=oBtn;}
  else { oLastBtn = 0;	}
}
function DepressButton ()
{ window.event.cancelBubble=true;
  oBtn = window.event.srcElement;
  if (oBtn.buttonType) {oBtn.className = oBtn.buttonType + "Down";}
}
function HideButton ()
{ if ((oLastBtn.buttonType == "appNavSubChosen")) 
    { oLastBtn.className = oLastBtn.buttonType; }
  else { oLastBtn.className = oLastBtn.buttonType + "Off";}
}
  var strTDColor = '#3366CC';
  g_RolledTD = new Object;

function textRoll (strTextColor) { 
  window.event.srcElement.style.color = strTextColor;
  window.event.cancelBubble = true;
}

function TDUnRoll() { 
  g_RolledTD.bgColor = strTDColor;
}

function TDRoll(strTDColor) { 
  window.event.srcElement.bgColor = strTDColor;
  g_RolledTD = window.event.srcElement;
  window.event.cancelBubble = true;
}

  document.onClick = TDUnRoll;
  document.onmouseover = TDUnRoll;
  window.defaultStatus = "© Alissa Flint 2003-2009 ";

function GoTo () { 
  alert ('ß òàê øó÷ó! Ñîððè!');
}

function boom (n) {
  if (window.top.moveBy) { 
    for (i = 10; i > 0; i--) {
      for (j = n; j > 0; j--) {
        window.top.moveBy(0,i);
        window.top.moveBy(i,0);
        window.top.moveBy(0,-i);
        window.top.moveBy(-i,0);
      }
    }
  }
}

function callJS (n) {
  boom (n)
  return eval (n)
}
