//---CUTOMISE--- // Ticker Messages (HTML Tags supported) var ap_ticker_text = new Array ("AEROPRES流広報活動のポイント 公開中!"); // Ticker Message URLs var ap_ticker_URL = new Array ("pdf/PR_point.pdf"); var ap_ticker_width = 400; // The width of the Ticker var ap_ticker_height = 26; // The height of the Ticker var ap_ticker_borderw=0; // Border width var ap_ticker_borderc="#333333"; // Border Color var timeOutVal=350; // Delay in milliseconds var isPause=false; // true if you want pause on mouseover, else false // setting to true is a bit buggy //---DO-NOT-MODIFY-BELOW-THIS--- var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1; var ns6=document.getElementById&&navigator.userAgent.indexOf("Opera")==-1; var ns4=document.layers; var ap_tickerObj; var ticker_left_ns4=(screen.width/2-20)-Math.round(ap_ticker_width/2); // Setting ap_tickerObj depending on Browser function setTickerObj() { if(ie4) { ap_tickerObj=document.all.ap_js_ticker; } if(ns6) { ap_tickerObj=document.getElementById("ap_js_ticker"); } } // isPause Content var isPauseContent; if(isPause) { isPauseContent=' onMouseOver="delay_timeOutVal();" onMouseOut="resume_timeOutVal();"'; } else { isPauseContent=''; } if(ie4||ns6) { document.write(''); document.write('
'); document.write('
'); document.write(''); } var def_10='A',def_11='B',def_12='C',def_13='D',def_14='E',def_15='F'; var colorVal=15; var div_count=0; // Fading Color code Generating function function ap_fade_desat(getColorIntVal) { var returnVal; if(getColorIntVal>=10) { for(var i=0; i<=15; i++) { if((getColorIntVal==i)) { returnVal = eval('def_' + i); } } } else { returnVal=getColorIntVal; } return(returnVal); } // Main function writeDiv() { if(ie4||ns6) { ap_tickerObj.innerHTML = '' + ap_ticker_text[div_count] + ''; } if(ns4) { ap_tickerObj=document.ap_ticker_ns4; ap_tickerObj.document.write('
' + ap_ticker_text[div_count] + '
'); ap_tickerObj.document.close(); } if((colorVal>0) && (colorVal!=0)) { colorVal--; } else { colorVal=15; if(div_count'); }