var BrowserDetect = {
init: function () {
		this.browser = this.searchString(this.dataBrowser) || "An unknown browser";
		this.version = this.searchVersion(navigator.userAgent)
		|| this.searchVersion(navigator.appVersion)
		|| "an unknown version";
		this.OS = this.searchString(this.dataOS) || "an unknown OS";
	},
searchString: function (data) {
		for (var i=0;i<data.length;i++)	{
			var dataString = data[i].string;
			var dataProp = data[i].prop;
			this.versionSearchString = data[i].versionSearch || data[i].identity;
			if (dataString) {
				if (dataString.indexOf(data[i].subString) != -1)
				return data[i].identity;
			}
			else if (dataProp)
			return data[i].identity;
		}
	},
searchVersion: function (dataString) {
		var index = dataString.indexOf(this.versionSearchString);
		if (index == -1) return;
		return parseFloat(dataString.substring(index+this.versionSearchString.length+1));
	},
dataBrowser: [
	{
string: navigator.userAgent,
subString: "Chrome",
identity: "Chrome"
	},
	{ 	string: navigator.userAgent,
subString: "OmniWeb",
versionSearch: "OmniWeb/",
identity: "OmniWeb"
	},
	{
string: navigator.vendor,
subString: "Apple",
identity: "Safari",
versionSearch: "Version"
	},
	{
prop: window.opera,
identity: "Opera"
	},
	{
string: navigator.vendor,
subString: "iCab",
identity: "iCab"
	},
	{
string: navigator.vendor,
subString: "KDE",
identity: "Konqueror"
	},
	{
string: navigator.userAgent,
subString: "Firefox",
identity: "Firefox"
	},
	{
string: navigator.vendor,
subString: "Camino",
identity: "Camino"
	},
	{		// for newer Netscapes (6+)
string: navigator.userAgent,
subString: "Netscape",
identity: "Netscape"
	},
	{
string: navigator.userAgent,
subString: "MSIE",
identity: "Explorer",
versionSearch: "MSIE"
	},
	{
string: navigator.userAgent,
subString: "Gecko",
identity: "Mozilla",
versionSearch: "rv"
	},
	{ 		// for older Netscapes (4-)
string: navigator.userAgent,
subString: "Mozilla",
identity: "Netscape",
versionSearch: "Mozilla"
	}
	],
	dataOS : [
	{
string: navigator.platform,
subString: "Win",
identity: "Windows"
	},
	{
string: navigator.platform,
subString: "Mac",
identity: "Mac"
	},
	{
string: navigator.userAgent,
subString: "iPhone",
identity: "iPhone/iPod"
	},
	{
string: navigator.platform,
subString: "Linux",
identity: "Linux"
	}
	]

};

BrowserDetect.init();

function MakeHomePage() {
	document.getElementById('make_start_page').style.visibility="visible";
	switch (BrowserDetect.browser) {
	case "Firefox" :
		document.getElementById('msp_2').innerHTML='<img src="/images/bi_mozilla64x64.png" />';
		document.getElementById('msp_3').innerHTML='<b>Mozilla Firefox: How to make Top 20 your home page:</b><ul><li>On the <b>tools</b> menu, click <b>Options</b>.</li><li>In the left pane of the <b>Options</b> dialog box, click <b>Main</b>.</li><li>In the <b>Home Page</b> text box, type <b>"'+window.location.href+'"</b>, and then click <b>OK</b>.</li></ul><a href="#" onclick="window.location.reload()">Close</a>';
		break;
	case "Chrome" :
		document.getElementById('msp_2').innerHTML='<img src="/images/bi_chrome64x64.png" />';
		document.getElementById('msp_3').innerHTML='<b>Google Chrome: How to make Top 20 your home page:</b><ul><li>Click on the Chrome "wrench" icon and select <b>Options</b>.</li><li>In the <b>Home Page</b> section, type <b>"'+window.location.href+'"</b> in the <b>Open this page</b> box.</li></ul><a href="#" onclick="window.location.reload()">Close</a>';
		break;
	case "Safari" :
		document.getElementById('msp_2').innerHTML='<img src="/images/bi_safari64x64.png" />';
		document.getElementById('msp_3').innerHTML='<b>Apple Safari: How to make Top 20 your home page:</b><ul><li>Select <b>Safari</b> from the top menu and then <b>Preferences...</b> from the drop-down list.</li><li>In the <b>General</b> section, type <b>"'+window.location.href+'"</b> in the <b>Home page</b> text field, and then close the <b>Preferences window</b>.</li></ul><a href="#" onclick="window.location.reload()">Close</a>';
		break;
	}
}

function setCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function getCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}

function deleteCookie(name) {
	setCookie(name,"",-1);
}

function setCookieNews(c_name,value,exdays)
{
	var exdate=new Date();
	exdate.setDate(exdate.getDate() + exdays);
	var c_value=escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
	document.cookie=c_name + "=" + c_value;
}

function getCookieNews(c_name)
{
	var i,x,y,ARRcookies=document.cookie.split(";");
	for (i=0;i<ARRcookies.length;i++)
	{
		x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
		y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
		x=x.replace(/^\s+|\s+$/g,"");
		if (x==c_name)
		{
			return unescape(y);
		}
	}
}

function go() {
	document.getElementById('subheader').style.fontWeight='bold';
}

var appwide_display = 'appwide_control_0';

function appwide_process(command, id) {
	switch(command) {
	case 'mouseover' :
		if (appwide_display == id) {
			document.getElementById(id).style.backgroundColor="red";
		} else {
			document.getElementById(id).style.backgroundColor="#6699cc";
		}
		break;
	case 'mouseout' :
		if (appwide_display == id) {
			document.getElementById(id).style.backgroundColor="red";
		} else {
			document.getElementById(id).style.backgroundColor="#99ccff";
		}
		break;
	case 'mousedown' :
		document.getElementById(id).style.backgroundColor="red";
		break;
	case 'mouseup':
		document.getElementById(id).style.backgroundColor="red";
		document.getElementById(appwide_display).style.backgroundColor="#99ccff";
		appwide_display = id;
		switch(id) {
		case 'appwide_control_0':
			document.getElementById('appwide_contents').innerHTML = document.getElementById('appwide_contents_0').innerHTML 
			break;
		case 'appwide_control_1':		
			document.getElementById('appwide_contents').innerHTML = document.getElementById('appwide_contents_1').innerHTML 
			break;
		case 'appwide_control_2':
			document.getElementById('appwide_contents').innerHTML = document.getElementById('appwide_contents_2').innerHTML 
			break;
		case 'appwide_control_3':
			document.getElementById('appwide_contents').innerHTML = document.getElementById('appwide_contents_3').innerHTML 
			break;
		}
		break;
	}
}

function addtofav(linkUrl,linkTitle) {
	if (!document.all) {
		alert('Please hit ctrl-d to bookmark this page');
	}
	else {external.AddFavorite(linkUrl,linkTitle);
		return false;}
}

function processGiftLinks(siteurl, num, linkURL) {
	var path = "http://www.top20online.com/pics/webpagepreviews/";
	var file = siteurl + ".sitepic" + num + '.png';
	var url = path + file;
	var myhtml = '<a target="_blank" href="' + linkURL + '"><img src="' + url + '" border="none"/></a>';
	$('#gift_web_preview').html(myhtml);
}

/*****************************************************************************************************************/
/* AMAZON CAROUSELS */
/**/

