
// ターゲット任意指定のダイアログを開く
function openDialog(className,width,height,url,target,closeCallback) {
	if (target == ''){
		target = 'sample';
	}
	if (!closeCallback){
		closeCallback = null;
	}
	var win = new Window(target, {
		className:			className,
		blurClassName:		null,
		minWidth:			100, 
		minHeight:			20,
		resizable:			true,
		closable:			true,
		minimizable:		true,
		maximizable:		true,
		draggable:			true,
		userData:			null,
		showEffect:			Element.show,
		hideEffect:			Element.hide,
		showEffectOptions:	{},
		hideEffectOptions:	{},
		effectOptions:		null,
		parent:				document.body,
		title:				'',
		onload:				Prototype.emptyFunction,
		width:				width,
		height:				height,
		opacity:			1,
		recenterAuto:		false,
		wiredDrag:			false,
		closeCallback:		closeCallback,
		destroyOnClose:		true,
		gridX:				1, 
		gridY:				1,
		top:				0,
		left:				0,
		url:				url
	});
	win.showCenter(true);
}

