text: function fnResize(){if($(window).width()>$(window).height()?(stageW=$(window).width(),stageH=$(window).height(),console.log("landscape"),stopToRotate=!1):(stageW=$(window).width(),stageH=$(window).height(),console.log("portrait"),stopToRotate=!0),renderer.resize(stageW,stageH),ratio=stageH/600,checkMobile()&&(ratio+=.25),console.log(ratio),position(contain_background,stageW/2+5*ratio,stageH/2+35*ratio),scale(contain_background,ratio),position(containBase,stageW/2,stageH/2),scale(containBase,ratio),position(contain_item,stageW/2,stageH/2),scale(contain_item,ratio),checkMobile())var t=stageH-133*(ratio-.25)+40;else var t=stageH-133*ratio+40;position(containBtn,stageW/2,t),scale(containBtn,ratio),containLives.scale.x=ratio,containLives.scale.y=ratio,position(containLevel,stageW/2,stageH/2),scale(containLevel,ratio),position(containTimeAndLives,stageW/2,stageH/2),scale(containTimeAndLives,ratio),position(containBackgroundForAll,stageW/2,stageH/2),backgroundWindow.width=stageW+5,backgroundWindow.height=stageH,scale(wrapBtn,ratio),position(wrapBtn,0,0),position(contain_popup,stageW/2,stageH/2),scale(contain_popup,ratio)}/**
   * Created by minhvu on 11/6/2015.
   */
  