
var plats = navigator.platform;
var bName = navigator.appName.charAt(0);
var bVers = navigator.appVersion.charAt(0);
var bPath ="";

if(plats == "Win32"){
if((bName == "N") && (bVers >= 4)){
bPath = "css/win_nc";
} else if((bName == "M") && (bVers >= 4)) {
bPath = "css/win_ie";
}
} else if(plats == "MacPPC"){
if((bName == "N") && (bVers >= 4)){
bPath = "css/mac_nc";
} else if((bName == "M") && (bVers >= 4)) {
bPath = "css/mac_ie";
}
}

if(bPath != ""){
document.write('<' + 'LINK REL="StyleSheet" TYPE="text/css" HREF="' + bPath + '.css"' + '>');
}

var w = window;
function openWin(url) {
 if ((w == window) || w.closed) {
w = open(url, "_blank", "menubar=no,toolbar=no,scrollbars=yes,width=500,height=350");
 } else {
w.location.href = url
w.focus('syousai_win');
 }
 return(false);
}

function MM_reloadPage(init) {//reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}

function Jump2()
{
	sampleURL = new Array();
 sampleURL[0] = "javascript:void(0)";
 sampleURL[1] = "javascript:void(0)";
 sampleURL[2] = "javascript:void(0)";
	urls = 3;		
	num = Math.floor(Math.random() * urls );
	document.write("<A HREF='"+sampleURL[num]+"'>");
	document.write("<IMG SRC='"+num+".jpg' BORDER='0'></A>");
}