if(typeof(boxwidth)=='undefined'){boxwidth = 114;leftTab=4;textsize=83}else{if (boxwidth<114) boxwidth=114;leftTab=Math.round((boxwidth-110)/2);if(leftTab<=10){textsize=83;}else{bit=(leftTab-10)*2;textsize=83+bit;leftTab=10;}}
if(typeof(boxheight)=='undefined'){boxheight = 123;}else{if(boxheight<123) boxheight=123;}
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+'"><TR>');
document.write('<TD BGCOLOR="'+titlebgcolor+'" ALIGN="center" HEIGHT="15" WIDTH="100%">');
document.write('<FONT SIZE="1" FACE="Verdana" COLOR="'+titlefontcolor+'"><B>MUSIC SEARCH</B></FONT></TD></TR>');
document.write('<FORM NAME="SHSearchForm'+formnumber+'" ONSUBMIT="javascript:submitSMASHSearch('+formnumber+');return false;"><TR VALIGN="top"><TD BGCOLOR="'+boxbgcolor+'" VALIGN="middle" HEIGHT='+boxheight+'>');
document.write('<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="100%" HEIGHT="100%"><TR>');
document.write('<TD ROWSPAN="3"><IMG SRC="/x.gif" WIDTH='+leftTab+' HEIGHT=3 BORDER=0></TD>');
document.write('<TD><IMG SRC="/x.gif" WIDTH=100 HEIGHT=5 BORDER=0><BR>');
document.write('<FONT SIZE="1" FACE="VERDANA" COLOR="'+boxfontcolor+'"><STRONG>Search</STRONG></FONT><BR>');
document.write('<IMG SRC="/x.gif" WIDTH=100 HEIGHT=3 BORDER=0><BR>');
document.write('<SELECT NAME="SearchID" STYLE="width:'+(textsize+23)+';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><BR>');
document.write('</TD><TD ROWSPAN="3"><IMG SRC="/x.gif" WIDTH='+leftTab+' HEIGHT=3 BORDER=0>');
document.write('</TD></TR><TR><TD><IMG SRC="/x.gif" WIDTH=100 HEIGHT=5 BORDER=0><BR>');
document.write('<FONT SIZE="1" FACE="VERDANA" COLOR="'+boxfontcolor+'"><STRONG>For</STRONG><BR>');
document.write('</FONT><INPUT TYPE="Text" NAME="FindFactor" MAXLENGTH="80" STYLE="width:'+textsize+'px;color:000000;font-size:9;font-face:verdana;">');
document.write('<INPUT TYPE="Submit" NAME="GoBtn" VALUE="GO" STYLE="font-size:9;font-face:verdana;"><BR>');
document.write('</TD></TR><TR><TD ALIGN="center"><IMG SRC="/x.gif" WIDTH=100 HEIGHT=5 BORDER=0><BR>');
document.write('<FONT FACE="Verdana" SIZE="1" COLOR="'+boxfontcolor+'">Powered by</FONT><BR>');
document.write('<A TARGET="_blank" HREF="http://www.smashits.com"><IMG SRC="http://ww.smashits.com/articles/smashits101.gif" BORDER=0></A><BR>');
document.write('<IMG SRC="/x.gif" WIDTH=100 HEIGHT=5 BORDER=0><BR>');
document.write('</TD></TR></TABLE></TD></TR></FORM></TABLE>');