<script language="javascript">
	var myframes = 10;
</script>

<style>
 table, input, select { font-size:8pt; font-family:tahoma;}
</style>
<script language="javascript">
	var flag = true;

	function acceptIt(){
		window.returnValue = num.value;
		window.close();
	}

	function showFrame(typ) {

var html = '<center><table border="0" width="98%" cellpadding="0" cellspacing="0"><tr><td width="1%"><img src="look/images/myframes/' + typ + '_cul.gif" alt=""  border="0" /></td><td width="100%" style="background-image: url(look/images/myframes/' + typ + '_u.gif)"></td><td width="1%"><img src="look/images/myframes/' + typ + '_cur.gif" alt=""  border="0" /></td></tr><tr><td width="1%" style="background-image: url(look/images/myframes/' + typ + '_l.gif)"></td><td align="center" width="100%" style="background-image: url(look/images/myframes/' + typ + '.gif)">';
html += "<b><font size=4>&nbsp;</font><b>";
html += '</td><td width="1%" style="background-image: url(look/images/myframes/' + typ + '_r.gif)"></td></tr><tr><td width="1%"><img src="look/images/myframes/' + typ + '_cdl.gif" alt=""  border="0" /></td><td width="100%" style="background-image: url(look/images/myframes/' + typ + '_d.gif)"></td><td width="1%"><img src="look/images/myframes/' + typ + '_cdr.gif" alt=""  border="0" /></td></tr></table>';		preview.innerHTML = html;
	}
</script>
</head>
<body bgcolor="#FFE1CE" style="color:brown">
<table border="0" width="100%" style="margin-right:8px">
<tr><td align="center">
&nbsp;&nbsp;<input type="button" value="{$lang['Adopted']}" onclick="acceptIt()"> <input type="button" value="{$lang['Cancel']}" onclick="window.returnValue='';window.close()">

<select id="num" onchange="showFrame(this.value)">
<script language="javascript">
	for (var i=1; i<=myframes; i++)
		document.write('<option value=' + i + '>{$lang['Under_Num']}  ' + i);

</script>

</td></tr>
<tr><td align="center" id="preview" height="150px">
</td></tr>
</table>
<script language="javascript">
	showFrame(1);
</script>