function getRandom() {
	return random_number_array [Math.round( Math.random() * (20) ) -1] ;
}

function hotSearch() {
	hot_search_array = Array('bouquet', 'bridesmaid dress', 'bridesmaid gift', 'centerpiece', 'day of coordinator', 'DIY', 'engagement ring', 'escort cards', 'favors', 'hair trial', 'invitations', 'letterpress', 'makeup', 'photojournalism', 'playlist', 'seating chart', 'story board', 'veil', 'videographer', 'wedding planning', 'wedding ring');
	random_number_array = new Array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20);
	selected_random_array = new Array();
	random_keywords = new Array();

	for (i=0; i<=3; i++) {
		new_random = 0;
		while (new_random == 0) {
			new_random = getRandom();
		}
		selected_random_array[i] = new_random;
		random_number_array.splice(selected_random_array[i]-1,1,0);
	}
	for (i=0; i<=3; i++) {
		random_keywords[i] = hot_search_array[selected_random_array[i]-1];
		random_keyword_as_array = random_keywords[i].split(" ");
		document.write('<a href="http://www.weddingbee.com/search?cof=FORID%3A10&#038;cx=002282152532121065906%3Ar3acndkexqa&#038;q=');
		for (j=0; j < random_keyword_as_array.length; j++) {
		if (j > 0) {
			document.write('+');
		}
			document.write ( random_keyword_as_array[j] );
		}
		document.write('">' + hot_search_array[selected_random_array[i]-1] + '</a>');
		if (i < 3) {
			document.write(', ');
		}
	}
}