/*function initWindow() {
	showWindow();
	alert ("テスト");
}*/

/*if (isMac && os != "MacOSX") {
		alert ("MacOSX以外です");
}*/

function initWindow() {
	if (isMacIE || ( isMac && os != "MacOSX")) {
		//alert ("MacOSX以外です");
		popUpWindow();
		//popUpWindow2b();
	} else {
		//alert ("テスト");
		showWindow();
		//showWindow1b();
	}
}

function showWindow() {
	win01 = new Window("win01",{
		className : "alphacube",
		title : "お知らせ",
		url : "pwc_window/text.html",
		top : 10,
		top : 5,
		left : 20,
		left : 10,
		width : 598,
		width : 802,
		width : 284,
		width : 497,
		width : 452,
		width : 286,
		height : 280,
		height : 519,
		height : 587,
		height : 331,
		height : 72,
		height : 453,
		height : 597,
		destroyOnClose : true
	});	
	win01.show();
	win01.toFront(); 
}

function showWindow1b() {
	win01b = new Window("win01b",{
		className : "alphacube",
		title : "お知らせ",
		url : "pwc_window/text1b.html",
		top : 10,
		//left : 520,
		right : 20,
		width : 532,
		//height : 464,
		height : 267,
		destroyOnClose : true
	});	
	win01b.show();
	win01b.toFront(); 
}

function popUpWindow() {
	theURL   = "pwc_window/text2.html"; 
	winName = "win01";
	//features  = "width=800,height=554,scrollbars=no,resizable=yes";
	//features  = "width=282,height=622,scrollbars=no,resizable=yes";
	//features  = "width=495,height=366,scrollbars=no,resizable=yes";
	//features  = "width=495,height=107,scrollbars=no,resizable=yes";
	//features  = "width=450,height=488,scrollbars=no,resizable=yes";
	features  = "width=284,height=628,scrollbars=no,resizable=yes";
	window.open(theURL,winName,features);
}

function popUpWindow2b() {
	theURL   = "pwc_window/text2b.html"; 
	winName = "win01";
	features  = "width=354,height=358,scrollbars=no,resizable=yes";
	window.open(theURL,winName,features);
}

//Event.observe(window, "load", initWindow);

