ساعة بالعربي
الكود:
<html>
<head>
<title></title>
</head>
<body>
<center>
<table id="AutoNumber1" style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0" border="0">
<tr>
<td align="middle" width="100%" height="10">
<form name="f" action="http://www.google.ca/search" target="_parent">
<div align="center">
<center>
<table style="BORDER-COLLAPSE: collapse" borderColor="#111111" cellSpacing="0" cellPadding="0">
<tr vAlign="center">
<td align="middle">
<p dir="rtl"><input type="submit" value="بحث" name="btnG1">
<script>
document.f.q.focus();
</script>
<input type="hidden" value="ar" name="hl"><input maxLength="256" size="23" name="q"><img src="http://www.alkayyoumi.jeeran.com/google.gif" border="0" width="73" height="27"><br>
</td>
</tr>
</table>
</center>
</div>
</form>
</td>
</tr>
</table>
</center>
<STYLE>BODY {SCROLLBAR-FACE-COLOR: #808080; SCROLLBAR-HIGHLIGHT-COLOR: #eabc5a; SCROLLBAR-SHADOW-COLOR: #eabc5a; SCROLLBAR-3DLIGHT-COLOR: #FFFFFF; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #c0c0c0; SCROLLBAR-DARKSHADOW-COLOR: #eabc5a}</STYLE>
<Script Language="Javascript">
<!--
eval(unescape("%66%75%6E%63%74%69%6F%6E%20%6F%70%65%6E%20%28%29%20%7B%72%65%74%75%72%6E%20%74%72%75%65%3B%7D"));
//-->
</Script>
</body>
</html>
_____________________________________
أوراق متساقطة
الكود :
<!-- TWO STEPS TO INSTALL SNOW:
1. Copy the coding into the BODY of your HTML document
2. Save the snow.gif image to your web site directory -->
<!-- STEP ONE: Paste this code into the BODY of your HTML document -->
<BODY>
<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Original: Altan (snow@altan.hr) -->
<!-- Web Site: http://www.altan.hr/snow -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
var no = 25; // snow number
var speed = 10; // smaller number moves the snow faster
var snowflake = "http://javascript.internet.com/img/snow/snow.gif";
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" ");
document.write("top=\"15\" visibility=\"show\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></layer>");
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: ");
document.write("absolute; Z-INDEX: "+ i +"; VISIBILITY: ");
document.write("visible; TOP: 15px; LEFT: 15px;\"><img src=\"");
document.write(snowflake + "\" border=\"0\"></div>");
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", speed);
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", speed);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
// End -->
</script>
<!-- STEP TWO: Save the snow.gif image to your web site directory ->
<!-- Go to http://javascript.internet.com/img/snow/snow.gif
Right-click the image and "Save Image As..." -->
<p><center>
<font face="arial, helvetica" size="-2"><br>
<a href="http://javascriptsource.com"></a></font>
</center><p>
<!-- Script Size: 3.39 KB -->
____________________________________
ثلوج متساقطة
الكود :
<script language="JavaScript1.2">
/*
Snow Effect Script
created and submitted by Altan d.o.o. (snow@altan.hr, http://www.altan.hr/snow/index.html)
Permission granted to Dynamicdrive.com to feature script in archive
For full source code and installation instructions to this script, visit http://dynamicdrive.com
*/
//Configure below to change URL path to the snow image
var snowsrc="http://freewarejava.com/snow2.gif"
// Configure below to change number of snow to render
var no = 10;
var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 800, doc_height = 600;
if (ns4up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
for (i = 0; i < no; ++ i) {
dx[i] = 0; // set coordinate variables
xp[i] = Math.random()*(doc_width-50); // set position variables
yp[i] = Math.random()*doc_height;
am[i] = Math.random()*20; // set amplitude variables
stx[i] = 0.02 + Math.random()/10; // set step variables
sty[i] = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><a href=\"http://dynamicdrive.com/\"><img src=""+snowsrc+"" border=\"0\"></a></layer>");
} else {
document.write("<layer name=\"dot"+ i +"\" left=\"15\" top=\"15\" visibility=\"show\"><img src=""+snowsrc+"" border=\"0\"></layer>");
}
} else if (ie4up) {
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src=""+snowsrc+"" border=\"0\"></a></div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src=""+snowsrc+"" border=\"0\"></div>");
}
}
}
function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight;
}
dx[i] += stx[i];
document.layers["dot"+i].top = yp[i];
document.layers["dot"+i].left = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowNS()", 10);
}
function snowIE() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp[i] += sty[i];
if (yp[i] > doc_height-50) {
xp[i] = Math.random()*(doc_width-am[i]-30);
yp[i] = 0;
stx[i] = 0.02 + Math.random()/10;
sty[i] = 0.7 + Math.random();
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}
dx[i] += stx[i];
document.all["dot"+i].style.pixelTop = yp[i];
document.all["dot"+i].style.pixelLeft = xp[i] + am[i]*Math.sin(dx[i]);
}
setTimeout("snowIE()", 10);
}
if (ns4up) {
snowNS();
} else if (ie4up) {
snowIE();
}
</script>
_____________________________________
لتغيير لون شريط التمرير
الكود:
<STYLE>BODY {
SCROLLBAR-FACE-COLOR: #914800; SCROLLBAR-HIGHLIGHT-COLOR: #FEE6B8; SCROLLBAR-SHADOW-COLOR: #eabc5a;
SCROLLBAR-3DLIGHT-COLOR: #914800; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #FEE6B8; SCROLLBAR-DARKSHADOW-COLOR: #eabc5a
}
</STYLE
_____________________________________
لتحديت الصفحة
الكود:
<input type="Button" name="VBZOOM" value="اضغط لتحديث الصفحة" onClick="javascript:location.reload()"></p>
_____________________________________
كتابة متصاعدة في مستطيل
الكود:
<center><marquee direction="up" width="200" height="50" style="TAHOMA: 150%; font-size: 18pt; color: BLUE; border-style: ridge; border-color: #0066FF" bgcolor="#000000" scrolldelay="70" scrollamount="3">
<br>
<center>ضع هنا ما تريد
<br>
<br>
</marquee></center>
<br>
_____________________________________
نجوم ملونة طائرة
الكود:
<body bgcolor=000000>
<style>
#sDiv0 {position:absolute; height:1; width:1; font-family:arial black; font-size:15px; color:Aqua;}
#sDiv1 {position:absolute; height:1; width:1; font-family:arial black; font-size:15px; color:red;}
#sDiv2 {position:absolute; height:1; width:1; font-family:arial black; font-size:15px; color:blue;}
#sDiv3 {position:absolute; height:1; width:1; font-family:arial black; font-size:15px; color:orange;}
#sDiv4 {position:absolute; height:1; width:1; font-family:arial black; font-size:15px; color:yellow;}
#sDiv5 {position:absolute; height:1; width:1; font-family:arial black; font-size:15px; color:lightgreen;}
#sDiv6 {position:absolute; height:1; width:1; font-family:arial black; font-size:15px; color:silver;}
</style>
<div id="sDiv0">*</div>
<div id="sDiv1">*</div>
<div id="sDiv2">*</div>
<div id="sDiv3">*</div>
<div id="sDiv4">*</div>
<div id="sDiv5">*</div>
<div id="sDiv6">*</div>
</body>
<SCRIPT LANGUAGE="JavaScript1.2">
<!--
var intervals=2000
var sparksOn = true;
var speed = 40;
var power = 3;
//Dont change these values-------
var documentWidth=documentHeight=randomx=randomy=leftcorner=topcorner=0
var ns=(document.layers);
var ie=(document.all);
var sparksAflyin = false;
var allDivs = new Array(10);
var totalSparks = 0;
//-------------------------------
function initAll(){
if(!ns && !ie){
sparksOn = false;
return;
}
setInterval("firework()",intervals)
if (ns)
document.captureEvents(Event.MOUSEDOWN | Event.MOUSEMOVE);
for(dNum=0; dNum<7; ++dNum){
if(ie)
allDivs[dNum]=eval("document.all.sDiv"+dNum+".style");
else
allDivs[dNum]=eval("document.layers["sDiv"+dNum+""]");
}
}
function firework(){
//below code detects the browser dimenions
if (ie){
documentWidth=document.body.clientWidth
documentHeight=document.body.clientHeight
leftcorner=document.body.scrollLeft
topcorner=document.body.scrollTop
}
else if (ns){
documentWidth=window.innerWidth
documentHeight=window.innerHeight
leftcorner=pageXOffset
topcorner=pageYOffset
}
//below code randomly generates a set of coordinates that fall within the dimension
randomx=leftcorner+Math.floor(Math.random()*documentWidth)
randomy=topcorner+Math.floor(Math.random()*documentHeight)
if(sparksOn){
if(!sparksAflyin){
sparksAflyin=true;
totalSparks=0;
for(var spark=0;spark<=6;spark++){
dx=Math.round(Math.random()*50);
dy=Math.round(Math.random()*50);
moveTo(spark,randomx,randomy,dx,dy);
}
}
}
}
function moveTo(i,tempx,tempy,dx,dy){
if(ie){
if(tempy+80>(document.body.offsetHeight+document.body.scrollTop))
tempy=document.body.offsetHeight+document.body.scrollTop-80;
if(tempx+80>(document.body.offsetWidth+document.body.scrollLeft))
tempx=document.body.offsetWidth+document.body.scrollLeft-80;
}
if(tempx>-50&&tempy>-50){
tempx+=dx;tempy+=dy;
allDivs[i].left=tempx;
allDivs[i].top=tempy;
dx-=power;dy-=power;
setTimeout("moveTo("+i+","+tempx+","+tempy+","+dx+","+dy+")",speed)
}
else
++totalSparks
if(totalSparks==7){
sparksAflyin=false;
totalSparks=0;
}
}
window.onload=initAll
//End-->
</script>
_____________________________________
خلفية متحركة
الكود:
<SCRIPT language=Javascript>
<!--
var background = "عنوان الصورة.gif";
var speed = 0;
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName != "Netscape" || browserVer >= 4.5) {
function moveback(movert,movedn,hPos,vPos) {
if (arguments[4])
document.body.style.backgroundImage = "url(\"" + arguments[4] + "\")";
if (arguments[5])
document.body.style.backgroundRepeat = arguments[5]
if (!isNaN(hPos)) {
if ((movert!=0) && (hPos>0)) hPos=-100000
hPos += movert
}
if (!isNaN(vPos)) {
if ((movedn!=0) && (vPos>0)) vPos=-100000
vPos+= movedn
}
document.body.style.backgroundPosition= hPos + " " + vPos
if (isNaN(hPos)) hPos = "\"" + hPos + "\""
if (isNaN(vPos)) vPos = "\"" + vPos + "\""
setTimeout("moveback("+movert+","+movedn+","+hPos+","+vPos+")",speed)
}
moveback(1,1,0,0, background);
}
//-->
</SCRIPT>
_____________________________________
صورة خلفية
الكود:
<STYLE TYPE="text/css">
<!--
BODY {background-image: URL(الصورة.gif);
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;}
-->
</STYLE>
_____________________________________
لجعل الروابط مضيئة
الكود:
©<script language="JavaScript">
<!-- Begin
function initArray() {
for (var i = 0; i < initArray.arguments.length; i++) {
this[i] = initArray.arguments[i];
}
this.length = initArray.arguments.length;
}
var colors = new initArray(
"red",
"blue",
"green",
"purple",
"black",
"tan",
"TEAL");
delay = .7; // seconds
link = 0;
vlink = 2;
function linkDance() {
link = (link+1)%colors.length;
vlink = (vlink+1)%colors.length;
document.linkColor = colors[link];
document.vlinkColor = colors[vlink];
setTimeout("linkDance()",delay*1000);
}
linkDance();
// End -->
</script>
_____________________________________
لإرسال موقعك إلى محركات البحث العالمية
الكود:
<p align="center"><form action="http://websitesubmit.hypermart.net/free/submit.cgi" method="POST"><input type="hidden" name="action" value="submit"><input type="hidden" name="thankyou" value="yes"><div align="center"><center><table border="0" cellpadding="0" cellspacing="0" width="280" bgcolor="#666666"><tr><td align="center" bgcolor="#FF8000"><font color="#FFFFff" size="3" face="Verdana,Arial,Helvetica"><b> ارسل موقعك مع برق</b></font></td></tr><tr><td><table border="0" cellpadding="1" width="280" bgcolor="#F4E8BF"><tr><td valign="top" bgcolor="#F4E8BF"><font size="2" face="Arial, Helvetica, sans-serif"> اسم موقعك </font></td><td valign="top" bgcolor="#F4E8BF"><font size="2" face="Arial, Helvetica, sans-serif"><input type="text" size="20" name="url" value="http://"></font></td></tr><tr><td valign="top"><font size="2" face="Arial, Helvetica, sans-serif"> البريد الالكترونى </font></td><td valign="top"><font size="2" face="Arial, Helvetica, sans-serif"><input type="text" size="20" name="email"> </font></td></tr></table></td></tr><tr><td align="center" bgcolor="#FFFFFF"><table border="0" width="280"><tr><td align="center"><font color="#33BB33" size="1" face="Comic Sans MS"><b><i></i></b><b> </b></font><a href="http://websitesubmit.hypermart.net/addscript.htm"><font color="#FF8000" size="1" face="Comic Sans MS"><b></b></font></a><font color="#33BB33" size="1" face="Comic Sans MS"><b></b></font></td></tr></table></td></tr><tr><td align="center"><table border="0" cellspacing="1" width="280" bgcolor="#E79E45"><tr><td valign="top" bgcolor="#FF8000"><font color="#FFFFFF"><b>Default Engines</b></font></td><td valign="top" bgcolor="#FF8000"><font color="#FFFFFF"><b>Additional Engines</b></font></td></tr><tr><td align="left" valign="top" bgcolor="#FFFFFF"><font size="2" face="Arial, Helvetica, sans-serif"><input type="Checkbox" name="engines" value="altavista" checked><a href="http://altavista.digital.com/">altavista</a><br>
<input type="Checkbox" name="engines" value="excite" checked><a href="http://www.excite.com/">excite</a><br>
<input type="Checkbox" name="engines" value="go" checked><a href="http://www.go.com">go</a><br><input type="Checkbox" name="engines" value="google" checked><a href="http://www.google.com/">google</a><br><input type="Checkbox" name="engines" value="hotbot" checked><a href="http://www.hotbot.com/">hotbot</a><br><input type="Checkbox" name="engines" value="infoseek" checked><a href="http://www.infoseek.com/">infoseek</a><br><input type="Checkbox" name="engines" value="lycos" checked><a href="http://www.lycos.com/">lycos</a><br><input type="Checkbox" name="engines" value="northernlight" checked><a href="http://www.northernlight.com">northernlight</a><br><input type="Checkbox" name="engines" value="whatyouseek" checked><a href="http://www.whatyouseek.com/">whatyouseek</a><br><input type="checkbox" checked name="engines" value="webcrawler"><a href="http://www.webcrawler.com/">webcrawler</a><br><input type="Checkbox" name="engines" value="fastsearch" checked><a href="http://www.alltheweb.com/">fastsearch</a><br><input type="Checkbox" name="engines" value="infomak" checked><a href="http://www.infomak.com/">infomak</a><br></font></td><td align="left" valign="top" bgcolor="#FFFFFF"><font size="2" face="Arial, Helvetica, sans-serif"><input type="Checkbox" name="engines" value="acoon"><a href="http://www.acoon.de">acoon</a> (.de)<br><input type="Checkbox" name="engines" value="altavista-au"><a href="http://www.altavista.yellowpages.com.au/">altavista</a> (.au)<br><input type="Checkbox" name="engines" value="altavista-de"><a href="http://www.altavista.de">altavista-de</a> (.de)<br><input type="Checkbox" name="engines" value="anzwers"><a href="http://www.anzwers.com/">anzwers</a> (.au .nz)<br><input type="Checkbox" name="engines" value="euroferret"><a href="http://www.euroferret.com/">euroferret</a> (european)<br><input type="Checkbox" name="engines" value="fireball"><a href="http://www.fireball.de">fireball</a> (.de)<br><input type="Checkbox" name="engines" value="intersearch-au"><a href="http://194.232.15.66">intersearch-au</a> (.au)<br><input type="Checkbox" name="engines" value="voila"><a href="http://www.voila.com/">voila</a> (.fr)<br><input type="Checkbox" name="engines" value="webwombat"><a href="http://www.webwombat.com/">webwombat</a> (.au .nz)</font><p align="center"><font color="#FF8000" size="1" face="Comic Sans MS"><br><a href="http://websitesubmit.hypermart.net"><font face="2" color="#33BB33"></font></a></font></p></td></tr></table></td></tr><tr><td><table border="0" cellpadding="0" cellspacing="0" width="280" bgcolor="#FFFF80"><tr><td align="center"><font size="1"><br><font size="2" face="Arial, Helvetica, sans-serif"><input type="submit" value="سجل موقعك"></font><br><br></font></td></tr></table></td></tr></table></center></div></form></p>
_____________________________________
لكتابة نص بلون قوس قزح
الكود:
<html>
<head><script LANGUAGE="JavaScript">
function createHexArray(n) {
this.length = n;
for (var i = 1; i <= n; i++)
this[i] = i - 1;
this[11] = "A";
this[12] = "B";
this[13] = "C";
this[14] = "D";
this[15] = "E";
this[16] = "F";
return this;
}
hx = new createHexArray(16);
function convertToHex(x) {
if (x < 17) x = 16;
var high = x / 16;
var s = high+"";
s = s.substring(0, 2);
high = parseInt(s, 10);
var left = hx[high + 1];
var low = x - high * 16;
if (low < 1) low = 1;
s = low + "";
s = s.substring(0, 2);
low = parseInt(s, 10);
var right = hx[low + 1];
var string = left + "" + right;
return string;
}
function makeRainbow(text) {
text = text.substring(0, text.length);
color_d1 = 255;
mul = color_d1 / text.length;
for(var i = 0; i < text.length; i++) {
color_d1 = 255*Math.sin(i / (text.length / 3));
color_h1 = convertToHex(color_d1);
color_d2 = mul * i;
color_h2 = convertToHex(color_d2);
k = text.length;
j = k - i;
if (j < 0) j = 0;
color_d3 = mul * j;
color_h3 = convertToHex(color_d3);
document.write("<FONT COLOR=\"#" + color_h3 + color_h1 + color_h2 + "\">" + text.substring(i, i + 1) + "</FONT>");
}
}
// End -->
</script>
<title>نص بلون قوس قزح</title>
</head>
<body>
<strong><font size="5"><script>
<!--
makeRainbow("مرحباً بكم في موقع الشاعر الفلسطيني طارق الصيرفي");
// -->
</script>
</font></strong>
</body>
</html>
</body>
</html>
_____________________________________
رسالة تظهر للزائر عندما يدخل لصفحتك
الكود:
<SCRIPT LANGUAGE="JavaScript">
<!--
window.alert("مرحبا بكم اتمنى ان ينال رضاكم موقعى بس لاتنسون الترشيح")
// -->
</SCRIPT>
_____________________________________
لجعل الصفحة تتحرك من الأعلى الى الأسفل بشكل اتوماتيكي
الكود:
<script language="JavaScript1.2">
//change 1 to another integer to alter the scroll speed. Greater is faster
var speed=1
var currentpos=0,alt=1,curpos1=0,curpos2=-1
function initialize(){
startit()
}
function scrollwindow(){
if (document.all)
temp=document.body.scrollTop
else
temp=window.pageYOffset
if (alt==0)
alt=1
else
alt=0
if (alt==0)
curpos1=temp
else
curpos2=temp
if (curpos1!=curpos2){
if (document.all)
currentpos=document.body.scrollTop+speed
else
currentpos=window.pageYOffset+speed
window.scroll(0,currentpos)
}
else{
currentpos=30
window.scroll(0,currentpos)
}
}
function startit(){
setInterval("scrollwindow()",30)
}
window.onload=initialize
</script>