
var osd = "   "
osd +="Anime Manga Türkiye ... anime.gen.tr  ";
osd +="  ";
osd +="          ";
var timer;
var msg = "";
function scrollMaster () {
msg = customDateSpring(new Date())
clearTimeout(timer)
msg += " " + showtime() + " " + osd
for (var i= 0; i < 0; i++){
msg = " " + msg;
}
scrollMe()
}
function scrollMe(){
window.status = msg;
msg = msg.substring(0, msg.length) + msg.substring(0,0);
timer = setTimeout("scrollMe()", 50);
}
function showtime (){
var now = new Date();
var hours= now.getHours();
var minutes= now.getMinutes();
var seconds= now.getSeconds();
var months= now.getMonth();
var dates= now.getDate();
var years= now.getYear();
var timeValue = ""
timeValue += ((months >9) ? "" : " ")
timeValue += ((dates >9) ? "" : " ")
timeValue = ( months +1)

timeValue +="/"+ dates
timeValue +="/"+  years
var ap=""
if (hours == 12) {
ap = ""
}
if (hours == 0) {
hours = 12
}
if(hours >= 13){
hours -= 12;
ap="P.M."
}
var timeValue2 = " " + hours
timeValue2 += ((minutes < 10) ? ":0":":") + minutes + "  |  " + ap
return timeValue2;
}
function MakeArray(n) {
this.length = n
return this
}
monthNames = new MakeArray(12)
monthNames[1] = "Ocak"
monthNames[2] = "Şubat"
monthNames[3] = "Mart"
monthNames[4] = "Nisan"
monthNames[5] = "Mayıs"
monthNames[6] = "Haziran"
monthNames[7] = "Temmuz"
monthNames[8] = "Ağustos"
monthNames[9] = "Eylül"
monthNames[10] = "Ekim"
monthNames[11] = "Kasım"
monthNames[12] = "Aralık"
daysNames = new MakeArray(7)
daysNames[1] = "Pazar"
daysNames[2] = "Pazartesi"
daysNames[3] = "Salı"
daysNames[4] = "Çarşamba"
daysNames[5] = "Perşembe"
daysNames[6] = "Cuma"
daysNames[7] = "Cumartesi"
function customDateSpring(oneDate) {
var theDay = daysNames[oneDate.getDay() +1]
var theDate =oneDate.getDate()
var theMonth = monthNames[oneDate.getMonth() +1]
var dayth=""
if ((theDate == 1) || (theDate == 21) || (theDate == 31)) {
dayth="";
}
if ((theDate == 2) || (theDate ==22)) {
dayth="";
}
if ((theDate== 3) || (theDate  == 23)) {
dayth="";
}
return "......." + theDate + " " + theMonth + " , " + theDay +  " | "
}
scrollMaster();

