-
اموزش كدهاي جاوا اسكريپ
ميخواهم در اين تايژيك به كمك شما دوسان كدهاي جاوا را بگذارم اميدوارم كمكم كنيد
با اين اسکريپت علاوه بر اينکه ميتونيد راست کليک رو بطور کلی قطع کنيد ... ميتونيد بطور کلی ديدين سورس صفحه رو هم غير فعال کنيد .
اسکريپت :
<script language=JavaScript>m='%3Cscript%20language%3DJava Script%3E%3C%21--%0D%0A%0D%0Avar%20message%3D%22SORRY : %20 %21%22%3B%0D%0A%0D%0Afunction%20clickIE%28%29%20%2 0%7Bif%20%28document.all%29%20%7Balert%28message%2 9%3Breturn%20false%3B%7D%7D%0D%0Afunction%20clickN S%28e%29%20%7Bif%20%0D%0A%28document.layers%7C%7C% 28document.getElementById%26%26%21document.all%29% 29%20%7B%0D%0Aif%20%28e.which%3D%3D2%7C%7Ce.which% 3D%3D3%29%20%7Balert%28message%29%3Breturn%20false %3B%7D%7D%7D%0D%0Aif%20%28document.layers%29%20%0D %0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29% 3Bdocument.onmousedown%3DclickNS%3B%7D%0D%0Aelse%7 Bdocument.onmouseup%3DclickNS%3Bdocument.oncontext menu%3DclickIE%3B%7D%0D%0A%0D%0Adocument.oncontext menu%3Dnew%20Function%28%22return%20false%22%29%0D %0A%0D%0A//%20--%3E%3C/script%3E';d=unescape(m);document.write(d);</script></body>
<p align="center"><a href="http://explorer.blogsky.com">
<font face="Tahoma" size="2">explorer blog</font></a></p>
</html>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~
اين اسکريپت هم يه حالت خاصی به ماوس شما
<SCRIPT language="Javascript1.2">
<!--
var isNS = (navigator.appName == "Netscape");
layerRef = (isNS) ? "document" : "document.all";
styleRef = (isNS) ? "" : ".style";
var queue = new Array();
var NUM_OF_TRAIL_PARTS = 5
for (x=1; x < 6; x++) {
eval("trailSpriteFrame" + x + " = new Image(28,36);");
eval("trailSpriteFrame" + x + ".src = 'trailgif" + x + ".gif';");
}
function trailSpriteObj(anID) {
this.trailSpriteID = "trailSprite" + anID;
this.imgRef = "trailSprite" + anID + "img";
this.currentFrame = 1;
this.animateTrailSprite = animateTrailSprite;
}
function animateTrailSprite() {
if (this.currentFrame <6 ) {
if (isNS) {
eval("document." + this.trailSpriteID +".document['"+ this.imgRef + "'].src = trailSpriteFrame" + this.currentFrame + ".src");
} else {
eval("document['" + this.imgRef + "'].src = trailSpriteFrame" + this.currentFrame + ".src");
}
this.currentFrame ++;
} else {
eval(layerRef + '.' + this.trailSpriteID + styleRef + '.visibility = "hidden"');
}
}
function processAnim() {
for(x=0; x < NUM_OF_TRAIL_PARTS; x++)
queue[x].animateTrailSprite();
}
function processMouse(e) {
currentObj = shuffleQueue();
if (isNS) {
eval("document." + currentObj + ".left = e.pageX - 10 ;");
eval("document." + currentObj + ".top = e.pageY + 10;");
} else {
eval("document.all." + currentObj + ".style.pixelLeft = event.clientX + document.body.scrollLeft - 10 ;");
eval("document.all." + currentObj + ".style.pixelTop = event.clientY + document.body.scrollTop + 10;");
}
}
function shuffleQueue() {
lastItemPos = queue.length - 1;
lastItem = queue[lastItemPos];
for (i = lastItemPos; i>0; i--)
queue[i] = queue[i-1];
queue[0] = lastItem;
queue[0].currentFrame = 1;
eval(layerRef + '.' + queue[0].trailSpriteID + styleRef + '.visibility = "visible"');
return queue[0].trailSpriteID;
}
function init() {
for(x=0; x<NUM_OF_TRAIL_PARTS; x++)
queue[x] = new trailSpriteObj(x+1) ;
if (isNS) { document.captureEvents(Event.MOUSEMOVE); }
document.onmousemove = processMouse;
setInterval("processAnim();",25);
}
if (document.all||document.layers)
window.onload = init;
//-->
</SCRIPT>
&nbsp;<DIV id="trailSprite1" style="position: absolute; height:28px; width:36px;z-index: 100">
<img src="blanktrail.gif" height=28 width=36 border=0 name="trailSprite1img">
</DIV>
<DIV id="trailSprite2" style="position: absolute; height:28px; width:26px;z-index: 10">
<img src="blanktrail.gif" height=28 width=36 border=0 name="trailSprite2img">
</DIV>
<DIV id="trailSprite3" style="position: absolute; height:28px; width:36px;z-index: 10">
<img src="blanktrail.gif" height=28 width=36 border=0 name="trailSprite3img">
</DIV>
<DIV id="trailSprite4" style="position: absolute; height:28px; width:36px;z-index: 10">
<img src="blanktrail.gif" height=28 width=36 border=0 name="trailSprite4img">
</DIV>
<DIV id="trailSprite5" style="position: absolute; height:28px; width:36px;z-index: 10">
<img src="blanktrail.gif" height=28 width=36 border=0 name="trailSprite5img">
</DIV>
<script language="JavaScript1.2">
if (document.all&&window.print)
document.body.style.cssText="overflow-x:hidden;overflow-y:scroll"
</script>
-
نوشته متحرك مخصوص فارسي از چپ به راست
<font size="5">
<a target="_blank" href="
http://mohandes-computer.blogfa.com" style="text-decoration: none"><marquee direction="right">خوش اومدي</marquee></a></font><meta http-equiv="Content-Language" content="en-us"><br><p><font size="5"><br> </font></p><br></body><br></html><br>
-
فكر كنم اين به درد خيلي ها بخوره
در اين اسکريپت ميتوانيد صفحه را بعد از مدت زمان خاصي Refresh نماييد و صفحه جديدي را بجاي صفحه کنوني بارگزاري نماييد
<html>
<head>
</head>
<body>
<script language="Javascript">
<!--
// please keep these lines on when you copy the source
// made by: mahdi karimi -
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
var URL = "
http://mohandes-computer.blogfa.com"
var speed = 5000
function reload() {
location = URL
}
setTimeout("reload()", speed);
//-->
</script>
<font face="Tahoma" size="2">پنج ثانيه صبر كنيد</font></body></html>
-
بارش برف
<html>
<head>
<title>FallT Example Page</title>
</head>
<body bgcolor="#000000">
<script language="JavaScript" src="fallt.js"></script>
<div align="center">
<center>
<table border="0" height="100%">
<tr>
<td>
<p align="center"><font size="5" color="#FFFFFF"><b>
<a href="JavaScript:togFall();"><font color="#FFFF00">Effect on/off</font></a></b></font></p>
</td>
</tr>
</table>
</center>
</div>
</body>
</html>
-
اتش بازي در وبلاگ
<!--Powered javascript code by http://mohandes-computer.blogfa.com-->
<body>
<script LANGUAGE="JavaScript1.2">
<!--
//set Interval between each firework display,
var intervals=2000
var sparksOn = true;
var speed = 25;
var power = 1;
//Dont change these values-------
var documentWidth=documentHeight=randomx=randomy=leftc orner=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()*docume ntWidth)
randomy=topcorner+Math.floor(Math.random()*documen tHeight)
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.b ody.scrollTop))
tempy=document.body.offsetHeight+document.body.scr ollTop-80;
if(tempx+80>(document.body.offsetWidth+document.bo dy.scrollLeft))
tempx=document.body.offsetWidth+document.body.scro llLeft-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>
<style>
#sDiv0 {position:absolute; height:1; width:1; font-family:arial black; font-size:25px; color:Aqua;}
#sDiv1 {position:absolute; height:1; width:1; font-family:arial black; font-size:22px; color:red;}
#sDiv2 {position:absolute; height:1; width:1; font-family:arial black; font-size:20px; 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:25px; color:yellow;}
#sDiv5 {position:absolute; height:1; width:1; font-family:arial black; font-size:25px; color:lightgreen;}
#sDiv6 {position:absolute; height:1; width:1; font-family:arial black; font-size:20px; color:silver;}
</style>
<p></p>
<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>
</html>
<!--END CODE - Powered java script code by http://mohandes-computer.blogfa.com-->
دوستان به دليل قاطي شدن اين كدها انها را در نامه هاي جدا ميزنم
-
نمايش ساعات مختلف جهان
<body>
<table border="0" width="200" cellspacing="0" cellpadding="3">
<form name="where">
<tr>
<td width="100%">
<a target="_blank" style="text-decoration: none" href="http://www.iransohrab.net">
<span style="font-size: 8pt">iransohrab<select name="city" size="1" onchange="updateclock(this);">
<option value="" selected>Local time</option>
<option value="0">London GMT</option>
<option value="1">Rome</option>
<option value="7">Bangkok</option>
<option value="8">Hong Kong</option>
<option value="9">Tokyo</option>
<option value="10">Sydney</option>
<option value="12">Fiji</option>
<option value="-10">Hawaii</option>
<option value="-8">San Francisco</option>
<option value="-5">New York</option>
<option value="-3">Buenos Aires</option>
</select> </span></a>
</td>
</tr>
<tr>
<td width="100%">
<script language="JavaScript">
/*
Drop Down World Clock- By Learn iran (
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
)
Portions of code by iransohrab @
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
This credit notice must stay intact
*/
if (document.all||document.getElementById)
document.write('<span id="worldclock" style="font:bold 16px Arial;"></span><br>')
zone=0;
isitlocal=true;
ampm='';
function updateclock(z){
zone=z.options[z.selectedIndex].value;
isitlocal=(z.options[0].selected)?true:false;
}
function WorldClock(){
now=new Date();
ofst=now.getTimezoneOffset()/60;
secs=now.getSeconds();
sec=-1.57+Math.PI*secs/30;
mins=now.getMinutes();
min=-1.57+Math.PI*mins/30;
hr=(isitlocal)?now.getHours():(now.getHours() + parseInt(ofst)) + parseInt(zone);
hrs=-1.575+Math.PI*hr/6+Math.PI*parseInt(now.getMinutes())/360;
if (hr < 0) hr+=24;
if (hr > 23) hr-=24;
ampm = (hr > 11)?"PM":"AM";
statusampm = ampm.toLowerCase();
hr2 = hr;
if (hr2 == 0) hr2=12;
(hr2 < 13)?hr2:hr2 %= 12;
if (hr2<10) hr2="0"+hr2
var finaltime=hr2+':'+((mins < 10)?"0"+mins:mins)+':'+((secs < 10)?"0"+secs:secs)+' '+statusampm;
if (document.all)
worldclock.innerHTML=finaltime
else if (document.getElementById)
document.getElementById("worldclock").innerHTML=fi naltime
else if (document.layers){
document.worldclockns.document.worldclockns2.docum ent.write(finaltime)
document.worldclockns.document.worldclockns2.docum ent.close()
}
setTimeout('WorldClock()',1000);
}
window.onload=WorldClock
//-->
</script>
<!--Place holder for NS4 only-->
<ilayer id="worldclockns" width=100% height=35><layer id="worldclockns2" width=100% height=35 left=0 top=0 style="font:bold 16px Arial;"></layer></ilayer>
</td>
</form>
</tr>
</table>
</body>
</html>
-
اضافه كردن پيشگويي در وبلاگ
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>پيشگويي</title>
</head>
<body>
<B>
<CENTER><SPAN lang=fa><A style="FONT-WEIGHT: 700; TEXT-DECORATION: none"
href="javascript:window.external.AddFavorite('http ://mohandes-computer.blogfa.com',%20'mohandes-computer');">
<FONT
face="Tahoma" color=#008000 style="font-size: 9pt">
<P>پيشگويي</P></FONT></A></SPAN></B>
<SPAN lang=fa><FONT face=Tahoma color=#ffffff>
<FONT color=#008000 style="font-size: 9pt">
<P>سوالتان را دراينجا وارد كنيد</P></FONT></CENTER></FONT></SPAN>
<B><FONT
face=Tahoma color=#ffffff style="font-size: 9pt">
<P></FONT><SPAN lang=en-us>
<FONT
face=Tahoma color=#ffffff style="font-size: 9pt">
<SCRIPT language=JavaScript>
<!-- Begin
var answers = new Array(
"بدون شک",
"بله!",
"احتمالا",
"بعيد به نظر مي رسه",
"امکانش هست",
"صد در صد",
"بايد تلاش كني",
"به خدا توكل كن",
"ريسک نداره",
"صبر",
"نه",
"شک دارم",
"امکان ندارد"
);
function fortune() {
num = Math.round( (answers.length - 1) * Math.random());
return answers[num];
}
// End -->
</SCRIPT>
<SCRIPT language=javascript><!--
if(navigator.appName != "Microsoft Internet Explorer")
document.write('<EMBED SRC="/apres.mid" height=60 width=200 autostart=true></EMBED>');
else
document.write('<bgsound src="/apres.mid" height=60 width=200 loop=-1 >');
//--></SCRIPT>
<SCRIPT language=JavaScript>
<!--
var backgroundOffset=0;
function scrollBG(maxSize)
{
backgroundOffset+=1;
if (backgroundOffset>maxSize) backgroundOffset=0;
document.body.style.backgroundPosition="0 "+backgroundOffset;
}
var ScrollTimer=window.setInterval("scrollBG(138)",64) ;
// -->
</SCRIPT>
<CENTER dir=rtl>
<FORM dir=rtl>
<P dir=rtl></FONT><FONT color=#c0c0c0>
<FONT
face=Tahoma color=#ffffff style="font-size: 9pt">
<INPUT size=15 name=question style="font-family: Tahoma; font-size: 8pt"></FONT><FONT
face=Tahoma color=#ffffff size=2 style="font-size: 9pt"> </FONT>
</FONT><FONT
face=Tahoma color=#ffffff size=2>
<FONT
face=Tahoma color=#ffffff style="font-size: 9pt">
</P>
</FONT><FONT
face=Tahoma color=#ffffff>
<P dir=rtl><FONT color=#0000ff style="font-size: 9pt">
<INPUT dir=rtl style="font-family:Tahoma; font-size:8pt" onclick="if (this.form.question.value!='') this.form.answer.value = fortune();" type=button value=" پيشگويى كن" name=ask></FONT></P>
</FONT><FONT
face=Tahoma color=#ffffff style="font-size: 9pt">
<P dir=rtl>
<INPUT size=15 name=answer style="font-family: Tahoma; font-size: 8pt"></FONT><FONT
face=Tahoma color=#ffffff size=2 style="font-size: 9pt"> </P></FORM></CENTER></FONT></FONT></SPAN></B>
<p align="center">
<a target="_blank" href="http://mohandes-computer.blogfa.com" style="text-decoration: none">
<span style="font-size: 9pt">mohandes-computer</span></a></p>
</body>
</html>
-
تغيير نمايش چندين بنر يا عکس به همراه لينک آن بنر (تبليغات )
<!--Powered javascript code by WWW.SONYCARD20.COM-->
<script language="JavaScript">
<!-- Hide from old browsers
var i = 1;
//This is where you load your banners change logo220.Gif to your banner name
banner1= new Image();
banner1.src = "http://www.sonycard20.com/logo220.gif";
banner2 = new Image();
banner2.src = "http://www.sonycard20.com/anim44.gif";
banner3 = new Image();
banner3.src = "http://sonycard20.com/baneratr.gif";
//This where you make your links for the banners banners1 is linked to links[1]
links = new Array
links[1] = "http://www.sonycard20.com/domain.htm"
links[2] = "http://www.namafilm.com"
links[3] = "http://www.isbps.com/"
//This will show up on the status bar when the mouse is moved over the banner
description = new Array
description[1] = "DOMAIN NAD HOSTING BY SONY CARD 20"
description[2] = "BEST SITE ...... Click Here"
description[3] = "Tozihat site"
function startTime(){
var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
closeTime=hours*3600+mins*60+secs;
closeTime+=11;
Timer();
}
function Timer(){
var time= new Date();
hours= time.getHours();
mins= time.getMinutes();
secs= time.getSeconds();
curTime=hours*3600+mins*60+secs
if (curTime>=closeTime){
if (i < 3){
i++;
document.banner.src = eval("banner" + i + ".src");
}
else{
i = 1;
document.banner.src = eval("banner" + i + ".src");
}
startTime();
}
else{
window.setTimeout("Timer()",1000)}
}
function clickLink(){
top.location = links[i]
}
function descript(){
window.status = description[i]
}
// -->
</script>
</head>
<body BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#000080" ALINK="#000080" onLoad="startTime();">
<h2 align="center">Exchange Banner</h2>
<a target="_blank" href onClick="clickLink(); return false;" onMouseOver="descript(); return true;" onMouseOut="window.status=''">
<p align="center">
<img src="http://www.sonycard20.com/logo220.gif" href="http://www.sonycard20.com/domain.htm" border="0" name="banner" width="468" height="60"></a><br>
</p>
<p align="center"> </p>
</body>
</html>
<!--Powered javascript code by WWW.SONYCARD20.COM-->
-
قيمت روزانه ارز و طلا در سايت
<!--Powered javascript code by WWW.SONYCARD20.COM-->
<!-- START DOLLAR PRICE IRAN -->
<span style="position: absolute; left: 55; top: 54">
<iframe src="http://www.sonycard20.com/dollar.asp" width="145" height="219" align="top" name="sony" scrolling="no" border="0" frameborder="0" style="border: 1px solid #FFCC00">
</TD></TR>
</TABLE>
</BODY>
</HTML></iframe></span>
<meta http-equiv="Content-Language" content="en-us">
<script language="JavaScript">
function goVisitSite(Site)
{
NewWindow = window.open(Site,
"viewwin",
"toolbar=0,scrollbars=yes,width=null,height=null,r esizable=1");
}
</script>
<p> </p>
<div style="position: absolute; top: 31; left: 46; width: 175; height: 24">
<p align="center"><font face="Tahoma" size="1">
<a style="text-decoration: none" href="JavaScript:goVisitSite('http://www.sonycard20.com/dollar.asp')">
<font color="#000080">Click Here به
روز رساني قيمت</font></a></font><br>
</p>
</div>
<p></p>
<!-- END DOLLAR PRICE IRAN -->
<!--END CODE - Powered java script code by WWW.SONYCARD20.COM-->
-
با اين کد يک پروانه در وبلاگ خود داشته باشيد اين پروانه به دنبال موس بازديد کننده سايت يا وبلاگ شما حرکت ميکند
<script language="JavaScript">
//Static analog Clock by
[ برای مشاهده لینک ، با نام کاربری خود وارد شوید یا ثبت نام کنید ]
//Script featured on JavaScript Kit
//http://www.danlod.com
fCol='white';//face colour.
sCol='yellow';//seconds colour.
mCol='white';//minutes colour.
hCol='white';//hours colour.
H='....';
H=H.split('');
M='.....';
M=M.split('');
S='......';
S=S.split('');
Ypos=0;
Xpos=0;
Ybase=8;
Xbase=8;
dots=12;
ns=(document.layers)?1:0;
if (ns){
dgts='1 2 3 4 5 6 7 8 9 10 11 12';
dgts=dgts.split(' ')
for (i=0; i < dots; i++){
document.write('<layer name=nsDigits'+i+' top=0 left=0 height=30 width=30><center><font face=Arial,Verdana size=1 color='+fCol+'>'+dgts[i]+'</font></center></layer>');
}
for (i=0; i < M.length; i++){
document.write('<layer name=ny'+i+' top=0 left=0 bgcolor='+mCol+' clip="0,0,2,2"></layer>');
}
for (i=0; i < H.length; i++){
document.write('<layer name=nz'+i+' top=0 left=0 bgcolor='+hCol+' clip="0,0,2,2"></layer>');
}
for (i=0; i < S.length; i++){
document.write('<layer name=nx'+i+' top=0 left=0 bgcolor='+sCol+' clip="0,0,2,2"></layer>');
}
}
else{
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=1; i < dots+1; i++){
document.write('<div id="ieDigits" style="position:absolute;top:0px;left:0px;width:30 px;height:30px;font-family:Arial,Verdana;font-size:10px;color:'+fCol+';text-align:center;padding-top:10px">'+i+'</div>');
}
document.write('</div></div>')
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < M.length; i++){
document.write('<div id=y style="position:absolute;width:2px;height:2px;font-size:2px;background:'+mCol+'"></div>');
}
document.write('</div></div>')
document.write('</div></div>')
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < H.length; i++){
document.write('<div id=z style="position:absolute;width:2px;height:2px;font-size:2px;background:'+hCol+'"></div>');
}
document.write('</div></div>')
document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');
for (i=0; i < S.length; i++){
document.write('<div id=x style="position:absolute;width:2px;height:2px;font-size:2px;background:'+sCol+'"></div>');
}
document.write('</div></div>')
}
function clock(){
time = new Date ();
secs = time.getSeconds();
sec = -1.57 + Math.PI * secs/30;
mins = time.getMinutes();
min = -1.57 + Math.PI * mins/30;
hr = time.getHours();
hrs = -1.57 + Math.PI * hr/6 + Math.PI*parseInt(time.getMinutes())/360;
if (ns){
Ypos=window.pageYOffset+window.innerHeight-60;
Xpos=window.pageXOffset+window.innerWidth-80;
}
else{
Ypos=document.body.scrollTop+window.document.body. clientHeight-60;
Xpos=document.body.scrollLeft+window.document.body .clientWidth-60;
}
if (ns){
for (i=0; i < dots; ++i){
document.layers["nsDigits"+i].top=Ypos-5+40*Math.sin(-0.49+dots+i/1.9);
document.layers["nsDigits"+i].left=Xpos-15+40*Math.cos(-0.49+dots+i/1.9);
}
for (i=0; i < S.length; i++){
document.layers["nx"+i].top=Ypos+i*Ybase*Math.sin(sec);
document.layers["nx"+i].left=Xpos+i*Xbase*Math.cos(sec);
}
for (i=0; i < M.length; i++){
document.layers["ny"+i].top=Ypos+i*Ybase*Math.sin(min);
document.layers["ny"+i].left=Xpos+i*Xbase*Math.cos(min);
}
for (i=0; i < H.length; i++){
document.layers["nz"+i].top=Ypos+i*Ybase*Math.sin(hrs);
document.layers["nz"+i].left=Xpos+i*Xbase*Math.cos(hrs);
}
}
else{
for (i=0; i < dots; ++i){
ieDigits[i].style.pixelTop=Ypos-15+40*Math.sin(-0.49+dots+i/1.9);
ieDigits[i].style.pixelLeft=Xpos-14+40*Math.cos(-0.49+dots+i/1.9);
}
for (i=0; i < S.length; i++){
x[i].style.pixelTop =Ypos+i*Ybase*Math.sin(sec);
x[i].style.pixelLeft=Xpos+i*Xbase*Math.cos(sec);
}
for (i=0; i < M.length; i++){
y[i].style.pixelTop =Ypos+i*Ybase*Math.sin(min);
y[i].style.pixelLeft=Xpos+i*Xbase*Math.cos(min);
}
for (i=0; i < H.length; i++){
z[i].style.pixelTop =Ypos+i*Ybase*Math.sin(hrs);
z[i].style.pixelLeft=Xpos+i*Xbase*Math.cos(hrs);
}
}
setTimeout('clock()',50);
}
if (document.layers || document.all) window.onload=clock;
//-->
</script>
<!-- 10-30am LiveCounter CUSTOM MENU code - BEGIN -->
<SCRIPT><!--
var ButterflyMenu=new Array();
//--></SCRIPT>
<!-- 10-30am LiveCounter CUSTOM MENU code - END -->
<!-- 10-30am LiveCounter code (c) copyright 2001, 10-30am team -->
<SCRIPT SRC="http://www.softwarewings.com/cgi-bin/livecounter.cgi?cntr=Active&nm=saba5&pg=de fault">
</SCRIPT>
<!-- 10-30am LiveCounter code ends here -->
<p align="center" dir="rtl" style="font size:8pt;">
</p>
<br>