if( window.addEventListener ){
// IE win.addEventListener( "resize", callMedia, false ); } else if( window.attachEvent ){
//非IE win.attachEvent( "onresize", callMedia ); }