//Swf Reader
function SWF( _id, _w, _h, _file ){
	var _id; var _w; var _h; var _xmlfile;
	if( _file ){ var _xmlfile = '?XMLfile=' + _file; }
	var _url = 'http://www.shu2.net/module/swf/' + _id + '.swf' + _xmlfile;
	var _swf = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="' + _w + '" height="' + _h + '" id="' + _id + '" align="middle">'
					 + '<param name="allowScriptAccess" value="sameDomain" /><param name="loop" value="false" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />'
					 + '<param name="movie" value="' + _url + '" />'
					 + '<embed src="' + _url + '" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="' + _w + '" height="' + _h + '" name="' + _id + '" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
					 + '</object>';
	document.write( _swf );
}


function swo( _docs, _type ){
	var _type; var _size; var _docs; var _newwin;
	var _w_ = 420;
	var _h_ = 540;
	if( _type == 'full' ){ 
		_size = 'resizable=1'; 
		_full = 1; 
	}else{ 
		_size = 'width=' + _w_ + ', height=' + _h_ ; 
		_full = 0;
	}
	var _st = _size + ',scrollbars=1';
	_newwin = window.open( _docs, _type, _st);
	_newwin.focus();
}

function swc(){ window.close() }

function subwin_mover( _path ){
	var _path;
	window.opener.location = _path;
	window.self.close();
}


function OpenComments (c,t,w,h) {
    window.open(c,t,'width=' + w + ',height=' + h + ',scrollbars=yes,resizable=yes,status=yes');
}