/***************************************************************************
* Program Name       : homepage.js
* Copyright Notice   : COPYRIGHT (C) 2005 BY Addison's Style.com - www@addisonstyle.com
* Creation Date      : 08/1/2006
***************************************************************************/

function sethomepage()
{
 var name = navigator.appName;
 var useragent = navigator.userAgent;
 var version = parseInt(navigator.appVersion);
 if ( useragent.indexOf("MSIE") != -1)
 {
    document.write('<A HREF="http://www.hkha-china.org.hk/" ONCLICK="this.style.behavior='+
                               "'url(#default#homepage)';this.setHomePage("+
                               "'http://www.hkha-china.org.hk/');"+
                               '"'+'><img src="http://www.hkha-china.org.hk/images/main/logo.gif" width="100" height="100" border="0" alt="中國香港旅行遠足聯會">');
 }
 else
 {
    document.write('<img src="http://www.hkha-china.org.hk/images/main/logo.gif" width="100" height="100" border="0" alt="中國香港旅行遠足聯會">');
 }
}
