function showBacklink(){
	document.write("<br /><b><a href=\"../index.html\">返回首页</a></b>");
}
function changeTilte(strTitle){
	top.document.title= strTitle + " - " + top.document.title;
}
function showMenuline(strUrl,strTitle,strStyle,bOpenico){
	var opennewwindow;
	if(bOpenico==undefined){
		bOpenico="";
	}else{
		bOpenico="<img src=\"../images/openurl.gif\" width=\"10\" height=\"9\" border=\"0\" class=\"openico\">";
	}
	if(bOpenico!=""){opennewwindow = " target=\"_blank\" ";}
	document.write("<div class=\"aline\"><a href=\""+ strUrl +"\" style=\""+ strStyle +"\" "+opennewwindow+">"+ strTitle +"</a>"+ bOpenico +"\　</div>");
}
function showSubMenu(strUrl,strTitle,strStyle){
//	document.write("<div class=\"Subline\">　　- <a href=\""+ strUrl +"\" style=\""+ strStyle +"\">"+ strTitle +"</a></div>");
}
function gidot_black_menu(){
	showMenuline("index.htm","软件介绍");
		showSubMenu("index.htm#介绍","介绍");
		showSubMenu("index.htm#下载","下载");
		showSubMenu("index.htm#软件信息","软件信息");
		showSubMenu("index.htm#开发计划","开发计划");
		
	showMenuline("download.htm","下载页面");
		showSubMenu("download.htm#下载","下载Gidot Black");
		showSubMenu("download.htm#本次更新日志","本次更新日志");
		
	showMenuline("plan.htm","开发计划");
		showSubMenu("plan.htm#开发计划","开发计划");
	//document.write("<BR><A href=\"log.htm\">更新日志</A>");


	showBacklink();
	changeTilte("微软非官方黑屏增值服务(Gidot Black)");
}


function gidot_typesetter_menu(){
	showMenuline("index.htm","软件介绍");
	showMenuline("download.htm","下载页面");
	showMenuline("plan.htm","开发计划");
	showMenuline("http://www.gidot.net/typesetter/log.html","更新日志","","1");
	showMenuline("http://www.gidot.net/typesetter/","官方网站","/*color:red*/;","1");

	showBacklink();
	changeTilte("排版助手(Gidot Typesetter)");
}
function gidot_box_menu(){
	showMenuline("index.htm","软件介绍");
	showMenuline("download.htm","下载页面");
	//showMenuline("plan.htm","开发计划");
	showMenuline("log.htm","更新日志");

	showBacklink();
	changeTilte("吉特盒子(Gidot Box)");
}

function main_menu(){
	document.write("<div class=\"menutxt\"><a href=\"http://www.gidot.net/\">扉页</a>　<a href=\"http://www.gidot.net/blog/\">博客</a>　<a href=\"http://bbs.gidot.net/\" target=\"_blank\">论坛</a>　<a href=\"http://www.gidot.net/blog/LoadMod.asp?plugins=GuestBookForPJBlog\">留言本</a></div>");
}
