if(typeof(boxwidth)=='undefined'){boxwidth = 415;Tb=4;textsize=85}else{if(boxwidth<415)boxwidth=415;eS=boxwidth-379;ttab=Math.floor(eS/9);if (ttab>0){Tb=Math.max(4,Math.min(10,ttab));textsize=85+(eS-(9*Tb));}else{Tb=4;textsize=85+eS;}}
if(typeof(bordercolor)=='undefined'){bordercolor="#CECFCE";} if(typeof(titlebgcolor)=='undefined'){titlebgcolor="#CECFCE";} if(typeof(titlefontcolor)=='undefined'){titlefontcolor="#000080";}
if(typeof(boxbgcolor)=='undefined'){boxbgcolor="#EFEFEF";} if(typeof(boxfontcolor)=='undefined'){boxfontcolor="#000000";}
if(typeof(formnumber)=='undefined')formnumber=1;
function submitSMASHSearch(formsubmitted) {
if (eval("document.SHSearchForm"+formsubmitted+".FindFactor.value")=="") alert("Please enter some text for the audio search.");
else { if (3>eval("document.SHSearchForm"+formsubmitted+".FindFactor.value.length")) { alert("The search text must be longer than 2 characters.");} else {
var SID = eval("document.SHSearchForm"+formsubmitted+".SearchID[document.SHSearchForm"+formsubmitted+".SearchID.selectedIndex].value");
var FF = eval("document.SHSearchForm"+formsubmitted+".FindFactor.value");
var popURL= "http://ww.smashits.com/articles/search_main.cfm?imageurl="+imageurl+"&SearchID="+SID+"&FindFactor="+FF+"&SearchType=Simple&SubPage=Audio";
window.open(popURL,'SHAAS','width=642,top=0,left=0,directories=no,toolbar=no,menubar=no,location=no,scrollbars=yes,resizable=yes,copyhistory=no,status=no');}}}
document.write('<TABLE width='+boxwidth+' cellpadding=0 cellspacing=1 border=0 bgcolor="'+bordercolor+'">');
document.write('<FORM name="SHSearchForm'+formnumber+'" onSubmit="javascript:submitSMASHSearch('+formnumber+');return false;"><TR>');
document.write('<TD bgcolor="'+boxbgcolor+'" valign="middle"><TABLE cellpadding=0 cellspacing=0 border=0 width="100%" height="100%"><TR>');
document.write('<TD bgcolor="'+titlebgcolor+'" HEIGHT=26 WIDTH='+Tb+'><IMG src="http://ww.smashits.com/x.gif" width='+Tb+' height=1 border=0></TD>');
document.write('<TD bgcolor="'+titlebgcolor+'" ALIGN="center" WIDTH=39><FONT size=1 face="Verdana" color="'+titlefontcolor+'"><STRONG>MUSIC SEARCH</STRONG></FONT></TD>');
document.write('<TD bgcolor="'+titlebgcolor+'" WIDTH='+Tb+'><IMG src="http://ww.smashits.com/x.gif" width='+Tb+' height=1 border=0></TD>');
document.write('<TD WIDTH='+Tb+'><IMG src="http://ww.smashits.com/x.gif" width='+Tb+' height=1 border=0></TD>');
document.write('<TD WIDTH=17><FONT size=1 face="Verdana" color="'+boxfontcolor+'">For</FONT></TD>');
document.write('<TD WIDTH='+Tb+'><IMG src="http://ww.smashits.com/x.gif" width='+Tb+' height=1 border=0></TD>');
document.write('<TD><INPUT TYPE="Text" NAME="FindFactor" MAXLENGTH=80 STYLE="width:'+textsize+'px;color:000000;font-size:9;font-face:verdana;"></TD>');
document.write('<TD WIDTH='+Tb+'><IMG src="http://ww.smashits.com/x.gif" width='+Tb+' height=1 border=0></TD>');
document.write('<TD WIDTH=10><FONT size="1" face="Verdana" color="'+boxfontcolor+'">in</FONT></TD>');
document.write('<TD WIDTH='+Tb+'><IMG src="http://ww.smashits.com/x.gif" width='+Tb+' height=1 border=0></TD>');
document.write('<TD WIDTH="104"><SELECT name="SearchID" style="width:104;color:000000;font-size:9;font-face:verdana;">');
document.write('<OPTION VALUE="Track" SELECTED>Song name<OPTION value="Album">Movie/CD name<OPTION value="Year">Year of Release</SELECT></TD>');
document.write('<TD WIDTH='+Tb+'><IMG src="http://ww.smashits.com/x.gif" width='+Tb+' height=1 border=0></TD>');
document.write('<TD WIDTH=24><INPUT TYPE="Submit" NAME="GoBtn" VALUE="GO" STYLE="font-size:9;font-face:verdana;"></TD>');
document.write('<TD WIDTH='+Tb+'><IMG src="http://ww.smashits.com/x.gif" width='+Tb+' height=1 border=0></TD><TD align="center" WIDTH=100>');
document.write('<A target="_blank" href="http://www.smashits.com"><IMG src="http://ww.smashits.com/articles/smashits102.gif" WIDTH=100 HEIGHT=24 border=0></A></TD>');
document.write('<TD WIDTH='+Tb+'><IMG src="http://ww.smashits.com/x.gif" width='+Tb+' height=1 border=0></TD>');
document.write('</TR></TABLE></TD></TR></FORM></TABLE>');
