/*----------------------------------------------------
||Banner Ad Rotater v1.01                            ||
||                                                   ||
||Script by:                                         ||
||Anarchos                                           ||
||URL: http://www.xs.mw/anarchos                     ||
||E-mail: anarchos3@hotmail.com                      ||
||ICQ: 12007422                                      ||
||                                                   ||
||E-mail or ICQ me if you have any questions or need ||
||help setting up your banner ad rotator. Check out  ||
||my webpage every once in a while for updates to    ||
||this script.                                       ||
-----------------------------------------------------*/

var numAds = 4;

function makeAd() {
	this.width = ''
	this.height = ''
	this.src = ''
	this.href = ''
	this.mouseover = ''
}

var ads = new Array()
for(var i = 1; i <= numAds; i++) { ads[i] = new makeAd() }

i = 1;

ads[i].width = "468"
ads[i].height = "60"
ads[i].src = "http://www.eaglewing-enterprises.com/indie/7213432.gif"
ads[i].href = "http://www.live365.com/index.live"
ads[i].mouseover = "www.live365.com"
i++

ads[i].width = "468"    
ads[i].height = "60"                  
ads[i].src = "http://www.eaglewing-enterprises.com/indie/10279931.gif"  			
ads[i].href = "http://www.mixman.com/software/index.html?pageTitle=StudioXPro&p=2&a=1&dir=software&subsection=products&content=pro"
ads[i].mouseover = "www.mixman.com"                
i++

ads[i].width = "468"    
ads[i].height = "60"                  
ads[i].src = "http://www.ftjcfx.com/image-2077276-10442423"  			
ads[i].href = "http://www.dpbolvw.net/click-2077276-10442423"
ads[i].mouseover = "www.mixonic.com"                        
i++

ads[i].width = "468"    
ads[i].height = "60"                  
ads[i].src = "http://img3.musiciansfriend.com/dbase/graphics/affiliate/200511freeship-468x60.jpg"  			
ads[i].href = "http://service.bfast.com/bfast/click?bfmid=5607334&siteid=41325427&bfpage=1751348"
ads[i].mouseover = "www.musiciansfriend.com"                        
i++

var myCode = '';
do {
var n= Math.floor(Math.random() * (numAds + 1) + 1);
} while(n > numAds);
var current_ad = n;
myCode = getCode(n);
function getCode(adNumber){
	var tempCode = ""
	tempCode += ('<a href="'+ ads[adNumber].href +'" \n')
	tempCode += ('onMouseOver="status=\''+ ads[adNumber].mouseover +'\';return true" \n')
	tempCode += ('onMouseOut="status=\'\'"> \n')
	tempCode += ('<img src="' + ads[adNumber].src + '" width=' + ads[adNumber].width)
	tempCode += ('\n height=' + ads[adNumber].height + ' border=0 >')
	tempCode += ('</a>')
	return tempCode;
	}
function newAd(){
	current_ad++;
	if (current_ad > numAds)
		current_ad = 1;
	if (document.all){
	   write(getCode(current_ad));
	   }
}
function write(text){
	if (document.layers) {
		document.bannerAd.document.write(text)
		document.bannerAd.document.close();
		}
	else
		if (document.all)
			document.all.bannerAd.innerHTML = text	
}