// JavaScript Document

// setting variables

var jOfSpec;

// setting functions

function changeAttribute ()
{
   if(jOfSpec.className == "flashOne")
   {
      jOfSpec.className = "flashTwo";
   }
   else if (jOfSpec.className == "flashTwo")
   {
      jOfSpec.className = "flashOne";
   }
}

function initAll()
{
   jOfSpec = document.getElementById("ofSpec");
   jOfSpec.className = "flashOne";
}


// beggining

window.onload = initAll;

var interval = setInterval(changeAttribute, 400);

