
var color="blue"; text1="ยินดีต้อนรับสู่ โครงการอุทยทานใต้ทะเล จุฬาภรณ์ 36  "
comeback=0
cometo=0
// ================================================================================


function Header2()
{
document.write('<table width=100% border=0 cellspacing=0 cellpadding=0   height=108 >');
document.write('<tr><td><img src="./img/header1.jpg"></td></tr>');
document.write('</tr></table>');
}


function Header()
{
document.write('<table  background="img/header1.jpg" width=100%  border=0 cellspacing=0 cellpadding=0 >');
document.write('<tr height=224><td></td></tr>');
document.write('<tr class=class10 height=30>');
document.write('<td align=left valign=center>');
document.write('<a href="index.html"><font color=white>หน้าหลัก  : </font></a>');
document.write('<a href="activity.htm"><font color=white>กิจกรรม &บันทึกการเดินทาง :</font></a>');
document.write('<a href="http://www.thaidive.org/webboard/webboard.php" target=new><font color=white>Thaidive webboard </font></a>');
document.write('</td></tr>');
document.write('</table>');
}




function Header1()
{
document.write('<table width=100% bgcolor=white border=0 cellspacing=0 cellpadding=0   height=108 >');
document.write('<tr><td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"  width=780 height=249>');
document.write('<param name="movie" value="img/sea11.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="wmode" value="transparent">');
document.write('<embed src="img/sea11.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width=780 height=249 ></embed></object></td></tr>');
document.write('</tr></table>');
}


// ================================================================================


//


function Footer()
{
document.write('<table  background="img/footer.jpg" width=100% height=70 border=0 cellspacing=0 cellpadding=10 align=right>');
document.write('<tr class=class10>');
document.write('<td align=right valign=bottom>');
document.write('<a href="index.html">หน้าหลัก : </a><a href="marineparkproject.htm">ศูนย์อนุรักษฯ :</a><a href="student.htm"> นพอ.: </a>');
document.write('<a href="ship48.htm">เรือวางทุ่น :</a>');
document.write('<a href="activity.htm">กิจกรรม &บันทึกการเดินทาง :</a>');
document.write('</td></tr>');
document.write('</table>');
}

function Footer1()
{
document.write('<img src="img/footer.jpg">');
}


// ==============


function menu()
{

document.write('<Table >');
document.write('<tr><td class=class6 valign=top width=170>');
document.write('<a href="http://www.navy82.com/main.php" target=new ><img src="Home.gif" border=0> Home</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy82.com/pround.php" target=new >ใคร ทำอะไร ที่ไหน</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy82.com/news.php" target=new>ข่าว -ประกาศ</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy82.com/login.php" target=new>พวกกระผมขอรับ</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy82.com/webboard/webboard.php" target=new>คุยกันให้มากหน่อย</a>');
document.write('<br><img src="line.jpg">');
document.write('<img src="bullet02.gif"><a href="http://www.precadet25.com" target=new1>เตรียมทหาร 25</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.crma36.com" target=new1>จปร 36</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.aircadet32.com" target=new1>เรืออากาศ 32</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.cop41.com" target=new1>นรต. 41</a>');
document.write('<br><img src="line.jpg">');
document.write('<br>พี่ น้อง ราชนาวี ');
document.write('<br><img src="bullet02.gif"><a href="http://www.cadet1935.com/navalcadet76/title.html" target=new1>นายเรือ 76</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy80.com" target=new1>นายเรือ 80</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy84.com" target=new1>นายเรือ 84</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy86.com" target=new1>นายเรือ 86</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy87.com" target=new1>นายเรือ 87</a>');
document.write('<br><img src="bullet02.gif"><a href="http://navy.in.th" target=new1>นายเรือ 88</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy89.com" target=new1>นายเรือ 89</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy92.in.th/" target=new1>นายเรือ 92</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy93.com/" target=new1>นายเรือ 93</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.rtna95.co.nr/" target=new1>นายเรือ 95</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.navy96.cjb.net/" target=new1>นายเรือ 96</a>');
document.write('<br><img src="bullet02.gif"><a href="http://www.rtna97.com" target=new1>นายเรือ 97</a>');
document.write('<br><img src="line.jpg">');
document.write('<img src="bullet02.gif"><a href="e-news.html" target=new >e-Newspaper</a>');
document.write('<br><img src="bullet02.gif"><a href="n-menu7.html" target=new >Training Online</a>');
document.write('<br><img src="bullet02.gif"><a href="link.html" target=new >Links</a>');
document.write('<br><img src="bullet02.gif"><a href="me.html" target=new >About me</a></td></tr>');
document.write('</table>');
document.write('<img src="line.jpg">');
}

function search()
{
document.write('<table width="100" border="0" cellspacing="0" cellpadding="0">');
document.write('<form method=GET action=http://www.google.com/custom target="search">');
document.write('<tr><td width="130">');
document.write('<input type="text" name="q" size="16" height="10px" class="textbox">');
document.write('<input type=hidden name=domains value=".go.th">');
document.write('<input type=hidden name=sitesearch value="chy3.com">');
document.write('</td><td width="59">');
document.write('<input type="image" name="Submit" value="Submit" img src="butt_search_sm.gif" width="51" height="19">');
document.write('</td></tr>');
document.write('<tr><td colspan=2 class=class6>Search in site by google</td></tr></table>');

}




//---


function dis(){
window.status=text1.substring(0,cometo)
if(comeback==1){
cometo--;
if(cometo==0){comeback=0}
} else {cometo++;if(cometo==text1.length){comeback=1}}
window.status=text1.substring(0,cometo)+""
if(cometo==text1.length){window.setTimeout("dis()",500);} else {window.setTimeout("dis()",50);}
}

