function popRingToneOrder(downloadID) {
        rt = window.open("/mobile/ringtones/order/instructions_ringtones.jhtml?downloadID="+downloadID,"rt","width=668,height=337")
    }

function popDynamicWallpaperOrder(genre, downloadID, title, thumb) {
		url="/mobile/ringtones/order/instructions_dynamic_wallpaper.jhtml?area=" + genre + "&downloadID=" + downloadID + "&title=" + title + "&thumb=" + thumb;
		wallpapers = window.open(url,"wallpapers","width=660,height=329");
	}

function popInt(id) {
url="/shows/series/top_20_countdown//interview.jhtml?name=" + id;
interview=window.open(url, "interview", "width=662, height=800, scrollbars=yes");
}

				searchOK = true;


				function timer() {
					searchOK = false; setTimeout("searchOK=true",2500)
							}
				function formSub() {

					var searchText = document.searchFormBot.searchterm.value;

					if (searchOK && searchText != "") {

					timer();




							return true;


							 }
					else {
					alert("You must enter a search term.");

					return false;

					}
							}


if (document.images) {
		icn_out = new MakeArray(7);
		icn_over = new MakeArray(7);

		icn_out[1].src = "/shows/series/top_20_countdown/img/button_votebig.gif";
		icn_out[2].src = "/shows/series/top_20_countdown/img/button_vote.gif";
		icn_out[3].src = "/shows/series/top_20_countdown/img/button_watch1.gif";
		icn_out[4].src = "/shows/series/top_20_countdown/img/button_watch.gif";
		icn_out[5].src = "/shows/series/top_20_countdown/img/button_learnmore.gif";
		icn_out[6].src = "/shows/series/top_20_countdown/img/button_more.gif";
		icn_out[7].src = "/shows/series/top_20_countdown/img/button_watchbig.gif";

		icn_over[1].src = "/shows/series/top_20_countdown/img/button_votebig_over.jpg";
		icn_over[2].src = "/shows/series/top_20_countdown/img/button_vote_over.jpg";
		icn_over[3].src = "/shows/series/top_20_countdown/img/button_watch1_over.jpg";
		icn_over[4].src = "/shows/series/top_20_countdown/img/button_watch_over.jpg";
		icn_over[5].src = "/shows/series/top_20_countdown/img/button_learnmore_over.gif";
		icn_over[6].src = "/shows/series/top_20_countdown/img/button_more_over.gif";
		icn_over[7].src = "/shows/series/top_20_countdown/img/button_watchbig1.gif";
		}

		function MakeArray(n) {
		   	this.length = n
		   	for (var i = 1; i<=n; i++) {
		    	this[i] = new Image()
		   	}
		   	return this;
		}
		function icnOver(name,number){
			if (document.images){
		     	name.src = icn_over[number].src;
		   	}
		}
		function icnOut(name,number){
			if (document.images){
		      	name.src = icn_out[number].src;
		   	}
		}
