/*
SwfTagWriter.js  version 1.0.7  2006/5/1

Copyright (c) 2005 Katsuyuki Sakai (http://catalase.jp/)

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

if(typeof jp == "undefined") jp = new Object();
if(typeof jp.catalase == "undefined") jp.catalase = new Object();
if(typeof jp.catalase.FlashPlayerDetector == "undefined") jp.catalase.FlashPlayerDetector = new Object();
if(typeof jp.catalase.Util == "undefined") jp.catalase.Util = new Object();

jp.catalase.Util.htmlEscape = function(str){
	return str.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
}

jp.catalase.SwfTagWriter = function(swf, id, width, height){
	this._swf = swf;
	this._id = id;
	this._width = width;
	this._height = height;
	this._requiredVer = new jp.catalase.FlashPlayerDetector.PlayerVersion(0, 0, 0);
	this._loop = "false";
	this._quality = "high";
	this._altContent = "";
	this._flashvarsAry = new Array();
	this._attrAry = new Array();
	this._paramAry = new Array();
	this._doesShowPlayerInstallMsg = false;
	this._playerInstallMsg = '<p>You have to <a href="http://www.macromedia.com/jp/shockwave/download/?P1_Prod_Version=ShockwaveFlash&amp;Lang=Japanese">install or update Flash Player</a> in order to display the content.</p>';
}
jp.catalase.SwfTagWriter.prototype.setRequiredVersion = function(){
	var major = arguments[0] ? arguments[0] : 0;
	var minor = arguments[1] ? arguments[1] : 0;
	var release = arguments[2] ? arguments[2] : 0;
	this._requiredVer = new jp.catalase.FlashPlayerDetector.PlayerVersion(major, minor, release);
}
jp.catalase.SwfTagWriter.prototype.setLoop = function(loop){
	this._loop = loop;
}
jp.catalase.SwfTagWriter.prototype.setQuality = function(quality){
	this._quality = quality;
}
jp.catalase.SwfTagWriter.prototype.setAltContent = function(altContent){
	this._altContent = altContent;
}
jp.catalase.SwfTagWriter.prototype.addFlashVars = function(key, val){
	this._flashvarsAry[key] = val;
}
jp.catalase.SwfTagWriter.prototype.addAttribute = function(key, val){
	this._attrAry[key] = val;
}
jp.catalase.SwfTagWriter.prototype.addParam = function(key, val){
	this._paramAry[key] = val;
}
jp.catalase.SwfTagWriter.prototype.doesShowPlayerInstallMsg = function(b){
	this._doesShowPlayerInstallMsg = b;
}
jp.catalase.SwfTagWriter.prototype.setPlayerInstallMsg = function(msg){
	this._playerInstallMsg = msg;
}
jp.catalase.SwfTagWriter.prototype.writeHTML = function(){
	document.write(this.getHTML());
}
jp.catalase.SwfTagWriter.prototype.setFlashDetectorSwfUrl = function(url){
	jp.catalase.FlashPlayerDetector.setFlashDetectorSwfUrl(url);
}
jp.catalase.SwfTagWriter.prototype.getFlashvars = function(){
	var tmpAry = new Array();
	var result = '';
	for(var key in this._flashvarsAry){
		var value = this._flashvarsAry[key];
		if(typeof value == 'function') continue;
		
		tmpAry=tmpAry.concat([key + "=" + jp.catalase.Util.htmlEscape(this._flashvarsAry[key])])
	}
	result = tmpAry.join('&');
	
	if(result.length>0){
		return '<param name="flashvars" value="' + result + '" />' + "\n";
	}else{
		return '';
	}
}
jp.catalase.SwfTagWriter.prototype.getParamHtml = function(){
	var result = '';
	for(var key in this._paramAry){
		var value = this._paramAry[key];
		if( (typeof value == 'function')||(key.match(/movie|loop|quality/i)) ) continue;
		
		result += '<param name="' + key + '" value="' + jp.catalase.Util.htmlEscape(value) + '" />' + "\n";
	}
	return result;
}
jp.catalase.SwfTagWriter.prototype.getHTML = function(){
	var agt = navigator.userAgent.toLowerCase();
	var result = '';
	
	//Check if browser is Windows IE
	if( (agt.indexOf("msie") != -1) && (agt.indexOf("win")!=-1) && (agt.indexOf("opera") == -1) ){
		//Windows IE
		
		//Check if FlashPlayer isn't available or it meets requirements.
		if( !jp.catalase.FlashPlayerDetector.isFlashPlayerAvailable() || jp.catalase.FlashPlayerDetector.getFlashPlayerVersion().doesMeetRequirements(this._requiredVer) ){
			//We can write object tag whether Flash Player is available or not. Because Windows IE can automatically install Flash Player.
			
			result += '<object ';
			result += 'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
			result += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#' + this._requiredVer.toString() + '" ';
			result += 'width="' + this._width + '" ';
			result += 'height="' + this._height + '" ';
			result += 'id="' + this._id + '" ';
			
			for(var key in this._attrAry){
				var value = this._attrAry[key];
				if(typeof value == 'function') continue;
				
				result += key + '="' + jp.catalase.Util.htmlEscape(this._attrAry[key]) + '" ';
			}
			
			result += '>' + "\n";
			
			result += '<param name="movie" value="' + this._swf + '" />' + "\n";
			result += '<param name="loop" value="' + this._loop + '" />' + "\n";
			result += '<param name="quality" value="' + this._quality + '" />' + "\n";
			
			result += this.getParamHtml();
			
			result += this.getFlashvars();
			
			result += this._altContent;
			
			result += '</object>' + "\n";
		}else{
			//Flash player is available but it doesn't meet requirements.
			
			//Display alternative contents if available
			result += this._altContent;
			
			//Display player install message if needed
			if(this._doesShowPlayerInstallMsg){
				result += this._playerInstallMsg;
			}
		}
	}else{
		//All but Windows IE
		
		//Check if FlashPlayer is available
		if(jp.catalase.FlashPlayerDetector.isFlashPlayerAvailable()){
			
			//We have to check if FlashPlayer's version meets required version.
			if(jp.catalase.FlashPlayerDetector.getFlashPlayerVersion().doesMeetRequirements(this._requiredVer)){
				result += '<object ';
				result += 'type="application/x-shockwave-flash" ';
				result += 'data="' + this._swf + '" ';
				result += 'width="' + this._width + '" ';
				result += 'height="' + this._height + '" ';
				result += 'id="' + this._id + '" ';
				
				for(var key in this._attrAry){
					var value = this._attrAry[key];
					if(typeof value == 'function') continue;
					
					result += key + '="' + jp.catalase.Util.htmlEscape(this._attrAry[key]) + '" ';
				}
				
				result += '>' + "\n";
				
				result += '<param name="movie" value="' + this._swf + '" />' + "\n";
				result += '<param name="loop" value="' + this._loop + '" />' + "\n";
				result += '<param name="quality" value="' + this._quality + '" />' + "\n";
				
				result += this.getParamHtml();
				
				result += this.getFlashvars();
				
				if( !((agt.indexOf('mozilla')!=-1) && (parseInt(navigator.appVersion)==4)) ){
					//Netscape 4 displays both object tag contents and alternative contents. So we have to avoid including alternative contents.
					result += this._altContent;
				}
				
				result += '</object>' + "\n";	
			}else{
				//Installed Flash Player's version doesn't meet requirements.
				
				//Display alternative contents if available
				result += this._altContent;
				
				//Display player install message if needed
				if(this._doesShowPlayerInstallMsg){
					result += this._playerInstallMsg;
				}
			}
		}else{
			//Flash Player is not available.
			
			//Display alternative contents if available
			result += this._altContent;
			
			//Display player install message if needed
			if(this._doesShowPlayerInstallMsg){
				result += this._playerInstallMsg;
			}
		}
	}
	
	return result;
}

jp.catalase.FlashPlayerDetector.isFlashPlayerAvailable = function(){
	var result = false;
	if(navigator.plugins && navigator.mimeTypes.length>0 && navigator.plugins["Shockwave Flash"]){
		result = true;
	}else if(window.ActiveXObject){
		/*@cc_on
		@if(@_jscript_version >= 5.0)
		try{
			var player = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
			result = true;
		} catch (e) {}
		@end @*/
	}
	return result;
}
jp.catalase.FlashPlayerDetector.setFlashDetectorSwfUrl = function(url){
	jp.catalase.FlashPlayerDetector._flashDetectorSwfUrl = url;
}
jp.catalase.FlashPlayerDetector.getFlashPlayerVersion = function(){
	var result = new jp.catalase.FlashPlayerDetector.PlayerVersion(0, 0, 0);
	
	if(jp.catalase.FlashPlayerDetector.isFlashPlayerAvailable()){
		if(navigator.plugins && navigator.mimeTypes.length>0 && navigator.plugins["Shockwave Flash"]){
			var player = navigator.plugins["Shockwave Flash"];
			var desc = player.description;
			var versionRex = /([0-9]+)\.([0-9]+)\s+r([0-9]+)/;
			if(desc.match(versionRex)!=null){
				result = new jp.catalase.FlashPlayerDetector.PlayerVersion(RegExp.$1, RegExp.$2, RegExp.$3);
			}
		}else if(window.ActiveXObject){
			/*@cc_on
			@if(@_jscript_version >= 5.0)
			try{
				var player = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
				var major = Math.floor(player.FlashVersion()/ 0x10000);
				var minor = player.FlashVersion()% 0x10000;
				result = new jp.catalase.FlashPlayerDetector.PlayerVersion(major, minor, 0);
				
				if( (major<7) && (jp.catalase.FlashPlayerDetector._flashDetectorSwfUrl) && (jp.catalase.FlashPlayerDetector._flashDetectorSwfUrl.length>0) ){
					//We have to insert 1x1px small swf to get the variable named $version if player's major version is below 7. Because the player isn't ready to access the variable when no swf is loaded. If we force to access the variable, browser stops running script.
					if(!document.getElementById("jp_catalase_FlashDetector_util_EmbedSwf")){
						document.write('<div id="jp_catalase_FlashDetector_util_EmbedDiv" style="position:absolute; top:-10px; left:-10px; width:1px; height:1px; z-index:1;">');
						document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1" height="1" id="jp_catalase_FlashDetector_util_EmbedSwf">');
						document.write('<param name="movie" value="', jp.catalase.FlashPlayerDetector._flashDetectorSwfUrl, '">');
						document.write('</object>');
						document.write('</div>');
					}
					player = document.getElementById("jp_catalase_FlashDetector_util_EmbedSwf");
				}
				
				if( (major>=7) || document.getElementById("jp_catalase_FlashDetector_util_EmbedSwf") ){				
					var verStr = player.GetVariable("$version");
					var versionRex = /([0-9]+),([0-9]+),([0-9]+)/;
					if(verStr.match(versionRex)!=null){
						result = new jp.catalase.FlashPlayerDetector.PlayerVersion(RegExp.$1, RegExp.$2, RegExp.$3);
					}
				}
			} catch (e) {}
			@end @*/
		}
	}
	return result;
}

