can someone give me some suggestion please...<BR>Scenario:<BR>I am using Frames in my web page. Basically I have handled two different screen resolutions in my code. If the client machine has a resolution of (800,600) or (1024,728) then I redirect them to different main.asp pages and subsequently other pages will be invoked from there. <BR><BR>Question:<BR>Is there any formula or is it possible to calculate the Frames size in a Frameset depending on the clients screen resolution?? In the code below, I would like pass rows="53%,*" dynamically basing on the calculation<BR><BR>Any Ideas or suggestions Please.<BR><BR>The code in the function which redirects the user to a proper page looks like this.<BR>&#060;SCRIPT language="javascript1.2"&#062;<BR> var url800_600="Main1.asp";<BR> var url1024_768="Main2.asp";<BR> <BR> if ((screen.width == 800) && (screen.height == 600))<BR> window.location.href = url800_600;<BR> else if ((screen.width == 1024) && (screen.height == 768))<BR> window.location.href = url1024_768;<BR> else<BR> window.location.href = url800_600;<BR> <BR>&#060;/SCRIPT&#062;<BR><BR>In Main1.asp : (for 800,600 screen resolution)<BR><BR>&#060;FRAMESET name="PWC-BaMS" rows="53%,*" border="0" frameborder="0" marginwidth="0" marginheight="0" framewidth="1"&#062;<BR> <BR> &#060;/FRAMESET&#062;<BR><BR>In Main2.asp: (for 1024, 768 screen resolution)<BR>&#060;FRAMESET name="PWC-BaMS" rows="35%,*" border="0" frameborder="0" marginwidth="0" marginheight="0" framewidth="1"&#062;<BR> <BR> &#060;/FRAMESET&#062;<BR><BR><BR>