Demo: https://congdongdip.123.st/h33-page
Cho vào HTML
Cho vào HTML
- Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://img.zing.vn/gn/images/favicon.ico" type="image/x-icon" />
<title>๑۩۞۩๑ ♥--D.Í.P--♥ ๑۩۞۩๑</title>
<link rel="stylesheet" href="http://img.zing.vn/gnservlist/id/media/css/global.css" />
<link rel="stylesheet" href="http://img.zing.vn/gnservlist/id/media/css/style.css" />
<link rel="Stylesheet" href="http://img.zing.vn/gnservlist/id/media/css/jquery.jcarousel.css" />
<link rel="Stylesheet" href="http://img.zing.vn/gnservlist/id/media/css/jquery-ui-1.8.16.custom.css" />
<!--[if IE 6]>
<script src="http://idgunny.zing.vn/js/DD_belatedPNG_0.0.8a.js"></script>
<script>
DD_belatedPNG.fix('h1 a,#nav ul li a.serverTot,#nav ul li a.serverMoi,#nav ul li a.serverDay,#Header .ShortLink li a, a.BarFooterTimBan');
</script>
<![endif]-->
<script type="text/javascript">
$(document).ready(function(){
if ( jQuery(".CapCha").length > 0 ) {
jQuery(".FormLogin .frm_button").css ("top", "205px");
}
else {
jQuery(".FormLogin .frm_button").css ("top", "188px");
}
if($('p.TextWarning').length>0){
var color = ['black','red'];
var i=0;
var change_c = setInterval(function(){
if(i==color.length){
i=0;
}
$('p.TextWarning > a').css('color',color[i])
i=i+1;
},500);
}
$('.DKNhanh').live('click',function(){
var link = $(this).attr('href');
$('#dialog').attr("style","");
var d = $('#dialog').html('<iframe id="ifrm" scrolling="no" frameborder="0" ALLOWTRANSPARENCY="true" bgcolor="#eeeeee" style="width:100%; height:100%; border:none; overflow:hidden;"></iframe>');
d.dialog({
autoResize: true,
modal: true ,
height: 440,
width: 430,
open: function (event,ui) {$(this).css("width","100%")}
});
$("#dialog>#ifrm").attr("src", link);
$("#dialog").prepend('<img src="http://img.zing.vn/gnservlist/id/media/images/close2.gif" class="Close" alt="Đóng">');
$(".Close").live('click',function(){
d.dialog( "close" );
});
return false;
});
});
function checklogin()
{
var err=0;
if(document.getElementById("u").value == '')
{
alert('Vui lòng nhập tài khoản');
err++;
}
else if(document.getElementById("p").value == '')
{
alert('Vui lòng nhập mật khẩu');
err++;
}
if (err == 0)
document.frmLogin.submit();
return false;
}
</script>
<script type="text/javascript" src="https://img.zing.vn/eventgame/intro/general/js/track-idlogin/track-gt-analytics-promotion.js"></script>
<*****>
<body><div id="dialog"></div><div id="Wrapper" class="WrapperLogin">
<div id="WrapperIn">
<div id="Header">
<h1><a href="/forum" target="_blank" title="Trang chủ">Trang chủ</a></h1>
<ul class="ShortLink">
<li><a class="TrangChu" href="/" title="Trang chủ" target="_blank">Trang chủ</a></li>
<li><a class="DienDan" href="/forum" target="_blank" title="Diễn đàn">Diễn đàn</a></li>
<li><a class="HoTro" href="ymsgr:sendIM?Alt_f4_enter_out@yahoo.com.vn" target="_blank" title="Hỗ trợ">Hỗ trợ</a></li>
<li><a class="NapXu" href="http://congdongdip.123.st/donate" target="_blank" title="Nạp xu">Nạp xu</a></li>
</ul>
</div>
<div id="MainContent">
<div class="News">
<iframe scrolling="no" allowtransparency="1" marginheight="0" marginwidth="0" height="208" frameborder="0" width="772" src="http://congdongdip.123.st/h34-page"></iframe>
</div>
<div class="FormLogin">
<a title="Đăng ký nhanh" onclick="" class="DKNhanh" onclick="_gaq.push(['_trackEvent', 'IDGunny', 'Button', 'QuickReg']);" href="/register?agreed=true&step=2">Đăng ký nhanh</a>
<form method="post" action="/login.forum?" name="frmLogin" id="frmLogin">
<div class = "errMsg"></div>
<div class="frm_dangnhap">
<input type="text" name="username" id ="username" value="Tên đăng nhập" class="txt_box"/><br />
<input type="password" name="password" id = "password" value="*******" class="txt_box"/><br />
<tr><td> <input type="submit" value="Đăng nhập" name="login" id="login"/> </td></tr><br />
<input type=hidden name='pid' id='pid' value='49'>
</div>
<!-- div class="CapCha">
<label>Mã xác nhận</label>
<img width="142" height="32" style="BORDER-RIGHT: #c09349 1px solid; BORDER-TOP: #c09349 1px solid; BORDER-LEFT: #c09349 1px solid; BORDER-BOTTOM: #c09349 1px solid" id="sVerifyImg" src="https://id.zing.vn/imagesec/index.1315812187.html"><img border="0" style="cursor:pointer" src="https://imgfw.zing.vn/imgid2/theme/default/products/gunny/images/iconRe.gif" onclick="refreshImage()" title="Tạo mã xác nhận khác">
<label>Nhập mã xác nhận</label>
<input type="text" name="user" value="" class="txt_box" /><br />
</div> -->
<div class="frm_button">
<a title="Chơi ngay" class="ChoiNgay" href="/forum" onClick="return checklogin();">Chơi ngay</a>
</div>
<div class="LuuY">
<p class="TextWarning"><a target="_blank" href="http://www.adobe.com/support/flashplayer/downloads.html#fp11">Cài ngay Adobe flash 11.3, vào forum không lag :D!</a>
<br><a href="/profile?mode=sendpassword">:: Quên mật khẩu ::
</p>
</div>
</form>
</div>
</div>
<div id="Footer" class="BarFooter">
<ul>
<li><a href="http://www.vng.com.vn/" title="Công ty VNG" target="_blank">Công ty VNG</a></li>
<li><a href="http://www.7road.com/index.asp" title="Công ty 7Road" target="_blank">Công ty 7Road</a></li>
</ul>
<p>© Bản quyền thuộc ๑۩۞۩๑ ♥--D.Í.P--♥ ๑۩۞۩๑. Forum hiển thị tốt nhất khi sử dụng google chrome<br />Rip by D.Í.P-Po<br>Powered by <a href="http://congdongdip.123.st/forum" target="_blank">http://congdongdip.123.st/forum</a></p>
</div>
</div>
</div>
</body>
</html>
♥-♥
<script>
var txt=" Diễn Đàn D.Í.P - Chia Sẽ Yêu Thương - Kết Nối Cộng Đồng ";
var espera=300;
var refresco=null;
function rotulo_title() {
document.title=txt;
txt=txt.substring(1,txt.length)+txt.charAt(0);
refresco=setTimeout("rotulo_title()",espera);
}
rotulo_title();
</script>
<link rel="icon" href="http://i809.photobucket.com/albums/zz16/Tymz/icontruocnick/th_mod.gif" type="ktc" />
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="google-site-verification" content="uptm6aF03ppqi0OXossIAPSUxhDdbwy5fbvxaaW8DzY">
<script type="text/javascript">if (self != top) top.location.replace(self.location)</script>
<meta name="alexaVerifyID" content="G4OmwjWPZi6QTU1iUqlWwIjumKQ">
<!-- InstanceBeginEditable name="doctitle" -->
<title></title>
<!-- InstanceEndEditable -->
<style type="text/css">
<!--
body {
background-image: url(http://i21.servimg.com/u/f21/15/61/17/20/bg1011.jpg);
background-repeat: repeat-x;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-color: #000000;
}
.font { font-family: tahoma;
font-size: 14px;
color: #666666;
text-decoration: none;
}
.font13 { font-family: tahoma;
font-size: 13px;
color: #666666;
text-decoration: none;
}
-->
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
<!--
.style8 {font-: bold; color: #000099;}
.style9 {color: #333399}
-->
.header {
font-family: tahoma;
font-size: 12px;
color: #CCCCCC;
text-decoration: none;
background-image: url(http://i1123.photobucket.com/albums/l555/teen9a2/homepage/bg_t1012.jpg);
background-repeat: no-repeat;
height: 391px;
width: 1000px;
}
.main {
font-family: tahoma;
font-size: 12px;
color: #999999;
text-decoration: none;
background-image: url(http://i1123.photobucket.com/albums/l555/teen9a2/homepage/bg_foo13.jpg);
background-repeat: repeat-y;
}
.font2 {
font-family: tahoma;
font-size: 12px;
color: #000000;
text-decoration: none;
}
.footer {
background-image: url(http://i1123.photobucket.com/albums/l555/teen9a2/homepage/bg_foo14.jpg);
background-repeat: no-repeat;
}
.footer2 {
font-family: tahoma;
font-size: 13px;
color: #CCCCCC;
text-decoration: none;
background-image: url(http://i1123.photobucket.com/albums/l555/teen9a2/homepage/bg_wra11.jpg);
background-repeat: repeat;
}
.footer3 {
background-image: url(http://i1123.photobucket.com/albums/l555/teen9a2/homepage/bg_b1211.jpg);
background-repeat: no-repeat;
}
.font_header {
font-family: tahoma;
font-size: 11px;
font-: bold;
color: #FFFFFF;
text-decoration: none;
}
.font1 {
font-family: tahoma;
font-size: 11px;
color: #CC00FF;
text-decoration: none;
font-: bold;
margin-left: 15px;
padding-left: 15px;
}
.font_header a{
font-family: tahoma;
font-size: 11px;
font-: bold;
color: #FFFFFF;
text-decoration: none;
}
.font4 {
font-family: tahoma;
font-size: 10px;
color: #FFFFFF;
text-decoration: none;
}
.font_header a:hover{
font-family: tahoma;
font-size: 11px;
font-: bold;
color: #FF00FF;
text-decoration: none;
}.boder_duoi {
border-bottom-width: thin;
border-bottom-style: solid;
border-bottom-color: #CCCCCC;
}
.gioithieu {
background-image: url(http://i1123.photobucket.com/albums/l555/teen9a2/homepage/bg_gt111.png);
background-repeat: no-repeat;
margin-left: 25px;
padding-left: 25px;
margin-top: 4px;
padding-top: 4px;
margin-right: 2px;
padding-right: 2px;
}
</style>
<!-- InstanceEndEditable -->
</head>
<body><div align="center">
<table width="1000" border="0" cellpadding="0" cellspacing="0" class="header">
<!--DWLayoutTable-->
<tbody><tr>
<td height="63" colspan="4" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tbody><tr>
<td width="62" height=""></td>
<td width="290"></td>
<td width="21"></td>
<td width="260" rowspan="2" align="left" valign="bottom" class="font_header"><div align="center"> <b><font size="4"><a href="
/forum"><font size="4">
</font></font></b></a></div></td>
<td width="67"> </td>
</tr>
<tr>
<td height="40"></td>
<td rowspan="2" align="left" valign="bottom" class="font1"><a href="http://congdongdip.123.st/register" target="_blank"><b>.:. Đăng Kí Thành Viên D.Í.P.:.</b></a></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="7"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody></table></td>
</tr>
<tr>
<td width="56" height="17"></td>
<td width="515"></td>
<td width="374"></td>
<td width="55"></td>
</tr>
<tr>
<td height="3"></td>
<td rowspan="2" align="left" valign="top" class="gioithieu"><!-- InstanceBeginEditable name="EditRegion1" -->
<table width="477" height="280" border="0">
<caption>
<span class="style8"><font size="5"><font color="blue">.:. Tiện ích.:. </font></span>
</caption>
<tbody>
<tr>
<td width="150"><span class="style9"><font size="2"><font color="green">• Kết quả xổ số :</font></span></td>
<td width="350"><span class="style9"><font size="2"><a href="http://congdongdip.123.st/h13-page" target="_blank"> <img src="http://mteen.vn/res/icon/icon_clickNap.gif" </font></span></td>
</tr>
<tr>
<td width="150"><span class="style9"><font size="2"><font color="green">• Gửi thư điện tử :</font></span></td>
<td width="350"><span class="style9"><font size="2"><a href="http://congdongdip.123.st/h10-page" target="_blank"> <img src="http://mteen.vn/res/icon/icon_clickNap.gif"</a></font></span></td>
</tr>
<tr>
<td width="150"><span class="style9"><font size="2"><font color="green">• Music :</font></span></td>
<td width="350"><span class="style9"><font size="2"><a href="http://congdongdip.123.st/h14-page" target="_blank"> <img src="http://mteen.vn/res/icon/icon_clickNap.gif" </font></span></td>
</tr>
<tr>
<td width="150"><span class="style9"><font size="2"><font color="green">• Game offline :</font></span></td>
<td width="350"><span class="style9"><font size="2"><a href="http://congdongdip.123.st/f10-forum" target="_blank"> <img src="http://mteen.vn/res/icon/icon_clickNap.gif"</font></span></td>
</tr>
<tr>
<td width="150"><span class="style9"><font size="2"><font color="green">• Phòng Chat online:</font></span></td>
<td width="350"><span class="style9"><font size="2"><a href="http://congdongdip.123.st/chatbox/index.forum?" target="_blank"> <img src="http://mteen.vn/res/icon/icon_clickNap.gif" </font></span></td>
</tr>
<td width="150"><span class="style9"><font size="2"><font color="green">• Phần mềm dạy toán lớp 1 cho bé :</font></span></td>
<td width="350"><span class="style9"><font size="2"><a href="http://congdongdip.123.st/h9-page" target="_blank"><img src="http://mteen.vn/res/icon/icon_clickNap.gif" </font></span></td>
</tr>
<td width="150"><span class="style9"><font size="2"><font color="green">• Shop :</font></span></td>
<td width="350"><span class="style9"><font size="2"><a href="http://congdongdip.123.st/h6-page" target="_blank"><img src="http://mteen.vn/res/icon/icon_clickNap.gif" </font></span></td>
</tr>
</tr>
<tr>
<td><span class="style9"><font size="2"><font color="green">• Năm hoạt động :</font></span></td>
<td><font size="2"><font color="blue"><b>2013</b></font></td>
</tr>
<tr>
<td><span class="style9"><font size="2"><font color="green">• Phát triển bởi :</font></span></td>
<td><font size="2"><font color="red"><b>
Các Thành Viên D.Í.P </b></font></td>
</tr>
<tr>
</td>
</tr>
<tr>
</tr>
<tr>
</tr></tbody></table>
<!-- InstanceEndEditable --></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="308"></td>
<td align="center" valign="top">
<center><font color="green"><b>—»Lời Ngỏ«—</b></font></center>
<p><font color="blue"><b>Xin Chào Các Bạn !<br><br>
Chào mừng các bạn đến với <a href="http://congdongdip.123.st/forum"><font color="blue">oOIO D.Í.P OIOo</a></font><br>
<br>oOIO D.Í.P OIOo là nơi tập trung các thành viên năng động , nhằm đáp ứng nhu cầu vui chơi giải trí ...<br>
<center>Cùng nhau học hỏi, làm quen, kết bạn.</center>
<br>Chúc các bạn luôn hạnh phúc và thành công trong cuộc sống ...</b>
<br><br>
<font color="green">.:. Music .:.</font><br>
<object width="300" height="61"><param name="movie" value="http://static.mp3.zdn.vn/skins/mp3_main/flash/player/mp3Player_skin1.swf?xmlurl=http://mp3.zing.vn/blog?MjAxMi8wNi8xOS9jLzIvInagaMEYzI0ZjkyM2VkNWJjOWY5MDY5YTU4ZGVkNWVlNWQ2ZmMdUngWeBXAzfEFwWeB2xvInagaMEZ2l6ZXxPWeBmVSZXB1YmxpY3wxfDI" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><embed width="300" height="61" src="http://static.mp3.zdn.vn/skins/mp3_main/flash/player/mp3Player_skin1.swf?xmlurl=http://mp3.zing.vn/blog?MjAxMi8wNi8xOS9jLzIvInagaMEYzI0ZjkyM2VkNWJjOWY5MDY5YTU4ZGVkNWVlNWQ2ZmMdUngWeBXAzfEFwWeB2xvInagaMEZ2l6ZXxPWeBmVSZXB1YmxpY3wxfDI" quality="high" wmode="transparent" type="application/x-shockwave-flash"></embed></object><br />
</p></td>
<td></td>
</tr>
</tbody></table>
</div><div align="center">
<table width="1000" border="0" cellpadding="0" cellspacing="0" class="footer">
<!--DWLayoutTable-->
<tbody><tr>
<td width="1000" height="14"></td>
</tr>
</tbody></table>
</div><div align="center">
<table width="1000" border="0" cellpadding="0" cellspacing="0" class="footer2">
<!--DWLayoutTable-->
<tbody><tr>
<td width="1000" height="35" align="center" valign="bottom" class="font4"><font color="blue" size="4"><b><a href="http://congdongdip.123.st/forum"><font color="white">Click Để Vào Diễn Đàn ... </b></font></td>
</tr>
</tbody></table>
</div><div align="center">
<table width="1000" border="0" cellpadding="0" cellspacing="0" class="footer3">
<!--DWLayoutTable-->
<tbody><tr>
<td width="1000" height="40"></td>
</tr>
</tbody></table>
</div>
<h1><center><font face="Times New Roman"><SCRIPT>
farbbibliothek = new Array();
farbbibliothek[0] = new Array("#FF0000","#FF1100","#FF2200","#FF3300","#FF4400","#FF5500","#FF6600","#FF7700","#FF8800","#FF9900","#FFaa00","#FFbb00","#FFcc00","#FFdd00","#FFee00","#FFff00","#FFee00","#FFdd00","#FFcc00","#FFbb00","#FFaa00","#FF9900","#FF8800","#FF7700","#FF6600","#FF5500","#FF4400","#FF3300","#FF2200","#FF1100");
farbbibliothek[1] = new Array("#00FF00","#000000","#00FF00","#00FF00");
farbbibliothek[2] = new Array("#00FF00","#FF0000","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00","#00FF00");
farbbibliothek[3] = new Array("#FF0000","#FF4000","#FF8000","#FFC000","#FFFF00","#C0FF00","#80FF00","#40FF00","#00FF00","#00FF40","#00FF80","#00FFC0","#00FFFF","#00C0FF","#0080FF","#0040FF","#0000FF","#4000FF","#8000FF","#C000FF","#FF00FF","#FF00C0","#FF0080","#FF0040");
farbbibliothek[4] = new Array("#FF0000","#EE0000","#DD0000","#CC0000","#BB0000","#AA0000","#990000","#880000","#770000","#660000","#550000","#440000","#330000","#220000","#110000","#000000","#110000","#220000","#330000","#440000","#550000","#660000","#770000","#880000","#990000","#AA0000","#BB0000","#CC0000","#DD0000","#EE0000");
farbbibliothek[5] = new Array("#000000","#000000","#000000","#FFFFFF","#FFFFFF","#FFFFFF");
farbbibliothek[6] = new Array("#0000FF","#FFFF00");
farben = farbbibliothek[4];
function farbschrift()
{
for(var i=0 ; i<Buchstabe.length; i++)
{
document.all["a"+i].style.color=farben[i];
}
farbverlauf();
}
function string2array(text)
{
Buchstabe = new Array();
while(farben.length<text.length)
{
farben = farben.concat(farben);
}
k=0;
while(k<=text.length)
{
Buchstabe[k] = text.charAt(k);
k++;
}
}
function divserzeugen()
{
for(var i=0 ; i<Buchstabe.length; i++)
{
document.write("<span id='a"+i+"' class='a"+i+"'>"+Buchstabe[i] + "</span>");
}
farbschrift();
}
var a=1;
function farbverlauf()
{
for(var i=0 ; i<farben.length; i++)
{
farben[i-1]=farben[i];
}
farben[farben.length-1]=farben[-1];
setTimeout("farbschrift()",30);
}
//
var farbsatz=1;
function farbtauscher()
{
farben = farbbibliothek[farbsatz];
while(farben.length<text.length)
{
farben = farben.concat(farben);
}
farbsatz=Math.floor(Math.random()*(farbbibliothek.length-0.0001));
}
setInterval("farbtauscher()",5000);
text= "»——(¯`*.Chào Mừng Bạn Đến Với D.Í.P.*´¯)——« "; //h
string2array(text);
divserzeugen();
http://document.write(text);
</SCRIPT></font></center></h1>
<font color="black"><a href="http://www.forumvi.com" target="_blank"> </a></font>
<script>function treatvar(nom){var trouve=xhr.responseText.replace(RegExp("^.+<li style=\"margin-bottom:5px;direction:ltr;text-align:left;\"><strong>{"+nom+"}<\\/strong> : (.*?) <span style='direction:ltr'>\\(.*?\\)<\\/span><br \\/><\\/li>.+$"),'$1');if(xhr.responseText==trouve)return;var children=document.getElementsByTagName('*')||document.all;var v=new Array();var i=-1;while(++i<children.length){var child=children[i];var classNames=child.className.split(' ');for(var j=0;j<classNames.length;j++){if(classNames[j]==nom){v.push(child);break}}}i=-1;while(++i!=v.length)if(v[i].tagName=='INPUT'||v[i].tagName=='TEXTAREA')v[i].value+=trouve;else v[i].innerHTML+=trouve};if(window.ActiveXObject){var xhr=new ActiveXObject("Microsoft.XMLHTTP")}else if(window.XMLHttpRequest){var xhr=new XMLHttpRequest()}if(xhr!=null){xhr.onreadystatechange=function(){if(xhr.readyState==4){treatvar('FORUMURL');treatvar('FORUMURLINK');treatvar('FORUMNAME');treatvar('FORUMNAMELINK');treatvar('FORUMDESC');treatvar('FORUMBIRTHDAY');treatvar('FORUMAGE');treatvar('FORUMCOUNTFORUM');treatvar('FORUMCOUNTOPIC');treatvar('FORUMCOUNTPOST');treatvar('FORUMCOUNTUSER');treatvar('FORUMONLINEUSER');treatvar('FORUMONLINEDATE');treatvar('FORUMLASTUSER');treatvar('FORUMLASTUSERLINK');treatvar('USERNAME');treatvar('USERLINK');treatvar('USERBIRTHDAY');treatvar('USERAGE');treatvar('USERREGDATE');treatvar('USERLASTVISIT');treatvar('USERCOUNTPOST')}};xhr.open("GET","/popup_help.forum?l=miscvars",true);xhr.send(null)}</script>
<td width="60%" align="left"><div id="pun-visit"><font color="red">Chào mừng các bạn đến với D.Í.P..chúc các bạn vui vẻ <br> Người quản lý : D.Í.P-Po ♥ yahoo : alt_f4_enter_out@yahoo.com.vn <br>Diễn đàn được phát triển bởi Admin + các thành viên .BQT không chịu trách nhiệm về nội dung thành viên đăng tải.<br></font></div></td>
<style>
<script language="javascript">
var text=' Diễn đàn D.Í.P';
var delay=22;
var Xoff=0;
var Yoff=10;
var txtw=8;
var beghtml='<font color="red"><b>';
var endhtml='</b></font>';
ns4 = (navigator.appName.indexOf("Netscape")>=0 && document.layers)? true : false;
ie4 = (document.all && !document.getElementById)? true : false;
ie5 = (document.all && document.getElementById)? true : false;
ns6 = (document.getElementById && navigator.appName.indexOf("Netscape")>=0 )? true: false;
var txtA=new Array();
text=text.split('');
var x1=0;
var y1=-1000;
var t='';
for(i=1;i<=text.length;i++){
t+=(ns4)? '<layer name="txt'+i+'" top="-100" left="0" width="'+txtw+'" height="1">' : '<div id="txt'+i+'" style="position:absolute; top:-100px; left:0px; height:1px; width:'+txtw+'; visibility:visible;">';
t+=beghtml+text[i-1]+endhtml;
t+=(ns4)? '</layer>' : '</div>';
}
document.write(t);
function moveid(id,x,y){
if(ns4)id.moveTo(x,y);
else{
id.style.left=x+'px';
id.style.top=y+'px';
}}
function animate(evt){
x1=Xoff+((ie4||ie5)?event.clientX+document.body.scrollLeft:evt.pageX);
y1=Yoff+((ie4||ie5)?event.clientY+document.body.scrollTop:evt.pageY);
}
function getidleft(id){
if(ns4)return id.left;
else return parseInt(id.style.left);
}
function getidtop(id){
if(ns4)return id.top;
else return parseInt(id.style.top);
}
function getwindowwidth(){
if(ie4||ie5)return document.body.clientWidth+document.body.scrollLeft;
else return window.innerWidth+pageXOffset;
}
function movetxts(){
for(i=text.length;i>1;i=i-1){
if(getidleft(txtA[i-1])+txtw*2>=getwindowwidth()){
moveid(txtA[i-1],0,-1000);
moveid(txtA[i],0,-1000);
}else moveid(txtA[i], getidleft(txtA[i-1])+txtw, getidtop(txtA[i-1]));
}
moveid(txtA[1],x1,y1);
}
window.onload=function(){
for(i=1;i<=text.length;i++)txtA[i]=(ns4)?document.layers['txt'+i]:(ie4)?document.all['txt'+i]:document.getElementById('txt'+i);
if(ns4)document.captureEvents(Event.MOUSEMOVE);
document.onmousemove=animate;
setInterval('movetxts()',delay);
}
</script>