// JavaScript Document
	if(jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 6) {
  try {
    document.execCommand("BackgroundImageCache", false, true);
  } catch(err) {}
}	

(function($){
$.fn.extend({
        my_Scroll:function(opt,callback){
                //
                if(!opt) var opt={};
                var _this=this.eq(0).find("ul:first");
                var lineH=_this.find("li:first").height()+11, //获取行高
                        line=opt.line?parseInt(opt.line,10):parseInt(this.height()/lineH,10),
                        speed=opt.speed?parseInt(opt.speed,10):2000, //卷动速度，数值越大，速度越慢（毫秒）
                        timer=opt.timer?parseInt(opt.timer,10):2000; //滚动的时间间隔（毫秒）
                if(line==0) line=1;
                var upHeight=0-line*lineH;
                //
                scrollUp=function(){
                        _this.animate({
                                marginTop:upHeight
                        },speed,function(){
                                for(i=1;i<=line;i++){
									
                                        _this.find("li:first").appendTo(_this);
                                }
                                _this.css({marginTop:0});
								lineH=_this.find("li:first").height()+11;
								upHeight=0-line*lineH;
								
                        });
                }
                //
                _this.hover(function(){
                        clearInterval(timerID);
                },function(){
                        timerID=setInterval("scrollUp()",timer);
                }).mouseout();
        }       
})
})(jQuery);

