
var pMasterDir = "libs/flashLibs/"

/**ウィンドのオープン処理*/
function fsOpenWin(xStr){
	var xOption = "resizable=no,scrollbars=no,menubar=no,directories=no,status=no,location=no,width=990,height=700";
	pTracerwin=window.open(xStr, "OrderCustmize",xOption);
	pTracerwin.focus();
}

function exTrace(xStr){
	//
}

/*----------------------------------------------------*/

/**オプションVersの設定*/
function addExVers(xTgObj){
	var xExArgs = getParamArgs();
	if(xExArgs){
		for (var i in xExArgs){
			xTgObj[i] = xExArgs[i];
		}
	}
	if(xTgObj["ext"] == "on"){
		pDebagMode = true;
	}
}

/*----------------------------------------------------*/

/**ページ閉じる*/
function exitContent(){
	window.close();
}

/*----------------------------------------------------*/

/**LightBoxによる画像表示*/
//alert(Lightbox);

function selectBanner(xImgPath){
	var xCaption = "";
	//alert(xImgPath);
	
   var xLinkObj = document.createElement('a');
   xLinkObj.setAttribute('href',xImgPath);
   xLinkObj.setAttribute('rel','lightbox');
   xLinkObj.setAttribute('title',"tumbs");
   Lightbox.prototype.start(xLinkObj);
}


/**thickbox*/
var tb_pathToImage = "libs/thickbox31/loadingAnimation.gif";

function selectBanner(xImgPath){
	var xCaption = "";
	tb_show('',xImgPath);
}


function fsEndAction(xHref){
	opener.location.href= xHref;
	window.close();
}
