
//---- BEGIN One Line Ad Library-----------------------------------------
//--10/30/04---->
//--Learn, jsc ------>
//--Also put copy of this in Learn Directory------->

var maxOneLineAdNo = 5
var oneLineAd = new Array()
var oneLineCat = new Array() // 0=general 1=webmasteronly 2=surferonly
var startFreebies = 5  // element number in array that starts freebies

//--JavaScript Bible--6/17/00--- 
oneLineAd[0] = '<a href="http://www.crays.com/books/jsbible.htm" target="_blank">JavaScript Bible 4th Edition by Danny Goodman</a><BR>The book  I use most often & highly recommend!'
oneLineCat[0] = 1


//--Quest DSL--8/24/06cj---
  oneLineAd[1] = '<a href="http://www.dpbolvw.net/click-131578-10399622" target="_blank">Qwest Choice DSL 256K </a>'
+ '<img src="http://www.tqlkg.com/image-131578-10399622" width="1" height="1" border="0"/>'
  + '<BR><font color="#CC0033"><B> High-Speed Internet access for about the price of dial-up!</B></font><BR>Available in AZ, CO, ID, IA, MN, MT, NE, NM, ND, OR, SD, UT, WA and&nbsp;WY.'
oneLineCat[1] = 1

//--ICM--5/12/01---modidfied 10/30/04--->
 oneLineAd[2] = '<A HREF="http://www.crays.com/ans/icm.html" target="_blank"><B><font color="#CC0033">Try Internet Call Manager</font></B></A>'  
 + '<BR>Like having another phone line for about one quarter the cost! <BR>Caller id, web voice mail, personalized message and More!<BR>Never miss another phone call while on-line. '
oneLineCat[2] = 0

//--Search using Google----6/14/01--
oneLineAd[3] = '<A href="http://www.crays.com/jsmSearch.htm" target="_blank">Click here</A> to search this Site or the Web using Google.'
oneLineCat[3] = 1


//--CallWave--10/28/00---modified 10/30/04---
oneLineAd[4] = '<font size="2" color="#CC0033"><B>Stop Missing Calls While You\'re Online!</B></font><br>'
+ '<A HREF="http://www.crays.com/ans" TARGET="_blank">Get the details on the CallWave Internet Ansering Machine</a>'
 + '<BR><B>FREE 30-day Trial in US</B>'
oneLineCat[5] = 0


//--Internet Access--10/30/04------
oneLineAd[5] = '<b><a href="http://crays.com/ans/isp" target="_blank">Internet Access</a> - Free Trials and Specials</b>'  
+ "<BR>NetZero, Juno, PeoplePC, EarthLink, AOL and more!"
oneLineCat[6] = 0



function displayRandomOneLineAd(){
  var currentAdNo = Math.round(Math.random() * maxOneLineAdNo)
  if(currentAdNo >= startFreebies)
    document.write('<CENTER><FONT face="arial" color="red" size=2>Check this Freebie out!</FONT></CENTER>') 
  document.write(oneLineAd[currentAdNo])
  }  
  
function jscRandomOneLineAd(){
  var currentAdNo = Math.round(Math.random() * maxOneLineAdNo)
 document.write('<TABLE cellpadding=2 cellspacing=0 border=0><TR><TD align="center">')
 document.write('<FONT color="black" face="arial" size=2>')
 document.write('<HR size=1 NOSHADE><B>')
  if(currentAdNo >= startFreebies)
    document.write('<FONT face="arial" color="red" size=2>Check this Freebie out!</FONT><BR>') 
  document.write(oneLineAd[currentAdNo])
  document.write('</B><HR size=1 NOSHADE>')
  document.write('<FONT face="arial" size=1><A href="JavaScript:openPopWin(\'../ads/jscListAll.htm\', 480, 500, \'status,scrollbars,resizable\', 20, 20)">list all</A></FONT>')
  document.write('</FONT></TD></TR></TABLE>')
  }  


//---- End One Line Ad Library-------------------------------------------





