
function newWindow1(inString){

if(inString != undefined && inString != ""){
var inUrl = "http://www.pandora.com/?tc=s-003475-0035-1152&search=" +encodeURI(inString)}
else{var inUrl = "http://www.pandora.com/?tc=s-003475-0035-1152"}


window.open(inUrl, "MSN",
"width=1000px,height=650px,top=100px,left=100px,menubar=no,location=no,resizable=no,scrollbars=no,status=no");
}


function openGenre(station){

var inUrl = "http://www.pandora.com/?tc=s-003475-0035-1152&sc="

window.open(inUrl+station, "MSN",
"width=1000px,height=650px,top=100px,left=100px,menubar=no,location=no,resizable=no,scrollbars=no,status=no");


}


function tvZip(inString2){

if(inString2 != undefined && inString2 != ""){

var inUrl2 = "http://tv.msn.com/search/tv/?q=" +encodeURI(inString2)
location.assign(inUrl2, "MSN");}

else{

alert("Please include a tv show.")
document.getElementById("zBox").value = "";
document.getElementById("zBox").focus();
}

}


function movLoc(inString3){

if(inString3 != undefined && inString3 != ""){

var inUrl3 = "http://movies.msn.com/showtimes/?shloc=" +encodeURI(inString3)
location.assign(inUrl3, "MSN");}

else{

alert("Please include a location.")
document.getElementById("lBox").value = "";
document.all.lBox.focus();
}

}



function movTitle(inString4){

if(inString4 != undefined && inString4 != ""){

var inUrl4 = "http://movies.msn.com/search/movie/?ss="+encodeURI(inString4)+ "&stab=4"
location.assign(inUrl4, "MSN");}

else{

alert("Type name or part of name of the movie you're looking for.")
document.getElementById("mBox").value = "";
document.all.mBox.focus();
}

}



function artistFind(inString5){

if(inString5 != undefined && inString5 != ""){

var inUrl5 = "http://music.msn.com/search/music/?ss="+encodeURI(inString5)+ "&stab=5"
location.assign(inUrl5, "MSN");}

else{

alert("Type name or part of name of the artist you're looking for.")
document.getElementById("artBox").value = "";
document.all.artBox.focus();
}

}
