document.write('<div style="width: 239px; font: 10px/12px Verdana, Arial; border: solid 1px #334750; text-align: center;">');
document.write('<div style="padding: 5px 0; background-color: #334750; width: 239px;"><a href="http://www.advertentiezoeker.nl" style="color: white; text-decoration: none;" target="_blank" title="Advertentiezoeker.nl">Gevonden met Advertentiezoeker.nl</a></div>');

function AZBoxd6c4() {
	this.refreshInterval = false;
	this.scrollInterval = false;
	this.scrollIndex = 0;
	this.scrollCurrent = 0;
	this.scrollStopped = false;
	
	this.directionDown = true;
	
	this.boxArray = new Array();
	
	this.scrollDivResult = false;
}

AZBoxd6c4.prototype.init = function() {
	this.scrollDivResult = document.getElementById('AZBoxScrolld6c4');
	this.scrollDivResult.scrollTop = 0;
	this.drawItems();
	this.timerSet(true);
}

// Timer
AZBoxd6c4.prototype.timerSet = function(run) {
	if (run) {
		this.timerSet(false);
		if(true && !this.refreshInterval) {
			this.refreshInterval = setInterval('AZBoxd6c4.scrollSet(true)', 4048);
			this.scrollStopped = false;
		}
	} else {
		this.refreshInterval = clearInterval(this.refreshInterval);
		this.scrollStopped = true;
	}
}

// Scroll
AZBoxd6c4.prototype.scrollSet = function(run) {
	if (run) {
		this.scrollInterval = setInterval('AZBoxd6c4.scroll()', 10);
	} else {
		this.scrollInterval = clearInterval(this.scrollInterval);
	}
}
AZBoxd6c4.prototype.scroll = function() {
	nextValue = (this.scrollCurrent + 2);
	if (this.directionDown) {
		if (nextValue > 90) {
			this.scrollDivResult.scrollTop += (nextValue - 90);
		} else {
			this.scrollDivResult.scrollTop += 2;
		}
	} else {
		if (nextValue > 90) {
			this.scrollDivResult.scrollTop -= (nextValue - 90);
		} else if (this.scrollDivResult.scrollTop > 0) {
			this.scrollDivResult.scrollTop -= 2;
		}
	}
	this.scrollCurrent += 2;
	
	if (this.scrollCurrent >= 90) {
		this.scrollSet(false);
		this.scrollCurrent = 0;
		this.scrollCheck();
	}
}
AZBoxd6c4.prototype.scrollCheck = function() {
	if (this.directionDown) {
		this.scrollIndex++;
		if (this.scrollIndex == 17) {
			this.directionDown = false;
		}
	} else {
		this.scrollIndex--;
		if (this.scrollIndex <= 0) {
			this.directionDown = true;
		}
	}
}

// Write
AZBoxd6c4.prototype.drawItems = function() {
	html = '';
	
	xPos = 0;
	for (i = 0; i < this.boxArray.length; i++) {
		if (xPos == 0) {
			html += '<div style="display: block;">';
		}
		xPos++;
		
		html += this.itemToHTML(i, xPos);
		
		if (xPos == 2) {
			xPos = 0;
			html += '<div style="clear: both;"></div></div>';
		}
	}
	
	if (i >= 0) {
		html += '</div>';
	}
	
	this.scrollDivResult.innerHTML = html;
}
AZBoxd6c4.prototype.itemToHTML = function(i, xPos) {
	boxItem = this.boxArray[i];
	
	titleShort = titleLong = boxItem.title;
	if (titleShort.length > 20) {
		titleShort = titleShort.substr(0, 20) + '...';
	}
	url = 'http://www.advertentiezoeker.nl/redirect.php?q=';
	url += '&u=' + boxItem.url;
	image = boxItem.image;
	
	html = '<div onmouseover="AZBoxd6c4.timerSet(false); this.style.backgroundColor = \'#cad7dc\';" ';
	html += 'onmouseout="if (AZBoxd6c4.scrollStopped) { AZBoxd6c4.timerSet(true); } this.style.backgroundColor = \'transparent\';" ';
	html += 'style="float: left; height: 90px; width: 119px; padding: 0; font-size: 10px; overflow: hidden; cursor: pointer; background: url(http://static.advertentiezoeker.nl/images/searchtool/' + boxItem.site + '.ico) no-repeat 2px 22px;" onclick="window.open(\'' + url + '\');" title="' + titleLong + '">';
	html += '<div style="margin: 0; padding: 3px 0; font-weight: bold; width: 119px; border-bottom: solid 1px #cad7dc; overflow: hidden; background-color: #688b9a; white-space: nowrap; color: white;">' + titleShort + '</div>';
	html += '<div style="height: 48px; overflow: hidden; margin: 0 auto; padding: 3px 0 1px 0;">' + (image ? '<img width="70" src="' + image + '" onload="AZBoxd6c4.imgShrink(this);" onerror="AZBoxd6c4.imgNo(this);" />' : '&nbsp;') + '</div>';
	html += 'Prijs: ' + boxItem.price + '<br />';
	html += '</div>';
	
	if (true && xPos < 2) {
		html += '<div style="float: left; width: 1px; height: 90px; font-size: 1px; background-color: #688b9a;"></div>';
	}
	return html;
}
	
