1 /** @fileoverview Ainda não documentado
  2  */ 
  3  var resolutionCheck = {
  4 	config : function(element) {
  5 		if(resolutionCheck.check() == 0) {
  6 			/* se altura maior que largura */
  7 			$(element).height(1920).width(1080);
  8 		} else {
  9 			/* se largura maior que altura */
 10 			$(element).height(1920).width(1080);
 11 			//$(element).height(1080).width(1920);
 12 			resolutionCheck.setHorizontal();
 13 		}
 14 	},
 15 	check : function() {
 16 		var w = screen.width;
 17 		var h = screen.height;
 18 		if(h > w) {
 19 			/* se altura maior que largura */
 20 			return 0;
 21 		} else {
 22 			/* se largura maior que altura */
 23 			return 1;
 24 		}
 25 	},
 26 	setHorizontal : function() {
 27 		console.log($("#pagescale").children(".slide").removeClass('gh1080').addClass('gh1920'));
 28 	}
 29 }