function show_corner()//right top corner
{ 
	$('#btn_header').fadeIn(500);
}
$(document).ready(function(){
	 setTimeout("show_corner()",500);
	 
	 
	 $('#btn_addition_login').bind("mouseenter", function(){  
		 $('.mainlist').hide();										   
         $('.loginlist').fadeIn();
     });  
	 $('.loginlist').bind("mouseenter", function(){  									  
         $('.loginlist').show(); 
     });
     $('#btn_addition_login').bind("mouseleave", function(){ 
         $('.loginlist').hide();
     });  
	 $('.loginlist').bind("mouseleave", function(){  
		 $('.loginlist').hide();
     });	
	 
	 
	 $('#btn_header1').bind("mouseenter", function(){  
		 $('.mainlist').hide();										   
         $('.aboutlist').fadeIn();
     });  
	 $('.aboutlist').bind("mouseenter", function(){  									  
         $('.aboutlist').show(); 
     });
     $('#btn_header1').bind("mouseleave", function(){ 
         $('.aboutlist').hide();
     });  
	 $('.aboutlist').bind("mouseleave", function(){  
		 $('.aboutlist').hide();
     });
	 
	 
	 $('#btn_header3').bind("mouseenter", function(){  
		 $('.mainlist').hide();										   
         $('.linklist').fadeIn();
     });  
	 $('.linklist').bind("mouseenter", function(){  									  
         $('.linklist').show(); 
     });
     $('#btn_header3').bind("mouseleave", function(){ 
         $('.linklist').hide();
     });  
	 $('.linklist').bind("mouseleave", function(){  
		 $('.linklist').hide();
     });
						   
					   
     $('#main_navi_1').bind("mouseenter", function(){  
		 $('.mainlist').hide();										   
         $('#mainlist_1').fadeIn();
     });  
	 $('#mainlist_1').bind("mouseenter", function(){  									  
         $('#mainlist_1').show(); 
     });
     $('#main_navi_1').bind("mouseleave", function(){ 
         $('#mainlist_1').hide();
     });  
	 $('#mainlist_1').bind("mouseleave", function(){  
		 $('#mainlist_1').hide();
     });
	 
	 
	 $('#main_navi_2').bind("mouseenter", function(){  
		 $('.mainlist').hide();											   
         $('#mainlist_2').fadeIn(); 
		 $('#mainlist_2iframe').fadeIn(); 
     });  
	 
	 $('#main_navi_2').bind("click", function(){  
         $('.mainlist').hide();	
		 $('#mainlist_2iframe').hide(); 
     });
	 
	 $('#mainlist_2').bind("mouseenter", function(){  
         $('#mainlist_2').show();
		 $('#mainlist_2iframe').show(); 
     });
     $('#main_navi_2').bind("mouseleave", function(){  
         $('#mainlist_2').hide(); 
		 $('#mainlist_2iframe').hide(); 
     });  
	 $('#mainlist_2').bind("mouseleave", function(){  
         $('#mainlist_2').hide(); 
		 $('#mainlist_2iframe').hide(); 
     });
	 
	 
	 $('#main_navi_3').bind("mouseenter", function(){  
         $('.mainlist').hide();	
		 $('#mainlist_3').fadeIn();  
     });  
	 $('#mainlist_3').bind("mouseenter", function(){  
         $('#mainlist_3').show();  
     });
     $('#main_navi_3').bind("mouseleave", function(){  
         $('#mainlist_3').hide();  
     });  
	 $('#mainlist_3').bind("mouseleave", function(){  
         $('#mainlist_3').hide();  
     });
	 
	 
	 $('#main_navi_4').bind("mouseenter", function(){  
         $('.mainlist').hide();	
		 //$('select').css('visibility',"hidden");	
		 $('#mainlist_4').fadeIn();
		 $('#mainlist_4iframe').fadeIn(); 
     });  
	 
	 $('#main_navi_4').bind("click", function(){  
         $('.mainlist').hide();	
		 $('#mainlist_4iframe').hide(); 
     });
		 
	 $('#mainlist_4').bind("mouseenter", function(){  
         $('#mainlist_4').show();  
		 $('#mainlist_4iframe').show(); 
     });
     $('#main_navi_4').bind("mouseleave", function(){  
         $('#mainlist_4').hide();
		 $('#mainlist_4iframe').hide(); 
		 //$('select').css('visibility',"visible");
     });  
	 $('#mainlist_4').bind("mouseleave", function(){  
         $('#mainlist_4').hide(); 
		 $('#mainlist_4iframe').hide(); 
		 //$('select').css('visibility',"visible");
     });
	 
	 
	 $('#main_navi_5').bind("mouseenter", function(){  
         $('.mainlist').hide();	
		 $('#mainlist_5').fadeIn();  
     });  
	 $('#mainlist_5').bind("mouseenter", function(){  
         $('#mainlist_5').show();  
     });
     $('#main_navi_5').bind("mouseleave", function(){  
         $('#mainlist_5').hide();  
     });  
	 $('#mainlist_5').bind("mouseleave", function(){  
         $('#mainlist_5').hide();  
     });
	 
	 
	 $('#main_navi_6').bind("mouseenter", function(){  
         $('.mainlist').hide();	
		 $('#mainlist_6').fadeIn();  
     });  
	 $('#mainlist_6').bind("mouseenter", function(){  
         $('#mainlist_6').show();  
     });
     $('#main_navi_6').bind("mouseleave", function(){  
         $('#mainlist_6').hide();  
     });  
	 $('#mainlist_6').bind("mouseleave", function(){  
         $('#mainlist_6').hide();  
     });
	 
	 
	 $('#main_navi_7').bind("mouseenter", function(){  
         $('.mainlist').hide();	
		 $('#mainlist_7').fadeIn();  
     });  
	 $('#mainlist_7').bind("mouseenter", function(){  
         $('#mainlist_7').show();  
     });
     $('#main_navi_7').bind("mouseleave", function(){  
         $('#mainlist_7').hide();  
     });  
	 $('#mainlist_7').bind("mouseleave", function(){  
         $('#mainlist_7').hide();  
     });
	 
	 
	 $('#main_navi_8').bind("mouseenter", function(){  
         $('.mainlist').hide();	
		 $('#mainlist_8').fadeIn();  
     });  
	 $('#mainlist_8').bind("mouseenter", function(){  
         $('#mainlist_8').show();  
     });
     $('#main_navi_8').bind("mouseleave", function(){  
         $('#mainlist_8').hide();  
     });  
	 $('#mainlist_8').bind("mouseleave", function(){  
         $('#mainlist_8').hide();  
     });				   
						   
	  
	$("#scrollDiv").my_Scroll({line:1,speed:2000,timer:3000});	
	
	
	
	$('#ln').bind("mouseenter", function(){  								 
		 $('#lnd').fadeIn();  
     });  
	 $('#lnd').bind("mouseenter", function(){  
         $('#lnd').show();  
     });
     $('#lnd').bind("mouseleave", function(){  
         $('#lnd').hide();  
     });  
	 

 });

 
 function close_all()
 {
	 $('#mainlist_1').hide();
	 $('#mainlist_2').hide();
	 $('#mainlist_3').hide();
	 $('#mainlist_4').hide();
	 $('#mainlist_5').hide();
	 $('#mainlist_6').hide();
	 $('#mainlist_7').hide();
	 $('#mainlist_8').hide();
	 $('.loginlist').hide();
	 $('.aboutlist').hide();
	 
 }

