// Style Select ---------------------- START ------------------------

var stylesheet ="";
var brVersion = navigator.appVersion.charAt(0);

if (navigator.platform == "Win32") {
	if ((navigator.appName == "Microsoft Internet Explorer") && (brVersion >=4)) {
		stylesheet = "win";
	} else if(navigator.appName == "Netscape") {
		stylesheet = "win";
	}
} else if (navigator.platform == "MacPPC") {
	if(navigator.appName == "Netscape"){
		stylesheet = "mac";
	} else if(navigator.appName == "Microsoft Internet Explorer") {
		stylesheet = "mac";
	}
}


function styleSetL0() {
	if(stylesheet != ""){
		document.write('<link rel="stylesheet" type="text/css" href="http://www.orix.co.jp/ore/css/textsets_'+stylesheet+'.css">');
	}
}

function styleSetL1() {
	if(stylesheet != ""){
		document.write('<link rel="stylesheet" type="text/css" href="http://www.orix.co.jp/ore/css/textsets_'+stylesheet+'.css">');
	}
}


// Style Select ---------------------- END ------------------------




// Active Contents ---------------------- START ------------------------

// HTML内から下記のフォーマットで呼び出す
// RunActObj("XXX.swf","幅","高さ","ID","背景色");

function RunActObj(fFile,fW,fH,fID,fBg) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width='+fW+' height='+fH+' id='+fID+'>');
	document.write('<param name=movie value='+fFile+'>');
	document.write('<param name=quality value=high>');
	document.write('<param name=bgcolor value='+fBg+'>');
	document.write('<embed src='+fFile+' quality=high bgcolor='+fBg+' width='+fW+' height='+fH+' name='+fID+' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer">');
	document.write('</embed>\n</object>');
}

// Active Contents ---------------------- END ------------------------



