
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Original:  Premshree Pillai (premshree@hotmail.com) -->
<!-- Web Site:  http://www.qiksearch.com -->
<!-- Begin
//var qiksearch_js_text = new Array ("Bearsden Chess Club<br>40th Anniversary Year",
//"See Newspage for details of Club Celebrations.");
//var qiksearch_js_text = new Array ("Bearsden Chess Club<br>40th Anniversary",
//"3rd September 2006<br>Jacob Aagaard IM Simul", "See Newspage for details<br>and how to enter.");
//var qiksearch_js_text = new Array ("Welcome","to","Bearsden Chess Club");
//var qiksearch_js_text = new Array ("Bearsden Chess Club","Closed","on","6th April","Dumbarton Division 2","Match",
//"to be rearranged","See News Page","For more details");
//var qiksearch_js_text = new Array ("2003/2004 Season", "Starts", "16th September 2003", "To join", "contact Club Secretary", 
//"Alistair Goodall", "Tel: 0141 942 1566", "Do it now !" );
//var qiksearch_js_text = new Array ("2004/2005 Season", "Starts", "14th September 2004", "New Junior Chess Initiatives",
//"See News Page for more details");
//var qiksearch_js_text = new Array ("Club now closed for summer break", "2005/2006 Season restarts", "13th September 2005", 
//"See News Page for further information");
//var qiksearch_js_text = new Array ("GM Jacob Aagaard wins the British Championship.", 
//"GM Jacob Aagaard wins the British Championship.", "See News Page for further information",  "Club closed for summer break", 
//"2007/2008 Season restarts Mid-September", "See News Page for further information",  
//var qiksearch_js_text = new Array ("Club closed for summer break", "2008/2009 Season restarts Mid-September", "See News Page for further information");
var qiksearch_js_text = new Array ("2009/2010 Season starts on Tuesday 22nd September", "See News Page for further information", "2009/2010 Season starts on Tuesday 22nd September", "See News Page for further information");
//var qiksearch_js_text = new Array ("2008/2009 Rapidplay Competition - entries to Stuart Callison", "See News Page for further information");
//var qiksearch_js_text = new Array ("GM Jacob Aagaard will hold a Simultaneous Chess exhibition on 16th September to celebrate winning the British Championship.", 
//"GM Jacob Aagaard will hold a Simultaneous Chess exhibition on 16th September to celebrate winning the British Championship.", 
//"See News Page for how to enter", "See News Page for how to enter",    
//"2007/2008 Season starts Tuesday 11th September", "See News Page for further information", 
//"2007/2008 Season starts Tuesday 11th September", "See News Page for further information");
//var qiksearch_js_text = new Array ("Welcome to Bearsden Chess Club", "New Junior Chess Initiatives, this year",
//"See News Page for more details");
var qiksearch_space_width = 200; // The width of the content space
var qiksearch_space_height = 50; // The height of the content space
var qiksearch_space_borderw=0; // Border width
var qiksearch_space_borderc="#ffcc00"; // Border Color
var timeOutVal=400; // Delay in milliseconds

//--------------------------------------------------------------------------------------------

//-----------------------------DO-NOT-MODIFY-BELOW-THIS---------------------------------------

document.write('<table width="' + qiksearch_space_width + '" height="' + qiksearch_space_height + '" style="background:#e0ffe0; border:' );
document.write(+ qiksearch_space_borderw + ' solid ' + qiksearch_space_borderc + '"><tr><td align="middle">');
document.write('<div id="qiksearch_js_space">');
document.write('</div>');
document.write('</td></tr></table>');

var def_10='A',def_11='B',def_12='C',def_13='D',def_14='E',def_15='F';
var colorVal=15;
var div_count=0;

function qiksearch_fade_desat(getColorIntVal)
{
 var returnVal;
 if(getColorIntVal>=10)
 {
  for(var i=0; i<=15; i++)
  {
   if((getColorIntVal==i))
   {
    returnVal = eval('def_' + i);
   }
  }
 }
 else
 {
  returnVal=getColorIntVal;
 }
 return(returnVal);
} 

function writeDiv()
{
 document.all.qiksearch_js_space.innerHTML= '<font face="Arial" size="4" color="' +  joinColor(qiksearch_fade_desat(colorVal)) + '"><b>' + qiksearch_js_text[div_count] + '</span></b></font>' ;

 if((colorVal>7)  && (colorVal!=7))
 {
  colorVal--;
 }
 else
 {
  colorVal=15;
  if(div_count<qiksearch_js_text.length)
  {
   div_count++;
  }
  if(div_count==qiksearch_js_text.length)
  {
   document.all.qiksearch_js_space.innerHTML = '<a href="javascript:resetAll();writeDiv();" style="text-decoration:none" accesskey="l"><font color="#70000" face="Arial" size="4"></font></a>';
  }
 }

 if(div_count<qiksearch_js_text.length)
 {
  setTimeout("writeDiv()",timeOutVal);
 }
}

function joinColor(getColor)
{
 return (getColor + '00000');
}

function resetAll()
{
 div_count=0;
 colorVal=15;
}

writeDiv();
//  End -->
