//random illustrations functions

var x=-1
quote = new Array();

//x=x+1; y=1;
//quote[x] = new Array();
//quote[x][y++]="Quote Text";
//quote[x][y++] = "name";
//quote[x][y++] = "notes";

x=x+1; y=1;
quote[x] = new Array();
quote[x][y++]='I have just sent out a postcard featuring recent work and to promote my new website. With 3,500 contacts from Bikini, I got a tremendous response. Over 600 sessions on my website, some great enquiries and many emails of appreciation.';
quote[x][y++] = '<a class="formLabel" href="http://www.claremackie.co.uk" target="new_win">Clare Mackie</a>';
quote[x][y++] = "";

x=x+1; y=1;
quote[x] = new Array();
quote[x][y++]='A great service! - It paid for itself in the first mail out.';
quote[x][y++] = '<a class="formLabel" href="http://www.jonatronix.co.uk" target="new_win">Jon Stuart</a>';
quote[x][y++] = '';

x=x+1; y=1;
quote[x] = new Array();
quote[x][y++]='We use Bikini for all our mailings, online and offline and are consistantly happy  with the inquiries we get as a result.';
quote[x][y++] = '<a class="formLabel" href="http://www.illustrationweb.com" target="new_win">Harry Lyon-Smith</a> - Illustration ltd.';
quote[x][y++] ='';

x=x+1; y=1;
quote[x] = new Array();
quote[x][y++]='Your list database is excellent, we had a great response. We will be doing updated mailings every six months.';
quote[x][y++] = '<a class="formLabel" href="http://www.itnarchive.com" target="new_win">Peter Fydler</a><br>Director of Marketing, ITN&nbsp;Archive. London.';
quote[x][y++] = '';

x=x+1; y=1;
quote[x] = new Array();
quote[x][y++]='';
quote[x][y++] = '';
quote[x][y++] = '';

//alert(quote)



var numberOfItems=3;  //0,1,2, 
ItemSelected = new Array;

function selectItem() {
	randNo=Math.round(Math.random()*(numberOfItems));
	if (selectItem[randNo]) 
	{selectItem();}
	
	selectItem[randNo]="yes"
	//alert(randNo)
	return randNo;
}

function writeItem()
{

	var shot = selectItem(); 
	//alert(shot);
  var str='';

	str+= '<table cellpadding="0" cellspacing="0" border="0" width="200">';
	str+= '<tr valign="middle"><td class="formLabel"><font size="2" color="ff0000"><b>' + quote[shot][1] + '</b></font></td></tr>';
	str+= '<tr valign="middle"><td class="formLabel"><b>' + quote[shot][2] + '</b></td></tr>';
	str+= '<tr valign="middle"><td class="formLabel">&nbsp;</td></tr>';
	str+= '</table>';

		//alert(str);
		return str;
}
