<script language="javascript" type="text/javascript">

today=new Date();

function initArray(){

this.length=initArray.arguments.length

for(var i=0;i<this.length;i++)

this[i+1]=initArray.arguments[i] }

var d=new initArray(

"星期日",

"星期一",

"星期二",

"星期三",

"星期四",

"星期五",

"星期六");

document.write(

"<font style='font-size:9pt'>☆今天是",

today.getFullYear(),"年",

today.getMonth()+1,"月",

today.getDate(),"日",

d[today.getDay()+1],

"</font>" );

<!--

now = new Date()

nowyear=now.getFullYear()

if(nowyear<2000)

nowyear=nowyear+1900

nowmonth=now.getMonth()+1

nowdate=now.getDate()

years=nowyear-2007

months=nowmonth-12

dates=nowdate-14

if((years<0)||((years==0)&&(months<0))||((years==0)&&(months==0)&&(dates<=0)))

document.write("<span><font color=red>你的系统时钟好像不太对哦!</font></span>")

else {

if(dates<0) {

months=months-1

dates=dates+30

}

if(months<0) {

years=years-1

months=months+12

}

document.write("<span>☆柏嘉已经")

if (years>0) {

document.write(years)

document.write("周岁")

}

if(months>0) {

document.write(months)

document.write("个月")

}

if(((years>0)||(months>0))&&(dates>0))

document.write("零")

if(dates>0) {

document.write(dates)

document.write("天")

}

else

document.write("整")

document.write("啦!</span>")

if((months==0)&&(dates==0)) {

document.write("<span><font color=red><b>柏嘉生日快乐!")

document.write("</b></font></span>")

}

}

//-->

</script>

<p align="center"><font color="#6B6B36">(<SCRIPT LANGUAGE="Javascript">     

<!--     

var urodz = new Date("December 14,2007");     

var now = new Date();     

var ile = now.getTime() - urodz.getTime();     

var dni = Math.floor(ile / (1000 * 60 * 60 * 24));     

if (dni > 0)     

   document.write("<font color=ff6500><b>" + dni + "</b></font>天啦")     

else     

    document.write("This will happen in future");     

// -->

</SCRIPT>)