jp.catalase.FlashPlayerDetector.PlayerVersion = function(major, minor, release){
	this._major = parseInt(major);
	this._minor = parseInt(minor);
	this._release = parseInt(release);
}
jp.catalase.FlashPlayerDetector.PlayerVersion.prototype.doesMeetRequirements = function(requiredVer){
	if(this._major < requiredVer._major) return false;
	if(this._major > requiredVer._major) return true;
	if(this._minor < requiredVer._minor) return false;
	if(this._minor > requiredVer._minor) return true;
	if(this._release < requiredVer._release) return false;
	if(this._release > requiredVer._release) return true;
	return true;
}
jp.catalase.FlashPlayerDetector.PlayerVersion.prototype.toString = function(){
	return this._major + "," + this._minor + "," + this._release + ",0";
}

<!---------------------------------------------------------------------------------------------------->
function glPhtX(url){
	window.open(url,'glWinX','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=620,height=420');
}
function glPhtY(url){
	window.open(url,'glWinY','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=420,height=620');
}
function clickChange(imageNum){
	document.myImage.src=imageNum;
}

function enlargeImage(image) {
	if(image) window.open('' + image, "sub", "width=420,height=300");
}
<!---------------------------------------------------------------------------------------------------->

function ThumbOn(x){ 
	obj=document.getElementById("thumb_name"+x+"a").style.visibility="hidden";
	obj=document.getElementById("thumb_name"+x+"b").style.visibility="visible";
}

