<form name=loveform>
<p align="center">
<input value="Tên của bạn" name="name1" type="text" size="20" onfocus="this.value=''"> </p>
<p align="center">
<input value="Tên người yêu bạn" name="name2" type="text" size="20" onfocus="this.value=''"></p>
<p align="center">
<input value="" name="output" type="text" size="6">
<br>
<br>
<input value="Kết quả" name="calculate" type="button" value="calculate" onclick="calc()">
</p>
</form>
<script LANGUAGE="JavaScript">
<!-- Begin
function calc() {
first = document.loveform.name1.value.toUpperCase();
firstlength = document.loveform.name1.value.length;
second = document.loveform.name2.value.toUpperCase();
secondlength = document.loveform.name2.value.length;
var LoveCount=0;
for (Count=0; Count < firstlength; Count++) {
letter1=first.substring(Count,Count+1);
if (letter1=='L') LoveCount+=2;
if (letter1=='O') LoveCount+=2;
if (letter1=='V') LoveCount+=2;
if (letter1=='E') LoveCount+=2;
if (letter1=='Y') LoveCount+=3;
if (letter1=='O') LoveCount+=1;
if (letter1=='U') LoveCount+=3;
}
for (Count=0; Count < secondlength; Count++) {
letter2=second.substring(Count,Count+1);
if (letter2=='L') LoveCount+=2;
if (letter2=='O') LoveCount+=2;
if (letter2=='V') LoveCount+=2;
if (letter2=='E') LoveCount+=2;
if (letter2=='Y') LoveCount+=3;
if (letter2=='O') LoveCount+=1;
if (letter2=='U') LoveCount+=3;
}
amount=0;
if (LoveCount> 0) amount= 5-((firstlength+secondlength)/2)
if (LoveCount> 2) amount= 10-((firstlength+secondlength)/2)
if (LoveCount> 4) amount= 20-((firstlength+secondlength)/2)
if (LoveCount> 6) amount= 30-((firstlength+secondlength)/2)
if (LoveCount> 8) amount= 40-((firstlength+secondlength)/2)
if (LoveCount>10) amount= 50-((firstlength+secondlength)/2)
if (LoveCount>12) amount= 60-((firstlength+secondlength)/2)
if (LoveCount>14) amount= 70-((firstlength+secondlength)/2)
if (LoveCount>16) amount= 80-((firstlength+secondlength)/2)
if (LoveCount>18) amount= 90-((firstlength+secondlength)/2)
if (LoveCount>20) amount=100-((firstlength+secondlength)/2)
if (LoveCount>22) amount=100%-((firstlength+secondlength)/2)
if (firstlength==0 || secondlength==0) amount= "Err";
if (amount < 0) amount= 0;
if (amount >99) amount=99;
document.loveform.output.value=amount+"%";
}
// End -->
</script>
</form>
</DIV>
</DIV>
<br>
<DIV class=tableborder>
<DIV class=maintitle>Tin nhanh
</div>
</DIV>
<DIV class=tablepad><center>
<MARQUEE behavior='scroll' direction='up' height='220' scrollamount='1' scrolldelay='70' width='100%' onmouseover='this.stop()' onmouseout='this.start()'> <p align="justify">
<br>
<script language="JavaScript" src="http://210.245.0.148/Library/News.js"></script>
<script language="Javascript">
for(var i=0;i <39;i++)
{
document.write(' <br><br><img src="style_images/1/tinnhanh.gif" border="0" alt="" /> ');
document.write(RefNews[i]);
}
</script></p>
<br><br>
</MARQUEE>
<br><br>
</center></form>
</DIV>
</DIV>
</td><td class="row2" valign="top"><!--coded by HolySavior at
www.ifsupport.net //--><table align="right" width="30%" class="row2" valign="top"><tr><td><div class="tableborder">
<div class="maintitle">Link hữu ích</div>
<div class="tablepad">
<br />· <a href="http://nhatkynet.uni.cc">NhatKyNet</a>
<br />· <a href="http://echip.com.vn">EChip</a>
<br />· <a href="http://cuasotinhoc.com">Cửa Sổ Tin Học</a>
<br />· <a href="http;//vnno.net">Thôi Dẹp</a>
</div>
</div><br>
<script>
// Top X Stats v2.0 - Leave Copyright Intact Wherever Used
// Author: Zero Tolerance © Game Zone | Evolution 2004 [http://gzevolution.net]
// Edit Statistics To Show (Recommended 5)
statsToShow=5
</script>
<script>
topStats="<div class='tableborder'>"
topStats+="<div class=maintitle><b>Top Posters</b></div>"
topStats+="<table width='100%' border='0' cellspacing='0' cellpadding='0'>"
topStats+="<tr>"
topStats+="<td class='row2' width='50%'>"
topStats+=" <table width='100%' id='topPost'>"
topStats+=" <tr>"
topStats+=" <td class='titlemedium' width='80%'><b>Thành viên</b></td>"
topStats+=" <td class='titlemedium' align='right' width='20%'><b>Bài viết</b></td>"
topStats+=" </tr>"
topStats+=" </table>"
topStats+="</td>"
function loadStats(){
// Make Iframe [1] - Top Posters
url=location.href.split('/')[4];url=location.href.replace(url,'')
url+="?&act=Members&photoonly=&name=&name_box=all&max_results=50"
url+="&filter=ALL&sort_order=desc&sort_key=posts&st=0"
document.write('<iframe name="topPosters" src="'+url+'" style="display:none" onLoad="doLoadTopPosters();"></iframe>')
}
function doLoadTopPosters(){
count=0
Doc=topPosters.document
div=Doc.getElementsByTagName('div')
for(d=0;d<div.length;d++){
if(div[d].className=="maintitle" && div[d].innerHTML=="Member List"){
TheTable=div[d].parentNode.getElementsByTagName('table')[0]
for(r=0;r<TheTable.rows.length;r++){
if(count==statsToShow){}else{
if(TheTable.rows[r].cells[0].className=="row4"){
Row = document.getElementById('topPost').insertRow(-1)
Row.insertCell(-1).innerHTML = TheTable.rows[r].cells[0].innerHTML
Call = Row.insertCell(-1)
Call.innerHTML = TheTable.rows[r].cells[4].innerHTML
Call.align = 'right'
count++
}
}
}
}
}
}
if(location.href.match(/(w+)=(w+)/)){
if(RegExp.$2=="act" && RegExp.$2=="idx"){document.write(topStats)
loadStats()
}
} else {
document.write(topStats);
loadStats()
}</script></div></table>
<DIV class=maintitle>Hình ảnh ngẫu nhiên</div>
</DIV>
<DIV class=tablepad>
<script LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
// Set up the image files to be used.
var theImages = new Array() // do not change this
theImages[0] = 'http://img.photobucket.com/albums/v161/khinguoidanongkhoc/6504730f.gif'
theImages[1] = 'http://www.loicuagio.info/Anhgif/0/43_files/p2_014.gif'
theImages[2] = 'http://img96.exs.cx/img96/123/173.gif'
theImages[3] = 'http://giotnuoc.com/friend4ever/uploads/giotnuoc.jpg'
theImages[4] = 'http://70.85.81.229/3677/40/upload/av-1.jpg'
theImages[5] = 'http://70.85.81.229/2902/19/upload/av-2931.jpg'
theImages[6] = 'http://j.1asphost.com/tnnd/trangchu_files/hinhdep.gif'
theImages[7] = 'http://stat.caishow.com/mmsimg/comm/7650/fq2.gif'
// do not edit anything below this line
var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
preBuffer[i] = new Image()
preBuffer[i].src = theImages[i]
}
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}
// End -->
</script>
</HEAD>
<center>
<script LANGUAGE="JavaScript">
<!-- Begin
showImage();
// End -->
</script></center></form>
</DIV>
</DIV>
</div>
</div>
<br /><div class="tableborder">
<div class="maintitle"> ShoutBox </div>
<div class="tablepad">
<br /><iframe frameborder="0" width="100%" height="150" src="http://cbox.ws/box/?boxid=610483&boxtag=1832&sec=main" marginheight="2" marginwidth="2" scrolling="yes" allowtransparency="yes" name="cboxmain" style="border: #DBE2ED 1px solid;" id="cboxmain"></iframe></br>
<iframe frameborder="0" width="100%" height="65" src="http://cbox.ws/box/?boxid=610483&boxtag=1832&sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: #DBE2ED 1px solid; border-top: 0px;" id="cboxform"></iframe>
</div>
<br />
<div class="tableborder">
<div class="maintitle"> Tỉ giá - Thời tiết </div>
<div class="tablepad">
</br>
<center>
<script language=javascript>PageHost = '';function AddHeader(Name, Header, Buttons, Symbol, AddChildTable){document.writeln('<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#DB9E08" width="100%"><tr><td height="10" colspan="2" bgcolor="#F7C21B"><b><center>', Header ,'</center></b></td></tr>');return true;}function AddFooter(){document.writeln('</table>');}</script>
<script language=JavaScript
src="http://vnexpress.net/Service/Weather.js"></SCRIPT><br>
<script language=JavaScript
src="http://vnexpress.net/Service/Gold.js"></SCRIPT><br>
<script language=JavaScript
src="http://vnexpress.net/Service/Forex.js"></SCRIPT><br>
</center>
</div>
</div>
<br />
<div class="tableborder">
<div class="maintitle"> Từ điển </div>
<div class="tablepad">
<br />
<center>
<form name="vdict" method="get" action="http://vdict.com/gateway.php" target="_blank">
<input name="word" id="word" size="15" maxlength="100" type="text"><br />
<select name="dictionary">
<option value="1" selected>Anh - Việt</option>
<option value="2">Anh - Anh</option>
<option value="3">Việt - Anh</option>
<option value="4">Việt - Việt</option>
</select> <input name="submit" value="Go" type="submit"></form>
</center>
</div>
</div>
<br />
<!--ADD ANOTHER BOX HERE //-->
</td></tr></table><table valign="top"><tr>
<div class="tableborder"><div class="maintitle" align="center">Nằm chính giữa nha</div>
<div class="row1" align="center"></br><iframe valign="top" src="http://vnvista.com/othersites/poems.php" style="overflow:auto;height:200px" width="68%" frameborder="0">
Warning: Thơ học trò không thực hiện được.
</iframe><br/></div><div class="darkrow2"> </div></div></br><!--Add Another Main Box //--></br>