$(document).ready(function() {
    
    // Browser window parameters
    var heightDocument = $(window).height();
    var widthDocument = $(window).width();
   
   // Next and previous button 
   var arrowPosition = (heightDocument - 43)/2;
   $("#prevslide").css('top', arrowPosition);
   $("#nextslide").css('top', arrowPosition);
   
   // Menu position
   var menuDivWidth = $("#menu").width();
   var menuDiv = (widthDocument - menuDivWidth)/2;
   $("#menu").css('left', menuDiv);

   // Content position
   var contentWindowWidth = $("#content").width();
   var contentWindowHeight = $("#content").height();
   var contentHeight = ((heightDocument - contentWindowHeight)/2)-65;
   var contentWidth = (widthDocument - contentWindowWidth)/2;
   $("#content").css('top', contentHeight );
   $("#content").css('left', contentWidth );
   
  // bazar position
   var bazarWindowWidth = $("#content1").width();
   var bazarWindowHeight = $("#content1").height();
   var bazarHeight = (heightDocument - bazarWindowHeight)/2;
   var bazarWidth = (widthDocument - bazarWindowWidth)/2;
   $("#content1").css('top', bazarHeight );
   $("#content1").css('left', bazarWidth );
   
   // Referencies position
   var referenciesWindowWidth = $("#referencies").width();
   var referenciesWindowHeight = $("#referencies").height();
   var referenciesHeight = (heightDocument - referenciesWindowHeight)/2;
   var referenciesWidth = (widthDocument - referenciesWindowWidth)/2;
   $("#referencies").css('top', referenciesHeight );
   $("#referencies").css('left', referenciesWidth );
    
  	$("SELECT").selectBox()
  		
  		
           
});
	    