function ThumbOff(x){ 
	obj=document.getElementById("thumb_name"+x+"a").style.visibility="visible";
	obj=document.getElementById("thumb_name"+x+"b").style.visibility="hidden"; 
}

<!---------------------------------------------------------------------------------------------------->

// オンマウスで透明度を変更する
function chAlp(img, alpha) {
  document.images[img].filters['alpha'].opacity = alpha;
}

function newscreen(window_no){
if(window_no==0)
window.open("","imfscreen0","width=817,height=600,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes");
    }



<!-----▼winOpen▼----->

 function winOpen(winName,url,W,H){
  var WinD11=window.open(url,winName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width='+W+',height='+H+'');
  }

function winOpen0(winName,url,W,H){
  var WinD11=window.open(url,winName,'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width='+W+',height='+H+'');
  }

<!-----▲winOpen▲----->



<!-----▼setSize▼----->
function setSize()
{
	NS    = navigator.appName.charAt(0) == "N";
	MAC   = navigator.userAgent.toUpperCase().indexOf("MAC") >= 0;
	WIN   = navigator.userAgent.toUpperCase().indexOf("WIN") >= 0;

	w = document.myImage.width;
	h = document.myImage.height;

	if ( MAC && !NS) { w += 16; h += 20; }
	if ( WIN && !NS) { w += 40; h += 60; }
	if ( MAC &&  NS) { w += 20; h += 20; }
	if ( WIN &&  NS) { w += 20; h += 20; }
	if (!MAC && !WIN && NS) { w += 20; h += 20; }
	
	resizeTo(w,h);
}
<!-----▲setSize▲----->

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}


