if (document.images) {
 
 addon = new Image();
 addon.src = "";
 emailon = new Image();
 emailon.src = "";
 shoppingon = new Image();
 shoppingon.src = "";
 topsiteon = new Image();
 topsiteon.src = "";
 ecardon = new Image();
 ecardon.src = "";
 chaton = new Image();
 chaton.src = "";
 starson = new Image();
 starson.src = "";
 
 addoff = new Image();
 addoff.src = "";
 emailoff = new Image();
 emailoff.src = "";
 shoppingoff = new Image();
 shoppingoff.src = "";
 topsiteoff = new Image();
 topsiteoff.src = "";
 ecardoff = new Image();
 ecardoff.src = "";
 chatoff = new Image();
 chatoff.src = "";
 starsoff = new Image();
 starsoff.src = "http://www.852ad.com";

}

function imgOn(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "on.src");
}
}

function imgOff(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "off.src");
}
}


function date_zh(date)
{
var tmp = "";
var day = "";
if ( date == null )
date = new Date();
tmp = date.getYear();
if ( tmp < 1000 )
tmp = tmp + 1900;
tmp = tmp + "-";
tmp = tmp + (date.getMonth() + 1) + "-";
tmp = tmp + date.getDate() + "   ";
day = date.getDay();
if ( day == 0 ) {
day = " Sun ";
} else if ( day == 1 ) {
day = " Mon ";
} else if ( day == 2 ) {
day = " Tue ";
} else if ( day == 3 ) {
day = " Wed ";
} else if ( day == 4 ) {
day = " Thr ";
} else if ( day == 5 ) {
day = " Fri ";
} else if ( day == 6 ) {
day = " Sat ";
}
tmp = tmp + "" + day + "";
return tmp;
thisYear = now.getYear();
if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem
document.write(monthNames[now.getMonth()] + " " + now.getDate() + ", " + thisYear);
}


function stat(txt) {
window.status = txt;
setTimeout("erase()", 6000);
}

function erase() { window.status = ""; }

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features); }

function clearfield(){
if (document.search.word.value == "½Ð ¿é ¤J Ãö Áä ¦r")
document.search.word.value = "";
}	

