/*
 *
 * 画像拡大縮小処理
 *width
 *
 */
	function changeImgSize( oImg, pWidth)
	{
		var w = oImg.width;

		if (w > pWidth) {
			oImg.width = pWidth;
		}else {
			oImg.width = w;
		}
	}


/*
 *
 * 画像拡大縮小処理
 * height
 * width
 *
 */
	function cngImgSize( oImg, pWidth)
	{
		var vKizonHeight = oImg.height;
		var vKizonWidth  = oImg.width;

		var vHiritsuWidth = pWidth / vKizonWidth;

		var vSetHeight = vKizonHeight * vHiritsuWidth;
		var vSetWidth  = pWidth;

		oImg.height = vSetHeight;
		oImg.width  = vSetWidth;
	}


/*
 *
 * POP UP
 *
 */
	function popUpMap(action,popWidth,popHeight)
	{
		SubWindow=window.open(action,"isizejjmap","width="+popWidth+",height="+popHeight+",toolbar=0,location=0,status=0,menubar=1,scrollbars=1,resizable=1");
		SubWindow.focus();
	}

	function showTips(nm){
	  var style=document.getElementById?
	              document.getElementById(nm).style:(
	                document.all?document.all(nm).style:(
	                  document.layers?document.layers[nm]:null
	                  )
	              );
	  if(style) style.visibility='inherit';
	}

	function hideTips(nm){
	  var style=document.getElementById?
	              document.getElementById(nm).style:(
	                document.all?document.all(nm).style:(
	                  document.layers?document.layers[nm]:null
	                  )
	              );
	  if(style) style.visibility='hidden';
	}
/*
 *
 * PULLDOWN LINK
 *
 */
	function pullDownLink(){

    var index = document.windowChenge.propertypage.selectedIndex;
    var url = document.windowChenge.propertypage.options[index].value;

    if (url!="-"){
		SubWindow = window.open(url, "");
		SubWindow.focus();
    }
}
function norikaePop(formName) {
		var SubWindow=window.open("about:blank", "compinfo", "width=600, height=550, toolbar=1, location=0, status=0, menubar=1, scrollbars=1, resizable=1");
		SubWindow.focus();
		document.forms[formName].submit();
	}
