document.write('<script language="JavaScript" type="text/JavaScript" src="http://www.sanook.com/global/global.js"></script>');
document.write('	<script language="javascript" src="http://ads.mweb.co.th/scripts/spac.js"></script>');
//document.write('<link rel="stylesheet" href="http://www.sanook.com/styler.css" type="text/css">');
document.write('<link rel="stylesheet" href="/sanook_styler.css" type="text/css">');

//==========================header================
function sex_header(){
	document.write('<SCRIPT LANGUAGE="JavaScript1.2" SRC="http://www.sanook.com/sanook_xp.js"></SCRIPT>');
	document.write('<table width="780" height="66" border="0" align="center" cellpadding="0" cellspacing="0" background="/images/bg_search.gif">');
	document.write('  <tr> ');
	document.write('    <td width="480" rowspan="2" align="center" valign="bottom">');
	document.write(' <script language="JavaScript">spac_writeAd( "/site=sanook.com/area=sanook.sex.' + area + '/position=pos.top/aamsz=full_banner" );</script>');
	document.write('	</td>');
	document.write('    <td height="24" align="right">');
	document.write('      <table width="100%" height="24" border="0" cellpadding="0" cellspacing="0">');
	document.write('        <tr valign="middle"> ');
	document.write('          <td valign="bottom"></td>');
	document.write('          <td width="51" align="center" valign="bottom"></td>');
    document.write('          <td width="51" align="center" valign="bottom"><a href="javascript:;" onclick="window.print();"><img src="/images/icon_inact_print.gif" alt="Print this Page..." name="Print" width="47" height="24" border="0" id="Print"></a></td>');
	document.write('          <td width="98" align="center" valign="bottom"><a href="javascript:;" onclick="mail2friend();"><img src="/images/icon_inact_mail2.gif" alt="Mail to Friends..." name="Mail2Friend" width="94" height="24" border="0"></a></td>');
	document.write('          <td width="71" align="center" valign="bottom"><a href="javascript:addbookmark();"><img src="/images/icon_inact_bookmark.gif" alt="Bookmark this Page..." name="Bookmark" width="67" height="24" border="0"></a></td>');
//	document.write('          <td width="51" align="center" valign="bottom"><a href="help.php"><img src="/images/icon_inact_help.gif" alt="How to Use..." name="Help" width="47" height="24" border="0"></a></td>');
	document.write('          <td width="5"></td>');
	document.write('        </tr>');
	document.write('      </table>');
	document.write('    </td>');
	document.write('  </tr>');
	document.write('  <tr> ');
	document.write('    <td align="right">');
	document.write('			<form name="frmSearch" method="GET" action="http://203.107.136.16/php/search.php">');
	document.write('                        <INPUT type=hidden value="Y" name=use_desc>');
	document.write('                        <INPUT type=hidden value="Y" name=use_keyword>');
	document.write('                        <INPUT type=hidden value="Y" name=use_title>');
	document.write('                        <INPUT type=hidden value="Y" name=use_url>');
	document.write('                <input type=hidden name="sw" value="WEBINDEX">');
	document.write('      <table border="0" cellspacing="0" cellpadding="0">');
	document.write('        <tr> ');
	document.write('          <td width="21"><img src="/images/icon_search.gif" width="21" height="21"></td>');
	document.write('          <td width="40" align="center" class="fontWhite">ค้นหา:</td>');
	document.write('          <td width="130" align="right">');
	document.write('            <input name="q" type="text" class="fontForm" id="q" size="18">');
	document.write('          </td>');
	document.write('</form>');
	document.write('          <td width="40" align="right"><input type="Image" src="/images/button_go.gif" width="36" height="22" border="0"></td>');
	document.write('          <td width="5"></td>');
	document.write('        </tr>');
	document.write('      </table>');
	document.write('    </td>');
	document.write('  </tr>');
	document.write('</table>');
}

//=================chat room=============
function chat(){
	document.write('<a href="http://chat.sanook.com" target="_blank"><img src="/images/bullet_chat.gif" width="115" height="137" border="0"></a>');
}