document.onclick = close_all;

function lang_switch()
{
	//alert(window.location.href);
	var turl = window.location.href;
	
	var filestr_chi = turl.substring(turl.lastIndexOf('/chi/')+5);
	if(filestr_chi!="")
	window.location.href="../../eng/"+filestr_chi;
	
	return false;
	
	

}

var http_path="http://www.bluecross.com.hk/anniversary/chi";

var https_path="https://www.bluecross.com.hk/anniversary/chi";

if(http_path=="")
{http_path="..";}

if(https_path=="")
{https_path="..";}



function show_header()
{
	document.write('<div style="width:950px; height:90px; position:relative;"><a name="top"></a><div id="logo_bc"><a href="'+http_path+'/homepage/index.html"><img src="../img/common/logo_bc.jpg" width="300" height="80" border="0" /></a></div><div id="btn_header"><ul><li><a id="btn_header1" href="javascript:void()" onclick="return false">&nbsp;</a></li><li class="s_line">&nbsp;</li><li><a id="btn_header2" href="'+http_path+'/contactus/index.html" target="_self">&nbsp;</a></li><li class="s_line">&nbsp;</li><li><a id="btn_header3" href="javascript:void()" onclick="return false">&nbsp;</a></li><li class="s_line">&nbsp;</li><li><a id="btn_header4" href="'+http_path+'/sitemap/index.html" target="_self">&nbsp;</a></li><li class="s_line">&nbsp;</li><li><a id="btn_header5" href="#" onclick="return lang_switch()">&nbsp;</a></li></ul></div><div id="btn_addition"><a id="btn_addition_login" href="javascript:void()">&nbsp;</a></div></div><div style="width:950px; height:45px; position:relative; background:url(../img/common/bg_navi.jpg) left top no-repeat;"><!----><div class="aboutlist"><ul class="aboutnavi"><li class="row1_first"><a href="'+http_path+'/aboutus/companyprofile.html" target="_self">公司簡介</a></li><li class="row1"><a href="'+http_path+'/aboutus/awards.html" target="_self">公司獎項</a></li><li class="row1"><a href="'+http_path+'/aboutus/career.html" target="_self">加入我們</a></li></ul></div><div class="linklist"><ul class="linknavi"><li class="row1_first"><a href="'+http_path+'/usefullinks/hospitals.html" target="_self">醫院名單</a></li><li class="row1"><a href="'+http_path+'/usefullinks/healthrelated.html" target="_self">醫療相關</a></li><li class="row1"><a href="'+http_path+'/usefullinks/insurancerelated.html" target="_self">保險業相關</a></li></ul></div><!----><div class="loginlist"><ul class="loginnavi"><li class="row2_first"><a href="javascript:void()">&nbsp;</a></li><li class="row2"><a href="'+https_path+'/login/index.html"><span style="position:relative; top:8px; line-height:17px;">藍十字<br />"十足十優惠會"</span></a></li><li class="row1"><a href="https://superagent.bluecross.com.hk/superagent/" target="_blank">Super Agent 專頁</a></li><li class="row1"><a href="https://www.bluecross.com.hk/SUPERCARE/B5/INDEX.ASP" target="_blank">Super Care 專頁</a></li><li class="row1"><a href="https://www.bluecross.com.hk/supertravel/" target="_blank">Super Travel 專頁</a></li></ul></div><div id="main_navi"><ul><li><a id="main_navi_0" href="'+http_path+'/homepage/index.html" target="_self">&nbsp;</a></li><li><a id="main_navi_1" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_2" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_3" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_4" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_5" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_6" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_7" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_8" href="javascript:void()" onclick="return false">&nbsp;</a></li></ul></div><div class="mainlist" id="mainlist_1"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/whatsnew/news.html">最新動向</a></li><li class="row1"><a href="'+http_path+'/whatsnew/mediacentre.html">新聞中心</a></li><li class="row1"><a href="'+http_path+'/whatsnew/promotions.html">最新優惠</a></li></ul></div><div class="mainlist" id="mainlist_2"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/taipanmedical/index.html">大班醫療保險</a></li><li class="row1"><a href="'+http_path+'/supermedical/index.html">超卓醫療保險系列</a></li><li class="row1"><a href="'+http_path+'/familyplan/index.html">家庭綜合醫療保險計劃</a></li><li class="row1"><a href="'+http_path+'/aeconomedical/index.html">安康醫療保險計劃</a></li><li class="row1"><a href="'+http_path+'/allinone/index.html">一站式門診醫療寶</a></li><li class="row1"><a href="'+http_path+'/dentalplan/index.html">護齒保險計劃</a></li><li class="row2"><a href="'+http_path+'/hospitalincome/index.html"><span style="position:relative; top:8px; line-height:17px;">倍安心住院入息<br/>保險計劃</span></a></li><li class="row1"><a href="'+http_path+'/majormedical/index.html">重症醫療保險</a></li></ul></div><iframe id="mainlist_2iframe" src="" scrolling="no" frameborder="0" style="height:215px; filter=progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);"></iframe><div class="mainlist" id="mainlist_3"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/travelsmart/index.html">智在遊</a></li><li class="row1"><a href="'+http_path+'/annual/index.html">全年旅遊保險</a></li><li class="row1"><a href="'+http_path+'/annualchinatravel/index.html">全年中國旅遊保險</a></li><li class="row2"><a href="'+http_path+'/inbound/index.html"><span style="position:relative; top:8px; line-height:17px;">「香港通」旅遊保險<br/> ‐ 至尊計劃</span></a></li></ul></div><div class="mainlist" id="mainlist_4"><ul class="mlnavi"><li class="row1"><a href="'+http_path+'/homesafe/index.html">家居至專寶</a></li><li class="row1"><a href="'+http_path+'/maidsafe/index.html">家傭至專寶</a></li><li class="row1"><a href="'+http_path+'/decorationsafe/index.html">裝修寶</a></li><li class="row1"><a href="'+http_path+'/personalaccident/index.html">人身意外綜合保險</a></li><li class="row1"><a href="'+http_path+'/student/index.html">學生意外保障</a></li><li class="row1"><a href="'+http_path+'/taipangolfer/index.html">大班高爾夫球保險</a></li><li class="row1"><a href="'+http_path+'/golfer/index.html">高爾夫球保險</a></li><li class="row1"><a href="'+http_path+'/office/index.html">辦公室全險</a></li><li class="row1"><a href="'+http_path+'/shopsafe/index.html">旺舖寶</a></li><li class="row1"><a href="'+http_path+'/fire/index.html">火險</a></li><li class="row1"><a href="'+http_path+'/motor/index.html">汽車保險</a></li><li class="row1"><a href="'+http_path+'/employees/index.html">僱員補償保險</a></li></ul></div><iframe id="mainlist_4iframe" src="" scrolling="no" frameborder="0" style="height: 290px; filter=progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);"></iframe><div class="mainlist" id="mainlist_5"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/groupmedical/index.html">僱員醫療保障計劃</a></li></ul></div><div class="mainlist" id="mainlist_6"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/cancerscreening/index.html">防癌檢查</a></li><li class="row2"><a href="'+http_path+'/preventive/index.html"><span style="position:relative; top:8px; line-height:17px;">定期身體檢查及<br/>疫苗注射</span></a></li><li class="row2"><a href="'+http_path+'/ucare/index.html"><span style="position:relative; top:8px; line-height:17px;">明康醫療身體檢查<br/>優惠計劃</span></a></li></ul></div><div class="mainlist" id="mainlist_7"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/downloads/index.html">下載區域</a></li></ul></div><div class="mainlist" id="mainlist_8"><ul class="mlnavi"><li class="row1_first"><a href="'+https_path+'/onlineapp/travelsmart.html">智在遊</a></li><li class="row1"><a href="'+https_path+'/onlineapp/annual.html">全年旅遊保險</a></li><li class="row1"><a href="'+https_path+'/onlineapp/homesafe.html">家居至專寶</a></li><li class="row1"><a href="'+https_path+'/onlineapp/maidsafe.html">家傭至專寶</a></li><li class="row1"><a href="'+https_path+'/onlineapp/taipangolfer.html">大班高爾夫球保險</a></li><li class="row1"><a href="'+https_path+'/onlineapp/golfer.html">高爾夫球保險</a></li><li class="row1"><a href="'+https_path+'/onlineapp/familyplan.html">家庭綜合醫療保險計劃</a></li><li class="row2"><a href="'+https_path+'/onlineapp/superjunior.html"><span style="position:relative; top:8px; line-height:17px;">超卓醫療保險系列<br/>‐ 超卓子女</span></a></li><li class="row2"><a href="'+https_path+'/onlineapp/superlady.html"><span style="position:relative; top:8px; line-height:17px;">超卓醫療保險系列<br/>‐ 超卓女性</span></a></li><li class="row2"><a href="'+https_path+'/onlineapp/superman.html"><span style="position:relative; top:8px; line-height:17px;">超卓醫療保險系列<br/>‐ 超卓男性</span></a></li><li class="row2"><a href="'+https_path+'/onlineapp/supersenior.html"><span style="position:relative; top:8px; line-height:17px;">超卓醫療保險系列<br/>‐ 超卓長者</span></a></li><li class="row1"><a href="'+https_path+'/onlineapp/prevent.html">醫療保健計劃</a></li></ul></div></div>');

	
}


