var template = "";

function openEmailWindow() {
var popped_page = "/shows/events/hip_hop_honors/2006/fs59/sendtofriend/index.jhtml?page=%2Fshows%2Fevents%2Fhip_hop_honors%2F2006%2Ffs59&subject=VH1&#39;s+Freestyle+59+Contest&title=VH1&#39;s+Freestyle+59+Contest&mode=form" + "&template=" + template;
window.open(popped_page, "mailer", "width=472,height=392,scrollbars=0");
}
				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(2);
		icn_over = new MakeArray(2);
		
		icn_out[1].src = "/shows/events/hip_hop_honors/2006/fs59/img/btn_more.gif";
		icn_over[1].src = "/shows/events/hip_hop_honors/2006/fs59/img/btn_more_over.gif";
		icn_out[2].src = "/shows/events/hip_hop_honors/2006/fs59/img/btn_print.jpg";
		icn_over[2].src = "/shows/events/hip_hop_honors/2006/fs59/img/btn_print_over.jpg";
		}
		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;
		   	}
		}
		
		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");
	}
	