var theseshow = new Array();
CATEGORY = new Array();

CATEGORY['PRIMETIME'] = "";
CATEGORY['Accidentally on Purpose'] = "tv_related|audsvcs@cbs.com|Accidentally on Purpose|/info/user_services/fb_global_thanks.php";
CATEGORY['The Amazing Race'] = "tv_related|audsvcs@cbs.com|The Amazing Race|/info/user_services/fb_global_thanks.php";
CATEGORY['The Big Bang Theory'] = "tv_related|audsvcs@cbs.com|The Big Bang Theory|/info/user_services/fb_global_thanks.php";
CATEGORY['Big Brother'] = "tv_related|audsvcs@cbs.com|Big Brother|/info/user_services/fb_global_thanks.php";
CATEGORY['Cane'] = "tv_related|audsvcs@cbs.com|Cane|/info/user_services/fb_global_thanks.php";
//CATEGORY['Center of the Universe'] = "tv_related|audsvcs@cbs.com|Center of the Universe|/info/user_services/fb_global_thanks.php";
CATEGORY['The Class'] = "tv_related|audsvcs@cbs.com|The Class|/info/user_services/fb_global_thanks.php";
//CATEGORY['Clubhouse'] = "tv_related|audsvcs@cbs.com|Clubhouse|/info/user_services/fb_global_thanks.php";
CATEGORY['Close to Home'] = "tv_related|audsvcs@cbs.com|Close to Home|/info/user_services/fb_global_thanks.php";
CATEGORY['Cold Case'] = "tv_related|audsvcs@cbs.com|Cold Case|/info/user_services/fb_global_thanks.php";
CATEGORY['CSI: Crime Scene Investigation'] = "tv_related|audsvcs@cbs.com|CSI: Crime Scene Investigation|/info/user_services/fb_global_thanks.php";
CATEGORY['CSI: Miami'] = "tv_related|audsvcs@cbs.com|CSI: Miami|/info/user_services/fb_global_thanks.php";
CATEGORY['CSI: NY'] = "tv_related|audsvcs@cbs.com|CSI: NY|/info/user_services/fb_global_thanks.php";
CATEGORY['Creature Comforts'] = "tv_related|audsvcs@cbs.com|Creature Comforts|/info/user_services/fb_global_thanks.php";
CATEGORY['Criminal Minds'] = "tv_related|audsvcs@cbs.com|Criminal Minds|/info/user_services/fb_global_thanks.php";
CATEGORY['Dexter'] = "tv_related|audsvcs@cbs.com|Dexter|/info/user_services/fb_global_thanks.php";
CATEGORY['Do You Trust Me?'] = "tv_related|audsvcs@cbs.com|Do You Trust Me?|/info/user_services/fb_global_thanks.php";
//CATEGORY['Dr. Vegas'] = "tv_related|audsvcs@cbs.com|Dr. Vegas|/info/user_services/fb_global_thanks.php";
CATEGORY['Eleventh Hour'] = "tv_related|audsvcs@cbs.com|Eleventh Hour|/info/user_services/fb_global_thanks.php";
CATEGORY['The Ex List'] = "tv_related|audsvcs@cbs.com|The Ex List|/info/user_services/fb_global_thanks.php";
CATEGORY['Flashpoint'] = "tv_related|audsvcs@cbs.com|Flashpoint|/info/user_services/fb_global_thanks.php";
CATEGORY['Game Show in my Head'] = "tv_related|audsvcs@cbs.com|Game Show in my Head|/info/user_services/fb_global_thanks.php";
CATEGORY['Gary Unmarried'] = "tv_related|audsvcs@cbs.com|Gary Unmarried|/info/user_services/fb_global_thanks.php";
CATEGORY['Ghost Whisperer'] = "tv_related|audsvcs@cbs.com|Ghost Whisperer|/info/user_services/fb_global_thanks.php";
CATEGORY['The Good Wife'] = "tv_related|audsvcs@cbs.com|The Good Wife|/info/user_services/fb_global_thanks.php";
CATEGORY['Greatest American Dog'] = "tv_related|audsvcs@cbs.com|Greatest American Dog|/info/user_services/fb_global_thanks.php";
CATEGORY['How I Met Your Mother'] = "tv_related|audsvcs@cbs.com|How I Met Your Mother|/info/user_services/fb_global_thanks.php";
CATEGORY['Harper\'s Island'] = "tv_related|audsvcs@cbs.com|Harper's Island|/info/user_services/fb_global_thanks.php";
//CATEGORY['JAG'] = "tv_related|audsvcs@cbs.com|JAG|/info/user_services/fb_global_thanks.php";
CATEGORY['Jericho'] = "tv_related|audsvcs@cbs.com|Jericho|/info/user_services/fb_global_thanks.php";
//CATEGORY['Joan of Arcadia'] = "tv_related|audsvcs@cbs.com|Joan of Arcadia|/info/user_services/fb_global_thanks.php";
//CATEGORY['Judging Amy'] = "tv_related|audsvcs@cbs.com|Judging Amy|/info/user_services/fb_global_thanks.php";
CATEGORY['Kid Nation'] = "tv_related|audsvcs@cbs.com|Kid Nation|/info/user_services/fb_global_thanks.php";
CATEGORY['Let\'s Make a Deal'] = "tv_related|audsvcs@cbs.com|Let's Make a Deal|/info/user_services/fb_global_thanks.php";
CATEGORY['Medium'] = "tv_related|audsvcs@cbs.com|Medium|/info/user_services/fb_global_thanks.php";
CATEGORY['The Mentalist'] = "tv_related|audsvcs@cbs.com|The Mentalist|/info/user_services/fb_global_thanks.php";
CATEGORY['Million Dollar Password'] = "tv_related|audsvcs@cbs.com|Million Dollar Password|/info/user_services/fb_global_thanks.php";
CATEGORY['Moonlight'] = "tv_related|audsvcs@cbs.com|Moonlight|/info/user_services/fb_global_thanks.php";
CATEGORY['The New Adventures of Old Christine'] = "tv_related|audsvcs@cbs.com|New Adventures of Old Christine, The|/info/user_services/fb_global_thanks.php";
CATEGORY['NCIS'] = "tv_related|audsvcs@cbs.com|NCIS|/info/user_services/fb_global_thanks.php";
CATEGORY['NCIS: Los Angeles'] = "tv_related|audsvcs@cbs.com|NCIS: Los Angeles|/info/user_services/fb_global_thanks.php";
CATEGORY['NUMB3RS'] = "tv_related|audsvcs@cbs.com|NUMB3RS|/info/user_services/fb_global_thanks.php";
CATEGORY['Pirate Master'] = "tv_related|audsvcs@cbs.com|Pirate Master/info/user_services/fb_global_thanks.php";
CATEGORY['Power of 10'] = "tv_related|audsvcs@cbs.com|Power of 10/info/user_services/fb_global_thanks.php";
CATEGORY['Rules of Engagement'] = "tv_related|audsvcs@cbs.com|Rules of Engagement|/info/user_services/fb_global_thanks.php";
CATEGORY['Secret Talents of the Stars'] = "tv_related|audsvcs@cbs.com|Secret Talents of the Stars|/info/user_services/fb_global_thanks.php";
CATEGORY['Shark'] = "tv_related|audsvcs@cbs.com|Shark|/info/user_services/fb_global_thanks.php";
CATEGORY['Splitsville'] = "tv_related|audsvcs@cbs.com|Splitsville|/info/user_services/fb_global_thanks.php";
CATEGORY['Survivor'] = "tv_related|audsvcs@cbs.com|Survivor|/info/user_services/fb_global_thanks.php";
CATEGORY['Swingtown'] = "tv_related|audsvcs@cbs.com|Swingtown|/info/user_services/fb_global_thanks.php";
CATEGORY['There Goes the Neighborhood'] = "tv_related|audsvcs@cbs.com|There Goes the Neighborhood|/info/user_services/fb_global_thanks.php";
CATEGORY['Three Rivers'] = "tv_related|audsvcs@cbs.com|Three Rivers|/info/user_services/fb_global_thanks.php";
CATEGORY['Two and a Half Men'] = "tv_related|audsvcs@cbs.com|Two and a Half Men|/info/user_services/fb_global_thanks.php";
CATEGORY['The Unit'] = "tv_related|audsvcs@cbs.com|The Unit|/info/user_services/fb_global_thanks.php";
CATEGORY['Welcome to the Captain'] = "tv_related|audsvcs@cbs.com|Welcome to the Captain|/info/user_services/fb_global_thanks.php";
CATEGORY['Without a Trace'] = "tv_related|audsvcs@cbs.com|Without a Trace|/info/user_services/fb_global_thanks.php";
CATEGORY['Worst Week'] = "tv_related|audsvcs@cbs.com|Worst Week|/info/user_services/fb_global_thanks.php";
CATEGORY['Yes, Dear'] = "tv_related|audsvcs@cbs.com|Yes, Dear|/info/user_services/fb_global_thanks.php";
CATEGORY['Other - Not Listed'] = "tv_related|audsvcs@cbs.com|Others NOT Listed|/info/user_services/fb_global_thanks.php"; 