function show_header2()
{
	document.write('<div style="width:950px; height:90px; position:relative;"><a name="top"></a><div id="logo_bc"><a href="'+http_path+'/homepage/index.html"><img src="../img/common/logo_bc.jpg" width="300" height="80" border="0" /></a></div><div id="btn_header"><ul><li><a id="btn_header1" href="javascript:void()" onclick="return false">&nbsp;</a></li><li class="s_line">&nbsp;</li><li><a id="btn_header2" href="'+http_path+'/contactus/index.html" target="_self">&nbsp;</a></li><li class="s_line">&nbsp;</li><li><a id="btn_header3" href="javascript:void()" onclick="return false">&nbsp;</a></li><li class="s_line">&nbsp;</li><li><a id="btn_header4" href="'+http_path+'/sitemap/index.html" target="_self">&nbsp;</a></li><li class="s_line">&nbsp;</li><li><a id="btn_header5" href="#" onclick="return lang_switch()">&nbsp;</a></li></ul></div><div id="btn_addition"><a id="btn_addition_login" href="javascript:void()">&nbsp;</a></div></div><div style="width:950px; height:45px; position:relative; background:url(../img/common/bg_navi.jpg) left top no-repeat;"><!----><div class="aboutlist"><ul class="aboutnavi"><li class="row1_first"><a href="'+http_path+'/aboutus/companyprofile.html" target="_self">公司簡介</a></li><li class="row1"><a href="'+http_path+'/aboutus/awards.html" target="_self">公司獎項</a></li><li class="row1"><a href="'+http_path+'/aboutus/career.html" target="_self">加入我們</a></li></ul></div><div class="linklist"><ul class="linknavi"><li class="row1_first"><a href="'+http_path+'/usefullinks/hospitals.html" target="_self">醫院名單</a></li><li class="row1"><a href="'+http_path+'/usefullinks/healthrelated.html" target="_self">醫療相關</a></li><li class="row1"><a href="'+http_path+'/usefullinks/insurancerelated.html" target="_self">保險業相關</a></li></ul></div><!----><div class="loginlist"><ul class="loginnavi"><li class="row2_first"><a href="javascript:void()">&nbsp;</a></li><li class="row2"><a href="'+https_path+'/login/index.html"><span style="position:relative; top:8px; line-height:17px;">藍十字<br />"十足十優惠會"</span></a></li><li class="row1"><a href="https://superagent.bluecross.com.hk/superagent/" target="_blank">Super Agent 專頁</a></li><li class="row1"><a href="https://www.bluecross.com.hk/SUPERCARE/B5/INDEX.ASP" target="_blank">Super Care 專頁</a></li><li class="row1"><a href="https://www.bluecross.com.hk/supertravel/" target="_blank">Super Travel 專頁</a></li></ul></div><div id="main_navi"><ul><li><a id="main_navi_0" href="'+http_path+'/homepage/index.html" target="_self">&nbsp;</a></li><li><a id="main_navi_1" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_2" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_3" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_4" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_5" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_6" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_7" href="javascript:void()" onclick="return false">&nbsp;</a></li><li><a id="main_navi_8" href="javascript:void()" onclick="return false">&nbsp;</a></li></ul></div><div class="mainlist" id="mainlist_1"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/whatsnew/news.html">最新動向</a></li><li class="row1"><a href="'+http_path+'/whatsnew/mediacentre.html">新聞中心</a></li><li class="row1"><a href="'+http_path+'/whatsnew/promotions.html">最新優惠</a></li></ul></div><div class="mainlist" id="mainlist_2"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/taipanmedical/index.html">大班醫療保險</a></li><li class="row1"><a href="'+http_path+'/supermedical/index.html">超卓醫療保險系列</a></li><li class="row1"><a href="'+http_path+'/familyplan/index.html">家庭綜合醫療保險計劃</a></li><li class="row1"><a href="'+http_path+'/aeconomedical/index.html">安康醫療保險計劃</a></li><li class="row1"><a href="'+http_path+'/allinone/index.html">一站式門診醫療寶</a></li><li class="row1"><a href="'+http_path+'/dentalplan/index.html">護齒保險計劃</a></li><li class="row2"><a href="'+http_path+'/hospitalincome/index.html"><span style="position:relative; top:8px; line-height:17px;">倍安心住院入息<br/>保險計劃</span></a></li><li class="row1"><a href="'+http_path+'/majormedical/index.html">重症醫療保險</a></li></ul></div><div class="mainlist" id="mainlist_3"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/travelsmart/index.html">智在遊</a></li><li class="row1"><a href="'+http_path+'/annual/index.html">全年旅遊保險</a></li><li class="row1"><a href="'+http_path+'/annualchinatravel/index.html">全年中國旅遊保險</a></li><li class="row2"><a href="'+http_path+'/inbound/index.html"><span style="position:relative; top:8px; line-height:17px;">「香港通」旅遊保險<br/> ‐ 至尊計劃</span></a></li></ul></div><div class="mainlist" id="mainlist_4"><ul class="mlnavi"><li class="row1"><a href="'+http_path+'/homesafe/index.html">家居至專寶</a></li><li class="row1"><a href="'+http_path+'/maidsafe/index.html">家傭至專寶</a></li><li class="row1"><a href="'+http_path+'/decorationsafe/index.html">裝修寶</a></li><li class="row1"><a href="'+http_path+'/personalaccident/index.html">人身意外綜合保險</a></li><li class="row1"><a href="'+http_path+'/student/index.html">學生意外保障</a></li><li class="row1"><a href="'+http_path+'/taipangolfer/index.html">大班高爾夫球保險</a></li><li class="row1"><a href="'+http_path+'/golfer/index.html">高爾夫球保險</a></li><li class="row1"><a href="'+http_path+'/office/index.html">辦公室全險</a></li><li class="row1"><a href="'+http_path+'/shopsafe/index.html">旺舖寶</a></li><li class="row1"><a href="'+http_path+'/fire/index.html">火險</a></li><li class="row1"><a href="'+http_path+'/motor/index.html">汽車保險</a></li><li class="row1"><a href="'+http_path+'/employees/index.html">僱員補償保險</a></li></ul></div><div class="mainlist" id="mainlist_5"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/groupmedical/index.html">僱員醫療保障計劃</a></li></ul></div><div class="mainlist" id="mainlist_6"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/cancerscreening/index.html">防癌檢查</a></li><li class="row2"><a href="'+http_path+'/preventive/index.html"><span style="position:relative; top:8px; line-height:17px;">定期身體檢查及<br/>疫苗注射</span></a></li><li class="row2"><a href="'+http_path+'/ucare/index.html"><span style="position:relative; top:8px; line-height:17px;">明康醫療身體檢查<br/>優惠計劃</span></a></li></ul></div><div class="mainlist" id="mainlist_7"><ul class="mlnavi"><li class="row1_first"><a href="'+http_path+'/downloads/index.html">下載區域</a></li></ul></div><div class="mainlist" id="mainlist_8"><ul class="mlnavi"><li class="row1_first"><a href="'+https_path+'/onlineapp/travelsmart.html">智在遊</a></li><li class="row1"><a href="'+https_path+'/onlineapp/annual.html">全年旅遊保險</a></li><li class="row1"><a href="'+https_path+'/onlineapp/homesafe.html">家居至專寶</a></li><li class="row1"><a href="'+https_path+'/onlineapp/maidsafe.html">家傭至專寶</a></li><li class="row1"><a href="'+https_path+'/onlineapp/taipangolfer.html">大班高爾夫球保險</a></li><li class="row1"><a href="'+https_path+'/onlineapp/golfer.html">高爾夫球保險</a></li><li class="row1"><a href="'+https_path+'/onlineapp/familyplan.html">家庭綜合醫療保險計劃</a></li><li class="row2"><a href="'+https_path+'/onlineapp/superjunior.html"><span style="position:relative; top:8px; line-height:17px;">超卓醫療保險系列<br/>‐ 超卓子女</span></a></li><li class="row2"><a href="'+https_path+'/onlineapp/superlady.html"><span style="position:relative; top:8px; line-height:17px;">超卓醫療保險系列<br/>‐ 超卓女性</span></a></li><li class="row2"><a href="'+https_path+'/onlineapp/superman.html"><span style="position:relative; top:8px; line-height:17px;">超卓醫療保險系列<br/>‐ 超卓男性</span></a></li><li class="row2"><a href="'+https_path+'/onlineapp/supersenior.html"><span style="position:relative; top:8px; line-height:17px;">超卓醫療保險系列<br/>‐ 超卓長者</span></a></li><li class="row1"><a href="'+https_path+'/onlineapp/prevent.html">醫療保健計劃</a></li></ul></div></div>');

	
	
}


