if(top!=self)
  top.location=self.location;

// AddToAny variables BEGIN
var a2a_config = a2a_config || {};
a2a_config.linkname=document.title;
a2a_config.linkurl=location.href;
a2a_config.show_title=1;
a2a_config.num_services=12;
a2a_config.color_main="666";
a2a_config.color_border="666";
a2a_config.color_link_text="333";
a2a_config.color_link_text_hover="fff";
a2a_config.color_bg="ffc";
a2a_config.color_arrow_hover="fff";
a2a_config.prioritize=["bibsonomy","delicious","citeulike","digg","connotea","facebook",
					"google_bookmarks","myspace","mister-wong","stumbleupon","twitter"];
a2a_config.no_3p=1;
// AddToAny variables END

// From Coffeecup.com
// modified by info (at) jayaitchdesign (dot) com

  var spaces = "      ...      ...      ...      ";

  var txt1a  = "As far away from Hitler";
  var txt1b  = "as only ever possible";
  var txt1c  = "an exquisite document";
  var txt1d  = "of Jewish collecting culture";
//  var txt1e  = "";
//  var txt1f  = "";

  var txt2a  = "Only few copies left";
  var txt2b  = "the Codex Atlanticus";
  var txt2c  = "Leonardo da Vinci's";
  var txt2d  = "marvelous treasure";
  var txt2e  = "of sketches and ideas";
  var txt2f  = "of any kind imaginable";

  var txt3a  = "Leonardo da Vinci";
  var txt3b  = "in the edizione nazionale";
  var txt3c  = "and further publications";
//  var txt3d  = "";
//  var txt3e  = "";
//  var txt3f  = "";

  var txt4a  = "niemeyer artbooks";
  var txt4b  = "old and new books on art";
  var txt4c  = "facsimile editions";
  var txt4d  = "Leonardo da Vinci in der edizione nazionale";
  var txt4e  = "and other publications";
  var txt4f  = "as well as art and indexes on microfiche";

var quotenumber = 4 ;
var randomnumber = Math.random() ;
var rand1 = Math.round( (quotenumber-1) * randomnumber) + 1 ;
texts = new Array
texts[1] = txt1a+spaces+txt1b+spaces+txt1c+spaces+txt1d+spaces
texts[2] = txt2a+spaces+txt2b+spaces+txt2c+spaces+txt2d+spaces+txt2e+spaces+txt2f+spaces
texts[3] = txt3a+spaces+txt3b+spaces+txt3c+spaces
texts[4] = txt4a+spaces+txt4b+spaces+txt4c+spaces+txt4d+spaces+txt4e+spaces+txt4f+spaces
var msg = texts[rand1]

text = new Array
text[1] = "+++  Exquisite document of Jewish collecting culture: http://www.niemeyer-artbooks.com/artbook/28886_e.php  +++"
text[2] = "+++  Only few copies left: http://www.niemeyer-artbooks.com/leonardo/28772_e.php  +++"
text[3] = "+++  Leonardo da Vinci: http://www.niemeyer-artbooks.com/leonardo/index.php  +++"
text[4] = "+++  niemeyer artbooks: http://www.niemeyer-artbooks.com/index.htm  +++"
var fix = text[rand1]

function infoscroll(seed,looped)
{
  var putout = " ";
  var c   = 1;

  if (looped > 2)
  {  window.status=fix;  }
  else if (seed > 100)
  {
     seed--;
     var cmd="infoscroll(" + seed + "," + looped + ")";
     timerTwo=window.setTimeout(cmd,100);
  }
  else if (seed <= 100 && seed > 0)
  {
    for (c=0 ; c < seed ; c++)
    {  putout+=" ";  }
    putout+=msg.substring(0,200-seed);
    seed--;
    var cmd="infoscroll(" + seed + "," + looped + ")";
    window.status=putout;
    timerTwo=window.setTimeout(cmd,100);
  }
  else if (seed <= 0)
  {
    if (-seed < msg.length)
    {
      putout+=msg.substring(-seed,msg.length);
      seed--;
      var cmd="infoscroll(" + seed + "," + looped + ")";
      window.status=putout;
      timerTwo=window.setTimeout(cmd,100); // 100
    }
    else
    {
      window.status=" ";
      looped += 1;
      var cmd = "infoscroll(100," + looped + ")";
      timerTwo=window.setTimeout(cmd,75); // 75
    }
  }
}
