var vNum = navigator.appVersion.charAt(0);
var bName = navigator.appName.charAt(0);
document.writeln("<STYLE TYPE='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1)
{
if( bName == "M")
{
// MAC IE
document.writeln(".j9{font-size:9px; line-height:12px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j10{font-Size:10px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック';}"); 
document.writeln(".j12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j14{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j18{font-Size:18px; line-height:24px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".form10{font-Size:10px;;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".form12{font-Size:12px;;font-family:Osaka,'ＭＳ ゴシック';}");
}
else
{
if( vNum < 5 )
{
// MAC NETSCAPE 4.x
document.writeln(".j9{font-size:9px; line-height:12px;font-family:Osaka;}");
document.writeln(".j10{font-Size:10px; line-height:14px;font-family:Osaka;}"); 
document.writeln(".j12{font-Size:12px; line-height:18px;font-family:Osaka;}");
document.writeln(".j14{font-Size:14px; line-height:20px;font-family:Osaka;}");
document.writeln(".j18{font-Size:18px; line-height:24px;font-family:Osaka;}");
document.writeln(".form10{font-Size:10px;font-family:Osaka;}");
document.writeln(".form12{font-Size:12px;font-family:Osaka;}");
}
else
{
// MAC NETSCAPE 6.x~
document.writeln(".j9{font-size:9px; line-height:12px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j10{font-Size:10px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック';}"); 
document.writeln(".j12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j14{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j18{font-Size:18px; line-height:24px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".form10{font-Size:10px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".form12{font-Size:12px;font-family:Osaka,'ＭＳ ゴシック';}");
}
}
}
else
{
if( bName == "M")
{
// WIN IE
document.writeln(".j9{font-size:9px; line-height:12px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j10{font-Size:10px; line-height:14px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j12{font-Size:12px; line-height:18px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j14{font-Size:14px; line-height:20px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".j18{font-Size:18px; line-height:24px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".form10{font-Size:10px;font-family:Osaka,'ＭＳ ゴシック';}");
document.writeln(".form12{font-Size:12px;font-family:Osaka,'ＭＳ ゴシック';}");
}
else
{
if( vNum < 5 )
{
// WIN NETSCAPE 4.x
document.writeln(".j9{font-size:10px; line-height:12px;letter-spacing:1px;}");
document.writeln(".j10{font-Size:11px; line-height:14px;letter-spacing:1px;}");
document.writeln(".j12{font-Size:13px; line-height:18px;letter-spacing:1px;}");
document.writeln(".j14{font-Size:15px; line-height:20px;letter-spacing:1px;}");
document.writeln(".j18{font-Size:19px; line-height:24px;letter-spacing:1px;}");
document.writeln(".form10{font-Size:11px;letter-spacing:1px;}");
document.writeln(".form12{font-Size:13px;letter-spacing:1px;}");
}
else
{
// WIN NETSCAPE 6.x~
document.writeln(".j9{font-size:10px;line-height:12px;font-family:Osaka,'ＭＳ ゴシック';letter-spacing:1px;}");
document.writeln(".j10{font-Size:11px;  line-height:14px;font-family:Osaka,'ＭＳ ゴシック';letter-spacing:1px;}");
document.writeln(".j12{font-Size:13px;line-height:18px;font-family:Osaka,'ＭＳ ゴシック';letter-spacing:1px;}");
document.writeln(".j14{font-Size:15px;line-height:20px;font-family:Osaka,'ＭＳ ゴシック';letter-spacing:1px;}");
document.writeln(".j18{font-Size:19px;line-height:24px;font-family:Osaka,'ＭＳ ゴシック';letter-spacing:1px;}");
document.writeln(".form10{font-Size:11px;font-family:Osaka,'ＭＳ ゴシック';letter-spacing:1px;}");
document.writeln(".form12{font-Size:13px;font-family:Osaka,'ＭＳ ゴシック';letter-spacing:1px;}");
}
}
}
document.writeln("--></STYLE>");


<!--
var meg="不正ダウンロード防止のために右クリックを禁止しています。";
//megの部分が右クリックされたときのコメントになります。
//著作 素材共同組合「かげ」
function Mclick(migi) {
if (document.layers || (document.getElementById && !document.all)) {
if(migi.which==2 || migi.which==3) {
alert(meg);
return false;
}
}
}

function Husei() {
if (document.all) {
alert(meg);
return false;
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=Mclick;
}else{
document.onmouseup=Mclick;
document.oncontextmenu=Husei;
}
// --> 
