// Generated using NetSyndic 1.0.1.
// See http://www.thesitewizard.com/netsyndic/ for more information
// on how to create your own JavaScript to syndicate your articles.
document.write( "<HTML>\n" );
document.write( "<head>\n" );
document.write( "<style>\n" );
document.write( "<!--\n" );
document.write( "\n" );
document.write( "A.type1:link    {color:#000000; text-decoration:none;}\n" );
document.write( "A.type1:visited {color:#000000; text-decoration:none;}\n" );
document.write( "A.type1:active  {color:#000000; text-decoration:none;}\n" );
document.write( "A.type1:hover   {color:#000000; text-decoration:underline;}\n" );
document.write( "\n" );
document.write( "A.type2:link    {color:#4B0082; text-decoration:none;}\n" );
document.write( "A.type2:visited {color:#4B0082; text-decoration:none;}\n" );
document.write( "A.type2:active  {color:#4B0082; text-decoration:none;}\n" );
document.write( "A.type2:hover   {color:#4B0082; text-decoration:underline;}\n" );
document.write( "\n" );
document.write( "//-->\n" );
document.write( "</style>\n" );
document.write( "</head>\n" );
document.write( "<body>\n" );
document.write( "<script type=\"text/javascript\">\n" );
document.write( "\n" );
document.write( "/***********************************************\n" );
document.write( "* Fading Scroller- © Dynamic Drive DHTML code library (www.dynamicdrive.com)\n" );
document.write( "* This notice MUST stay intact for legal use\n" );
document.write( "* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code\n" );
document.write( "***********************************************/\n" );
document.write( "\n" );
document.write( "var delay = 3000; //set delay between message change (in miliseconds)\n" );
document.write( "var maxsteps=30; // number of steps to take to change from start color to endcolor\n" );
document.write( "var stepdelay=40; // time in miliseconds of a single step\n" );
document.write( "//**Note: maxsteps*stepdelay will be total time in miliseconds of fading effect\n" );
document.write( "var startcolor= new Array(255,255,255); // start color (red, green, blue)\n" );
document.write( "var endcolor=new Array(0,0,0); // end color (red, green, blue)\n" );
document.write( "\n" );
document.write( "var fcontent=new Array();\n" );
document.write( "begintag='<div style=\"font: normal 12px Arial; padding: 5px;\">'; //set opening tag, such as font declarations\n" );
document.write( "fcontent[0]=\"<b><font color=#4B0082>January 24, 2008<p>Book Signing</b><br /><I>The Will to Live</I><p>8pm-10pm<br>Book Revue<P>Huntington, NY</i></font>\";\n" );
document.write( "fcontent[1]=\"<b><font color=#4B0082>March 9, 2008<p>Radio Interview</b><p>Vital Options Radio Show<P>4pm-6pm ET</i></font>\";\n" );
document.write( "fcontent[2]=\"<b><font color=#4B0082>April 27, 2008<p>Radio Interview</b><p>Vital Options International: The Group Room Cancer Radio Show<P>4pm-6pm ET</i></font>\";\n" );
document.write( "fcontent[3]=\"<b><font color=#4B0082>June 16, 2008<p>Radio Show</b><p>The Stupid Cancer Show: The Voice of Young Adults with Cancer<p>9pm ET</font>\";\n" );
document.write( "fcontent[4]=\"<b><font color=#4B0082>August 3, 2008<p>Book Signing</b><br /><I>The Will to Live</I><p>2pm<br>Borders Books<P>Commack, NY</i></font>\";\n" );
document.write( "fcontent[5]=\"<b><font color=#4B0082>October 19, 2008<p>Book Signing</b><br /><I>The Will to Live</I><p>Jones Beach, NY<P>Starting at 8am</i></font>\";\n" );
document.write( "fcontent[6]=\"<b><font color=#4B0082>November 8, 2008<p>Meet the Author</b><BR><I>Maggie the Magnificent</I><p>1pm<br>Best Bargain Books<p>Centereach, NY</font>\";\n" );
document.write( "fcontent[7]=\"<b><font color=#4B0082>February 7, 2009<p>Book Signing</b><BR><I>The Will to Live</I><p>7pm<br>Best Bargain Books<p>Centereach, NY</font>\";\n" );
document.write( "fcontent[8]=\"<b><font color=#4B0082>April 19, 2009<p>Guest Speaker</b><BR><I>The Will to Live<br>Maggie the Magnificent</I><p>2pm-4pm<br>St. Andrew’s Lutheran Church<p>Smithtown, NY</font>\";\n" );
document.write( "fcontent[9]=\"<b><font color=#4B0082>May 5, 2009<p>Radio Interview</b><BR>LA Talk Radio with TJ McCormack<p>Los Angeles, CA</font>\";\n" );
document.write( "fcontent[10]=\"<b><font color=#4B0082>November 3, 2009<p>Guest Speaker</b><BR>School Re-entry Program For Children With Cancer<p>8am-3:30pm<br>Stony Brook, NY</font>\";\n" );
document.write( "fcontent[11]=\"<b><font color=#4B0082>March 10, 2010<p>Author/Illustrator Night</b><br>Northport School District<p></font>\";\n" );
document.write( "fcontent[12]=\"<b><font color=#4B0082>March 24, 2010<p>Author/Illustrator Night</b><br>Wm. S. Mount Elementary School<P><I>Stony Brook, NY</I><p></font>\";\n" );
document.write( "fcontent[13]=\"<b><font color=#4B0082>April 14, 2010<p>Author/Illustrator Night</b><br>JFK Intermediate School<P><I>Deer Park, NY</I><p></font>\";\n" );
document.write( "fcontent[14]=\"<font color=#4B0082>Erin Ley is available for author visits and presentations, book signings, various events and interviews. <a href='http://www.erinley.com/schools.html' class='type1'><p><b>Click here</b></a> for more details.</font>\";\n" );
document.write( "closetag='</div>';\n" );
document.write( "\n" );
document.write( "var fwidth='150px'; //set scroller width\n" );
document.write( "var fheight='170px'; //set scroller height\n" );
document.write( "\n" );
document.write( "var fadelinks=0;  //should links inside scroller content also fade like text? 0 for no, 1 for yes.\n" );
document.write( "\n" );
document.write( "///No need to edit below this line/////////////////\n" );
document.write( "\n" );
document.write( "\n" );
document.write( "var ie4=document.all&&!document.getElementById;\n" );
document.write( "var DOM2=document.getElementById;\n" );
document.write( "var faderdelay=0;\n" );
document.write( "var index=0;\n" );
document.write( "\n" );
document.write( "\n" );
document.write( "/*Rafael Raposo edited function*/\n" );
document.write( "//function to change content\n" );
document.write( "function changecontent(){\n" );
document.write( "  if (index>=fcontent.length)\n" );
document.write( "    index=0\n" );
document.write( "  if (DOM2){\n" );
document.write( "    document.getElementById(\"fscroller\").style.color=\"rgb(\"+startcolor[0]+\", \"+startcolor[1]+\", \"+startcolor[2]+\")\"\n" );
document.write( "    document.getElementById(\"fscroller\").innerHTML=begintag+fcontent[index]+closetag\n" );
document.write( "    if (fadelinks)\n" );
document.write( "      linkcolorchange(1);\n" );
document.write( "    colorfade(1, 15);\n" );
document.write( "  }\n" );
document.write( "  else if (ie4)\n" );
document.write( "    document.all.fscroller.innerHTML=begintag+fcontent[index]+closetag;\n" );
document.write( "  index++\n" );
document.write( "}\n" );
document.write( "\n" );
document.write( "// colorfade() partially by Marcio Galli for Netscape Communications.  ////////////\n" );
document.write( "// Modified by Dynamicdrive.com\n" );
document.write( "\n" );
document.write( "function linkcolorchange(step){\n" );
document.write( "  var obj=document.getElementById(\"fscroller\").getElementsByTagName(\"A\");\n" );
document.write( "  if (obj.length>0){\n" );
document.write( "    for (i=0;i<obj.length;i++)\n" );
document.write( "      obj[i].style.color=getstepcolor(step);\n" );
document.write( "  }\n" );
document.write( "}\n" );
document.write( "\n" );
document.write( "/*Rafael Raposo edited function*/\n" );
document.write( "var fadecounter;\n" );
document.write( "function colorfade(step) {\n" );
document.write( "  if(step<=maxsteps) {	\n" );
document.write( "    document.getElementById(\"fscroller\").style.color=getstepcolor(step);\n" );
document.write( "    if (fadelinks)\n" );
document.write( "      linkcolorchange(step);\n" );
document.write( "    step++;\n" );
document.write( "    fadecounter=setTimeout(\"colorfade(\"+step+\")\",stepdelay);\n" );
document.write( "  }else{\n" );
document.write( "    clearTimeout(fadecounter);\n" );
document.write( "    document.getElementById(\"fscroller\").style.color=\"rgb(\"+endcolor[0]+\", \"+endcolor[1]+\", \"+endcolor[2]+\")\";\n" );
document.write( "    setTimeout(\"changecontent()\", delay);\n" );
document.write( "	\n" );
document.write( "  }   \n" );
document.write( "}\n" );
document.write( "\n" );
document.write( "/*Rafael Raposo's new function*/\n" );
document.write( "function getstepcolor(step) {\n" );
document.write( "  var diff\n" );
document.write( "  var newcolor=new Array(3);\n" );
document.write( "  for(var i=0;i<3;i++) {\n" );
document.write( "    diff = (startcolor[i]-endcolor[i]);\n" );
document.write( "    if(diff > 0) {\n" );
document.write( "      newcolor[i] = startcolor[i]-(Math.round((diff/maxsteps))*step);\n" );
document.write( "    } else {\n" );
document.write( "      newcolor[i] = startcolor[i]+(Math.round((Math.abs(diff)/maxsteps))*step);\n" );
document.write( "    }\n" );
document.write( "  }\n" );
document.write( "  return (\"rgb(\" + newcolor[0] + \", \" + newcolor[1] + \", \" + newcolor[2] + \")\");\n" );
document.write( "}\n" );
document.write( "\n" );
document.write( "if (ie4||DOM2)\n" );
document.write( "  document.write('<div id=\"fscroller\" style=\"border:1px solid indigo;width:'+fwidth+';height:'+fheight+'\"></div>');\n" );
document.write( "\n" );
document.write( "if (window.addEventListener)\n" );
document.write( "window.addEventListener(\"load\", changecontent, false)\n" );
document.write( "else if (window.attachEvent)\n" );
document.write( "window.attachEvent(\"onload\", changecontent)\n" );
document.write( "else if (document.getElementById)\n" );
document.write( "window.onload=changecontent\n" );
document.write( "\n" );
document.write( "</script><P>\n" );
document.write( "</body>\n" );
document.write( "</html>" );