function preloadImages() {
	if (document.images) {
		enter_exit_01_over = newImage("images/enter_exit_01-over.gif");
		enter_exit_02_over = newImage("images/enter_exit_02-over.gif");
		preloadFlag = true;
	}
}

<!--menu-->
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}



/*====================================================================
 * Flash用 EMBEDとOBJECTタグを書き出す関数2          useFree
 *--------------------------------------------------------------------
 * http://allabout.co.jp/computer/javascript/closeup/CU20031226/
 */

function writeFlashHTML2( arg )
{
  
  /**
   * 引数から属性を抽出する
   */
   
  var parm = []
  
  //すべての引数を順番に
  for( i = 0 ; i < arguments.length ; i++ )
  {
    //属性名と属性値をあらわす文字列を配列parmへセットする(半角空白は除去)
    parm[i] = arguments[i].split(' ').join('').split('=')
    
    //有効な属性名があれば属性値で変数化( 無効な名前は無視 )
    switch (parm[i][0])
    {
      case '_swf'     : var _swf     = parm[i][1] ; break ; // フラッシュのURL
      case '_quality' : var _quality = parm[i][1] ; break ; // 画質
      case '_loop'    : var _loop    = parm[i][1] ; break ; // 繰り返し
      case '_bgcolor' : var _bgcolor = parm[i][1] ; break ; // 背景色
      case '_wmode'   : var _wmode   = parm[i][1] ; break ; // 背景透明(WinIEのみ)
      case '_play'    : var _play    = parm[i][1] ; break ; // 自動再生
      case '_menu'    : var _menu    = parm[i][1] ; break ; // 右クリックメニュー
      case '_scale'   : var _scale   = parm[i][1] ; break ; // 幅高さが%の時の縦横比等
      case '_salign'  : var _salign  = parm[i][1] ; break ; // 表示領域内表示位置
      case '_height'  : var _height  = parm[i][1] ; break ; // ムービーの高さ
      case '_width'   : var _width   = parm[i][1] ; break ; // ムービーの幅
      case '_hspace'  : var _hspace  = parm[i][1] ; break ; // まわりの余白(水平方向)
      case '_vspace'  : var _vspace  = parm[i][1] ; break ; // まわりの余白(垂直方向)
      case '_align'   : var _align   = parm[i][1] ; break ; // 表示位置
      case '_class'   : var _class   = parm[i][1] ; break ; // クラス
      case '_id'      : var _id      = parm[i][1] ; break ; // ID名
      case '_name'    : var _name    = parm[i][1] ; break ; // ムービー名
      case '_style'   : var _style   = parm[i][1] ; break ; // スタイル
      case '_declare' : var _declare = parm[i][1] ; break ; // 読み込まれるだけで実行しない
      default        :;
    }
  }
  

  // タグ用文字列生成
  var htm = ""
  
  htm+="<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'"
  htm+="        codebase='http://download.macromedia.com/pub/shockwave/"
                    htm+="cabs/flash/swflash.cab'"
  if(!!_width)   htm+="        width    = '" + _width   + "'"
  if(!!_height)  htm+="        height   = '" + _height  + "'"
  if(!!_hspace)  htm+="        hspace   = '" + _hspace  + "'"
  if(!!_vspace)  htm+="        vspace   = '" + _vspace  + "'"
  if(!!_align)   htm+="        align    = '" + _align   + "'"
  if(!!_class)   htm+="        class    = '" + _class   + "'"
  if(!!_id)      htm+="        id       = '" + _id      + "'"
  if(!!_name)    htm+="        name     = '" + _name    + "'"
  if(!!_style)   htm+="        style    = '" + _style   + "'"
  if(!!_declare) htm+="                    " + _declare  
  htm+=">"
  if(!!_swf)     htm+="<param  name     = 'movie'   value ='" + _swf     + "'>"
  if(!!_quality) htm+="<param  name     = 'quality' value ='" + _quality + "'>"
  if(!!_loop)    htm+="<param  name     = 'loop'    value ='" + _loop    + "'>"
  if(!!_bgcolor) htm+="<param  name     = 'bgcolor' value ='" + _bgcolor + "'>"
  if(!!_play)    htm+="<param  name     = 'play'    value ='" + _play    + "'>"
  if(!!_menu)    htm+="<param  name     = 'menu'    value ='" + _menu    + "'>"
  if(!!_scale)   htm+="<param  name     = 'scale'   value ='" + _scale   + "'>"
  if(!!_salign)  htm+="<param  name     = 'salign'  value ='" + _salign  + "'>"
  if(!!_wmode)   htm+="<param  name     = 'wmode'   value ='" + _wmode   + "'>"
  htm+=""
  htm+="<embed                          "
  htm+="        pluginspage='http://www.macromedia.com/go/getflashplayer'"
  if(!!_width)   htm+="        width    = '" + _width   + "'"
  if(!!_height)  htm+="        height   = '" + _height  + "'"
  if(!!_hspace)  htm+="        hspace   = '" + _hspace  + "'"
  if(!!_vspace)  htm+="        vspace   = '" + _vspace  + "'"
  if(!!_align)   htm+="        align    = '" + _align   + "'"
  if(!!_class)   htm+="        class    = '" + _class   + "'"
  if(!!_id)      htm+="        id       = '" + _id      + "'"
  if(!!_name)    htm+="        name     = '" + _name    + "'"
  if(!!_style)   htm+="        style    = '" + _style   + "'"
  htm+="        type     = 'application/x-shockwave-flash' "
  if(!!_declare) htm+="                    " + _declare  
  if(!!_swf)     htm+="        src      = '" + _swf     + "'"
  if(!!_quality) htm+="        quality  = '" + _quality + "'"
  if(!!_loop)    htm+="        loop     = '" + _loop    + "'"
  if(!!_bgcolor) htm+="        bgcolor  = '" + _bgcolor + "'"
  if(!!_play)    htm+="        play     = '" + _play    + "'"
  if(!!_menu)    htm+="        menu     = '" + _menu    + "'"
  if(!!_scale)   htm+="        scale    = '" + _scale   + "'"
  if(!!_salign)  htm+="        salign   = '" + _salign  + "'"
  htm+="></embed>"
  htm+="</object>"

  //書き出し処理
  document.write(htm)
  
}

function subwindow_open(newurl){subwin=window.open(newurl,'newwin','width=650,height=450,RESIZABLE=no,SCROLLBARS=no,TOOLBAR=no');/*subwin.focus();*/}
function subwindow_open2(newurl){subwin=window.open(newurl,'newwin2','width=655,height=450,RESIZABLE=yes,SCROLLBARS=yes,TOOLBAR=no');/*subwin.focus();*/}
function subwindow_open3(newurl){subwin=window.open(newurl,'newwin','width=660,height=500,RESIZABLE=yes,SCROLLBARS=yes,TOOLBAR=no');/*subwin.focus();*/}
function subwindow_open4(newurl){subwin=window.open(newurl,'newwin','width=800,height=500,RESIZABLE=yes,SCROLLBARS=yes,TOOLBAR=no');/*subwin.focus();*/}