CATEGORY['LATENIGHT'] = "";
CATEGORY['The Late Late Show with Craig Ferguson'] = "tv_related|audsvcs@cbs.com|Late Late Show with Craig Ferguson,The|/info/user_services/fb_global_thanks.php";
CATEGORY['The Late Show with David Letterman'] = "tv_related|audsvcs@cbs.com|Late Show With David Letterman|/info/user_services/fb_global_thanks.php";

CATEGORY['DAYTIME'] = "";
CATEGORY['As the World Turns'] = "tv_related|atwt@cbs.com|As The World Turns|/info/user_services/fb_global_thanks.php";
CATEGORY['The Bold and the Beautiful'] = "tv_related|yrbb@tvc.cbs.com|Bold And The Beautiful,The|/info/user_services/fb_global_thanks.php";
CATEGORY['Guiding Light'] = "tv_related|gl@cbs.com|Guiding Light|/info/user_services/fb_global_thanks.php";
CATEGORY['The Price is Right'] = "tv_related|pir@tvc.cbs.com|Price Is Right, The|/info/user_services/fb_global_thanks.php";
CATEGORY['The Young and the Restless'] = "tv_related|yrbb@tvc.cbs.com|Young And The Restless,The|/info/user_services/fb_global_thanks.php";

CATEGORY['MOVIES AND SPECIALS'] = "";
CATEGORY['CBS Movie'] = "tv_related|audsvcs@cbs.com|CBS Movie|/info/user_services/fb_global_thanks.php";
CATEGORY['CBS Special'] = "tv_related|audsvcs@cbs.com|CBS Special|/info/user_services/fb_global_thanks.php"; 

