function jsInit() { if (pageType == 1) { window.name = 'win'; } else { window.name = 'root_win'; } if (gmapType) { drawGmap(); } }