function showMenu( num )
{
	switch( num )
	{
		case 'home':
			document.all.sdir.innerHTML = '';
			break;
		case 'wutps':
			document.all.sdir.innerHTML= '<table cellpadding="3" cellspacing="0" border="0"><tr><td valign="top" rowspan="4"> <img src="image/next.gif"> <font color="#E4C594">學 校 簡 介:</font> </td></tr><tr><td valign="top"><img src="image/pro.gif"> <a href="wutai.php?work=sch_env" class="ta">學 區 介 紹</a> <img src="image/pro.gif"> <a href="wutai.php?work=sch_his" class="ta">霧 小 校 史</a> <img src="image/pro.gif"> <a href="wutai.php?work=sch_hope" class="ta">學 校 願 景</a> <img src="image/pro.gif"> <a href="wutai.php?work=sch_cam" class="ta">校 園 規 劃</a> <img src="image/pro.gif"> <a href="wutai.php?work=sch_badge" class="ta">校 徽 簡 介</a> <img src="image/pro.gif"> <a href="wutai.php?work=sch_tea" class="ta">各 處 組 重 點 工 作</a></td></tr><tr><td valign="top">  <img src="image/pro.gif">  <a href="http://monica.loxa.edu.tw/wutai_school/wutai.php?work=sch_95" class="ta">95 學 年 教 學 與 建 設 成 果</a> <img src="image/pro.gif"> <a href="wutai.php?work=sch_song" class="ta">聆 聽 母 語 歌 謠</a> </td></tr></table>';
			break;
		case 'org':                                                                                                                                               
			document.all.sdir.innerHTML= '<img src="image/next.gif"> <font color="#E4C594">教 學 行 政 團 隊:</font> </td></tr><tr><td valign="top"><img src="image/pro.gif"> <a href="wutai.php?work=org_boss" class="ta">我 們 的 校 長</a> <img src="image/pro.gif"> <a href="wutai.php?work=org_main" class="ta">本 校 教 職 員</a>  <img src="image/pro.gif"> <a href="wutai.php?work=org_dawu" class="ta">分 班 教 職 員</a>  <img src="image/pro.gif"> <a href="wutai.php?work=org_parents" class="ta">家 長 委 員 會</a>';
			break;                                                                                                                                         
		case 'adm':                                                                                                                                                 
			document.all.sdir.innerHTML= '<table cellpadding="3" cellspacing="0" border="0"><tr><td valign="top" rowspan="3"><img src="image/next.gif"> <font color="#E4C594">校 務 網 頁:</font> </td></tr><tr><td valign="top"> <img src="image/pro.gif">  <a href="#" onclick="OpenWindow_7()" class="ta">學 校 行 事 曆</a> <img src="image/pro.gif"> <a href="http://www.edusave.edu.tw/school/school_index.aspx?school_sn=2395" target="_blank"  class="ta">學 校 教 育 儲 蓄 戶 網</a> <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=23298" target="_blank" class="ta">環 境 教 育 主 題 網</a> <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=20322" target="_blank"  class="ta"> 族 語 教 學 主 題 網</a></td></tr><tr><td valign="top"><img src="image/pro.gif"> <a href="#" onclick="OpenWindow_2()" class="ta" >午 餐 食 譜 表</a> <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=11149" target="_blank" class="ta">向 陽 天 空 閱 讀 網</a> <img src="image/pro.gif"> <a href="#" onclick="OpenWindow_3()" class="ta">圖 書 室 線 上 管 理 系 統</a> </td></tr></table>';
			break;                                                                                                                                         
		case 'class':                                                                                                                                                 
			document.all.sdir.innerHTML= '<table cellpadding="3" cellspacing="0" border="0"><tr><td valign="top" rowspan="3"><img src="image/next.gif"> <font color="#E4C594">班 級 網 頁:</font> </td></tr><tr><td valign="top"> <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=19037" class="ta" target="_blank">六 年 甲 班</a> <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=15413" class="ta" target="_blank">五 年 甲 班</a>  <img src="image/pro.gif"> 五 年 乙 班 <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=18713" class="ta" target="_blank">四 年 甲 班</a> <img src="image/pro.gif">  三 年 甲 班  <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=18714" class="ta" target="_blank">三 年 乙 班</a> <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=7679" class="ta" target="_blank">二 年 甲 班</a> </td></tr><tr><td valign="top"> <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=20593" class="ta" target="_blank">一 年 甲 班</a> <img src="image/pro.gif"> 一 年 乙 班 <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/classweb.html?webId=15442" class="ta" target="_blank">國 幼 班</a> </td></tr></table>';
			break;   
		case 'picture':
			document.all.sdir.innerHTML = '<img src="image/next.gif"> <font color="#E4C594">活 動 照 片：有 學 校 最 近 活 動 照 片 喔!</font>';
			break;    
		case 'calendar':
			document.all.sdir.innerHTML = '<img src="image/next.gif"> <font color="#E4C594">學 校 行 事 曆：得 知 學 校 最 新 活 動 訊 息。</font>';
			break;                                                                                                                                            
		case 'web':                                                                                                                                           
			document.all.sdir.innerHTML= '<table cellpadding="3" cellspacing="0" border="0"><tr><td valign="top" rowspan="3"> <img src="image/next.gif"> <font color="#E4C594">關 於 本 站：</font> </td></tr><tr><td valign="top"><img src="image/pro.gif"> <a href="wutai.php?work=web_concept" class="ta">經 營 理 念</a> <img src="image/pro.gif"> <a href="wutai.php?work=web_his" class="ta">每 月 進 站</a> <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/datashow.html?sn=194&s_sn=298" target="_blank" class="ta"> 如 何 發 佈 學 校 公 告</a> <img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/datashow.html?sn=194&s_sn=299" class="ta" target="_blank"> 如 何 刊 登 學 校 行 事 曆</a> </td></tr><tr><td valign="top"><img src="image/pro.gif"> <a href="http://www.loxa.edu.tw/datashow.html?sn=194&s_sn=295" target="_blank" class="ta"> 中 文 名 稱 檔 案 打 不 開</a> <img src="image/pro.gif"> <a href="#" onclick="OpenWindow_1()" class="ta"> 學 校 位 址 圖</a></a> </td></tr></table>';
			break;       
		case 'board':
			document.all.sdir.innerHTML = '<img src="image/next.gif"> <font color="#E4C594">情 感 交 流：想 對 霧 台 國 小 講 的 話，都 可 以 寫 上 去 喔!</font>';
			break;                                                                                                                                         
	}                                                                                                                                                                 
	                                                                                                                                                                  
	                                                                                                                                                                  
}



