﻿function linkurl(URL) {
	if (URL!=""){
	//location.href=URL;
	window.open(URL);
	}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

//document.write("<script language=JavaScript src='https://www.uj.com.tw/uj/images2/googleanalytics_1.js'></script>");
//document.write("<script language=JavaScript src='images2/googleanalytics_2.js'></script>");
document.write("<table width='100%' border='0' cellspacing='0' cellpadding='0' bgcolor='#FFFFFF'><tr>");
document.write("<td width='9%'><a href='http://game.icdist.com.hk/' target='_blank'><img src='images2/index_top_1.jpg' width='109' height='29' border='0'></a></td>");
document.write("<td width='91%' align='right'><table  border='0' cellspacing='0' cellpadding='0'>");
document.write("<tr>");
document.write("<td width='80'><a href='http://game.icdist.com.hk/login.aspx?ReturnUrl=%2fmember%2fGameListI2.aspx' target='_blank' onMouseOver=MM_swapImage('comm2','','images2/index_top2_2.jpg',1); onMouseOut=MM_swapImgRestore();><img src='images2/index_top_2.jpg' name='comm2' width='80' height='29' border='0'></a></td>");
document.write("<td width='80'><a href='http://game.icdist.com.hk/download.aspx' target='_blank' onMouseOver=MM_swapImage('comm3','','images2/index_top2_3.jpg',1); onMouseOut=MM_swapImgRestore();><img src='images2/index_top_3.jpg' name='comm3' width='80' height='29' border='0'></a></td>");
document.write("<td width='80'><a href='http://game.icdist.com.hk/dotlist.aspx' target='_blank' onMouseOver=MM_swapImage('comm4','','images2/index_top2_4.jpg',1); onMouseOut=MM_swapImgRestore();><img src='images2/index_top_4.jpg' name='comm4' width='80' height='29' border='0'></a></td>");
document.write("<td width='80'><a href='http://game.icdist.com.hk/Custservice.aspx' target='_blank' onMouseOver=MM_swapImage('comm5','','images2/index_top2_5.jpg',1); onMouseOut=MM_swapImgRestore();><img src='images2/index_top_5.jpg' name='comm5' width='80' height='29' border='0'></a></td>");
document.write("<td width='202' align='center' background='images2/index_top_6.jpg'>");
document.write("<select name='urllink' onchange='linkurl(this.value);' style='font-size:12px;color=#666666'>");
document.write("<option>----------請選擇遊戲----------</option>");
document.write("<option value='http://game.icdist.com.hk/'>官網</option>");
document.write("<option value='http://hero.icdist.com.hk/main.html/'>功夫英雄</option>");
document.write("<option value='http://ws.icdist.com.hk/'>操盤達人港澳版</option>");
document.write("<option value='http://sm.icdist.com.hk/'>聖魔之血Online</option>");
document.write("<option value='http://pko.icdist.com.hk/'>火鳳三國</option>");
document.write("<option value='http://kh2.icdist.com.hk/'>三國群英傳2Online</option>");
document.write("<option value='http://cg2.icdist.com.hk/'>魔力寶貝2Online</option>");
document.write("<option value='http://angel.icdist.com.hk/eventpage/20110621/p1_1.html'>天使之戀2Online</option>");
document.write("<option value='http://sx.icdist.com.hk/'>獸血沸騰Online</option>");
document.write("</select></td>");
document.write("</tr>");
document.write("</table></td>");
document.write("</tr>");
document.write("</table>");