function show_footer()
{
	document.write('<div style="position:relative; height:35px; border-top:#dce9f5 1px solid"><div style="position:absolute; width: 471px; font-size:11px!important;*font-size:9pt; color:#999; left: 1px; top: 9px; zoom:1; vertical-align:baseline;">&copy; 版權所有。藍十字(亞太)保險有限公司2009。不得轉載。</div><div id="lnd" style="position:absolute; display:none; z-index:2; background-color:#FFF; vertical-align:baseline; text-align:right; width: 500px; line-height:25px; font-size:9px; color:#999; right: 1px; top: 2px;"><a class="footer_link" href="'+http_path+'/legalnotices/Disclaimer.pdf" target="_blank">免責條款</a> | <a class="footer_link" href="'+http_path+'/legalnotices/Dividend Statement.pdf" target="_blank">紅利聲明</a> | <a class="footer_link" href="'+http_path+'/legalnotices/Personal Information Collection Statement.pdf" target="_blank">收集個人資料聲明</a> | <a class="footer_link" href="/shared/ePrivacy/b5/pdf/eprivacy.pdf" target="_blank">私隱政策聲明</a></div><div id="ln" style="position:absolute; text-align:right; width: 100px; font-size:9px; color:#999; right: 1px; top: 9px;"><a class="footer_link" href="#" target="_self">法律聲明</a></div></div>');

	
	
}

