<!-- // Hide

/****** QUOTATION SCROLLER v2.1 by Angus Turnbull http://www.twinhelix.com ******/

// Please leave the above line in the source, and a link to my site in your page somewhere.
// After all, if you found these scripts useful, won't your visitors?
// Run the rest of this through my comment trimmer if you want before deploying.



// *** COMMON CROSS-BROWSER COMPATIBILITY CODE ***

// You'll need to edit this section if combining with any of my other scripts, make sure
// everything is included once.

var isDOM = document.getElementById?1:0;
var isIE = document.all?1:0;
var isNS4 = (navigator.appName=='Netscape' && !isDOM)?1:0;
var isIE4 = (isIE && !isDOM)?1:0;
var isDyn = (isDOM||isIE4||isNS4);

function getRef(id, par)
{
 par = (!par ? document : (par.navigator ? par.document : par));
 return (isIE ? par.all[id] :
  (isDOM ? (par.getElementById?par:par.ownerDocument).getElementById(id) :
  par.layers[id]));
}

function getSty(id, par)
{
 return (isNS4 ? getRef(id, par) : getRef(id, par).style)
}

if (!window.LayerObj) var LayerObj = new Function('id', 'par',
 'this.ref=getRef(id, par); this.sty=getSty(id, par); return this');
function getLyr(id, par) { return new LayerObj(id, par) }

function LyrFn(fn, fc)
{
 LayerObj.prototype[fn] = new Function('var a=arguments,p=a[0]; with (this) { '+fc+' }');
}
LyrFn('x','if (!isNaN(a[0])) sty.left=p; else return parseInt(sty.left)');
LyrFn('y','if (!isNaN(a[0])) sty.top=p; else return parseInt(sty.top)');
LyrFn('w','if (p) (isNS4?sty.clip:sty).width=p; ' +
 'else return (isNS4?ref.document.width:ref.offsetWidth)');
LyrFn('vis','sty.visibility=p');
LyrFn('write','if (isNS4) with (ref.document) {write(p);close()} else ref.innerHTML=p');





// *** QUOTATION SCROLLER CODE -- START EDITING HERE ***


// There's more Simpsons at http://www.everything2.com/index.pl?node_id=767744

var quotes = new Array(); c = 0;
quotes[c] = 'YILDIRIM<br><i>HAVUZCULUK</i>'; c++;
quotes[c] = 'YILDIRIM<br><i>HAVUZCULUK</i>'; c++;
quotes[c] = 'YILDIRIM<br><i>HAVUZCULUK</i>'; c++;
quotes[c] = 'Yüzme Havuzu'; c++;
quotes[c] = 'Sauna'; c++;
quotes[c] = 'S P A'; c++;
quotes[c] = 'Kimyasalları'; c++;
quotes[c] = 'Aksesuarları'; c++;
quotes[c] = 'Ekipmanları'; c++;
quotes[c] = 'Yosun Öldürücü'; c++;
quotes[c] = 'Toz Klor'; c++;
quotes[c] = 'Tablet Klor'; c++;
quotes[c] = 'Topaklayıcı'; c++;
quotes[c] = 'Çöktürücü'; c++;
quotes[c] = 'Servis'; c++;
quotes[c] = 'Tadilat'; c++;
quotes[c] = 'Havuz Tesisatı'; c++;
quotes[c] = 'Periodik Bakım'; c++;
quotes[c] = 'Danışmanlık'; c++;
quotes[c] = 'Sezon Açılışı'; c++;
quotes[c] = 'Sezon Kapanışı'; c++;
quotes[c] = 'Havuz Projesi'; c++;
quotes[c] = 'Topaklayıcı Kartuş'; c++;
quotes[c] = 'Toz Topaklayıcı'; c++;
quotes[c] = 'Sıvı Topaklayıcı'; c++;
quotes[c] = 'Sıvı Çöktürücü'; c++;
quotes[c] = 'Flock'; c++;
quotes[c] = 'Anti-Algee'; c++;
quotes[c] = 'Chlor'; c++;
quotes[c] = 'Makina Dairesi'; c++;
quotes[c] = 'Vana'; c++;
quotes[c] = 'Havuz Motoru'; c++;
quotes[c] = 'A S T R A L'; c++;
quotes[c] = 'C T X'; c++;
quotes[c] = 'D E L S A'; c++;
quotes[c] = 'G E M A Ş'; c++;
quotes[c] = 'E S P A'; c++;




// Maximum onscreen at once, also number of DIVs in body -- change that too!
var visQuotes = 10;

var sDivs = new Array(visQuotes);
var speed = new Array(visQuotes);
var qPos = new Array(visQuotes);

//  Left: Low speed colours (lighter) .... Right: High speed colours (darker).
var colours = new Array('B2C7DE','A4BCD8','96B2D2','88A8CC','7A9EC6','6C94C0','5E89BA');


function checkDivs()
{
 if (!isDyn) return;
 
 for (var i = 1; i <= visQuotes; i++)
 {
  // Get a layer object if it doesn't exist, and work with it.
  if (!sDivs[i])
  {
   sDivs[i] = getLyr('sDiv' + i);
   // IE4, as normal, has horrible width bugs in which content expands to fill the screen.
   if (isIE4) sDivs[i].w(10);
  }

  with (sDivs[i])
  {
   // If it's moved offscreen to the left (or starting), set things in motion...
   if (x() < (0 - w()))
   {
    // Scrolling increment varies from 8 to 63.
    speed[i] = Math.floor(Math.random() * 56) + 8;
    // Off to the right it goes -- qPos records the current position as a floating point number.
    qPos[i] = (isIE ? document.body.clientWidth : window.innerWidth) + 50*Math.random();
 
    // Position and layer it according to its speed (faster = higher).
    var topMax = (isIE ? document.body.clientHeight : window.innerHeight) - speed[i];
    y(topMax * Math.random());
    sty.zIndex = speed[i];

    // Write a quote in a colour that depends on the speed.
    var fontSize = Math.floor(speed[i] / 8) - 1;
    write('<nobr><font face="Arial, Helvetica" size="' + fontSize + '" color="#' +
     colours[fontSize] + '">' + quotes[Math.floor(Math.random() * quotes.length)] +
     '</font></nobr>');
   }

   // All items: Keep 'em moving left.
   qPos[i] -= (speed[i] / 4);
   x(qPos[i]);
  }
 }

 // Again!
 setTimeout('checkDivs()', 50);
}


// Remember to call all onLoad events here somehow (e.g. popup menus/other scripts)...
window.onload = new Function('checkDivs()');

// End Hide -->