<!--
/***********************************************************
* 		Randomizer Script
*
* This script shows random images on your Web page.
*
* -INSTRUCTIONS-
* The first array is splashImages, where you must enter
* the paths to your thumbnail images.
*
* -OPTIONAL-
* The second array is fullImages, where you enter the
* paths to your full size images.
*
* Splash and full size image paths must be entered in
* SAME order!!!
*
* -HTML CODE-
* In order to work properly you must enter the following
* code in your Web page between the HEAD tags:
*
* <script type="text/javascript" src="randomizer.js"></script>
*
* Also you must enter the following code somewhere between
* the BODY tags in your Web page:
*
* 	<script type="text/javascript">
*	selectSplash();
*	</script>
***********************************************************/
//The paths are ralative to your current HTML page directory
//or whatever you set in BASE tag of your HTML page!
splashImages = new Array(
"http://www.final-design.net/images/links-buttons_88x31/finaldesign.jpg",
"random/8831_button_ev4n.png",
"http://www.microgravity.org/images/links_all/affiliates/mgv3.0_88x31_2.gif",
"http://www.embreak.com/images/embreak8831_1.gif",
"random/555design.gif",
"http://www.webxdesigns.net/v3/images/v3affil.jpg",
"http://www.unknown-team.org/banner2.jpg",
"http://hatefull.free.fr/linkme2.gif",
"random/napart.gif",
"random/joylee.gif",
"http://www.lombergar.com/images/lombergardotcom_button.gif",
"http://www.blackisgood.ch/affiliates/big-banner01.gif",
"http://www.occido.de/pagev2/buttons/button7.gif",
"http://www.fourfx.net/logo/4fxnew2.gif",
"http://www.pixel-sea.de/images/button.gif",
"http://www.veroaero.com/images/linkme1_88x31.jpg",
"http://www.ropher.de/banner/ropher.gif",
"http://www.adi211.de/images/main/88_31_2.gif",
"http://www.visual-evolutions.be/v1/afliatie.gif",
"random/pixelwarz.gif",
"http://www.phrenzied.com/bannerv4%20copy.jpg",
"http://www.forty-designz.de/Bilder/button1.gif",
"http://abdy.crmk.de/links/banner1.jpg",
"http://www.jr-gfx.de/Elemente/links/jr-gfx_88x31.jpg",
"random/laksh_banner3.gif",
"http://www.ulf-theis.de/tutorials/links/images/linkme/button_88x31_ut_05.gif",
"random/schemo.gif",
"http://www.alf-dz.com/images/bouton3.jpg",
"random/thestronghold.gif",
"http://www.xdesign.ch/images/Links/Xdesign.ch.gif",
"http://www.m-o-g.de/hosting/myeux/buttons/button16.jpg",
"random/virus-style.gif",
"http://mitglied.lycos.de/unkn0w/nuclear2.jpg",
"http://www.maadee.de/links/maadee07.jpg",
"http://www.huusen.com/v5/images/affiliates/HuusenDesign_05_02.gif",
"random/c82.gif",
"random/imagewall.gif",
"http://www.malformed-malice.com/buttons/mm.gif",
"http://noxcel.com/main/linktonoxcel02.jpg",
"random/pxgrey88x31a.jpg",
"random/subdesign_button1.gif",
"http://www.kromespot.net/button.asp",
"http://www.head-graphics.com/linkbutton.gif",
"http://www.flosch.com/flosch/version4/images/buttons/linkbuttons/eigene/button1.gif",
"random/philipp.gif",
"http://www.ossio.de/button.gif",
"random/theflat_no4.gif",
"http://brushfed.com/brushfed.jpg",
"random/RangeWire1.jpg"
)

//The paths are ralative to your current HTML page directory
//or whatever you set in BASE tag of your HTML page!
fullImages = new Array(
"http://www.final-design.net",
"http://www.ev4n.com",
"http://www.microgravity.org", 
"http://www.embreak.com",
"http://www.555design.org",
"http://www.webxdesigns.net",
"http://www.steve-graphics.at",
"http://hatefull.free.fr",
"http://www.nappert.com",
"http://www.joylee.net",
"http://www.lombergar.com/go/?i=thecolos",
"http://www.blackisgood.ch",
"http://www.occido.de",
"http://www.fourfx.net",
"http://www.pixel-sea.de",
"http://www.veroaero.com",
"http://www.ropher.de",
"http://www.adi211.de",
"http://www.visual-evolutions.be",
"http://www.pixelwarz.net",
"http://www.phrenzied.com",
"http://www.forty-designz.de",
"http://abdy.crmk.de",
"http://www.jr-gfx.de",
"http://www.lakhsmanweb.tk",
"http://www.ulf-theis.de",
"http://www.schemo-design.de",
"http://www.alf-dz.com",
"http://www.thestronghold.de.vu",
"http://www.xdesign.ch",
"http://www.myeux.de",
"http://www.virus-style.de.vu",
"http://nuclear.npx.de",
"http://www.maadee.de",
"http://www.huusen.com",
"http://www.c82.net",
"http://www.imagewall.com",
"http://www.malformed-malice.com",
"http://www.noxcel.com",
"http://www.pixelmaniac.net",
"http://www.subzero-design.com",
"http://www.kromespot.net/in.asp?id=pixelcolos",
"http://www.head-graphics.com",
"http://www.flosch.com",
"http://www.philipweb.de",
"http://www.ossio.de",
"http://www.theflat.de",
"http://www.brushfed.com",
"http://www.rangewire.net"
)

//Enter the number of splashes to show on page
var imagesToShow = 5;

//Enter the width of your thumbnail images, all thumbs have the same size!!!
var imageWidth = 88;

//Enter the height of your thumbnail images, all thumbs have the same size!!!
var imageHeight = 31;

//Choose how you want to tile your images: horizontal(default) | vertical
var imageTiling = 'vertical';

//If you want to hyperlink the thumbnails choose yes, otherwise choose no(default)
var imagesHyperlink = 'yes';

var splashCount = splashImages.length;

function selectSplash() {
	if (document.images && imagesToShow <= splashCount) {
		randomNum = new Array()
		var i = 0;
		
		while (i < imagesToShow) {
			randomNum[i] = Math.floor((Math.random() * splashCount));
		
			var j = i - 1;
			
			while (j >= 0) {
				if (randomNum[i] == randomNum[j]){
					randomNum[i] = Math.floor((Math.random() * splashCount));
					j = i;
				}
				j--;
			}
			
			if (imagesHyperlink == 'yes') {
				document.write('<a target="_blank" href="'+fullImages[randomNum[i]]+'"><img border="0" src="'+splashImages[randomNum[i]]+'" width="'+imageWidth+'" height="'+imageHeight+'" ></a> ');
				if (imageTiling == 'vertical') {
					document.write('<br />');
				}
			}
			else {
				document.write('<img src="'+splashImages[randomNum[i]]+'" width="'+imageWidth+'" height="'+imageHeight+'" > ');
				if (imageTiling == 'vertical') {
					document.write('<br />');
				}
			}
			
			i++;
		}
	}
	else {
		document.write('Script Error, please contact me email: Polkabeat@thecolos.de!');
	}
}
// -->