/*home use*/
function applyonline()
{
	if($("#applyonline option:selected").val()!=00)
    document.write('<script>location="'+https_path+$("#applyonline option:selected").val()+'"</script>');
	else
	return false;
	
}


/*super series use*/
function superapply()
{
	if($("#super_series option:selected").val()!=00)
    document.write('<script>location="'+https_path+$("#super_series option:selected").val()+'"</script>');
	else
	{
		return false;
	}
	
}

function superdownloadtnc()
{
	if($("#super_series_dl option:selected").val()!=00)
    window.open($("#super_series_dl option:selected").val());
	else
	return false;
	
}

function superdownloadothers(x)
{
	if($("#super_series_dl option:selected").val()!=00)
    window.open(x);
	else
	{
		return false;
	}
	
}

/*Privileged Offer use*/
function pri_btn(x)
{
	document.write('<script>location="'+https_path+"/whatsnew/"+x+'"</script>');
	
}

/*other app buttons use*/
function app_btn(x)
{
	document.write('<script>location="'+https_path+"/onlineapp/"+x+'"</script>');
	
}

/*login use*/
function sitemap_btn(x)
{
	document.write('<script>location="'+https_path+"/login/"+x+'"</script>');
	
}



function switch_dl()
{
	if($("#step1 option:selected").val()!=00)
    {
		$('.all_table').hide();											   
		$('#'+$("#step1 option:selected").val()).show();
	}
	else
	return false;
	
}



