var isNS = (document.layers);
if (!isNS) {
document.writeln('<table width="232" height="49" border=0 cellpadding=0 cellspacing=0>');
document.writeln('<tr><td width="19"><a href="http://www.socialpsychology.org/addsearch.htm"><img src="http://www.socialpsychology.org/images/sb_sm_gray_left.gif" width="19" height="49" alt="" border="0"></a></td>');
document.writeln('<td width="38"><a href="http://www.socialpsychology.org/addsearch.htm"><img src="http://www.socialpsychology.org/images/sb_sm_gray_logo.gif" width="38" height="49" alt="" border="0"></a></td>');
document.writeln('<td width="171">');
document.writeln('<table width="171" border=0 cellpadding=0 cellspacing=0>');
document.writeln('<tr><form  target="_blank" action="http://www.socialpsychology.org/client/search.php" method="get"><input type="hidden" name="search" value="simple"><input type="hidden" name="websource" value="' + window.location.href + '"><input type="hidden" name="searchbox" value="true"><td bgcolor="#666666" colspan=2><img src="http://www.socialpsychology.org/images/trans.gif" width="1" height="1" alt="" border="0"></td></tr>');
document.writeln('<tr valign="top"><td background="http://www.socialpsychology.org/images//sb_sm_gray_bg.gif">');
document.writeln('<a href="http://www.socialpsychology.org/addsearch.htm"><img src="http://www.socialpsychology.org/images/sb_sm_gray_spn.gif" alt="" width="170" height="23" border="0"></a><br>');
document.writeln('<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td><img src="http://www.socialpsychology.org/images/trans.gif" width="2" height="1" alt="" border="0"></td><td><input type="search" style="width:110px;font-family:verdana;font-size:11px;" size=9 name="searchterm" value="" autosave="spnsearch" results="10"> </td><td><input type="submit" value="Search" style="font-size:11px;"></td></tr></table>');
document.writeln('</td><td width=1 background="http://www.socialpsychology.org/images//sb_sm_gray_bg.gif"><img src="http://www.socialpsychology.org/images/trans.gif" width="1" height="47" alt="" border="0"></td></tr>');
document.writeln('<tr><td bgcolor="#666666" colspan=2><img src="http://www.socialpsychology.org/images/trans.gif" width="1" height="1" alt="" border="0"></td></form></tr>');
document.writeln('</table></td>');
document.writeln('<td width="4"><img src="http://www.socialpsychology.org/images/sb_sm_gray_right.gif" width="4" height="49" alt="" border="0"></td></tr>');
document.writeln('</table>');
} else {
document.writeln('<form  target="_blank" action="http://www.socialpsychology.org/client/search.php" method="get"><input type="hidden" name="search" value="simple"><input type="hidden" name="websource" value="' + window.location.href + '"><input type="hidden" name="searchbox" value="true"><img src="http://www.socialpsychology.org/images/sb_ns_spn.gif" width="199" height="16" alt="" border="0"><br><table border=0 cellpadding=0 cellspacing=0><tr><td><input type="text" size=16 name="searchterm" value=""> </td><td><input type="submit" value="Search"></td></tr></table></form>');
}