";
}else{
SWFmsg =""
+""
+" ";
}
return SWFmsg;
}
var childMediaWidth, childMediaHeight;
var childMediaURL;
function openWnd(aW, aH, aURL, aPW, aPH)
{
childMediaWidth = aW;
childMediaHeight = aH;
childMediaURL = aURL;
if(navigator.platform == "Win32"){
if(navigator.appName == "Microsoft Internet Explorer"){
popL = window.screenLeft+aPW+2;
popT = window.screenTop+aPH+3;
}else{
popL = window.screenX+aPW+4;
popT = window.screenY+aPH+30;
}
}else if(navigator.platform == "MacPPC"){
if(navigator.appName == "Microsoft Internet Explorer"){
popL = window.screenLeft+aPW;
popT = window.screenTop+aPH;
}else{
popL = window.screenX+aPW;
popT = window.screenY+aPH+24;
}
}else{
popL = window.screenX+aPW;
popT = window.screenY+aPH+24;
}
vLeft = (screen.width-1024)/2;
eval("movieWin = window.open('MediaViewer.htm','MediaViewer','scrollbars=no,resizable=yes,width="+aW+",height="+aH+",left="+popL+",top="+popT+"')");
if(movieWin)
movieWin.focus();
}
var oBodyW, oBodyH;
var oWinW, oWinH;
function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }
function setTitle3(arg)
{}
function FV_alert()
{
alert('Flash Player 7以降が必要となります。\n\r マクロメディアホームページで最新バージョンをダウンロードしてください。');
}
function No_Link()
{
if(ViewerSwf=="jp"){
alert('URLが設定されていません。');
}else{
alert('The URL can be found.');
}
}
function setWinValues()
{
oBodyW = document.body.clientWidth;
oBodyH = document.body.clientHeight;
oWinW = 0;
if(navigator.appVersion.indexOf("NT 5."))
{
oWinH = 30;
}
else
{
oWinH = 24;
}
}
function blockResize(aRatio)
{
var oRatio = parseFloat(aRatio/100);
var oWidth = parseFloat(oBodyW)*oRatio;
var oHeight = parseFloat(oBodyH)*oRatio;
if(getWinSize()<=oRatio)
{
window.resizeTo(oWidth+oWinW,oHeight+oWinH);
}
else
return;
}
function getWinSize()
{
var tmpW = document.body.clientWidth/oBodyW;
var tmpH = document.body.clientHeight/oBodyH;
if(tmpH <= tmpW)
return tmpH;
else
return tmpW;
}
function winclose()
{
self.close();
}
function openhelp()
{
var helpHtml = "../data/help/help_f_en.html#top";
if(ViewerSwf=="jp")
helpHtml = "../data/help/help_f_jp.html#top";
window.open(helpHtml,'help','scrollbars=yes,resizable=yes,width=350,height=340');
}
function operare()
{
if(navigator.platform == "MacPPC" && chagt.indexOf("opera 7") != -1)
window.resizeTo(1014,722);
}