function amazon_chooser(choice) {

	var baseball='<div class="amazon_title">Baseball</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_d82ce9c0-4f7d-4696-8370-8d48fa4e4c9b"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fd82ce9c0-4f7d-4696-8370-8d48fa4e4c9b&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fd82ce9c0-4f7d-4696-8370-8d48fa4e4c9b&amp;Operation=GetDisplayTemplate" id="Player_d82ce9c0-4f7d-4696-8370-8d48fa4e4c9b" quality="high" bgcolor="#ffffff" name="Player_d82ce9c0-4f7d-4696-8370-8d48fa4e4c9b" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fd82ce9c0-4f7d-4696-8370-8d48fa4e4c9b&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var basketball='<div class="amazon_title">Basketball</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_fee49e46-3696-4d56-924c-6422a667afad"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Ffee49e46-3696-4d56-924c-6422a667afad&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Ffee49e46-3696-4d56-924c-6422a667afad&amp;Operation=GetDisplayTemplate" id="Player_fee49e46-3696-4d56-924c-6422a667afad" quality="high" bgcolor="#ffffff" name="Player_fee49e46-3696-4d56-924c-6422a667afad" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Ffee49e46-3696-4d56-924c-6422a667afad&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var business='<div class="amazon_title">Business and Investing</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_0af3b678-d8e1-4d57-8ca8-dd579a32efde"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F0af3b678-d8e1-4d57-8ca8-dd579a32efde&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F0af3b678-d8e1-4d57-8ca8-dd579a32efde&amp;Operation=GetDisplayTemplate" id="Player_0af3b678-d8e1-4d57-8ca8-dd579a32efde" quality="high" bgcolor="#ffffff" name="Player_0af3b678-d8e1-4d57-8ca8-dd579a32efde" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F0af3b678-d8e1-4d57-8ca8-dd579a32efde&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var coaching='<div class="amazon_title">Coaching</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_7296e3f1-b846-442c-8ded-3fb63ca20533"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F7296e3f1-b846-442c-8ded-3fb63ca20533&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F7296e3f1-b846-442c-8ded-3fb63ca20533&amp;Operation=GetDisplayTemplate" id="Player_7296e3f1-b846-442c-8ded-3fb63ca20533" quality="high" bgcolor="#ffffff" name="Player_7296e3f1-b846-442c-8ded-3fb63ca20533" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F7296e3f1-b846-442c-8ded-3fb63ca20533&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var computers='<div class="amazon_title">Computers and Internet</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_9e7a31db-5425-4f8a-8220-0f06a6452ed7"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F9e7a31db-5425-4f8a-8220-0f06a6452ed7&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F9e7a31db-5425-4f8a-8220-0f06a6452ed7&amp;Operation=GetDisplayTemplate" id="Player_9e7a31db-5425-4f8a-8220-0f06a6452ed7" quality="high" bgcolor="#ffffff" name="Player_9e7a31db-5425-4f8a-8220-0f06a6452ed7" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F9e7a31db-5425-4f8a-8220-0f06a6452ed7&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var entertainment='<div class="amazon_title">Entertainment</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_966698f2-2564-4b4e-a51d-521649e5e64f"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F966698f2-2564-4b4e-a51d-521649e5e64f&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F966698f2-2564-4b4e-a51d-521649e5e64f&amp;Operation=GetDisplayTemplate" id="Player_966698f2-2564-4b4e-a51d-521649e5e64f" quality="high" bgcolor="#ffffff" name="Player_966698f2-2564-4b4e-a51d-521649e5e64f" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F966698f2-2564-4b4e-a51d-521649e5e64f&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var fiction='<div class="amazon_title">Literature and Fiction</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_966698f2-2564-4b4e-a51d-521649e5e64f"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F966698f2-2564-4b4e-a51d-521649e5e64f&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F966698f2-2564-4b4e-a51d-521649e5e64f&amp;Operation=GetDisplayTemplate" id="Player_966698f2-2564-4b4e-a51d-521649e5e64f" quality="high" bgcolor="#ffffff" name="Player_966698f2-2564-4b4e-a51d-521649e5e64f" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F966698f2-2564-4b4e-a51d-521649e5e64f&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var football='<div class="amazon_title">Football</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_98b65559-b7e0-4f5b-b7d6-56cbd8fa43bb"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F98b65559-b7e0-4f5b-b7d6-56cbd8fa43bb&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F98b65559-b7e0-4f5b-b7d6-56cbd8fa43bb&amp;Operation=GetDisplayTemplate" id="Player_98b65559-b7e0-4f5b-b7d6-56cbd8fa43bb" quality="high" bgcolor="#ffffff" name="Player_98b65559-b7e0-4f5b-b7d6-56cbd8fa43bb" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F98b65559-b7e0-4f5b-b7d6-56cbd8fa43bb&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var health='<div class="amazon_title">Health, Mind and Body</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_549b5591-c0ee-4860-aa58-665cdd8eaa63"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F549b5591-c0ee-4860-aa58-665cdd8eaa63&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F549b5591-c0ee-4860-aa58-665cdd8eaa63&amp;Operation=GetDisplayTemplate" id="Player_549b5591-c0ee-4860-aa58-665cdd8eaa63" quality="high" bgcolor="#ffffff" name="Player_549b5591-c0ee-4860-aa58-665cdd8eaa63" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F549b5591-c0ee-4860-aa58-665cdd8eaa63&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var nonfiction='<div class="amazon_title">Nonfiction</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_12d8f974-ba9d-4d33-96ff-96bf99aa10b7"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F12d8f974-ba9d-4d33-96ff-96bf99aa10b7&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F12d8f974-ba9d-4d33-96ff-96bf99aa10b7&amp;Operation=GetDisplayTemplate" id="Player_12d8f974-ba9d-4d33-96ff-96bf99aa10b7" quality="high" bgcolor="#ffffff" name="Player_12d8f974-ba9d-4d33-96ff-96bf99aa10b7" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F12d8f974-ba9d-4d33-96ff-96bf99aa10b7&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var science='<div class="amazon_title">Science</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_d2dea9aa-67d3-4a18-a55d-542a22438c77"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fd2dea9aa-67d3-4a18-a55d-542a22438c77&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fd2dea9aa-67d3-4a18-a55d-542a22438c77&amp;Operation=GetDisplayTemplate" id="Player_d2dea9aa-67d3-4a18-a55d-542a22438c77" quality="high" bgcolor="#ffffff" name="Player_d2dea9aa-67d3-4a18-a55d-542a22438c77" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fd2dea9aa-67d3-4a18-a55d-542a22438c77&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var soccer='<div class="amazon_title">Soccer</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_aafd655f-288d-4ff9-94cb-845d803eb829"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Faafd655f-288d-4ff9-94cb-845d803eb829&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Faafd655f-288d-4ff9-94cb-845d803eb829&amp;Operation=GetDisplayTemplate" id="Player_aafd655f-288d-4ff9-94cb-845d803eb829" quality="high" bgcolor="#ffffff" name="Player_aafd655f-288d-4ff9-94cb-845d803eb829" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Faafd655f-288d-4ff9-94cb-845d803eb829&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var sports='<div class="amazon_title">Sports</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_e614c084-6606-4535-8ac9-f39052a731ff"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fe614c084-6606-4535-8ac9-f39052a731ff&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fe614c084-6606-4535-8ac9-f39052a731ff&amp;Operation=GetDisplayTemplate" id="Player_e614c084-6606-4535-8ac9-f39052a731ff" quality="high" bgcolor="#ffffff" name="Player_e614c084-6606-4535-8ac9-f39052a731ff" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fe614c084-6606-4535-8ac9-f39052a731ff&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var training='<div class="amazon_title">Training</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_3196cc20-ace2-40a7-8e2e-3135bac3fe1d"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F3196cc20-ace2-40a7-8e2e-3135bac3fe1d&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F3196cc20-ace2-40a7-8e2e-3135bac3fe1d&amp;Operation=GetDisplayTemplate" id="Player_3196cc20-ace2-40a7-8e2e-3135bac3fe1d" quality="high" bgcolor="#ffffff" name="Player_3196cc20-ace2-40a7-8e2e-3135bac3fe1d" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F3196cc20-ace2-40a7-8e2e-3135bac3fe1d&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var travel='<div class="amazon_title">Travel</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_81e68af6-1fdb-4532-8015-8513bf401566"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F81e68af6-1fdb-4532-8015-8513bf401566&amp;Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F81e68af6-1fdb-4532-8015-8513bf401566&amp;Operation=GetDisplayTemplate" id="Player_81e68af6-1fdb-4532-8015-8513bf401566" quality="high" bgcolor="#ffffff" name="Player_81e68af6-1fdb-4532-8015-8513bf401566" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&amp;ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F81e68af6-1fdb-4532-8015-8513bf401566&amp;Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var games='<div class="amazon_title">Games</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_381343a0-8634-4e8b-a766-d2509bf39ba9"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F381343a0-8634-4e8b-a766-d2509bf39ba9&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F381343a0-8634-4e8b-a766-d2509bf39ba9&Operation=GetDisplayTemplate" id="Player_381343a0-8634-4e8b-a766-d2509bf39ba9" quality="high" bgcolor="#ffffff" name="Player_381343a0-8634-4e8b-a766-d2509bf39ba9" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F381343a0-8634-4e8b-a766-d2509bf39ba9&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';

	var meat = '<div class="amazon_title">Meat</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_51e7ba14-dfda-4289-8912-d12e76dd9d9a"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F51e7ba14-dfda-4289-8912-d12e76dd9d9a&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F51e7ba14-dfda-4289-8912-d12e76dd9d9a&Operation=GetDisplayTemplate" id="Player_51e7ba14-dfda-4289-8912-d12e76dd9d9a" quality="high" bgcolor="#ffffff" name="Player_51e7ba14-dfda-4289-8912-d12e76dd9d9a" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F51e7ba14-dfda-4289-8912-d12e76dd9d9a&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var beverages = '<div class="amazon_title">Beverages</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_8b84b6e4-47af-4911-be04-ab9f5f8c0d8a"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F8b84b6e4-47af-4911-be04-ab9f5f8c0d8a&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F8b84b6e4-47af-4911-be04-ab9f5f8c0d8a&Operation=GetDisplayTemplate" id="Player_8b84b6e4-47af-4911-be04-ab9f5f8c0d8a" quality="high" bgcolor="#ffffff" name="Player_8b84b6e4-47af-4911-be04-ab9f5f8c0d8a" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F8b84b6e4-47af-4911-be04-ab9f5f8c0d8a&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var seasonings = '<div class="amazon_title">Seasonings</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_ecf9af28-9f32-4276-a8f1-ddfe04268ccb"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fecf9af28-9f32-4276-a8f1-ddfe04268ccb&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fecf9af28-9f32-4276-a8f1-ddfe04268ccb&Operation=GetDisplayTemplate" id="Player_ecf9af28-9f32-4276-a8f1-ddfe04268ccb" quality="high" bgcolor="#ffffff" name="Player_ecf9af28-9f32-4276-a8f1-ddfe04268ccb" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2Fecf9af28-9f32-4276-a8f1-ddfe04268ccb&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var fruits = '<div class="amazon_title">Fruits</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_1965b616-4df4-4397-92e8-d8647d6ee7be"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F1965b616-4df4-4397-92e8-d8647d6ee7be&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F1965b616-4df4-4397-92e8-d8647d6ee7be&Operation=GetDisplayTemplate" id="Player_1965b616-4df4-4397-92e8-d8647d6ee7be" quality="high" bgcolor="#ffffff" name="Player_1965b616-4df4-4397-92e8-d8647d6ee7be" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F1965b616-4df4-4397-92e8-d8647d6ee7be&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var chocolate = '<div class="amazon_title">Chocolate</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_7348fec8-40c8-4859-a315-c9ed1d88aae0"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F7348fec8-40c8-4859-a315-c9ed1d88aae0&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F7348fec8-40c8-4859-a315-c9ed1d88aae0&Operation=GetDisplayTemplate" id="Player_7348fec8-40c8-4859-a315-c9ed1d88aae0" quality="high" bgcolor="#ffffff" name="Player_7348fec8-40c8-4859-a315-c9ed1d88aae0" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F7348fec8-40c8-4859-a315-c9ed1d88aae0&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var brewing = '<div class="amazon_title">Home Brew</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_7332cbbf-5a67-46a6-958a-095b413eb110"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F7332cbbf-5a67-46a6-958a-095b413eb110&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F7332cbbf-5a67-46a6-958a-095b413eb110&Operation=GetDisplayTemplate" id="Player_7332cbbf-5a67-46a6-958a-095b413eb110" quality="high" bgcolor="#ffffff" name="Player_7332cbbf-5a67-46a6-958a-095b413eb110" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F7332cbbf-5a67-46a6-958a-095b413eb110&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var grocery = '<div class="amazon_title">Grocery & Gourmet</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_9def1a66-2033-4069-95c9-54a43582bf05"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F9def1a66-2033-4069-95c9-54a43582bf05&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F9def1a66-2033-4069-95c9-54a43582bf05&Operation=GetDisplayTemplate" id="Player_9def1a66-2033-4069-95c9-54a43582bf05" quality="high" bgcolor="#ffffff" name="Player_9def1a66-2033-4069-95c9-54a43582bf05" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F9def1a66-2033-4069-95c9-54a43582bf05&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';
	var cheese = '<div class="amazon_title">Cheese</div><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_15927a61-bb2a-45c6-a416-961fbade42e0"  WIDTH="600px" HEIGHT="200px"> <PARAM NAME="movie" VALUE="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F15927a61-bb2a-45c6-a416-961fbade42e0&Operation=GetDisplayTemplate"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="allowscriptaccess" VALUE="always"><embed src="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F15927a61-bb2a-45c6-a416-961fbade42e0&Operation=GetDisplayTemplate" id="Player_15927a61-bb2a-45c6-a416-961fbade42e0" quality="high" bgcolor="#ffffff" name="Player_15927a61-bb2a-45c6-a416-961fbade42e0" allowscriptaccess="always"  type="application/x-shockwave-flash" align="middle" height="200px" width="600px"></embed></OBJECT> <NOSCRIPT><A HREF="http://ws.amazon.com/widgets/q?rt=tf_cw&ServiceVersion=20070822&MarketPlace=US&ID=V20070822%2FUS%2Fconnectonlinegif%2F8010%2F15927a61-bb2a-45c6-a416-961fbade42e0&Operation=NoScript">Amazon.com Widgets</A></NOSCRIPT><div class="amazon_footer"></div>';

	var other = '<div class="amazon_title"></div><div class="amazon_footer"></div>';
	
	
	if (choice=='baseball') {$('#amazon_container').html(baseball);}
	if (choice=='basketball') {$('#amazon_container').html(basketball);}
	if (choice=='business') {$('#amazon_container').html(business);}
	if (choice=='coaching') {$('#amazon_container').html(coaching);}
	if (choice=='computers') {$('#amazon_container').html(computers);}
	if (choice=='entertainment') {$('#amazon_container').html(entertainment);}
	if (choice=='fiction') {$('#amazon_container').html(fiction);}
	if (choice=='football') {$('#amazon_container').html(football);}
	if (choice=='health') {$('#amazon_container').html(health);}
	if (choice=='nonfiction') {$('#amazon_container').html(nonfiction);}
	if (choice=='science') {$('#amazon_container').html(science);}
	if (choice=='soccer') {$('#amazon_container').html(soccer);}
	if (choice=='sports') {$('#amazon_container').html(sports);}
	if (choice=='training') {$('#amazon_container').html(training);}
	if (choice=='travel') {$('#amazon_container').html(travel);}
	if (choice=='games') {$('#amazon_container').html(games);}

	if (choice=='meat') {$('#amazon_container').html(meat);}
	if (choice=='beverages') {$('#amazon_container').html(beverages);}
	if (choice=='seasonings') {$('#amazon_container').html(seasonings);}
	if (choice=='fruits') {$('#amazon_container').html(fruits);}
	if (choice=='chocolate') {$('#amazon_container').html(chocolate);}
	if (choice=='brewing') {$('#amazon_container').html(brewing);}
	if (choice=='grocery') {$('#amazon_container').html(grocery);}
	if (choice=='cheese') {$('#amazon_container').html(cheese);}

}

