/*----------------------------------------------------------------------- * wb_Atb^E * * DEPENDENCIES * - co-brand.js * - b-glonavi.js * * @version $Revision$ *----------------------------------------------------------------------- */ var selectDisplayModeCalled = false;//window.onloadւ̓do^h~ var Nullnavi = { head : function(mode){}, foot : function(mode){} } //OirAco-brand̑I //^OŌĂяoKv function selectDisplayMode(){ if(typeof(CoBrand) != 'undefined' && CoBrand){ if(selectDisplayModeCalled) return CoBrand; selectDisplayModeCalled = true; //G[ɃX^C߂\bhljo^ var funcOriginal = window.onload; window.onload = function(){ if(funcOriginal){ funcOriginal(); } CoBrand.undoStyleHandler(); }; return CoBrand; } if(typeof(Glonavi) && Glonavi){ return Glonavi; } return Nullnavi; } //HeaderAFootertry`catchĂ̂CPp[^sȍۂ //ʏ\ɖ߂ //wb_[ var Header = { output : function(mode){ try{ selectDisplayMode().head(mode); }catch(e){ if(typeof(Glonavi) != 'undefined' && Glonavi) Glonavi.head(mode); } } } //tb^[ var Footer = { output : function(mode){ try{ selectDisplayMode().foot(mode); }catch(e){ if(typeof(Glonavi) != 'undefined' && Glonavi) Glonavi.foot(mode); } } }