// Image
AZBoxd6c4.prototype.imgShrink = function(ele) {
	usewidth = 50;
	useheight = 50;
	
	if (ele.width > usewidth) {
		ele.height = ((usewidth / ele.width) * ele.height); 
		ele.width = usewidth; 
	}
	
	if (ele.height > useheight) {
		ele.width = ((useheight / ele.height) * ele.width); 
		ele.height = useheight; 
	}	
}
AZBoxd6c4.prototype.imgNo = function(ele) {
	ele.style.display = 'none';
}

var AZBoxd6c4 = new AZBoxd6c4();
AZBoxd6c4.boxArray = [{site: '', title: '17 &#039;&#039; OZ velgen voor astra,audi,passat,merc.', price: '&euro; 450.00', image: 'http://bigthumbs.marktplaats.nl/kopen/thumbnail/2/d1/188325138.jpg', url: 'http%3A%2F%2Fauto-diversen.marktplaats.nl%2Fonderdelen-banden-en-velgen%2F112720388-17-oz-velgen-voor-astra-audi-passat-merc.html'},{site: '', title: '2 Soorten Xenon kit voor bijna elke AUTO vanaf € 109,-', price: '&euro; 109.00', image: 'http://bigthumbs.marktplaats.nl/kopen/thumbnail/2/c4/188349506.jpg', url: 'http%3A%2F%2Fauto-diversen.marktplaats.nl%2Ftuning-en-styling%2F112732249-2-soorten-xenon-kit-voor-bijna-elke-auto-vanaf-109.html'},{site: '', title: 'Audi A6 1.8 TURBO 110KW (1998)', price: '&euro; 8,950.00', image: 'http://static.marktnet.nl/adimg/200708/954708-0001-100x75-t.jpg', url: 'http%3A%2F%2Fwww.marktnet.nl%2Fdetails.asp%3Fdetail%3D954708'},{site: '', title: 'Audi A6 1.9TDI 130pk 5-bak', price: '&euro; 24,950.00', image: 'http://www.tweedehands.net/pics/00/00/53/41/13/1a.jpg', url: 'http%3A%2F%2Fautos.tweedehands.net%2Faudi%2Faudi-a6-1-9tdi-130pk-5-bak.html'},{site: '', title: 'Audi A6 2.0tdi pro line business (sedan 4 drs)', price: '&euro; 7,200.00', image: 'http://images0.speurders.nl/images/33/3339/33395030_1_list.jpg', url: 'http%3A%2F%2Fwww.speurders.nl%2Fautos%2Faudi%2F33395030%2Faudi_a6_2_0tdi_pro_line_business_sedan_4_drs_.html'},{site: '', title: 'Audi A6 2.4 V6 170pk 5-bak Quattro', price: '&euro; 24,950.00', image: 'http://www.tweedehands.net/pics/00/00/53/41/52/1a.jpg', url: 'http%3A%2F%2Fautos.tweedehands.net%2Faudi%2Faudi-a6-2-4-v6-170pk-5-bak-quattro.html'},{site: '', title: 'Audi A6 2.5tdi 6v', price: '&euro; 9,750.00', image: 'http://static.marktnet.nl/adimg/200708/958470-0001-100x75-t.jpg', url: 'http%3A%2F%2Fwww.marktnet.nl%2Fdetails.asp%3Fdetail%3D958470'},{site: '', title: 'Audi A6 2.5tdi 6v', price: '&euro; 9,750.00', image: 'http://static.marktplaza.nl/images/small/1/69/4074069.jpg', url: 'http%3A%2F%2Fwww.marktplaza.nl%2FAudi-A6-2-5tdi-6v-4074069.php'},{site: '', title: 'Audi A6 2.5tdi ambition 6v', price: '&euro; 9,750.00', image: 'http://static.marktnet.nl/adimg/200708/958477-0001-100x75-t.jpg', url: 'http%3A%2F%2Fwww.marktnet.nl%2Fdetails.asp%3Fdetail%3D958477'},{site: '', title: 'Audi A6 Allroad 2.7 T 184kW AV Quattro Tiptron. (bj 2001)', price: '&euro; 29,950.00', image: 'http://bigthumbs.marktplaats.nl/kopen/thumbnail/3/54/188335427.jpg', url: 'http%3A%2F%2Fauto.marktplaats.nl%2Faudi%2F112724421-audi-a6-allroad-2-7-t-184kw-av-quattro-tiptron-bj-2001.html'},{site: '', title: 'Audi A6 Avant 1.9 tdi ambiente (1999)', price: '&euro; 9,950.00', image: 'http://static.marktnet.nl/adimg/200708/958648-0001-100x75-t.jpg', url: 'http%3A%2F%2Fwww.marktnet.nl%2Fdetails.asp%3Fdetail%3D958648'},{site: '', title: 'Audi A6 avant 1.9tdi ambiente', price: '&euro; 9,950.00', image: 'http://static.marktplaza.nl/images/small/1/36/4076836.jpg', url: 'http%3A%2F%2Fwww.marktplaza.nl%2FAudi-A6-avant-1-9tdi-ambiente-4076836.php'},{site: '', title: 'audi a6 s6 avant 4.2 v8 automaat/ leder/naviplus', price: '&euro; 19,900.00', image: 'http://img.2dehands.nl/f/spot/26685475.jpg', url: 'http%3A%2F%2Fwww.2dehands.nl%2Faudi-a6-s6-avant-4-2-26685475.html%3Fper%3D6%26amp%3Bqq%3Daudi%2520a6'},{site: '', title: 'AUDI SERVICE LIGHT RESET FOR ALL A4 A6 MODELS +MORE+++7', price: '&euro; 1.21', image: 'http://thumbs.ebaystatic.com/pict/1701434557108080_0.jpg', url: 'http%3A%2F%2Fcgi.ebay.nl%2FAUDI-SERVICE-LIGHT-RESET-FOR-ALL-A4-A6-MODELS-MORE-7_W0QQitemZ170143455710QQcmdZViewItemQQssPageNameZRSS%3AB%3ASRCH%3ANL%3A101'},{site: '', title: 'AUDI TT A2 A4 A6 A8 PROGRAM KEY FOB REMOTE KEY +MORE!!!', price: '&euro; 1.21', image: 'http://thumbs.ebaystatic.com/pict/1701428639578080_0.jpg', url: 'http%3A%2F%2Fcgi.ebay.nl%2FAUDI-TT-A2-A4-A6-A8-PROGRAM-KEY-FOB-REMOTE-KEY-MORE_W0QQitemZ170142863957QQcmdZViewItemQQssPageNameZRSS%3AB%3ASRCH%3ANL%3A101'},{site: '', title: 'AUDI TT A2 A4 A6 A8 PROGRAM KEY FOB REMOTE KEY +MORE!!!', price: '&euro; 1.21', image: 'http://thumbs.ebaystatic.com/pict/1701434271938080_0.jpg', url: 'http%3A%2F%2Fcgi.ebay.nl%2FAUDI-TT-A2-A4-A6-A8-PROGRAM-KEY-FOB-REMOTE-KEY-MORE_W0QQitemZ170143427193QQcmdZViewItemQQssPageNameZRSS%3AB%3ASRCH%3ANL%3A101'},{site: '', title: 'AUDI TT A2 A4 A6 A8 PROGRAM KEY FOB REMOTE KEY +MORE!!!', price: '&euro; 1.21', image: 'http://thumbs.ebaystatic.com/pict/1701432977318080_0.jpg', url: 'http%3A%2F%2Fcgi.ebay.nl%2FAUDI-TT-A2-A4-A6-A8-PROGRAM-KEY-FOB-REMOTE-KEY-MORE_W0QQitemZ170143297731QQcmdZViewItemQQssPageNameZRSS%3AB%3ASRCH%3ANL%3A101'},{site: '', title: 'Diverse Xenon kits voor uw AUTO vanaf', price: '&euro; 109.00', image: 'http://static.marktplaza.nl/images/small/1/39/4077839.jpg', url: 'http%3A%2F%2Fwww.marktplaza.nl%2FDiverse-Xenon-kits-voor-uw-AUTO-vanaf-109-4077839.php'},{site: '', title: 'Diverse Xenon kits voor uw AUTO vanaf 109,-', price: '&euro; 109.00', image: 'http://images1.speurders.nl/images/33/3341/33410431_1_list.jpg', url: 'http%3A%2F%2Fwww.speurders.nl%2Fautosonderdelen%2Fonderdelenoverigemerken%2F33410431%2Fdiverse_xenon_kits_voor_uw_auto_vanaf_109_.html'},{site: '', title: 'Diverse Xenon kits voor uw AUTO vanaf €109,-', price: '&euro; 109.00', image: 'http://img.2dehands.nl/f/spot/26722940.jpg', url: 'http%3A%2F%2Fwww.2dehands.nl%2Fdiverse-xenon-kits-voor-uw-26722940.html%3Fper%3D6%26amp%3Bqq%3Daudi%2520a6'},{site: '', title: 'ECO-tuning-BOX vermogen/ koppel voor uw DIESEL', price: '&euro; 229.00', image: 'http://img.2dehands.nl/f/spot/26720994.jpg', url: 'http%3A%2F%2Fwww.2dehands.nl%2Feco-tuning-box-vermogen-koppel-voor-uw-26720994.html%3Fper%3D6%26amp%3Bqq%3Daudi%2520a6'},{site: '', title: 'ECO-tuning-BOX vermogen/ koppel voor uw DIESEL', price: '&euro; 229.00', image: 'http://static.marktplaza.nl/images/small/1/43/4077243.jpg', url: 'http%3A%2F%2Fwww.marktplaza.nl%2FECO-tuning-BOX-vermogen-koppel-voor-uw-DIESEL-4077243.php'},{site: '', title: 'ECO-tuning-BOX vermogen/ koppel voor uw DIESEL', price: '&euro; 229.00', image: 'http://images6.speurders.nl/images/33/3340/33408186_1_list.jpg', url: 'http%3A%2F%2Fwww.speurders.nl%2Fautosonderdelen%2Fonderdelenoverigemerken%2F33408186%2Feco_tuning_box_vermogen_koppel_voor_uw_diesel.html'},{site: '', title: 'Kilometer correctie A2 A3 A4 A6 A8 TT Q7 TDI RS', price: '&euro; 50.00', image: 'http://static.marktnet.nl/adimg/200708/955497-0001-100x75-t.jpg', url: 'http%3A%2F%2Fwww.marktnet.nl%2Fdetails.asp%3Fdetail%3D955497'},{site: '', title: 'Minichamps 1:43 Audi A6 sedan Yellow', price: '&euro; 1.00', image: 'http://thumbs.ebaystatic.com/pict/2901540680238080_0.jpg', url: 'http%3A%2F%2Fcgi.ebay.nl%2FMinichamps-1-43-Audi-A6-sedan-Yellow_W0QQitemZ290154068023QQcmdZViewItemQQssPageNameZRSS%3AB%3ASRCH%3ANL%3A101'},{site: '', title: 'NIEUWE 18 inch 5x100 / 5x112 A8 look velgsets nieuw in doos', price: '&euro; 400.00', image: 'http://img.2dehands.nl/f/spot/26680224.jpg', url: 'http%3A%2F%2Fwww.2dehands.nl%2Fnieuwe-18-inch-5x100-26680224.html%3Fper%3D6%26amp%3Bqq%3Daudi%2520a6'},{site: '', title: 'Passende Kofferbakmat voor verschillende Audi&#039;s', price: '&euro; 52.50', image: 'http://www.tweedehands.net/pics/00/00/24/07/97/1a.jpg', url: 'http%3A%2F%2Fautos.tweedehands.net%2Faudi%2Fpassende-kofferbakmat-voor-verschillende-audi-s.html'},{site: '', title: 'Precies passende automatten voor elke Audi', price: '&euro; 29.50', image: 'http://www.tweedehands.net/pics/00/00/17/78/78/1a.jpg', url: 'http%3A%2F%2Fautos.tweedehands.net%2Faudi%2Fprecies-passende-automatten-voor-elke-audi.html'},{site: '', title: 'Uw auto direct verkopen of inruilen? dat kan bij ons!', price: 'N.v.t', image: 'http://bigthumbs.marktplaats.nl/kopen/thumbnail/d/4c/182363341.jpg', url: 'http%3A%2F%2Fauto.marktplaats.nl%2Finkoop%2F109338881-uw-auto-direct-verkopen-of-inruilen-dat-kan-bij-ons.html'},{site: '', title: 'waterdichte gevoerde autohoes voor binnen en buiten', price: '&euro; 75.00', image: 'http://images2.speurders.nl/images/33/3339/33398362_1_list.jpg', url: 'http%3A%2F%2Fwww.speurders.nl%2Fautos%2Fcabriolets%2F33398362%2Fwaterdichte_gevoerde_autohoes_voor_binnen_en_buiten.html'},{site: '', title: 'Xenon kit Audi A2 A3 A4 A6 A8 S3 S6 S8 tt 1.8T turbo', price: '&euro; 109.00', image: 'http://bigthumbs.marktplaats.nl/kopen/thumbnail/6/67/188343926.jpg', url: 'http%3A%2F%2Fauto-diversen.marktplaats.nl%2Fonderdelen-audi%2F112720148-xenon-kit-audi-a2-a3-a4-a6-a8-s3-s6-s8-tt-1-8t-turbo.html'},{site: '', title: 'Xenon kit/tuning/gereedschap/brandst', price: '&euro; 99.00', image: 'http://img.2dehands.nl/f/spot/26720986.jpg', url: 'http%3A%2F%2Fwww.2dehands.nl%2Fxenon-kit-tuning-gereedschap-brandst-26720986.html%3Fper%3D6%26amp%3Bqq%3Daudi%2520a6'},{site: '', title: 'Xenon kit/tuning/gereedschap/brandstofbesparing', price: '&euro; 99.00', image: 'http://static.marktplaza.nl/images/small/1/40/4077240.jpg', url: 'http%3A%2F%2Fwww.marktplaza.nl%2FXenon-kit-tuning-gereedschap-brandstofbesparing-4077240.php'},{site: '', title: 'Xenon kit/tuning/gereedschap/brandstofbesparing', price: '&euro; 99.00', image: 'http://images3.speurders.nl/images/33/3340/33408183_1_list.jpg', url: 'http%3A%2F%2Fwww.speurders.nl%2Fautosonderdelen%2Fdiversenenoverig%2F33408183%2Fxenon_kit_tuning_gereedschap_brandstofbesparing.html'},{site: '', title: 'XENON koplamp rechts audi A6 =compleet= v.a.1997', price: '&euro; 165.00', image: 'http://www.tweedehands.net/pics/00/00/53/01/01/1a.jpg', url: 'http%3A%2F%2Fautos.tweedehands.net%2Faudi%2Fxenon-koplamp-rechts-audi-a6-compleet-v-a-1997.html'}];
document.write('<div style="background: white url(http://static.advertentiezoeker.nl/images/searchtool/bg_end.gif) repeat-x bottom; height: 180px; width: 239px; padding: 0;">');
document.write('<div id="AZBoxScrolld6c4" style="margin: 0; padding: 0; font: 10px/12px Verdana, Arial; height: 180px; border: 0; overflow: hidden;"></div>');
document.write('</div>');
document.write('</div>');
AZBoxd6c4.init();