function PreViewImage(ImagePath) {
          param = "toolbar=no,location=no,status=no,scrollbars=no,resizable=no,width=100,height=100";
          open_window=window.open("preview.php?imgsrc="+ImagePath, "preview", param);
        }



function goAudio(theURL,winName,features) {
  winAudio = window.open(theURL, 'winAudio','toolbar=no, location=no, status=no, directories=no, menubar=no, scrollbars=no, resizable=no, top=306, left=450, width=306, height=150');
  if (winAudio != null) winAudio.focus();

}


/*霧台國小位址地圖*/
function OpenWindow_1(){
  strFeatures = "width=800,height=600,resizable=yes,toolbar=0,menubar=no,location=0,directories=0,status=0";
  window.open("http://www.wutps.ptc.edu.tw/map.html" , "MyNew", strFeatures);
}

/*午餐食譜視窗*/
function OpenWindow_2(){
  strFeatures = "width=500,height=300,resizable=yes,toolbar=0,menubar=no,location=0,directories=0,status=0";
  window.open("http://monica.loxa.edu.tw/lunch/lunch.php" , "MyNew", strFeatures);
}

/*圖書管理系統*/
function OpenWindow_3(){
  strFeatures = "width=800,height=600,resizable=yes,toolbar=0,menubar=no,location=0,directories=0,status=0";
  window.open("http://www.wutps.ptc.edu.tw/library.html" , "MyNew", strFeatures);
}

/*訓導業務視窗*/
function OpenWindow_4(){
  strFeatures = "width=800,height=600,resizable=yes,toolbar=0,menubar=no,location=0,directories=0,status=0";
  window.open("http://www.loxa.edu.tw/classweb.html?webId=11178" , "MyNew", strFeatures);
} 
  
/*教務業務視窗*/
function OpenWindow_5(){
  strFeatures = "width=800,height=600,resizable=yes,toolbar=0,menubar=no,location=0,directories=0,status=0";
  window.open("http://www.loxa.edu.tw/classweb.html?webId=7534" , "MyNew", strFeatures);
}
   
/*網管經驗分享*/
function OpenWindow_6(){
  strFeatures = "width=800,height=600,resizable=yes,toolbar=0,menubar=no,location=0,directories=0,status=0";
  window.open("http://www.loxa.edu.tw/datashow.html?sn=194" , "MyNew", strFeatures);
}

/*學校行事曆*/
function OpenWindow_7(){
  strFeatures = "width=800,height=600,resizable=yes,toolbar=0,menubar=no,location=0,directories=0,status=0";
  window.open("http://www.loxa.edu.tw/calendar.html?schnum=134748" , "MyNew", strFeatures);
}                              