Custom Homes Builder
bottomTop = 76;//default values
nRightMenuItems = 6;
if ( session.screenH gt 900 ){
nFontSize = 16;
nSmallFontSize = 14;
nLogoHeight = 130;
nBottom1Height = 50;
nBottom2Height = 60;
nLeftNavHeight = 42;
}else{
nFontSize = 12;
nSmallFontSize = 10;
nLogoHeight = 80;
nBottom1Height = 30;
nBottom2Height = 40;
nLeftNavHeight = 26;
}
session.nFontSize = nFontSize;
session.nSmallFontSize = nSmallFontSize;
session.nLogoHeight = nLogoHeight;
nWidth=round(session.screenW*0.92); nLogoHeight = round(nWidth/9);
session.nWidth = nWidth;
nRightHeight = round(session.screenH*0.8)-nLogoHeight-nBottom1Height-nBottom2Height;
nRightPictHeight = round(nRightHeight*0.5); nRightMenuStep = round( (nRightHeight - nRightPictHeight)/(nRightMenuItems*2+2) );
nLeftPicsHeight = round(nRightHeight*0.8); nLeftTextHeight = nRightHeight - nLeftPicsHeight - nLeftNavHeight;
nLeftWidth = round(nWidth*0.7); nRightWidth = nWidth - nLeftWidth;
nHeight = nLogoHeight + nBottom1Height + nBottom2Height + nRightHeight;
nBorder = round(nRightWidth*0.07);
nSmallPicWidth = round(nLeftWidth/nNumCols)-nBorder*2;
nBigerPicHeight = round(nRightHeight/4); // four homes for sale on one page
//nSmallPicHeight= round(nLeftPicsHeight/nNumRows)-20;
//////////////////////////////////////////////
// iBeg = nCurPic;
// sPic = "";
//sPic = ListGetAt(sPicList, iBeg ) ;