// JavaScript Document

  $.imJQMosaic({ image:'revista.modelo.png', target: 'oioi', frameWidth: '900', frameHeight:'567', numberOfTilesX: '6', numberOfTilesY: '5', tileMargin: '1.8', tileBorderRadius: '7', effectIntensity: '0.3', effectColor: 'blue' },{ menuStyle:{font:"Helvetica", fontColor:"#FFF", fontSize:"1.1em",}, menu:[ {tileNumber: '1', title: '<br><br>Administra&ccedil;&atilde;o', href: 'adminstracao.html' }, {tileNumber: '2', title: '<br><br>Direito', href: 'direito.html' },{tileNumber: '3', title: '<br><br>Ed. Fis&iacute;ca', href: 'ed.fisica.html' },{tileNumber: '4', title: '<br><br>Enfermagem', href: 'enfermagem.html',},{tileNumber: '7', title: '<br><br>Farm&aacute;cia', href: 'farmacia.html' },{tileNumber: '8', title: '<br><br>Multidisciplinar', href: 'multi.html' },{tileNumber: '9', title: '<br>Pedagogia<br>e<br>Normal Superior', href: 'pedagogia.html' },{tileNumber: '13', title: '<br><br>Tecnologia', href: 'tecnologia.html' },{tileNumber: '14', title: '<br><br>Psicologia', href: 'psicologia.html' }, ] }); 

$(document).ready(function(){
	
		var al = 753;
		var la = 138;
		var altura = $(window).height();
		alturax = altura-20;
		$('#back').height(alturax);
		var nova_largura = Math.ceil(((la*altura)/al));
		$('#back').width(nova_largura);
		
	
	$(window).bind("resize", resizeWindow);
		function resizeWindow( e ) {		
					
		
		var al = 753;
		var la = 138;
		var altura = $(window).height();
		alturax = altura-20;
		$('#back').height(alturax);
		var nova_largura = Math.ceil(((la*altura)/al));
		$('#back').width(nova_largura);
		
	}
			
});

<!--$.imJQMosaic({ image:'example_03.png', target: 'sample_4', frameWidth: '850', frameHeight:'300', numberOfTilesX: '4', numberOfTilesY: '1', tileMargin: '20', tileBorder: '1', tileBorderColor: '#222', tileBorderRadius: '100', effectIntensity: '0.8', effectColor: '#0599dd' },{ menuStyle:{font:"Lucida Grande", fontColor:"#234562", fontSize:"1.2em"}, menu:[ {tileNumber: '1', title: '<br/><br/><br/><br/><br/><br/><br/><br/>home', href: 'http://imanish.co.in', alt: 'Click here to checkout my website'}, {tileNumber: '3', title: '<br/><br/><br/><br/><br/>profile', href: 'http://imanish.co.in/profile.html', alt: 'Click here to see my profile'}, {tileNumber: '4', title: '<br/>contact', href: 'http://imanish.co.in/contact.html', alt: 'Click here to see my contact details'} ] }); -->
