View Single Post
Old 03-16-2014, 10:57 PM   #6
mico2292
 
Join Date: Mar 2014
Posts: 7
Default Hi

<div align="center"><script type="text/javascript">
timeImage();
function timeImage() {
var d = new Date;
var n = d.getHours();
var dt=d.getday();
var img = null;
if(dt==0)
if (n > 10 || n < 2) {

img = 'Images/djs/49.png';
} else if (n < 12) {
img = 'Images/djs/50.png';
} else if (n < 14) {
img = 'Images/djs/51.png';
} else if (n < 16) {
img = 'Images/djs/52.png';
} else if (n < 18) {
img = 'Images/djs/53.png';
} else if (n < 20) {
img = 'Images/djs/54.png';
} else if (n< 22) {
img = 'Images/djs/55.png';
}else if (n< 24) {
img = 'Images/djs/56.png';
}
else {
img = 'Images/djs/56.png';
}
if(dt==1)
if (n > 10 || n < 2) {

img = 'Images/djs/1.png';
} else if (n < 12) {
img = 'Images/djs/2.png';
} else if (n < 14) {
img = 'Images/djs/3.png';
} else if (n < 16) {
img = 'Images/djs/4.png';
} else if (n < 18) {
img = 'Images/djs/5.png';
} else if (n < 20) {
img = 'Images/djs/6.png';
} else if (n< 22) {
img = 'Images/djs/7.png';
}else if (n< 24) {
img = 'Images/djs/8.png';
}
else {
img = 'Images/djs/8.png';
}
if(dt==2)
if (n > 10 || n < 2) {

img = 'Images/djs/9.png';
} else if (n < 12) {
img = 'Images/djs/10.png';
} else if (n < 14) {
img = 'Images/djs/11.png';
} else if (n < 16) {
img = 'Images/djs/12.png';
} else if (n < 18) {
img = 'Images/djs/13.png';
} else if (n < 20) {
img = 'Images/djs/14.png';
} else if (n< 22) {
img = 'Images/djs/15.png';
}else if (n< 24) {
img = 'Images/djs/16.png';
}
else {
img = 'Images/djs/16.png';
}
if(dt==3)
if (n > 10 || n < 2) {

img = 'Images/djs/17.png';
} else if (n < 12) {
img = 'Images/djs/18.png';
} else if (n < 14) {
img = 'Images/djs/19.png';
} else if (n < 16) {
img = 'Images/djs/10.png';
} else if (n < 18) {
img = 'Images/djs/21.png';
} else if (n < 20) {
img = 'Images/djs/22.png';
} else if (n< 22) {
img = 'Images/djs/23.png';
}else if (n< 24) {
img = 'Images/djs/24.png';
}
else {
img = 'Images/djs/24.png';
}
if(dt==4)
if (n > 10 || n < 2) {

img = 'Images/djs/25.png';
} else if (n < 12) {
img = 'Images/djs/26.png';
} else if (n < 14) {
img = 'Images/djs/27.png';
} else if (n < 16) {
img = 'Images/djs/28.png';
} else if (n < 18) {
img = 'Images/djs/29.png';
} else if (n < 20) {
img = 'Images/djs/30.png';
} else if (n< 22) {
img = 'Images/djs/31.png';
}else if (n< 24) {
img = 'Images/djs/32.png';
}
else {
img = 'Images/djs/32.png';
}
if(dt==5)
if (n > 10 || n < 2) {

img = 'Images/djs/33.png';
} else if (n < 12) {
img = 'Images/djs/34.png';
} else if (n < 14) {
img = 'Images/djs/35.png';
} else if (n < 16) {
img = 'Images/djs/36.png';
} else if (n < 18) {
img = 'Images/djs/37.png';
} else if (n < 20) {
img = 'Images/djs/38.png';
} else if (n< 22) {
img = 'Images/djs/39.png';
}else if (n< 24) {
img = 'Images/djs/40.png';
}
else {
img = 'Images/djs/40.png';
}
if(dt==6)
if (n > 10 || n < 2) {

img = 'Images/djs/41.png';
} else if (n < 12) {
img = 'Images/djs/42.png';
} else if (n < 14) {
img = 'Images/djs/43.png';
} else if (n < 16) {
img = 'Images/djs/44.png';
} else if (n < 18) {
img = 'Images/djs/45.png';
} else if (n < 20) {
img = 'Images/djs/46.png';
} else if (n< 22) {
img = 'Images/djs/47.png';
}else if (n< 24) {
img = 'Images/djs/48.png';
}
else {
img = 'Images/djs/autopilot.png';
}
document.write(<img src="Images/djs/'+img+'" width="340" height="500"
/>);
}
</script></div>
mico2292 is offline   Reply With Quote