// *******************************************************************************

// *** 2003 zanox AG, Lars Schulze                                             ***

// *** last update: 19/08/03 lsc	                                       ***

// *******************************************************************************

var random_no, current_no, multiplier, quantity;

var ad_code = new Array();



// *******************************************************************************

// *** set the following values between the quotation mark                     ***

// *******************************************************************************

quantity = 3;


	ad_code[0] = '<img src="/images/hintergruende/dana3.jpg" align="bottom" border="0" hspace="0" width="272" height="244" alt="">';	

	ad_code[1] = '<img src="/images/hintergruende/dana2.jpg" align="bottom" width="272" height="244" border="0" hspace="0" alt="">';	

	ad_code[2] = '<img src="/images/hintergruende/dana1.jpg" align="bottom" width="272" height="244" border="0" hspace="0" alt="">';
	
	// ad_code[2] = '<img src="http://www.zanox-affiliate.de/ppv/?1202807C48791116" align="bottom" border="0" hspace="1" alt="www.ilove.de - Dating, Flirten, Singles, Freunde finden">';	

	//  ad_code[3] = '<img src="http://www.zanox-affiliate.de/ppv/?1202816C1373478616" align="bottom" width="468" height="60" border="0" hspace="1" alt="www.jamba.de - Klingeltoene Logos Handyspiele">';	



// *******************************************************************************

// *** determine the product                                                   ***

// *******************************************************************************

function determine_random_no()

{	

	multiplier = quantity - 1;

	random_no=Math.round((Math.random() * multiplier));

	if (random_no==current_no)

	{

		determine_random_no();

	}

	current_no = random_no;

}



// *******************************************************************************

// *** calling part:                                                           ***

// *******************************************************************************

function show_ad()

{

	determine_random_no();

	document.writeln(ad_code[random_no]);

}