CATEGORY['CBS NEWS'] = ""
CATEGORY['CBS Evening News'] = "tv_related|audsvcs@cbs.com|CBS Evening News|/info/user_services/fb_global_thanks.php";
CATEGORY['CBS News Sunday Morning'] = "tv_related|audsvcs@cbs.com|CBS News Sunday Morning|/info/user_services/fb_global_thanks.php";
CATEGORY['The Early Show'] = "tv_related|audsvcs@cbs.com|Early Show, The|/info/user_services/fb_global_thanks.php";
CATEGORY['Face the Nation'] = "tv_related|audsvcs@cbs.com|Face The Nation With Bob Schieffer|/info/user_services/fb_global_thanks.php";
CATEGORY['Saturday Early Show'] = "tv_related|audsvcs@cbs.com|Saturday Early Show|/info/user_services/fb_global_thanks.php";
CATEGORY['Up to the Minute'] ="tv_related|audsvcs@cbs.com|Up to the Minute|/info/user_services/fb_global_thanks.php";
CATEGORY['48 Hours'] ="tv_related|audsvcs@cbs.com|48 Hours|/info/user_services/fb_global_thanks.php";
CATEGORY['60 Minutes'] = "tv_related|audsvcs@cbs.com|60 Minutes|/info/user_services/fb_global_thanks.php";

function findersHTML( finder )
{
	var maxlength 	= 50; 			// one LESS than the longest allowable line (in chars)
	var retval 	= '<SELECT'+ " class='showfinders'" +' NAME="' + finder + '">\n';
	retval+= '<OPTION SELECTED VALUE="NULL">Choose a CBS ' + finder.charAt(0).toUpperCase() + finder.substring(1, finder.length).toLowerCase() + '</OPTION>\n';
	retval+= '<OPTION VALUE="NULL">';
	for( var i=0; i<maxlength; i++ )
	retval += '-';
	retval += '</OPTION>\n';
	var sf = eval( finder );
	for( key in sf ) {

		var filter = "" + sf[key];
		if (filter.indexOf("function ()") != "-1") {
		
		} else {

		var spacer 	= ''
		if( !sf[key] ) {
			retval += '<OPTION VALUE=""></OPTION>\n';
			spacer 	= '';
		}
		var start 	= -4;
		while( key.length-start > maxlength ) {
			retval += '<OPTION VALUE="' + sf[key] + '">' + spacer + key.substring(start, key.lastIndexOf(' ', start+maxlength)) + '</OPTION>\n';
			start  = key.lastIndexOf(' ', start+maxlength);
			spacer = '&nbsp;&nbsp;';
			theseshow+=(key.substring(start, key.length));
		}
		retval += '<OPTION VALUE="' + sf[key] + '">' + spacer + key.substring(start, key.length) + '</OPTION>\n';
		theseshow+=(key.substring(start, key.length));
		
		}
	}
	retval += '</SELECT>\n';
		/*afa*/
		theseshow = theseshow.split("  ");
		for(n=0;n<theseshow.length;n++) {
			theseshow[n]=theseshow[n].toLowerCase();
			/*
			alert(theseshow[n])
			theseshow[n]=theseshow[n].replace(/\s/g,"");
			*/
		}
		/*afa*/
	return retval;
}