<!--

function top(){

t = new Array(1);
t[0] = "top1.jpg";
t[1] = "top2.jpg";
t[2] = "top3.jpg";
t[3] = "top4.jpg";
t[4] = "top5.jpg";
t[5] = "top6.jpg";
t[6] = "top7.jpg";
t_index = 0;

r = new Array(5);
r[0] = "top1.swf";
r[1] = "top2.swf";
r[2] = "top3.swf";
r[3] = "top4.swf";
r[4] = "top5.swf";
r_index = 0;

document.write("<style> body {background-image:url('skins/0/img/bg.gif'); background-position: center 50%;}</style>");
document.write("<div align='center'>");
document.write("<table background='skins/0/img/"+t[t_index]+"' border='0' cellpadding='0' cellspacing='0' width='760' bordercolor='#FFFFFF' frame='vsides' rules='none'><tr><td valign='top' width='750'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://www.570000.org' height='150' width='758'><param name='movie' value='skins/0/img/"+r[r_index]+"'><param name='quality' value='high'><param name='wmode' value='transparent'><embed src='skins/0/img/"+r[r_index]+"' width='758' height='150' quality='high' pluginspage='http://www.570000.org' type='application/x-shockwave-flash' wmode='transparent'></embed></object></td></tr></table></div>");
document.write("<div align='center'><table border='0' width='760' cellspacing='0' cellpadding='0' background='skins/0/img/topt.gif' height='44'></table></div>");
document.write("<div align='center'><table border='0' width='760' id='table19' cellspacing='0' cellpadding='0' height='8' bgcolor='#F2F2F2'><tr><td></td></tr></table></div>");

}


function bottom(t){
if (t == 1) {
document.write("</td></tr></table>");
}
document.write("<table border=0 align=center width=760 cellspacing=0 cellpadding=0><tr><td colspan=2 background=skins/0/img/b04.gif align=right HEIGHT=98 valign=top>");
document.write("<table border=0 width=100% cellspacing=0 cellpadding=0><tr><td WIDTH=180 HEIGHT=73>		</td><td WIDTH=14 HEIGHT=73><IMG SRC=skins/0/img/b01.gif WIDTH=14 HEIGHT=73></td><td background=skins/0/img/b02.gif align=center>");
document.write("<script>copyright() </script>");
document.write("</td><td WIDTH=20><IMG SRC=skins/0/img/b03.gif WIDTH=20 HEIGHT=73></td><td WIDTH=6></td></tr></table></td></tr></table>");
document.write("</body></html>");
}


function vtop(t){
document.write("<div align=center><table border=0 cellspacing=0 cellpadding=0 class=a1><tr><td  class=a1_left></td><td><table border=0 width=100% cellspacing=0 cellpadding=0><tr><td WIDTH=14 HEIGHT=11><IMG SRC=skins/0/img/tt1.gif WIDTH=14 HEIGHT=11></td><td background=skins/0/img/m_08.jpg width=100%></td><td WIDTH=14 HEIGHT=11><IMG SRC=skins/0/img/tt2.gif WIDTH=14 HEIGHT=11></td></tr></table></td><td class=b_right_1></td></tr></table></div>");
if (t == 1){
document.write("<table border=0 cellspacing=0 cellpadding=0 class=a1><tr><td class=a1_left></td><td>");
}
}

function vbottom(t){
if (t == 1)
{document.write("</td></tr></table>");
}
document.write("<div align=center><table border=0 cellspacing=0 cellpadding=0 class=a1><tr><td class=a1_left></td><td><table border=0 width=100% cellspacing=0 cellpadding=0><tr><td WIDTH=14 HEIGHT=11><IMG SRC=skins/0/img/tt5.gif WIDTH=14 HEIGHT=11></td><td background=skins/0/img/m_08_1.jpg width=100%></td><td WIDTH=14 HEIGHT=11><IMG SRC=skins/0/img/tt6.gif WIDTH=14 HEIGHT=11></td></tr></table></td><td width=6></td></tr></table></div><script>br(3)</script>");
}

function b_top(bt){
document.write("<table border=0 width=99% cellspacing=0 cellpadding=0><tr><td WIDTH=11 HEIGHT=22><IMG SRC=skins/0/img/title01.gif WIDTH=11 HEIGHT=22></td><td background=skins/0/img/titlebg.gif><p align=center>"+bt+"</td><td WIDTH=11 HEIGHT=22><IMG SRC=skins/0/img/title02.jpg WIDTH=11 HEIGHT=22></td></tr></table>");
}


function table1(t1_left,t1_main){
document.write("<table border=0 width=760 align=center background=skins/0/img/t_bg.gif><tr><td width=180>"+t1_left+"</td><td>"+t1_main+"</td></tr></table>");
}


function table(){


b = new Array(12);
b[0] = "skins/0/img/b_01.jpg";
b[1] = "skins/0/img/b_02.jpg";
b[2] = "skins/0/img/b_03.jpg";
b[3] = "skins/0/img/b_04.jpg";
b[4] = "skins/0/img/b_05.jpg";
b[5] = "skins/0/img/b_06.jpg";
b[6] = "skins/0/img/b_07.jpg";
b[7] = "skins/0/img/b_08.jpg";
b[8] = "skins/0/img/b_09.jpg";
b[9] = "skins/0/img/b_10.jpg";
b[10]= "skins/0/img/b_11.jpg";
b[11]= "skins/0/img/b_12.jpg";

b_index = Math.floor(Math.random() * b.length);


document.write("<table align=center border=0 width=100% cellspacing=0 cellpadding=0 class=a1 background='skins/0/img/t_bg.gif'><tr><td class=a1_left valign=top><script>br(6)</script><script>table_left()</script></td><td valign=top style=\"background-image: url('"+b[b_index]+"'); background-repeat: no-repeat; background-position: right bottom\"><table border=0 width=100% cellspacing=0 cellpadding=0 class=a2><tr><td class=b_left></td><td align=center class=b_center valign=top><table border=0 width=99% cellspacing=0 cellpadding=0><tr><td WIDTH=11 HEIGHT=22><IMG SRC=skins/0/img/title01.gif WIDTH=11 HEIGHT=22></td><td background=skins/0/img/titlebg.gif><script>table_title()</script></td><td WIDTH=11 HEIGHT=22><IMG SRC=skins/0/img/title02.jpg WIDTH=11 HEIGHT=22></td></tr></table><script>table_main()</script><script>br(100)</script></td><td class=b_right></td><td class=b_right_1></td></tr></table></td></tr></table>");
}

function title(){
document.write("<table border=0 width=750 cellspacing=0 cellpadding=0 height=31 align=center><tr><td width=7><IMG SRC=skins/0/img/t01.gif WIDTH=7 HEIGHT=31></td><td width=100% background=skins/0/img/t02.gif align=right><script>title_menu()</script></td><td width=8><IMG SRC=skins/0/img/t03.gif WIDTH=8 HEIGHT=31></td></tr></table><script>br(4)</script>");
}
function ad(){
document.write("<table border=0 width=760 cellspacing=0 cellpadding=0 align=center background=skins/0/img/t_bg.gif><tr><td width=180>กก</td><td><script>add()</script></td></tr></table>");
}
//-->
