var isNS = (document.layers);
if (!isNS) {
document.writeln('<table width="232" height="71" border=0 cellpadding=0 cellspacing=0>');
document.writeln('<tr valign="top"><td width="20"><a href="http://www.socialpsychology.org/addsearch.htm"><img src="http://www.socialpsychology.org/images/sb_lg_blue_left.gif" width="20" height="71" alt="" border="0"></a></td>');
document.writeln('<td width="207"><table width="207" border=0 cellpadding=0 cellspacing=0>');
document.writeln('<tr><td bgcolor="#666666" style="line-height:0px;font-family:arial;font-size:1px;"><img src="http://www.socialpsychology.org/images/trans.gif" width="1" height="1" alt="" border="0"><br></td></tr>');
document.writeln('<tr><td style="line-height:0px;font-family:arial;font-size:1px;"><table width="100%" border=0 cellpadding=0 cellspacing=0 bgcolor="#E2E8EF">');
document.writeln('<tr><td colspan=2><a href="http://www.socialpsychology.org/addsearch.htm"><img src="http://www.socialpsychology.org/images/sb_lg_blue_spn.gif" alt="" width="207" height="22" border="0"></a></td></tr>');
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 style="line-height:0px;font-family:arial;font-size:1px;"><a href="http://www.socialpsychology.org/addsearch.htm"><img src="http://www.socialpsychology.org/images/sb_lg_blue_logo.gif" alt="" width="40" height="47" border="0"></a></td><td style="line-height:0px;font-family:arial;font-size:1px;"><select style="font-family:arial;font-size:11px;" name="search">');
document.writeln('<option type="" value="simple">Search All Links<option type="" value="books">Search Books<option type="" value="journals">Search Journals<option type="" value="articles">Search Articles<option type="" value="software">Search Software<option type="" value="courses">Search Courses<option type="" value="people">Search People<option type="" value="organizations">Search Organizations');
document.writeln('</select><br>');
document.writeln('<img src="http://www.socialpsychology.org/images/trans.gif" width="1" height="2" alt="" border="0"><br>');
document.writeln('<table width="100%" border=0 cellpadding=0 cellspacing=0><tr><td style="line-height:0px;font-family:arial;font-size:1px;"><input type="search" style="width:108px;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></td></form></tr></table>');
document.writeln('</td></tr>');
document.writeln('<tr><td bgcolor="#666666" style="line-height:0px;font-family:arial;font-size:1px;"><img src="http://www.socialpsychology.org/images/trans.gif" width="1" height="1" alt="" border="0"><br></td></tr>');
document.writeln('</table></td>');
document.writeln('<td width="5"><img src="http://www.socialpsychology.org/images/sb_lg_blue_right.gif" width="5" height="71" alt="" border="0"></td>');
document.writeln('</tr></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>');
}