\n');
}
function gen_flash() {
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js. In Flash, run \"Apply Active Content Update\" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
'id', 'BACKGROUND',
'width', '100%',
'height', '100%',
'src', 'BACKGROUND.swf',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'bgcolor', '#ffffff',
'name', 'BACKGROUND',
'menu', 'false',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'BACKGROUND',
'salign', '',
'flashvars','AICC_SID='+ MM_SID + "&AICC_URL="+aurl
//'flashvars','aicc_url=' + aurl
); //end AC code
// AC_FL_RunContent(
// 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
// 'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
// 'id', 'BACKGROUND',
// 'src', 'background?aicc_sid='+MM_SID+'&aicc_url='+aurl,
// 'quality', 'high',
// 'pluginspage', 'https://www.macromedia.com/go/getflashplayer',
// 'play', 'true',
// 'loop', 'true',
// 'scale', 'showall',
// 'width', '100%',
// 'height', '100%',
// 'devicefont', 'false',
// 'bgcolor', '#ffffff',
// 'menu', 'false',
// 'allowScriptAccess','sameDomain',
// 'movie', 'background?aicc_sid='+MM_SID+'&aicc_url='+aurl,
// 'class', '',
// //'FlashVars','aicc_sid = 001',
// 'salign', ''
// ); //end AC code
}
}
function get_aicc_data() {
// testing work for IE and chrome
//aicc_data = parent.window.frames[1].document.firstChild.innerText;
// work for IE
//aicc_data = $(window.parent.frames[1].document).find('body').text();
aicc_data = $(window.parent.frames[1].document).find('body').text();
for (i= 0; i<500; i++) {
aicc_data = aicc_data.replace("[br]","\r\n");
}
//alert(aicc_data);
//if (window.BACKGROUND) alert("window");
//if (document.BACKGROUND) alert("document");
if (window.BACKGROUND) window.document["BACKGROUND"].SetVariable("aicc_data", aicc_data);
if (document.BACKGROUND) document.BACKGROUND.SetVariable("aicc_data", aicc_data);
if (window.BACKGROUND) window.document["BACKGROUND"].SetVariable("lang", "_tc");
if (document.BACKGROUND) document.BACKGROUND.SetVariable("lang", "_tc");
}
cmiinit(window);
MM_SVal("command","getparam",1);
setTimeout("get_aicc_data()",2000)
//-->