function autolink() {
	shop_name   = new Array();
	shop_banner = new Array();
	shop_url    = new Array();
	var end_count = 0,list_count = 0;
	list_tbl = list.split(",");
	for ( i = 0; i < (list_tbl.length / 3); i++ ) {
		shop_name  [i] = list_tbl[list_count];
		shop_banner[i] = list_tbl[list_count + 1];
		shop_url[i] = list_tbl[list_count + 2];
		list_count += 3;
	}
	var check = new Array(shop_name.length);
	for ( i = 0; i < check.length; i++) {
		check[i] = false;
	} 
	document.write("<table " + table_option);

	for ( j = shop_name.length / rows; j > 0; j--) {
		document.write("<tr>");
		
		for ( i = 0; i < rows; i++) {
			if ( end_count < shop_name.length ) {
			document.write("<td align='left' style='padding:2px 0px 8px 2px;'>");
			do {
				var id = Math.floor(Math.random() * shop_name.length);
			} while ( check[id] == true );
			check[id] = true;
			document.write("<table bgcolor='#000000' border='0' cellspacing='0' cellpadding='0' width='" + width +"'><tr>");
			document.write("<td style='border-top:2px solid #FF6600; border-bottom:2px solid #FF6600; border-left:2px solid #FF6600; '><a class='highslide' onclick='return hs.expand(this)' href='" + shop_url[id] + "'>" + shop_banner[id] + "</a></td>");
			document.write("<td valign='top' style='color:#FF6600; font-size:9px; line-height:120%; padding:5px 2px 2px 3px; border:2px solid #FF6600; '>" + shop_name[id] +"</td>");
			document.write("</tr></table>");
			end_count++;
			document.write("</td>");
			}
		}
		document.write("</tr>");
	}
	document.write("</table>");
}
