function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

mydate=new Date();
m1=(mydate.getSeconds()%5);
//m1=0~4
if (m1==0) {
  document.write ("<a href='http://www.buddyenglish.com.tw/products.html#book4' target='')><img src='http://www.buddyenglish.com.tw/banner/buddy_2300_b.gif' width='468' height='60' border='0' alt='國中小2300英語必備單字'></a>");
} else if (m1==1) {
  document.write ("<a href='http://www.buddyenglish.com.tw/products.html#book5' target='')><img src='http://www.buddyenglish.com.tw/banner/buddy_all_b.gif' width='468' height='60' border='0' alt='高職英文總複習綜合版'></a>");
} else if (m1==2) {
  document.write ("<a href='http://www.buddyenglish.com.tw/products.html#book6' target='')><img src='http://www.buddyenglish.com.tw/banner/buddy_base1000_b.gif' width='468' height='60' border='0' alt='國中小學英語最基本一千字詞'></a>");
} else if (m1==3) {
  document.write ("<a href='http://www.buddyenglish.com.tw/products.html#book1' target='')><img src='http://www.buddyenglish.com.tw/banner/buddy_dict_b.gif' width='468' height='60' border='0' alt='模範英漢辭典'></a>");
} else {
  document.write ("<a href='http://www.buddyenglish.com.tw/products.html#book7' target='')><img src='http://www.buddyenglish.com.tw/banner/buddy_usual1000_b.gif' width='468' height='60' border='0' alt='國中小學英語常用一千字詞'></a>");
}