/* Pop Up */
function Popup01(Link,WinTarget,breite,hoehe) { 
if (!!window && Link) { 
var iMyWidth = (window.screen.width/2) - (breite/2 + 10); 
var iMyHeight = (window.screen.height/2) - (hoehe/2 + 50); 
var winPopup = window.open(Link ,WinTarget,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,favorites=no,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight); 
winPopup.focus(); 
	}
}


function Popup02(Link,WinTarget,breite,hoehe) { 
if (!!window && Link) { 
var iMyWidth = (window.screen.width/2) - (breite/2 + 10); 
var iMyHeight = (window.screen.height/2) - (hoehe/2 + 50); 
var winPopup = window.open(Link ,WinTarget,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,favorites=no,width=" + breite + ",height=" + hoehe + ",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight); 
winPopup.focus(); 
	}
}


function openFullScreen(Link,WinTarget) {
	if (!!window && Link) {
	var FullWidth = screen.availWidth;
	var FullHeight = screen.availHeight;
	var XPosition = 0;
	var YPosition = 0;
	var winPopup = window.open(Link ,WinTarget,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,favorites=no,width=" + FullWidth + ",height=" + FullHeight + ",left=" + XPosition + ",top=" + YPosition + ",screenX=" + XPosition + ",screenY=" + YPosition);
	winPopup.focus();
	}
}


/* Print */
function printscreen() {
app = navigator.appName.charAt(0);
if ((navigator.appVersion.indexOf('Mac',0) != -1) && (app == "M")) {    //macでIEの場合
	alert('お使いのブラウザではこの機能は利用できません。');
} else {
	print();
}
}