function medical_dl(x)
{
	if(x==1)
	{
		if($("#m_1 option:selected").val()!=00)
		window.open($("#m_1 option:selected").val());
		else
		return false;
		
		
	}
	else if(x==2)
	{
		if($("#m_2 option:selected").val()!=00)
		window.open($("#m_2 option:selected").val());
		else
		return false;
	}
	else if(x==3)
	{
		if($("#m_3 option:selected").val()!=00)
		window.open($("#m_3 option:selected").val());
		else
		return false;
	}
	else if(x==4)
	{
		if($("#m_4 option:selected").val()!=00)
		window.open($("#m_4 option:selected").val());
		else
		return false;
	}
	
}

function travel_dl(x)
{
	if(x==1)
	{
		if($("#t_1 option:selected").val()!=00)
		window.open($("#t_1 option:selected").val());
		else
		return false;
		
		
	}
	else if(x==2)
	{
		if($("#t_2 option:selected").val()!=00)
		window.open($("#t_2 option:selected").val());
		else
		return false;
	}
	else if(x==3)
	{
		if($("#t_3 option:selected").val()!=00)
		window.open($("#t_3 option:selected").val());
		else
		return false;
	}
	else if(x==4)
	{
		if($("#t_4 option:selected").val()!=00)
		window.open($("#t_4 option:selected").val());
		else
		return false;
	}
	
}


