function MyMenu(tName)
	{
		tMenu=(document.all)?document.all(tName).style:document.getElementById(tName).style;
		(tMenu.display=='none')?tMenu.display="block":tMenu.display="none";
	}
function MyMenu_on(tName)
	{
		tMenu=(document.all)?document.all(tName).style:document.getElementById(tName).style;
		(tMenu.display=='none')?tMenu.display="block":tMenu.display="block";
	}
function MyMenu_off(tName)
	{
		tMenu=(document.all)?document.all(tName).style:document.getElementById(tName).style;
		(tMenu.display=='none')?tMenu.display="none":tMenu.display="none";
	}





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_openBrWindow(theURL,winName,features)
	{	//v2.0
		window.open(theURL,winName,features);
	}


function footer_util(adrs)
	{
		window.open(adrs,"footer_util","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=800,height=720,top=0,left=0");
	}


function vv_open(adrs){
	window.open(adrs,"tools_memo_01","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=540,height=585");
}





function tools_memo_01(adrs){
	window.open(adrs,"tools_memo_01","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=470,height=470");
}

function tools_memo_move(adrs) {
	opener.location.href = adrs;
//	window.close()
}

function tools_mail_01(adrs){
	window.open(adrs,"tools_mail_01","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

function contact_01(adrs){
	window.open(adrs,"contact_01","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

function icon_01(adrs){
	window.open(adrs,"icon_01","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

function as_01(adrs){
	window.open(adrs,"as_01","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

//200001c.html
function search_job(adrs){
	window.open(adrs,"search_job","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

//200046b.html
function search_type(adrs){
	window.open(adrs,"search_type","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

//200001a.html
function search_place(adrs){
	window.open(adrs,"search_place","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

//200001f.html
function search_station(adrs){
	window.open(adrs,"search_station","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

//200046a.html
function search_post(adrs){
	window.open(adrs,"search_post","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

//200001e.html
function search_skill(adrs){
	window.open(adrs,"search_skill","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}

//200003a.html
function search_narrowing(adrs){
	window.open(adrs,"search_narrowing","toolbar=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=650,height=550");
}



// Macintosh -> MacOS
// Windows95/98/NT/2000/XP -> Windows
function getOSType()
{
	var uAgent = navigator.userAgent.toUpperCase();
	if (uAgent.indexOf("MAC") >= 0) return "MacOS";
	if (uAgent.indexOf("WIN") >= 0) return "Windows";
	return "";
}
// Netscape Navigator -> Netscape
// Internet Explorer -> Explorer
// Safari -> Safari
function getBrowserName()
{
	var aName = navigator.appName.toUpperCase();
	var uName = navigator.userAgent.toUpperCase();
	if (uName.indexOf("SAFARI") >= 0) return "Safari";
	if (aName.indexOf("NETSCAPE") >= 0) return "Netscape";
	if (aName.indexOf("MICROSOFT") >= 0) return "Explorer";
	return "";
}
function getBrowserVersion()
{
	var browser = getBrowserName();
	var version = 0;
	var s = 0;
	var e = 0;
	var appVer = navigator.appVersion;
	var uName = navigator.userAgent.toUpperCase();
	if (browser == "Safari")
	{
		version = eval(appVer.substring(0,3)) - 4;
	}
	if (browser == "Netscape")
	{
		s = appVer.indexOf(" ",0);
		version = eval(appVer.substring(0,s));
		if (version >= 5) version++;
	}
	if (browser == "Explorer")
	{
		appVer = navigator.userAgent;
		s = appVer.indexOf("MSIE ",0) + 5;
		e = appVer.indexOf(";",s);
		version = eval(appVer.substring(s,e));
	}
	return version;
}





os = getOSType();
browser = getBrowserName();
version = getBrowserVersion();
if (os == "MacOS") dirName = "common/css/mac_";
if (os == "Windows") dirName = "common/css/win_";
if (browser == "Netscape") dirName += "nn.css";
if (browser == "Explorer") dirName += "ie.css";
if (browser == "Safari") dirName += "safari.css";
// alert(dirName);
document.write("<link rel='stylesheet' href='"+dirName+"' type='text/css'>");