function general_dl(x)
{
	if(x==1)
	{
		if($("#g_1 option:selected").val()!=00)
		window.open($("#g_1 option:selected").val());
		else
		return false;
		
		
	}
	else if(x==2)
	{
		if($("#g_2 option:selected").val()!=00)
		window.open($("#g_2 option:selected").val());
		else
		return false;
	}
	else if(x==3)
	{
		if($("#g_3 option:selected").val()!=00)
		window.open($("#g_3 option:selected").val());
		else
		return false;
	}
	else if(x==4)
	{
		if($("#g_4 option:selected").val()!=00)
		window.open($("#g_4 option:selected").val());
		else
		return false;
	}
	
}


function employee_dl(x)
{
	if(x==1)
	{
		if($("#e_1 option:selected").val()!=00)
		window.open($("#e_1 option:selected").val());
		else
		return false;
		
		
	}
	else if(x==2)
	{
		if($("#e_2 option:selected").val()!=00)
		window.open($("#e_2 option:selected").val());
		else
		return false;
	}
	else if(x==3)
	{
		if($("#e_3 option:selected").val()!=00)
		window.open($("#e_3 option:selected").val());
		else
		return false;
	}
	else if(x==4)
	{
		if($("#e_4 option:selected").val()!=00)
		window.open($("#e_4 option:selected").val());
		else
		return false;
	}
	
}

function health_dl(x)
{
	if(x==1)
	{
		if($("#h_1 option:selected").val()!=00)
		window.open($("#h_1 option:selected").val());
		else
		return false;
		
		
	}
	else if(x==2)
	{
		if($("#h_2 option:selected").val()!=00)
		window.open($("#h_2 option:selected").val());
		else
		return false;
	}
	else if(x==3)
	{
		if($("#h_3 option:selected").val()!=00)
		window.open($("#h_3 option:selected").val());
		else
		return false;
	}
	else if(x==4)
	{
		if($("#h_4 option:selected").val()!=00)
		window.open($("#h_4 option:selected").val());
		else
		return false;
	}
	
}

