Topic: Can't get information to line up on web page

I'm new to this forum and new to CSS.  I'm working on my website that hasn't been launched yet and I'm having trouble getting information to line up correctly.  I have a section on the left of info and a section on the right.  The stuff on the right keeps staying below the info on the left rather than lining up horizontally.  Since the site isnt' live, I could only post screen shot pics of what I'm talking about.  I'm using a CSS style sheet within my Dreamweaver CS4 but I'm overlooking something in the coding that is causing these to not align.  Can someone tell me what I should look for as far are a code in the style sheet that would explain why they aren't aligned?  Hopefully I've explained this without completely confusing you as much as I already am.   hmm

http://img.photobucket.com/albums/v138/victoria616/site%20stuff/example2.png
http://img.photobucket.com/albums/v138/victoria616/site%20stuff/example1.png

Vote up Vote down

Re: Can't get information to line up on web page

To see what's really going on, we need to see code.  If you cannot load your page up somewhere, paste the code here.

However, as a guess - likely, the sum of your left and right section are too large to fit next to each other.  Try shrinking one a bit and see if things fall into place.

Just because my computer is online does not mean that I am.
a&b WebDesign

Vote up Vote down

Re: Can't get information to line up on web page

Here's my CSS code and then HTML after that.  I used a CSS template to get this site started and that why you will see all the "notes" throughout the codes.  Hopefully I posted this correctly, I'm a bit of a rookie at this.

/* CSS Document */
body{
    margin:0px;
    padding:0px;
    text-align: left;
}
 
p{margin:0px; padding:0px;}
 
img{border:0px;}
 
#mainblock
{
    width:1000px;
    margin:auto;
    background-color: #000;
}
 
#innerblock{
    float:left;
    width:1000px;
    margin:auto;
    background-color: #92B527;
}
 
a:hover {
    text-decoration:underline;
    font-size: 24px;
}
 
#top_panel { clear:left; float:left; display:inline; width:1000px;}
.top_bg1 {
    display:inline;
    clear:left;
    float:left;
    width:1000px;
    height:141px;
    background-image: none;
    background-repeat: no-repeat;
}
.nv_abt  { clear:left; float:left; margin:106px 0px 0px 136px;}
.nv_treat {float:left; margin:106px 0px 0px 36px;}
.nv_pack{ float:left; margin:106px 0px 0px 46px;}
.nv_prod {float:left; margin:106px 0px 0px 55px;}
.nv_gall  {float:left; margin:106px 0px 0px 59px;}
.nv_tips {float:left; margin:106px 0px 0px 89px;}
.top_bg2 { clear:left; float:left; }
.top_bg3{display:inline; float:left; background: url(../images/top_bg3.jpg) no-repeat; width:481px; height:279px;}
.top_logo {clear:left;float:left; margin:47px 0px 0px 108px;}
.top_head {clear:left;float:left; margin:87px 0px 0px 8px;}
 
 
 
#cp_padd { display:inline; clear:left; float:left; width:903px; margin-left:55px; background:#000000;}
.cp_1pix {
    display:inline;
    clear:right;
    float:left;
    width:903px;
    background-color: #000;
    background-image: url(../images/cp_1pix.jpg);
    background-repeat: repeat-y;
}
 
.lp_padd {
    clear:left;
    float:left;
    display:inline;
    width:800px;
}
.lp_wel {clear:left; float:left; margin:13px 0px 0px 21px;}
.lp_txt,.lp_ourtxt{
    clear:left;
    float:left;
    margin:15px 0px 0px 22px;
    color:#9D9698;
    width:595px;
    font-size: 14px;
    font-family: Verdana, Geneva, sans-serif;
    line-height: 14px;
}
.lp_read {clear:left; float:left; margin:9px 0px 0px 22px;}
.lp_ourpix {
    clear:left;
    float:left;
    margin:24px 0px 0px 22px;
    background:url(../images/lp_ourpix.jpg) repeat-y;
    width:593px;
    font-size: 13px;
    font-family: Tahoma, Geneva, sans-serif;
}
.lp_our {clear:left; float:left; margin:16px 0px 0px 21px;}
.lp_ourtxt {
    color:#ADA6A9;
    width:230px;
    margin:7px 0px 0px 21px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
}
.lp_bul {clear:left; float:left; margin:20px 0px 0px 23px;}
.lp_bul2 {clear:left; float:left; margin:8px 0px 0px 23px;}
.lp_bultxt,.lp_bultxt2,.lp_arrtxt,.lp_arrtxt2,.lp_arrtxt3,.lp_arrtxt4,.lp_inbultxt,.lp_inbultxt1{
    float:left;
    font:11px/14px Tahoma;
    color:#ADA6A9;
    width:auto;
    text-decoration:none;
    margin-top: 18px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 11px;
}
.lp_bultxt2 {margin:5px 0px 0px 11px;}
.lp_read1 {clear:left; float:left; margin:14px 0px 0px 23px;}
.lp_inimg1 {clear:left; float:left; margin:17px 0px 0px 24px;}
.lp_inbul { float:left; margin:26px 0px 0px 17px;}
.lp_inbul2 {clear:left;float:left; margin:10px 0px 0px 17px;}
.lp_inbultxt { margin:23px 0px 0px 5px; width:127px;}
.lp_inbultxt1 {margin:4px 0px 0px 5px; width:127px;}
.lp_intxt {clear:left; float:left; margin:17px 0px 0px 27px; font:11px/14px Tahoma; color:#ADA6A9; width:239px; padding-bottom:24px;}
 
.lp_ser {clear:left; float:left; margin:19px 0px 0px 21px;}
.lp_girl {clear:left; float:left; margin:16px 0px 0px 19px;}
.lp_arr { float:left; margin:18px 0px 0px 15px;}
.lp_arr1 {clear:left; float:left; margin:8px 0px 0px 15px;}
.lp_arrtxt {
    margin:16px 0px 0px 11px;
    width:150px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    font-weight: normal;
}
.lp_arrtxt2 {margin:3px 0px 0px 11px; width:150px;}
.lp_girl2 {clear:left; float:left; margin:19px 0px 0px 19px;}
.lp_arr2 { float:left; margin:25px 0px 0px 15px;}
.lp_arr3 {clear:left; float:left; margin:10px 0px 0px 15px;}
.lp_arrtxt3 { margin:20px 0px 0px 8px; width:135px;}
.lp_arrtxt4 {margin:5px 0px 0px 8px; width:142px;}
.lp_read2{clear:left; float:left; margin:20px 0px 0px 13px; padding-bottom:16px;}
.lp_imgtxt {float:left; margin:27px 0px 0px 10px; font:11px/14px Tahoma; color:#ADA6A9; width:150px;}
.lp_imgtxt2,.lp_intxt3 {
    clear:left;
    float:right;
    margin:5px 0px 0px 10px;
    font:11px/14px Tahoma;
    color:#ADA6A9;
    width:150px;
    text-decoration:none;
}
.lp_intxt3  {
    margin:25px 0px 0px 25px;
    width:568px;
    padding-bottom:20px;
    font-size: 14px;
    font-style: normal;
    text-align: left;
}
 
 
.lp_beautypad {clear:left; float:left; margin:6px 0px 0px 22px; background:#2B2829; width:593px;}
.lp_beauty {clear:left; float:left; margin:4px 0px 0px 22px; padding-bottom:8px;}
 
.lp_prod1 {
    clear:left;
    float:left;
    margin:15px 0px 0px 55px;
}
.lp_txt3 {float:left; margin:34px 0px 0px 32px; width:335px; font:11px/14px Tahoma; color:#ADA6A9;}
.lp_read4 {clear:left; float:left; margin:13px 0px 0px 31px;}
.rp_padd {
    display:inline;
    width: 260px;
    float: right;
    background-color: #000;
}
.rp_beauty {clear:left; float:left; margin:13px 0px 0px 12px;}
.rp_txt {
    clear:left;
    float:left;
    margin:7px 0px 0px 11px;
    width:137px;
    font:11px/14px Tahoma;
    color:#9D9698;
    font-size: 13px;
}
.rp_read {clear:left; float:left; margin:14px 0px 0px 12px;}
.rp_girl {float:left; margin:0px 0px 0px 17px;}
.rp_food {clear:left; float:left; margin:21px 0px 0px 10px;}
.rp_img {
    clear:none;
    float:none;
    margin-top: 2px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 16px;
}
 
.rp_bul {clear:left; float:left; margin:10px 0px 0px 13px;}
.rp_bul2 {clear:left; float:left; margin:10px 0px 0px 13px;}
.rp_bultxt,.rp_bultxt2,.rp_arrtxt,.rp_arrtxt1 {
    float:left;
    margin:10px 0px 0px 12px;
    width:auto;
    font:11px/14px Tahoma;
    color:#666;
    text-decoration:none;
}
.rp_bultxt2 {
    margin-top: 7px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 12px;
    text-align: left;
}
.rp_read2 {clear:left; float:left; margin:16px 0px 0px 12px;}
.rp_ban {clear:left; float:left; margin:19px 0px 0px 11px;}
.rp_other {clear:left; float:left; margin:12px 0px 0px 11px;}
.rp_arr {clear:left; float:left; margin:14px 0px 0px 13px;}
.rp_arr1 {clear:left; float:left; margin:7px 0px 0px 13px;}
.rp_arrtxt{
    margin:13px 0px 0px 13px;
    width:222px;
    font-size: 12px;
}
.rp_arrtxt1{ margin:3px 0px 0px 13px; width:226px;}
.rp_read3 {clear:left; float:left; margin:13px 0px 0px 12px; padding-bottom:14px;}
.rp_inread3 {clear:left; float:left; margin:19px 0px 0px 12px;}
 
#ft_padd{
    clear:left;
    float:left;
    width:903px;
    display:inline;
    background:#000000;
    margin-left:55px;
}
.ft_pix {clear:left; float:left; width:895px; height:84px; display:inline; background: url(../images/ft_pix.jpg) repeat-x; margin-left:4px;}
.ft_txt2 { clear:left; float:left; font:11px/14px Tahoma; color: #000000; margin:30px 0px 0px 287px; width:370px; padding-bottom:20px; position:relative; margin-right:-3px; }
/*gallery starts here*/
.gallery_container{
float:left; display:inline;
width:600px;
margin:30px 0 0 25px;
}
.stepcarousel{
position: relative; /*leave this value alone*/
border: 10px solid black;
overflow: scroll; /*leave this value alone*/
width: 550px; /*Width of Carousel Viewer itself*/
height: 500px; /*Height should enough to fit largest content's height*/
}
 
.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0;
}
 
.stepcarousel .panel{
float: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 10px; /*margin around each panel*/
width: 550px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
}
/*about us page starts here*/
.aboutus_heading{
    float:left;
    display:inline;
    width:595px;
    color:#d2d2d2;
    margin:10px 0 0 25px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    font-weight: bold;
}
/*packages starts here*/
.packages_txt {
    float:left;
    width:auto;
    color:#ADA6A9;
    font-family: Tahoma;
    font-size: 14px;
    line-height: normal;
    font-weight: normal;
    margin-top: 15px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 32px;
}
/*product page stats here*/
.products{
float:left;
margin:10px 0 0 40px;
}
/*tips page stats here*/
.tips_textarea{
float:left; display:inline;
width:580px;
font:11px/14px Tahoma; color:#ADA6A9;
margin:10px 0 0 30px;
}
.universal_font {
    font-size: 12px;
}
.universal_font {
    font-size: 13px;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .lp_ourpix div div .lp_arrtxt {
    font-family: Tahoma, Geneva, sans-serif;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .lp_ourpix div div .lp_arrtxt {
    font-size: 13px;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .lp_ourpix div div .lp_arrtxt {
    font-family: Tahoma, Geneva, sans-serif;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .lp_ourpix div p .lp_arrtxt {
    font-family: Tahoma, Geneva, sans-serif;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .aboutus_heading em {
    font-family: Tahoma, Geneva, sans-serif;
}

and html for this page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<title>home page</title>
<style type="text/css">
<!--
body,td,th {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 13px;
}
-->
</style></head>
<body>
 
<script type='text/javascript'>
 
function Go(){return}
 
/***********************************************************************
    YOU MAY MANUALLY CHANGE THE MENU HERE, BUT BE VERY CAREFUL !
***********************************************************************/
 
Menu1=new Array("Home","http://","",0,50,90);
 
Menu2=new Array("Products","http://","",4,0,90);
  Menu2_1=new Array("Skincare","http://","",8,40,90);
   Menu2_1_1=new Array("Step 1: Cleanse","http://","",0,40,160);
   Menu2_1_2=new Array("Step 2: Resurface","http://","",0,40,0);
   Menu2_1_3=new Array("Step 3: Rebuild","http://","",0,40,0);
   Menu2_1_4=new Array("Step 4: Moisturize","http://","",0,40,0);
   Menu2_1_5=new Array("Step 5: Protect","http://","",0,40,0);
   Menu2_1_6=new Array("Step 6: Troubleshoot","http://","",0,40,0);
   Menu2_1_7=new Array("Specialty Products","http://","",0,40,0);
   Menu2_1_8=new Array("Signature Collections","http://","",0,40,0);
  Menu2_2=new Array("Makeup","http://","",9,40,0);
   Menu2_2_1=new Array("Bamboo Products","http://","",0,40,160);
   Menu2_2_2=new Array("Brushes","http://","",0,40,0);
   Menu2_2_3=new Array("Foundations","http://","",0,40,0);
   Menu2_2_4=new Array("Concealers","http://","",0,40,80);
   Menu2_2_5=new Array("Blushes & Bronzers","http://","",0,40,80);
   Menu2_2_6=new Array("Lashes & Brows","http://","",0,40,80);
   Menu2_2_7=new Array("Eyeshadows","http://","",0,40,80);
   Menu2_2_8=new Array("Lip Glisten","http://","",0,40,80);
   Menu2_2_9=new Array("Perfume","http://","",0,40,80);
  Menu2_3=new Array("Tips & Tricks","http://","",0,40,90);
  Menu2_4=new Array("FAQ","http://","",0,40,90);
 
Menu3=new Array("All About Beauty Society","http://","",5,50,160);
  Menu3_1=new Array("Our Founder","http://","",0,40,105);
  Menu3_2=new Array("Going Green","http://","",0,40,0);
  Menu3_3=new Array("Giving Back","http://","",0,40,90);
  Menu3_4=new Array("Penthouse Tour","http://","",0,40,90);
  Menu3_5=new Array("Beauty Bar","http://","",0,40,90);
 
Menu4=new Array("It's A Diva Thing","http://","",4,50,130);
  Menu4_1=new Array("Host A Facial Party","http://","",0,40,130);
  Menu4_2=new Array("Party Tips","http://","",0,40,0);
  Menu4_3=new Array("Receive Free Gifts","http://","",0,40,90);
  Menu4_4=new Array("Join Our Team","http://","",0,40,90);
 
Menu5=new Array("Photo Gallery","http://","",0,0,100);
 
Menu6=new Array("Press Release","http://","",0,0,100);
 
Menu7=new Array("Contact Us","http://","",0,50,90);
 
 
var NoOffFirstLineMenus=7;    // Number of first level items
var LowBgColor='#000000';        // Background color when mouse is not over
var LowSubBgColor='#92B527';    // Background color when mouse is not over on subs
var HighBgColor='#FFFFFF';    // Background color when mouse is over
var HighSubBgColor='#FFFFE1';    // Background color when mouse is over on subs
var FontLowColor='#FFFFFF';    // Font color when mouse is not over
var FontSubLowColor='#000000';    // Font color subs when mouse is not over
var FontHighColor='#92B527';    // Font color when mouse is over
var FontSubHighColor='#000000';    // Font color subs when mouse is over
var BorderColor='#000000';    // Border color
var BorderSubColor='#000000';    // Border color for subs
var BorderWidth=1;        // Border width
var BorderBtwnElmnts=0;        // Border between elements 1 or 0
var FontFamily="Gabriola"            // Font family menu items
var FontSize=14;            // Font size menu items
var FontBold=0;            // Bold menu items 1 or 0
var FontItalic=0;        // Italic menu items 1 or 0
var MenuTextCentered='center';    // Item text position 'left', 'center' or 'right'
var MenuCentered='center';    // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top';    // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.2;        // horizontal overlap child/ parent
var ChildVerticalOverlap=.2;    // vertical overlap child/ parent
var StartTop=0;        // Menu offset x coordinate
var StartLeft=0;        // Menu offset y coordinate
var VerCorrect=0;        // Multiple frames y correction
var HorCorrect=0;        // Multiple frames x correction
var LeftPaddng=0;        // Left padding
var TopPaddng=0;        // Top padding
var FirstLineHorizontal=1;    // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=1;    // Frames in cols or rows 1 or 0
var DissapearDelay=1000;    // delay before menu folds in
var TakeOverBgColor=1;        // Menu frame takes over background color subitem frame
var FirstLineFrame='navig';    // Frame where first level appears
var SecLineFrame='space';    // Frame where sub levels appear
var DocTargetFrame='space';    // Frame where target documents appear
var TargetLoc='';        // span id for relative positioning
var HideTop=0;            // Hide first level when loading new document 1 or 0
var MenuWrap=1;            // enables/ disables menu wrap 1 or 0
var RightToLeft=0;        // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0;        // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0;        // menu tree checking on or off 1 or 0
var ShowArrow=0;        // Uses arrow gifs when 1
var KeepHilite=1;        // Keep selected path highligthed
var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];    // Arrow source, width and height
 
 
/***********************************************************************
   DO NOT EDIT ANYTHING BELOW THIS LINE - IT WILL BREAK THE SCRIPT !
***********************************************************************/
 
 
var AgntUsr=navigator.userAgent.toLowerCase();
var DomYes=document.getElementById?1:0;
var NavYes=AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('msie')==-1?1:0;
var ExpYes=AgntUsr.indexOf('msie')!=-1?1:0;
var Opr=AgntUsr.indexOf('opera')!=-1?1:0;
var Opr6orless=window.opera && navigator.userAgent.search(/opera.[1-6]/i)!=-1 //DynamicDrive.com added code
if ( Opr6orless!=1 ) { ExpYes = 1 }
var DomNav=DomYes&&NavYes?1:0;
var DomExp=DomYes&&ExpYes?1:0;
var Nav4=NavYes&&!DomYes&&document.layers?1:0;
var Exp4=ExpYes&&!DomYes&&document.all?1:0;
var PosStrt=(NavYes||ExpYes)&&!Opr6orless?1:0;
var FrstLoc,ScLoc,DcLoc;
var ScWinWdth,ScWinHght,FrstWinWdth,FrstWinHght;
var ScLdAgainWin;
var FirstColPos,SecColPos,DocColPos;
var RcrsLvl=0;
var FrstCreat=1,Loadd=0,Creatd=0,IniFlg,AcrssFrms=1;
var FrstCntnr=null,CurrntOvr=null,CloseTmr=null;
var CntrTxt,TxtClose,ImgStr;
var Ztop=100;
var ShwFlg=0;
var M_StrtTp=StartTop,M_StrtLft=StartLeft;
var StaticPos=0;
//var LftXtra=DomNav&&!Opr?LeftPaddng:0; //Changed for Opera
var LftXtra=DomNav||DomExp&&!Exp4&&!Opr6orless?LeftPaddng:0; //Changed for Opera
var TpXtra=DomNav||DomExp?TopPaddng:0;
//var TpXtra=DomNav?TopPaddng:0;
var M_Hide=Nav4?'hide':'hidden';
var M_Show=Nav4?'show':'visible';
var Par=parent.frames[0]&&FirstLineFrame!=SecLineFrame?parent:window;
var Doc=Par.document;
var Bod=Doc.body;
//var Trigger=NavYes&&!Opr?Par:Bod; //Changed for Opera
var Trigger=NavYes&&!Opr?Par:Opr?Doc:Bod; //Changed for Opera by Rafael
 
MenuTextCentered=MenuTextCentered==1||MenuTextCentered=='center'?'center':MenuTextCentered==0||MenuTextCentered!='right'?'left':'right';
WbMstrAlrts=["Item not defined: ","Item needs height: ","Item needs width: "];
 
if(Trigger.onload)Dummy=Trigger.onload;
if(DomNav||Opr)Trigger.addEventListener('load',Go,false); //Changed for Opera
else Trigger.onload=Go;
 
function Dummy(){return}
 
function CnclSlct(){return false}
 
function RePos(){
    FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.innerWidth;
    FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.innerHeight;
    ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
    ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
    if(MenuCentered=='justify'&&FirstLineHorizontal){
        FrstCntnr.style.width=FrstWinWdth+'px';
        ClcJus();
        var P=FrstCntnr.FrstMbr,W=Menu1[5],i;
        for(i=0;i<NoOffFirstLineMenus;i++){P.style.width=W+'px';P=P.PrvMbr}}
    StaticPos=-1;
    if(TargetLoc)ClcTrgt();
    if(MenuCentered)ClcLft();
    if(MenuVerticalCentered)ClcTp();
    PosMenu(FrstCntnr,StartTop,StartLeft)}
 
function UnLoaded(){
    if(CloseTmr)clearTimeout(CloseTmr);
    Loadd=0; Creatd=0;
    if(HideTop){
        var FCStyle=Nav4?FrstCntnr:FrstCntnr.style;
        FCStyle.visibility=M_Hide}}
 
function ReDoWhole(){
    if(ScWinWdth!=ScLoc.innerWidth||ScWinHght!=ScLoc.innerHeight||FrstWinWdth!=FrstLoc.innerWidth||FrstWinHght!=FrstLoc.innerHeight)Doc.location.reload()}
 
function Check(WMnu,NoOf){
    var i,array,ArrayLoc;
    ArrayLoc=parent.frames[0]?parent.frames[FirstLineFrame]:self;
    for(i=0;i<NoOf;i++){
        array=WMnu+eval(i+1);
        if(!ArrayLoc[array]){WbMstrAlrt(0,array); return false}
        if(i==0){    if(!ArrayLoc[array][4]){WbMstrAlrt(1,array); return false}
            if(!ArrayLoc[array][5]){WbMstrAlrt(2,array); return false}}
        if(ArrayLoc[array][3])if(!Check(array+'_',ArrayLoc[array][3])) return false}
    return true}
 
function WbMstrAlrt(No,Xtra){
    return confirm(WbMstrAlrts[No]+Xtra+'   ')}
 
function Go(){
    Dummy();
    if(Loadd||!PosStrt)return;
    BeforeStart();
    Creatd=0; Loadd=1;
    status='Building menu';
    if(FrstCreat){
        if(FirstLineFrame =="" || !parent.frames[FirstLineFrame]){
            FirstLineFrame=SecLineFrame;
            if(FirstLineFrame =="" || !parent.frames[FirstLineFrame]){
                FirstLineFrame=SecLineFrame=DocTargetFrame;
                if(FirstLineFrame =="" || !parent.frames[FirstLineFrame])FirstLineFrame=SecLineFrame=DocTargetFrame=''}}
        if(SecLineFrame =="" || !parent.frames[SecLineFrame]){
            SecLineFrame=DocTargetFrame;
            if(SecLineFrame =="" || !parent.frames[SecLineFrame])SecLineFrame=DocTargetFrame=FirstLineFrame}
        if(DocTargetFrame =="" || !parent.frames[DocTargetFrame])DocTargetFrame=SecLineFrame;
        if(WebMasterCheck){    if(!Check('Menu',NoOffFirstLineMenus)){status='build aborted';return}}
        FrstLoc=FirstLineFrame!=""?parent.frames[FirstLineFrame]:window;
        ScLoc=SecLineFrame!=""?parent.frames[SecLineFrame]:window;
        DcLoc=DocTargetFrame!=""?parent.frames[DocTargetFrame]:window;
        if (FrstLoc==ScLoc) AcrssFrms=0;
        if (AcrssFrms)FirstLineHorizontal=MenuFramesVertical?0:1;
        FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.innerWidth;
        FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.innerHeight;
        ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
        ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
        if(Nav4){    CntrTxt=MenuTextCentered!='left'?"<div align='"+MenuTextCentered+"'>":"";
            TxtClose="</font>"+MenuTextCentered!='left'?"</div>":""}}
    FirstColPos=Nav4?FrstLoc.document:FrstLoc.document.body;
    SecColPos=Nav4?ScLoc.document:ScLoc.document.body;
    DocColPos=Nav4?DcLoc.document:ScLoc.document.body;
    if (TakeOverBgColor)FirstColPos.bgColor=AcrssFrms?SecColPos.bgColor:DocColPos.bgColor;
    if(MenuCentered=='justify'&&FirstLineHorizontal)ClcJus();
    if(FrstCreat){
        FrstCntnr=CreateMenuStructure('Menu',NoOffFirstLineMenus);
        FrstCreat=AcrssFrms?0:1}
    else CreateMenuStructureAgain('Menu',NoOffFirstLineMenus);
    if(TargetLoc)ClcTrgt();
    if(MenuCentered)ClcLft();
    if(MenuVerticalCentered)ClcTp();
    PosMenu(FrstCntnr,StartTop,StartLeft);
    IniFlg=1;
    Initiate();
    Creatd=1;
    if (AcrssFrms)     //Added for Opera
        {     //Added for Opera
        ScLdAgainWin=ExpYes?ScLoc.document.body:ScLoc;
        ScLdAgainWin.onunload=UnLoaded;
        }     //Added for Opera
    Trigger.onresize=Nav4?ReDoWhole:RePos;
    AfterBuild();
    if(MenuVerticalCentered=='static'&&!AcrssFrms)setInterval('KeepPos()',250);
    status='Menu ready for use'}
 
function KeepPos(){
//    var TS=ExpYes?FrstLoc.document.body.scrollTop:FrstLoc.pageYOffset;
    var TS= typeof FrstLoc.pageYOffset != 'undefined' ?
    FrstLoc.pageYOffset :
    FrstLoc.document.documentElement &&
    FrstLoc.document.documentElement.scrollTop ?
    FrstLoc.document.documentElement.scrollTop :
    FrstLoc.document.body.scrollTop;
    if(TS!=StaticPos){
        var FCStyle=Nav4?FrstCntnr:FrstCntnr.style;
        FrstCntnr.OrgTop=StartTop+TS;FCStyle.top=FrstCntnr.OrgTop+'px';StaticPos=TS}}
 
function ClcJus(){
    var a=BorderBtwnElmnts?1:2,b=BorderBtwnElmnts?BorderWidth:0;
    var Size=Math.round(((FrstWinWdth-a*BorderWidth)/NoOffFirstLineMenus)-b),i,j;
    for(i=1;i<NoOffFirstLineMenus+1;i++){j=eval('Menu'+i);j[5]=Size}
    StartLeft=0}
 
function ClcTrgt(){
    var TLoc=Nav4?FrstLoc.document.layers[TargetLoc]:DomYes?FrstLoc.document.getElementById(TargetLoc):FrstLoc.document.all[TargetLoc];
    StartTop=M_StrtTp;
    StartLeft=M_StrtLft;
    if(DomYes){
        while(TLoc){StartTop+=TLoc.offsetTop;StartLeft+=TLoc.offsetLeft;TLoc=TLoc.offsetParent}}
    else{    StartTop+=Nav4?TLoc.pageY:TLoc.offsetTop;StartLeft+=Nav4?TLoc.pageX:TLoc.offsetLeft}}
 
function ClcLft(){
    if(MenuCentered!='left'&&MenuCentered!='justify'){
        var Size=FrstWinWdth-(!Nav4?parseInt(FrstCntnr.style.width):FrstCntnr.clip.width);
        StartLeft=M_StrtLft;
        StartLeft+=MenuCentered=='right'?Size:Size/2}}
 
function ClcTp(){
    if(MenuVerticalCentered!='top'&&MenuVerticalCentered!='static'){
        var Size=FrstWinHght-(!Nav4?parseInt(FrstCntnr.style.height):FrstCntnr.clip.height);
        StartTop=M_StrtTp;
        StartTop+=MenuVerticalCentered=='bottom'?Size:Size/2}}
 
function PosMenu(CntnrPntr,Tp,Lt){
    var Topi,Lefti,Hori;
    var Cntnr=CntnrPntr;
    var Mmbr=Cntnr.FrstMbr;
    var CntnrStyle=!Nav4?Cntnr.style:Cntnr;
    var MmbrStyle=!Nav4?Mmbr.style:Mmbr;
    var PadL=Mmbr.value.indexOf('<')==-1?LftXtra:0;
    var PadT=Mmbr.value.indexOf('<')==-1?TpXtra:0;
    var MmbrWt=!Nav4?parseInt(MmbrStyle.width)+PadL:MmbrStyle.clip.width;
    var MmbrHt=!Nav4?parseInt(MmbrStyle.height)+PadT:MmbrStyle.clip.height;
    var CntnrWt=!Nav4?parseInt(CntnrStyle.width):CntnrStyle.clip.width;
    var CntnrHt=!Nav4?parseInt(CntnrStyle.height):CntnrStyle.clip.height;
    var SubTp,SubLt;
    RcrsLvl++;
    if (RcrsLvl==1 && AcrssFrms)!MenuFramesVertical?Tp=FrstWinHght-CntnrHt+(Nav4?4:0):Lt=RightToLeft?0:FrstWinWdth-CntnrWt+(Nav4?4:0);
    if (RcrsLvl==2 && AcrssFrms)!MenuFramesVertical?Tp=0:Lt=RightToLeft?ScWinWdth-CntnrWt:0;
    if (RcrsLvl==2 && AcrssFrms){Tp+=VerCorrect;Lt+=HorCorrect}
    CntnrStyle.top=RcrsLvl==1?Tp+'px':0;
    Cntnr.OrgTop=Tp;
    CntnrStyle.left=RcrsLvl==1?Lt+'px':0;
    Cntnr.OrgLeft=Lt;
    if (RcrsLvl==1 && FirstLineHorizontal){
        Hori=1;Lefti=CntnrWt-MmbrWt-2*BorderWidth;Topi=0}
    else{    Hori=Lefti=0;Topi=CntnrHt-MmbrHt-2*BorderWidth}
    while(Mmbr!=null){
        MmbrStyle.left=Lefti+BorderWidth+'px';
        MmbrStyle.top=Topi+BorderWidth+'px';
        if(Nav4)Mmbr.CmdLyr.moveTo(Lefti+BorderWidth,Topi+BorderWidth);
        if(Mmbr.ChildCntnr){
            if(RightToLeft)ChldCntnrWdth=Nav4?Mmbr.ChildCntnr.clip.width:parseInt(Mmbr.ChildCntnr.style.width);
            if(Hori){    SubTp=Topi+MmbrHt+2*BorderWidth;
                SubLt=RightToLeft?Lefti+MmbrWt-ChldCntnrWdth:Lefti}
            else{    SubLt=RightToLeft?Lefti-ChldCntnrWdth+ChildOverlap*MmbrWt+BorderWidth:Lefti+(1-ChildOverlap)*MmbrWt+BorderWidth;
                SubTp=RcrsLvl==1&&AcrssFrms?Topi:Topi+ChildVerticalOverlap*MmbrHt}
            PosMenu(Mmbr.ChildCntnr,SubTp,SubLt)}
        Mmbr=Mmbr.PrvMbr;
        if(Mmbr){    MmbrStyle=!Nav4?Mmbr.style:Mmbr;
            PadL=Mmbr.value.indexOf('<')==-1?LftXtra:0;
            PadT=Mmbr.value.indexOf('<')==-1?TpXtra:0;
            MmbrWt=!Nav4?parseInt(MmbrStyle.width)+PadL:MmbrStyle.clip.width;
            MmbrHt=!Nav4?parseInt(MmbrStyle.height)+PadT:MmbrStyle.clip.height;
            Hori?Lefti-=BorderBtwnElmnts?(MmbrWt+BorderWidth):(MmbrWt):Topi-=BorderBtwnElmnts?(MmbrHt+BorderWidth):(MmbrHt)}}
    RcrsLvl--}
 
function Initiate(){
    if(IniFlg){    Init(FrstCntnr);IniFlg=0;
        if(ShwFlg)AfterCloseAll();ShwFlg=0}}
 
function Init(CntnrPntr){
    var Mmbr=CntnrPntr.FrstMbr;
    var MCStyle=Nav4?CntnrPntr:CntnrPntr.style;
    RcrsLvl++;
    MCStyle.visibility=RcrsLvl==1?M_Show:M_Hide;
    while(Mmbr!=null){
        if(Mmbr.Hilite){Mmbr.Hilite=0;if(KeepHilite)LowItem(Mmbr)}
        if(Mmbr.ChildCntnr) Init(Mmbr.ChildCntnr);
        Mmbr=Mmbr.PrvMbr}
    RcrsLvl--}
 
function ClearAllChilds(Pntr){
    var CPCCStyle;
    while (Pntr){
        if(Pntr.Hilite){
            Pntr.Hilite=0;
            if(KeepHilite)LowItem(Pntr);
            if(Pntr.ChildCntnr){
                CPCCStyle=Nav4?Pntr.ChildCntnr:Pntr.ChildCntnr.style;
                CPCCStyle.visibility=M_Hide;
                ClearAllChilds(Pntr.ChildCntnr.FrstMbr)}
            break}
        Pntr=Pntr.PrvMbr}}
 
function GoTo(){
    if(this.LinkTxt){
        status='';
        var HP=Nav4?this.LowLyr:this;
        LowItem(HP);
        this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt):DcLoc.location.href=this.LinkTxt}}
 
function HiliteItem(P){
    if(Nav4){
        if(P.ro)P.document.images[P.rid].src=P.ri2;
        else{    if(P.HiBck)P.bgColor=P.HiBck;
            if(P.value.indexOf('<img')==-1){
                P.document.write(P.Ovalue);
                P.document.close()}}}
    else{    if(P.ro){    var Lc=P.Level==1?FrstLoc:ScLoc;
            Lc.document.images[P.rid].src=P.ri2}
        else{    if(P.HiBck)P.style.backgroundColor=P.HiBck;
            if(P.HiFntClr)P.style.color=P.HiFntClr}}
    P.Hilite=1}
 
function LowItem(P){
    if(P.ro){    if(Nav4)P.document.images[P.rid].src=P.ri1;
        else{    var Lc=P.Level==1?FrstLoc:ScLoc;
            Lc.document.images[P.rid].src=P.ri1}}
    else{    if(Nav4){    if(P.LoBck)P.bgColor=P.LoBck;
            if(P.value.indexOf('<img')==-1){
                P.document.write(P.value);
                P.document.close()}}
        else{    if(P.LoBck)P.style.backgroundColor=P.LoBck;
            if(P.LwFntClr)P.style.color=P.LwFntClr}}}
 
function OpenMenu(){
    if(!Loadd||!Creatd) return;
    var TpScrlld=ExpYes?ScLoc.document.body.scrollTop:ScLoc.pageYOffset;
    var LScrlld=ExpYes?ScLoc.document.body.scrollLeft:ScLoc.pageXOffset;
    var CCnt=Nav4?this.LowLyr.ChildCntnr:this.ChildCntnr;
    var ThisHt=Nav4?this.clip.height:parseInt(this.style.height);
    var ThisWt=Nav4?this.clip.width:parseInt(this.style.width);
    var ThisLft=AcrssFrms&&this.Level==1&&!FirstLineHorizontal?0:Nav4?this.Container.left:parseInt(this.Container.style.left);
    var ThisTp=AcrssFrms&&this.Level==1&&FirstLineHorizontal?0:Nav4?this.Container.top:parseInt(this.Container.style.top);
    var HP=Nav4?this.LowLyr:this;
    CurrntOvr=this;
    IniFlg=0;
    ClearAllChilds(this.Container.FrstMbr);
    HiliteItem(HP);
    if(CCnt!=null){
        if(!ShwFlg){ShwFlg=1;    BeforeFirstOpen()}
        var CCW=Nav4?this.LowLyr.ChildCntnr.clip.width:parseInt(this.ChildCntnr.style.width);
        var CCH=Nav4?this.LowLyr.ChildCntnr.clip.height:parseInt(this.ChildCntnr.style.height);
        var ChCntTL=Nav4?this.LowLyr.ChildCntnr:this.ChildCntnr.style;
        var SubLt=AcrssFrms&&this.Level==1?CCnt.OrgLeft+ThisLft+LScrlld:CCnt.OrgLeft+ThisLft;
        var SubTp=AcrssFrms&&this.Level==1?CCnt.OrgTop+ThisTp+TpScrlld:CCnt.OrgTop+ThisTp;
        if(MenuWrap){
            if(RightToLeft){
                if(SubLt<LScrlld)SubLt=this.Level==1?LScrlld:SubLt+(CCW+(1-2*ChildOverlap)*ThisWt);
                if(SubLt+CCW>ScWinWdth+LScrlld)SubLt=ScWinWdth+LScrlld-CCW}
            else{    if(SubLt+CCW>ScWinWdth+LScrlld)SubLt=this.Level==1?ScWinWdth+LScrlld-CCW:SubLt-(CCW+(1-2*ChildOverlap)*ThisWt);
                if(SubLt<LScrlld)SubLt=LScrlld}
            if(SubTp+CCH>TpScrlld+ScWinHght)SubTp=this.Level==1?SubTp=TpScrlld+ScWinHght-CCH:SubTp-CCH+(1-2*ChildVerticalOverlap)*ThisHt;
            if(SubTp<TpScrlld)SubTp=TpScrlld}
        ChCntTL.top=SubTp+'px';ChCntTL.left=SubLt+'px';ChCntTL.visibility=M_Show}
    status=this.LinkTxt}
 
function OpenMenuClick(){
    if(!Loadd||!Creatd) return;
    var HP=Nav4?this.LowLyr:this;
    CurrntOvr=this;
    IniFlg=0;
    ClearAllChilds(this.Container.FrstMbr);
    HiliteItem(HP);
    status=this.LinkTxt}
 
function CloseMenu(){
    if(!Loadd||!Creatd) return;
    if(!KeepHilite){
        var HP=Nav4?this.LowLyr:this;
        LowItem(HP)}
    status='';
    if(this==CurrntOvr){
        IniFlg=1;
        if(CloseTmr)clearTimeout(CloseTmr);
        CloseTmr=setTimeout('Initiate(CurrntOvr)',DissapearDelay)}}
 
function CntnrSetUp(Wdth,Hght,NoOff){
    var x=RcrsLvl==1?BorderColor:BorderSubColor;
    this.FrstMbr=null;
    this.OrgLeft=this.OrgTop=0;
    if(x)this.bgColor=x;
    if(Nav4){    this.visibility='hide';
        this.resizeTo(Wdth,Hght)}
    else{    if(x)this.style.backgroundColor=x;
        this.style.width=Wdth+'px';
        this.style.height=Hght+'px';
        this.style.fontFamily=FontFamily;
        this.style.fontWeight=FontBold?'bold':'normal';
        this.style.fontStyle=FontItalic?'italic':'normal';
        this.style.fontSize=FontSize+'pt';
        this.style.zIndex=RcrsLvl+Ztop}}
 
function MbrSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){
    var Location=RcrsLvl==1?FrstLoc:ScLoc;
    var MemVal=eval(WhatMenu+'[0]');
    var t,T,L,W,H,S;
    var a,b,c,d;
    this.PrvMbr=PrMmbr;
    this.Level=RcrsLvl;
    this.LinkTxt=eval(WhatMenu+'[1]');
    this.Container=MmbrCntnr;
    this.ChildCntnr=null;
    this.Hilite=0;
    this.style.overflow='hidden';
    this.style.cursor=ExpYes&&(this.LinkTxt||(RcrsLvl==1&&UnfoldsOnClick))?'pointer':'default';
    this.ro=0;
    if(MemVal.indexOf('rollover')!=-1){
        this.ro=1;
        this.ri1=MemVal.substring(MemVal.indexOf(':')+1,MemVal.lastIndexOf(':'));
        this.ri2=MemVal.substring(MemVal.lastIndexOf(':')+1,MemVal.length);
        this.rid=WhatMenu+'i';MemVal="<img src='"+this.ri1+"' name='"+this.rid+"'>"}
    this.value=MemVal;
    if(RcrsLvl==1){
        a=LowBgColor;
        b=HighBgColor;
        c=FontLowColor;
        d=FontHighColor}
    else{    a=LowSubBgColor;
        b=HighSubBgColor;
        c=FontSubLowColor;
        d=FontSubHighColor}
    this.LoBck=a;
    this.LwFntClr=c;
    this.HiBck=b;
    this.HiFntClr=d;
    this.style.color=this.LwFntClr;
    if(this.LoBck)this.style.backgroundColor=this.LoBck;
    this.style.textAlign=MenuTextCentered;
    if(eval(WhatMenu+'[2]'))this.style.backgroundImage="url(\'"+eval(WhatMenu+'[2]')+"\')";
    if(MemVal.indexOf('<')==-1){
        this.style.width=Wdth-LftXtra+'px';
        this.style.height=Hght-TpXtra+'px';
        this.style.paddingLeft=LeftPaddng+'px';
        this.style.paddingTop=TopPaddng+'px'}
    else{    this.style.width=Wdth+'px';
        this.style.height=Hght+'px'}
    if(MemVal.indexOf('<')==-1&&DomYes){
        t=Location.document.createTextNode(MemVal);
        this.appendChild(t)}
    else this.innerHTML=MemVal;
    if(eval(WhatMenu+'[3]')&&ShowArrow){
        a=RcrsLvl==1&&FirstLineHorizontal?3:RightToLeft?6:0;
        S=Arrws[a];
        W=Arrws[a+1];
        H=Arrws[a+2];
        T=RcrsLvl==1&&FirstLineHorizontal?Hght-H-2:(Hght-H)/2;
        L=RightToLeft?2:Wdth-W-2;
        if(DomYes){
 
            t=Location.document.createElement('img');
            this.appendChild(t);
            t.style.position='absolute';
            t.src=S;
 
            t.style.width=W+'px';
            t.style.height=H+'px';
            t.style.top=T+'px';
            t.style.left=L+'px'}
        else{    MemVal+="<div style='position:absolute; top:"+T+"; left:"+L+"; width:"+W+"; height:"+H+";visibility:inherit'><img src='"+S+"'></div>
";
            this.innerHTML=MemVal}}
    if(ExpYes){this.onselectstart=CnclSlct;
        this.onmouseover=RcrsLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;
        this.onmouseout=CloseMenu;
        this.onclick=RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?OpenMenu:GoTo    }
    else{    RcrsLvl==1&&UnfoldsOnClick?this.addEventListener('mouseover',OpenMenuClick,false):this.addEventListener('mouseover',OpenMenu,false);
        this.addEventListener('mouseout',CloseMenu,false);
        RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?this.addEventListener('click',OpenMenu,false):this.addEventListener('click',GoTo,false)}}
 
function NavMbrSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){
    var a,b,c,d;
    if(RcrsLvl==1){
        a=LowBgColor;
        b=HighBgColor;
        c=FontLowColor;
        d=FontHighColor}
    else {    a=LowSubBgColor;
        b=HighSubBgColor;
        c=FontSubLowColor;
        d=FontSubHighColor    }
    this.value=eval(WhatMenu+'[0]');
    this.ro=0;
    if(this.value.indexOf('rollover')!=-1){
        this.ro=1;
        this.ri1=this.value.substring(this.value.indexOf(':')+1,this.value.lastIndexOf(':'));
        this.ri2=this.value.substring(this.value.lastIndexOf(':')+1,this.value.length);
        this.rid=WhatMenu+'i';this.value="<img src='"+this.ri1+"' name='"+this.rid+"'>"}
    if(LeftPaddng&&this.value.indexOf('<')==-1&&MenuTextCentered=='left')this.value='&nbsp\;'+this.value;
    if(FontBold)this.value=this.value.bold();
    if(FontItalic)this.value=this.value.italics();
    this.Ovalue=this.value;
    this.value=this.value.fontcolor(c);
    this.Ovalue=this.Ovalue.fontcolor(d);
    this.value=CntrTxt+"<font face='"+FontFamily+"' point-size='"+FontSize+"'>"+this.value+TxtClose;
    this.Ovalue=CntrTxt+"<font face='"+FontFamily+"' point-size='"+FontSize+"'>"+this.Ovalue+TxtClose;
    this.LoBck=a;
    this.HiBck=b;
    this.ChildCntnr=null;
    this.PrvMbr=PrMmbr;
    this.Hilite=0;
    this.visibility='inherit';
    if(this.LoBck)this.bgColor=this.LoBck;
    this.resizeTo(Wdth,Hght);
    if(!AcrssFrms&&eval(WhatMenu+'[2]'))this.background.src=eval(WhatMenu+'[2]');
    this.document.write(this.value);
    this.document.close();
    this.CmdLyr=new Layer(Wdth,MmbrCntnr);
    this.CmdLyr.Level=RcrsLvl;
    this.CmdLyr.LinkTxt=eval(WhatMenu+'[1]');
    this.CmdLyr.visibility='inherit';
    this.CmdLyr.onmouseover=RcrsLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;
    this.CmdLyr.onmouseout=CloseMenu;
    this.CmdLyr.captureEvents(Event.MOUSEUP);
    this.CmdLyr.onmouseup=RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?OpenMenu:GoTo;
    this.CmdLyr.LowLyr=this;
    this.CmdLyr.resizeTo(Wdth,Hght);
    this.CmdLyr.Container=MmbrCntnr;
    if(eval(WhatMenu+'[3]')&&ShowArrow){
        a=RcrsLvl==1&&FirstLineHorizontal?3:RightToLeft?6:0;
        this.CmdLyr.ImgLyr=new Layer(Arrws[a+1],this.CmdLyr);
        this.CmdLyr.ImgLyr.visibility='inherit';
        this.CmdLyr.ImgLyr.top=RcrsLvl==1&&FirstLineHorizontal?Hght-Arrws[a+2]-2:(Hght-Arrws[a+2])/2;
        this.CmdLyr.ImgLyr.left=RightToLeft?2:Wdth-Arrws[a+1]-2;
        this.CmdLyr.ImgLyr.width=Arrws[a+1];
        this.CmdLyr.ImgLyr.height=Arrws[a+2];
        ImgStr="<img src='"+Arrws[a]+"' width='"+Arrws[a+1]+"' height='"+Arrws[a+2]+"'>";
        this.CmdLyr.ImgLyr.document.write(ImgStr);
        this.CmdLyr.ImgLyr.document.close()}}
 
function CreateMenuStructure(MName,NumberOf){
    RcrsLvl++;
    var i,NoOffSubs,Mbr,Wdth=0,Hght=0;
    var PrvMmbr=null;
    var WMnu=MName+'1';
    var MenuWidth=eval(WMnu+'[5]');
    var MenuHeight=eval(WMnu+'[4]');
    var Location=RcrsLvl==1?FrstLoc:ScLoc;
    if (RcrsLvl==1&&FirstLineHorizontal){
        for(i=1;i<NumberOf+1;i++){
            WMnu=MName+eval(i);
            Wdth=eval(WMnu+'[5]')?Wdth+eval(WMnu+'[5]'):Wdth+MenuWidth}
        Wdth=BorderBtwnElmnts?Wdth+(NumberOf+1)*BorderWidth:Wdth+2*BorderWidth;Hght=MenuHeight+2*BorderWidth}
    else{    for(i=1;i<NumberOf+1;i++){
            WMnu=MName+eval(i);
            Hght=eval(WMnu+'[4]')?Hght+eval(WMnu+'[4]'):Hght+MenuHeight}
        Hght=BorderBtwnElmnts?Hght+(NumberOf+1)*BorderWidth:Hght+2*BorderWidth;Wdth=MenuWidth+2*BorderWidth}
    if(DomYes){
        var MmbrCntnr=Location.document.createElement("div");
        MmbrCntnr.style.position='absolute';
        MmbrCntnr.style.visibility='hidden';
        Location.document.body.appendChild(MmbrCntnr)}
    else{    if(Nav4) var MmbrCntnr=new Layer(Wdth,Location)
        else{    WMnu+='c';
            Location.document.body.insertAdjacentHTML("AfterBegin","<div id='"+WMnu+"' style='visibility:hidden; position:absolute;'><\/div>");
            var MmbrCntnr=Location.document.all[WMnu]}}
    MmbrCntnr.SetUp=CntnrSetUp;
    MmbrCntnr.SetUp(Wdth,Hght,NumberOf);
    if(Exp4){    MmbrCntnr.InnerString='';
        for(i=1;i<NumberOf+1;i++){
            WMnu=MName+eval(i);
            MmbrCntnr.InnerString+="<div id='"+WMnu+"' style='position:absolute;'><\/div>"}
        MmbrCntnr.innerHTML=MmbrCntnr.InnerString}
    for(i=1;i<NumberOf+1;i++){
        WMnu=MName+eval(i);
        NoOffSubs=eval(WMnu+'[3]');
        Wdth=RcrsLvl==1&&FirstLineHorizontal?eval(WMnu+'[5]')?eval(WMnu+'[5]'):MenuWidth:MenuWidth;
        Hght=RcrsLvl==1&&FirstLineHorizontal?MenuHeight:eval(WMnu+'[4]')?eval(WMnu+'[4]'):MenuHeight;
        if(DomYes){
            Mbr=Location.document.createElement("div");
            Mbr.style.position='absolute';
            Mbr.style.visibility='inherit';
            MmbrCntnr.appendChild(Mbr)}
        else Mbr=Nav4?new Layer(Wdth,MmbrCntnr):Location.document.all[WMnu];
        Mbr.SetUp=Nav4?NavMbrSetUp:MbrSetUp;
        Mbr.SetUp(MmbrCntnr,PrvMmbr,WMnu,Wdth,Hght);
        if(NoOffSubs) Mbr.ChildCntnr=CreateMenuStructure(WMnu+'_',NoOffSubs);
        PrvMmbr=Mbr}
    MmbrCntnr.FrstMbr=Mbr;
    RcrsLvl--;
    return(MmbrCntnr)}
 
function CreateMenuStructureAgain(MName,NumberOf){
    var i,WMnu,NoOffSubs,PrvMmbr,Mbr=FrstCntnr.FrstMbr;
    RcrsLvl++;
    for(i=NumberOf;i>0;i--){
        WMnu=MName+eval(i);
        NoOffSubs=eval(WMnu+'[3]');
        PrvMmbr=Mbr;
        if(NoOffSubs)Mbr.ChildCntnr=CreateMenuStructure(WMnu+'_',NoOffSubs);
        Mbr=Mbr.PrvMbr}
    RcrsLvl--}
 
function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}
 
</script>
 
<!-- REST OF BODY CONTENT BELOW HERE -->
 
<div id="mainblock">
    <div id="innerblock">
 
        <!--Top Panel starts here -->
 
       <div id="top_panel">
       <img src="images/top_bg1.jpg" width="1000" height="141" alt="" style="clear:left; float:left;" />
<img src="images/top_bg2.jpg" width="519" height="279" alt="" style="clear:left; float:left;" /><img name="" src="images/top_bg3.jpg" width="481" height="279" alt="" /></div>
 
         <!--Top Panel ends  here -->
 
         <!--content panel starts here -->
 
<div id="cp_padd">
    <div class="cp_1pix">
 
         <!--left panel starts here -->
 
    <div class="lp_padd">
   <img src="images/lp_wel.jpg" width="209" height="30" alt="" class="lp_wel" /><br />
 
                 <span class="lp_txt">Hi, my name is Victoria and I have a skin care secret. I'm so excited to share with you the
                 latest in anti-aging skin care.  Women have begun to shed years from their faces without
                 surgery or invasive and expensive techniques, and yet their secrets   have been well kept,
                 until now. This amazing skin care line was created by a company called Beauty Society
                 (formerly known as Intuit   Beauty). They have created esthetician quality products at
                 affordable prices for both women and men. <br />
                 </span>
                 <a href="#" class="lp_read"><img src="images/lp_read.jpg" width="71" height="13" alt="" /></a><br />
 
 
 
 
         <div class="lp_ourpix">
              <p style=" clear:left; float:left; display:inline; width:291px;">
                <img src="images/lp_our.jpg" width="145" height="30" alt="" class="lp_our" />
                <span class="lp_ourtxt">Beauty Society's product line is absolutely superior.  Each and every product we offer reaches for the absolute highest bar-in quality, performance, safety, and overall impact on the world.  <br /><br />All of our products are irritant-free, cruelty-free, fragrance-free, environmentally-friendly and dermatologist-tested.  We promise every ingredient in our formulas are properly stabilized and used at the required percentages to produce the absolute best results.  <br /><br />Beauty Society will teach you the necessary steps to fabulous skin for life.  Beauty Society feels that it is important that you know what to use on your skin, and understand why. <br soft="soft" />
                uppermost quality and effective ingredients at the highest levels.  </span>
 
              </p>
 
              <div style="float:left; display:inline; width:301px;">
                <img src="images/lp_ser.jpg" alt="" width="136" height="29" align="left" class="lp_ser" />
                <p style=" clear:left; float:left; display:inline; width:116px;"><img src="images/lp_women.jpg" width="158" height="131" alt="" class="lp_girl" /></p>
 
<div align="center" style="float:left; display:inline; width:291px;">
 
                                    <p align="left"><span class="lp_ourtxt"> To complement our incredibly popular Enormous Lash eyelash conditioner, we are thrilled to announce the launch of three exciting new products each containing our patent-pending Enormous Lash formula ingredients. These products each help to strengthen & condition your lashes & brows while helping you look simply smashing. You don't want to miss out on these fantastic products! All backed by Beauty Society's 100% satisfaction money-back guarantee... it doesn't get any better than this! </span>
                </p>
                </div>
<div style="float:left; display:inline; width:180px;"><a href="#" class="lp_read2"><img src="images/lp_read.jpg" width="71" height="13" alt="" /></a>
</div>
 
            </div>
 
          </div>
         <p style="clear:left; float:left; display:inline; width:246px;">&nbsp;</p>
 
         <p style= "float:left; display:inline; width:375px;">&nbsp;</p>
 
  </div>
 
            <!--left panel ends here -->
 
            <!--right panel starts here -->
 
<div class="rp_padd"><img src="images/rp_beau.jpg" width="118" height="30" alt="" class="rp_beauty" /><br />
       <p style="clear:left; float:left; display:inline; width:146px;">
             <span class="rp_txt">Learn insider tips and tricks on flawless makeup application from Beauty Society's own executive makeup artist Nathan Johnson.</span>
             <a href="#" class="rp_read"><img src="images/lp_read.jpg" width="71" height="13" alt="" /></a>
       </p>
       <p><img src="images/rp_guarantee.jpg" width="200" height="30" class="rp_food" />                </p>
              <p>&nbsp;</p>
          <p>&nbsp;</p>
              <p>&nbsp;</p>
<p>&nbsp;</p>
              <p><a href="#" class="rp_bultxt"><span class="rp_txt">We are so confident that you will love our products and see results that we offer a full twelve months to exchange or return your purchases.  Every skincare company claims to have great products.  Beauty Society has pushed the limits to prove to you that our products are the world's finest, strongest, and most effective by instituting an unheard-of lifetime product guarantee.</span></a><a href="#" class="rp_ban"><a href="#" class="rp_ban">  <img src="images/guarantee_stamp.jpg" width="115" height="112" /></a></p>
</div>
 
 
         <!--right panel ends here -->
 
</div>   
</div>           
         <!--content panel ends here -->
 
         <!--footer panel starts here -->
 
      <div id="ft_padd">
          <div class="ft_pix">     
                   </div>   
     </div>
 
       <!--footer panel ends here -->
 
    </div>
      <!--innerblock ends here -->
</div>
<!--mainblock ends here -->
</body>
</html>

Vote up Vote down

Re: Can't get information to line up on web page

I checked the column width and that is not the cause of the problem. 




victoria wrote:

Here's my CSS code and then HTML after that.  I used a CSS template to get this site started and that why you will see all the "notes" throughout the codes.  Hopefully I posted this correctly, I'm a bit of a rookie at this.

/* CSS Document */
body{
    margin:0px;
    padding:0px;
    text-align: left;
}
 
p{margin:0px; padding:0px;}
 
img{border:0px;}
 
#mainblock
{
    width:1000px;
    margin:auto;
    background-color: #000;
}
 
#innerblock{
    float:left;
    width:1000px;
    margin:auto;
    background-color: #92B527;
}
 
a:hover {
    text-decoration:underline;
    font-size: 24px;
}
 
#top_panel { clear:left; float:left; display:inline; width:1000px;}
.top_bg1 {
    display:inline;
    clear:left;
    float:left;
    width:1000px;
    height:141px;
    background-image: none;
    background-repeat: no-repeat;
}
.nv_abt  { clear:left; float:left; margin:106px 0px 0px 136px;}
.nv_treat {float:left; margin:106px 0px 0px 36px;}
.nv_pack{ float:left; margin:106px 0px 0px 46px;}
.nv_prod {float:left; margin:106px 0px 0px 55px;}
.nv_gall  {float:left; margin:106px 0px 0px 59px;}
.nv_tips {float:left; margin:106px 0px 0px 89px;}
.top_bg2 { clear:left; float:left; }
.top_bg3{display:inline; float:left; background: url(../images/top_bg3.jpg) no-repeat; width:481px; height:279px;}
.top_logo {clear:left;float:left; margin:47px 0px 0px 108px;}
.top_head {clear:left;float:left; margin:87px 0px 0px 8px;}
 
 
 
#cp_padd { display:inline; clear:left; float:left; width:903px; margin-left:55px; background:#000000;}
.cp_1pix {
    display:inline;
    clear:right;
    float:left;
    width:903px;
    background-color: #000;
    background-image: url(../images/cp_1pix.jpg);
    background-repeat: repeat-y;
}
 
.lp_padd {
    clear:left;
    float:left;
    display:inline;
    width:800px;
}
.lp_wel {clear:left; float:left; margin:13px 0px 0px 21px;}
.lp_txt,.lp_ourtxt{
    clear:left;
    float:left;
    margin:15px 0px 0px 22px;
    color:#9D9698;
    width:595px;
    font-size: 14px;
    font-family: Verdana, Geneva, sans-serif;
    line-height: 14px;
}
.lp_read {clear:left; float:left; margin:9px 0px 0px 22px;}
.lp_ourpix {
    clear:left;
    float:left;
    margin:24px 0px 0px 22px;
    background:url(../images/lp_ourpix.jpg) repeat-y;
    width:593px;
    font-size: 13px;
    font-family: Tahoma, Geneva, sans-serif;
}
.lp_our {clear:left; float:left; margin:16px 0px 0px 21px;}
.lp_ourtxt {
    color:#ADA6A9;
    width:230px;
    margin:7px 0px 0px 21px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
}
.lp_bul {clear:left; float:left; margin:20px 0px 0px 23px;}
.lp_bul2 {clear:left; float:left; margin:8px 0px 0px 23px;}
.lp_bultxt,.lp_bultxt2,.lp_arrtxt,.lp_arrtxt2,.lp_arrtxt3,.lp_arrtxt4,.lp_inbultxt,.lp_inbultxt1{
    float:left;
    font:11px/14px Tahoma;
    color:#ADA6A9;
    width:auto;
    text-decoration:none;
    margin-top: 18px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 11px;
}
.lp_bultxt2 {margin:5px 0px 0px 11px;}
.lp_read1 {clear:left; float:left; margin:14px 0px 0px 23px;}
.lp_inimg1 {clear:left; float:left; margin:17px 0px 0px 24px;}
.lp_inbul { float:left; margin:26px 0px 0px 17px;}
.lp_inbul2 {clear:left;float:left; margin:10px 0px 0px 17px;}
.lp_inbultxt { margin:23px 0px 0px 5px; width:127px;}
.lp_inbultxt1 {margin:4px 0px 0px 5px; width:127px;}
.lp_intxt {clear:left; float:left; margin:17px 0px 0px 27px; font:11px/14px Tahoma; color:#ADA6A9; width:239px; padding-bottom:24px;}
 
.lp_ser {clear:left; float:left; margin:19px 0px 0px 21px;}
.lp_girl {clear:left; float:left; margin:16px 0px 0px 19px;}
.lp_arr { float:left; margin:18px 0px 0px 15px;}
.lp_arr1 {clear:left; float:left; margin:8px 0px 0px 15px;}
.lp_arrtxt {
    margin:16px 0px 0px 11px;
    width:150px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 14px;
    font-weight: normal;
}
.lp_arrtxt2 {margin:3px 0px 0px 11px; width:150px;}
.lp_girl2 {clear:left; float:left; margin:19px 0px 0px 19px;}
.lp_arr2 { float:left; margin:25px 0px 0px 15px;}
.lp_arr3 {clear:left; float:left; margin:10px 0px 0px 15px;}
.lp_arrtxt3 { margin:20px 0px 0px 8px; width:135px;}
.lp_arrtxt4 {margin:5px 0px 0px 8px; width:142px;}
.lp_read2{clear:left; float:left; margin:20px 0px 0px 13px; padding-bottom:16px;}
.lp_imgtxt {float:left; margin:27px 0px 0px 10px; font:11px/14px Tahoma; color:#ADA6A9; width:150px;}
.lp_imgtxt2,.lp_intxt3 {
    clear:left;
    float:right;
    margin:5px 0px 0px 10px;
    font:11px/14px Tahoma;
    color:#ADA6A9;
    width:150px;
    text-decoration:none;
}
.lp_intxt3  {
    margin:25px 0px 0px 25px;
    width:568px;
    padding-bottom:20px;
    font-size: 14px;
    font-style: normal;
    text-align: left;
}
 
 
.lp_beautypad {clear:left; float:left; margin:6px 0px 0px 22px; background:#2B2829; width:593px;}
.lp_beauty {clear:left; float:left; margin:4px 0px 0px 22px; padding-bottom:8px;}
 
.lp_prod1 {
    clear:left;
    float:left;
    margin:15px 0px 0px 55px;
}
.lp_txt3 {float:left; margin:34px 0px 0px 32px; width:335px; font:11px/14px Tahoma; color:#ADA6A9;}
.lp_read4 {clear:left; float:left; margin:13px 0px 0px 31px;}
.rp_padd {
    display:inline;
    width: 260px;
    float: right;
    background-color: #000;
}
.rp_beauty {clear:left; float:left; margin:13px 0px 0px 12px;}
.rp_txt {
    clear:left;
    float:left;
    margin:7px 0px 0px 11px;
    width:137px;
    font:11px/14px Tahoma;
    color:#9D9698;
    font-size: 13px;
}
.rp_read {clear:left; float:left; margin:14px 0px 0px 12px;}
.rp_girl {float:left; margin:0px 0px 0px 17px;}
.rp_food {clear:left; float:left; margin:21px 0px 0px 10px;}
.rp_img {
    clear:none;
    float:none;
    margin-top: 2px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 16px;
}
 
.rp_bul {clear:left; float:left; margin:10px 0px 0px 13px;}
.rp_bul2 {clear:left; float:left; margin:10px 0px 0px 13px;}
.rp_bultxt,.rp_bultxt2,.rp_arrtxt,.rp_arrtxt1 {
    float:left;
    margin:10px 0px 0px 12px;
    width:auto;
    font:11px/14px Tahoma;
    color:#666;
    text-decoration:none;
}
.rp_bultxt2 {
    margin-top: 7px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 12px;
    text-align: left;
}
.rp_read2 {clear:left; float:left; margin:16px 0px 0px 12px;}
.rp_ban {clear:left; float:left; margin:19px 0px 0px 11px;}
.rp_other {clear:left; float:left; margin:12px 0px 0px 11px;}
.rp_arr {clear:left; float:left; margin:14px 0px 0px 13px;}
.rp_arr1 {clear:left; float:left; margin:7px 0px 0px 13px;}
.rp_arrtxt{
    margin:13px 0px 0px 13px;
    width:222px;
    font-size: 12px;
}
.rp_arrtxt1{ margin:3px 0px 0px 13px; width:226px;}
.rp_read3 {clear:left; float:left; margin:13px 0px 0px 12px; padding-bottom:14px;}
.rp_inread3 {clear:left; float:left; margin:19px 0px 0px 12px;}
 
#ft_padd{
    clear:left;
    float:left;
    width:903px;
    display:inline;
    background:#000000;
    margin-left:55px;
}
.ft_pix {clear:left; float:left; width:895px; height:84px; display:inline; background: url(../images/ft_pix.jpg) repeat-x; margin-left:4px;}
.ft_txt2 { clear:left; float:left; font:11px/14px Tahoma; color: #000000; margin:30px 0px 0px 287px; width:370px; padding-bottom:20px; position:relative; margin-right:-3px; }
/*gallery starts here*/
.gallery_container{
float:left; display:inline;
width:600px;
margin:30px 0 0 25px;
}
.stepcarousel{
position: relative; /*leave this value alone*/
border: 10px solid black;
overflow: scroll; /*leave this value alone*/
width: 550px; /*Width of Carousel Viewer itself*/
height: 500px; /*Height should enough to fit largest content's height*/
}
 
.stepcarousel .belt{
position: absolute; /*leave this value alone*/
left: 0;
top: 0;
}
 
.stepcarousel .panel{
float: left; /*leave this value alone*/
overflow: hidden; /*clip content that go outside dimensions of holding panel DIV*/
margin: 10px; /*margin around each panel*/
width: 550px; /*Width of each panel holding each content. If removed, widths should be individually defined on each content DIV then. */
}
/*about us page starts here*/
.aboutus_heading{
    float:left;
    display:inline;
    width:595px;
    color:#d2d2d2;
    margin:10px 0 0 25px;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    font-weight: bold;
}
/*packages starts here*/
.packages_txt {
    float:left;
    width:auto;
    color:#ADA6A9;
    font-family: Tahoma;
    font-size: 14px;
    line-height: normal;
    font-weight: normal;
    margin-top: 15px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 32px;
}
/*product page stats here*/
.products{
float:left;
margin:10px 0 0 40px;
}
/*tips page stats here*/
.tips_textarea{
float:left; display:inline;
width:580px;
font:11px/14px Tahoma; color:#ADA6A9;
margin:10px 0 0 30px;
}
.universal_font {
    font-size: 12px;
}
.universal_font {
    font-size: 13px;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .lp_ourpix div div .lp_arrtxt {
    font-family: Tahoma, Geneva, sans-serif;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .lp_ourpix div div .lp_arrtxt {
    font-size: 13px;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .lp_ourpix div div .lp_arrtxt {
    font-family: Tahoma, Geneva, sans-serif;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .lp_ourpix div p .lp_arrtxt {
    font-family: Tahoma, Geneva, sans-serif;
}
#mainblock #innerblock #cp_padd .cp_1pix .lp_padd .aboutus_heading em {
    font-family: Tahoma, Geneva, sans-serif;
}

and html for this page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<title>home page</title>
<style type="text/css">
<!--
body,td,th {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 13px;
}
-->
</style></head>
<body>
 
<script type='text/javascript'>
 
function Go(){return}
 
/***********************************************************************
    YOU MAY MANUALLY CHANGE THE MENU HERE, BUT BE VERY CAREFUL !
***********************************************************************/
 
Menu1=new Array("Home","http://","",0,50,90);
 
Menu2=new Array("Products","http://","",4,0,90);
  Menu2_1=new Array("Skincare","http://","",8,40,90);
   Menu2_1_1=new Array("Step 1: Cleanse","http://","",0,40,160);
   Menu2_1_2=new Array("Step 2: Resurface","http://","",0,40,0);
   Menu2_1_3=new Array("Step 3: Rebuild","http://","",0,40,0);
   Menu2_1_4=new Array("Step 4: Moisturize","http://","",0,40,0);
   Menu2_1_5=new Array("Step 5: Protect","http://","",0,40,0);
   Menu2_1_6=new Array("Step 6: Troubleshoot","http://","",0,40,0);
   Menu2_1_7=new Array("Specialty Products","http://","",0,40,0);
   Menu2_1_8=new Array("Signature Collections","http://","",0,40,0);
  Menu2_2=new Array("Makeup","http://","",9,40,0);
   Menu2_2_1=new Array("Bamboo Products","http://","",0,40,160);
   Menu2_2_2=new Array("Brushes","http://","",0,40,0);
   Menu2_2_3=new Array("Foundations","http://","",0,40,0);
   Menu2_2_4=new Array("Concealers","http://","",0,40,80);
   Menu2_2_5=new Array("Blushes & Bronzers","http://","",0,40,80);
   Menu2_2_6=new Array("Lashes & Brows","http://","",0,40,80);
   Menu2_2_7=new Array("Eyeshadows","http://","",0,40,80);
   Menu2_2_8=new Array("Lip Glisten","http://","",0,40,80);
   Menu2_2_9=new Array("Perfume","http://","",0,40,80);
  Menu2_3=new Array("Tips & Tricks","http://","",0,40,90);
  Menu2_4=new Array("FAQ","http://","",0,40,90);
 
Menu3=new Array("All About Beauty Society","http://","",5,50,160);
  Menu3_1=new Array("Our Founder","http://","",0,40,105);
  Menu3_2=new Array("Going Green","http://","",0,40,0);
  Menu3_3=new Array("Giving Back","http://","",0,40,90);
  Menu3_4=new Array("Penthouse Tour","http://","",0,40,90);
  Menu3_5=new Array("Beauty Bar","http://","",0,40,90);
 
Menu4=new Array("It's A Diva Thing","http://","",4,50,130);
  Menu4_1=new Array("Host A Facial Party","http://","",0,40,130);
  Menu4_2=new Array("Party Tips","http://","",0,40,0);
  Menu4_3=new Array("Receive Free Gifts","http://","",0,40,90);
  Menu4_4=new Array("Join Our Team","http://","",0,40,90);
 
Menu5=new Array("Photo Gallery","http://","",0,0,100);
 
Menu6=new Array("Press Release","http://","",0,0,100);
 
Menu7=new Array("Contact Us","http://","",0,50,90);
 
 
var NoOffFirstLineMenus=7;    // Number of first level items
var LowBgColor='#000000';        // Background color when mouse is not over
var LowSubBgColor='#92B527';    // Background color when mouse is not over on subs
var HighBgColor='#FFFFFF';    // Background color when mouse is over
var HighSubBgColor='#FFFFE1';    // Background color when mouse is over on subs
var FontLowColor='#FFFFFF';    // Font color when mouse is not over
var FontSubLowColor='#000000';    // Font color subs when mouse is not over
var FontHighColor='#92B527';    // Font color when mouse is over
var FontSubHighColor='#000000';    // Font color subs when mouse is over
var BorderColor='#000000';    // Border color
var BorderSubColor='#000000';    // Border color for subs
var BorderWidth=1;        // Border width
var BorderBtwnElmnts=0;        // Border between elements 1 or 0
var FontFamily="Gabriola"            // Font family menu items
var FontSize=14;            // Font size menu items
var FontBold=0;            // Bold menu items 1 or 0
var FontItalic=0;        // Italic menu items 1 or 0
var MenuTextCentered='center';    // Item text position 'left', 'center' or 'right'
var MenuCentered='center';    // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top';    // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.2;        // horizontal overlap child/ parent
var ChildVerticalOverlap=.2;    // vertical overlap child/ parent
var StartTop=0;        // Menu offset x coordinate
var StartLeft=0;        // Menu offset y coordinate
var VerCorrect=0;        // Multiple frames y correction
var HorCorrect=0;        // Multiple frames x correction
var LeftPaddng=0;        // Left padding
var TopPaddng=0;        // Top padding
var FirstLineHorizontal=1;    // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=1;    // Frames in cols or rows 1 or 0
var DissapearDelay=1000;    // delay before menu folds in
var TakeOverBgColor=1;        // Menu frame takes over background color subitem frame
var FirstLineFrame='navig';    // Frame where first level appears
var SecLineFrame='space';    // Frame where sub levels appear
var DocTargetFrame='space';    // Frame where target documents appear
var TargetLoc='';        // span id for relative positioning
var HideTop=0;            // Hide first level when loading new document 1 or 0
var MenuWrap=1;            // enables/ disables menu wrap 1 or 0
var RightToLeft=0;        // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0;        // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0;        // menu tree checking on or off 1 or 0
var ShowArrow=0;        // Uses arrow gifs when 1
var KeepHilite=1;        // Keep selected path highligthed
var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10];    // Arrow source, width and height
 
 
/***********************************************************************
   DO NOT EDIT ANYTHING BELOW THIS LINE - IT WILL BREAK THE SCRIPT !
***********************************************************************/
 
 
var AgntUsr=navigator.userAgent.toLowerCase();
var DomYes=document.getElementById?1:0;
var NavYes=AgntUsr.indexOf('mozilla')!=-1&&AgntUsr.indexOf('msie')==-1?1:0;
var ExpYes=AgntUsr.indexOf('msie')!=-1?1:0;
var Opr=AgntUsr.indexOf('opera')!=-1?1:0;
var Opr6orless=window.opera && navigator.userAgent.search(/opera.[1-6]/i)!=-1 //DynamicDrive.com added code
if ( Opr6orless!=1 ) { ExpYes = 1 }
var DomNav=DomYes&&NavYes?1:0;
var DomExp=DomYes&&ExpYes?1:0;
var Nav4=NavYes&&!DomYes&&document.layers?1:0;
var Exp4=ExpYes&&!DomYes&&document.all?1:0;
var PosStrt=(NavYes||ExpYes)&&!Opr6orless?1:0;
var FrstLoc,ScLoc,DcLoc;
var ScWinWdth,ScWinHght,FrstWinWdth,FrstWinHght;
var ScLdAgainWin;
var FirstColPos,SecColPos,DocColPos;
var RcrsLvl=0;
var FrstCreat=1,Loadd=0,Creatd=0,IniFlg,AcrssFrms=1;
var FrstCntnr=null,CurrntOvr=null,CloseTmr=null;
var CntrTxt,TxtClose,ImgStr;
var Ztop=100;
var ShwFlg=0;
var M_StrtTp=StartTop,M_StrtLft=StartLeft;
var StaticPos=0;
//var LftXtra=DomNav&&!Opr?LeftPaddng:0; //Changed for Opera
var LftXtra=DomNav||DomExp&&!Exp4&&!Opr6orless?LeftPaddng:0; //Changed for Opera
var TpXtra=DomNav||DomExp?TopPaddng:0;
//var TpXtra=DomNav?TopPaddng:0;
var M_Hide=Nav4?'hide':'hidden';
var M_Show=Nav4?'show':'visible';
var Par=parent.frames[0]&&FirstLineFrame!=SecLineFrame?parent:window;
var Doc=Par.document;
var Bod=Doc.body;
//var Trigger=NavYes&&!Opr?Par:Bod; //Changed for Opera
var Trigger=NavYes&&!Opr?Par:Opr?Doc:Bod; //Changed for Opera by Rafael
 
MenuTextCentered=MenuTextCentered==1||MenuTextCentered=='center'?'center':MenuTextCentered==0||MenuTextCentered!='right'?'left':'right';
WbMstrAlrts=["Item not defined: ","Item needs height: ","Item needs width: "];
 
if(Trigger.onload)Dummy=Trigger.onload;
if(DomNav||Opr)Trigger.addEventListener('load',Go,false); //Changed for Opera
else Trigger.onload=Go;
 
function Dummy(){return}
 
function CnclSlct(){return false}
 
function RePos(){
    FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.innerWidth;
    FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.innerHeight;
    ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
    ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
    if(MenuCentered=='justify'&&FirstLineHorizontal){
        FrstCntnr.style.width=FrstWinWdth+'px';
        ClcJus();
        var P=FrstCntnr.FrstMbr,W=Menu1[5],i;
        for(i=0;i<NoOffFirstLineMenus;i++){P.style.width=W+'px';P=P.PrvMbr}}
    StaticPos=-1;
    if(TargetLoc)ClcTrgt();
    if(MenuCentered)ClcLft();
    if(MenuVerticalCentered)ClcTp();
    PosMenu(FrstCntnr,StartTop,StartLeft)}
 
function UnLoaded(){
    if(CloseTmr)clearTimeout(CloseTmr);
    Loadd=0; Creatd=0;
    if(HideTop){
        var FCStyle=Nav4?FrstCntnr:FrstCntnr.style;
        FCStyle.visibility=M_Hide}}
 
function ReDoWhole(){
    if(ScWinWdth!=ScLoc.innerWidth||ScWinHght!=ScLoc.innerHeight||FrstWinWdth!=FrstLoc.innerWidth||FrstWinHght!=FrstLoc.innerHeight)Doc.location.reload()}
 
function Check(WMnu,NoOf){
    var i,array,ArrayLoc;
    ArrayLoc=parent.frames[0]?parent.frames[FirstLineFrame]:self;
    for(i=0;i<NoOf;i++){
        array=WMnu+eval(i+1);
        if(!ArrayLoc[array]){WbMstrAlrt(0,array); return false}
        if(i==0){    if(!ArrayLoc[array][4]){WbMstrAlrt(1,array); return false}
            if(!ArrayLoc[array][5]){WbMstrAlrt(2,array); return false}}
        if(ArrayLoc[array][3])if(!Check(array+'_',ArrayLoc[array][3])) return false}
    return true}
 
function WbMstrAlrt(No,Xtra){
    return confirm(WbMstrAlrts[No]+Xtra+'   ')}
 
function Go(){
    Dummy();
    if(Loadd||!PosStrt)return;
    BeforeStart();
    Creatd=0; Loadd=1;
    status='Building menu';
    if(FrstCreat){
        if(FirstLineFrame =="" || !parent.frames[FirstLineFrame]){
            FirstLineFrame=SecLineFrame;
            if(FirstLineFrame =="" || !parent.frames[FirstLineFrame]){
                FirstLineFrame=SecLineFrame=DocTargetFrame;
                if(FirstLineFrame =="" || !parent.frames[FirstLineFrame])FirstLineFrame=SecLineFrame=DocTargetFrame=''}}
        if(SecLineFrame =="" || !parent.frames[SecLineFrame]){
            SecLineFrame=DocTargetFrame;
            if(SecLineFrame =="" || !parent.frames[SecLineFrame])SecLineFrame=DocTargetFrame=FirstLineFrame}
        if(DocTargetFrame =="" || !parent.frames[DocTargetFrame])DocTargetFrame=SecLineFrame;
        if(WebMasterCheck){    if(!Check('Menu',NoOffFirstLineMenus)){status='build aborted';return}}
        FrstLoc=FirstLineFrame!=""?parent.frames[FirstLineFrame]:window;
        ScLoc=SecLineFrame!=""?parent.frames[SecLineFrame]:window;
        DcLoc=DocTargetFrame!=""?parent.frames[DocTargetFrame]:window;
        if (FrstLoc==ScLoc) AcrssFrms=0;
        if (AcrssFrms)FirstLineHorizontal=MenuFramesVertical?0:1;
        FrstWinWdth=ExpYes?FrstLoc.document.body.clientWidth:FrstLoc.innerWidth;
        FrstWinHght=ExpYes?FrstLoc.document.body.clientHeight:FrstLoc.innerHeight;
        ScWinWdth=ExpYes?ScLoc.document.body.clientWidth:ScLoc.innerWidth;
        ScWinHght=ExpYes?ScLoc.document.body.clientHeight:ScLoc.innerHeight;
        if(Nav4){    CntrTxt=MenuTextCentered!='left'?"<div align='"+MenuTextCentered+"'>":"";
            TxtClose="</font>"+MenuTextCentered!='left'?"</div>":""}}
    FirstColPos=Nav4?FrstLoc.document:FrstLoc.document.body;
    SecColPos=Nav4?ScLoc.document:ScLoc.document.body;
    DocColPos=Nav4?DcLoc.document:ScLoc.document.body;
    if (TakeOverBgColor)FirstColPos.bgColor=AcrssFrms?SecColPos.bgColor:DocColPos.bgColor;
    if(MenuCentered=='justify'&&FirstLineHorizontal)ClcJus();
    if(FrstCreat){
        FrstCntnr=CreateMenuStructure('Menu',NoOffFirstLineMenus);
        FrstCreat=AcrssFrms?0:1}
    else CreateMenuStructureAgain('Menu',NoOffFirstLineMenus);
    if(TargetLoc)ClcTrgt();
    if(MenuCentered)ClcLft();
    if(MenuVerticalCentered)ClcTp();
    PosMenu(FrstCntnr,StartTop,StartLeft);
    IniFlg=1;
    Initiate();
    Creatd=1;
    if (AcrssFrms)     //Added for Opera
        {     //Added for Opera
        ScLdAgainWin=ExpYes?ScLoc.document.body:ScLoc;
        ScLdAgainWin.onunload=UnLoaded;
        }     //Added for Opera
    Trigger.onresize=Nav4?ReDoWhole:RePos;
    AfterBuild();
    if(MenuVerticalCentered=='static'&&!AcrssFrms)setInterval('KeepPos()',250);
    status='Menu ready for use'}
 
function KeepPos(){
//    var TS=ExpYes?FrstLoc.document.body.scrollTop:FrstLoc.pageYOffset;
    var TS= typeof FrstLoc.pageYOffset != 'undefined' ?
    FrstLoc.pageYOffset :
    FrstLoc.document.documentElement &&
    FrstLoc.document.documentElement.scrollTop ?
    FrstLoc.document.documentElement.scrollTop :
    FrstLoc.document.body.scrollTop;
    if(TS!=StaticPos){
        var FCStyle=Nav4?FrstCntnr:FrstCntnr.style;
        FrstCntnr.OrgTop=StartTop+TS;FCStyle.top=FrstCntnr.OrgTop+'px';StaticPos=TS}}
 
function ClcJus(){
    var a=BorderBtwnElmnts?1:2,b=BorderBtwnElmnts?BorderWidth:0;
    var Size=Math.round(((FrstWinWdth-a*BorderWidth)/NoOffFirstLineMenus)-b),i,j;
    for(i=1;i<NoOffFirstLineMenus+1;i++){j=eval('Menu'+i);j[5]=Size}
    StartLeft=0}
 
function ClcTrgt(){
    var TLoc=Nav4?FrstLoc.document.layers[TargetLoc]:DomYes?FrstLoc.document.getElementById(TargetLoc):FrstLoc.document.all[TargetLoc];
    StartTop=M_StrtTp;
    StartLeft=M_StrtLft;
    if(DomYes){
        while(TLoc){StartTop+=TLoc.offsetTop;StartLeft+=TLoc.offsetLeft;TLoc=TLoc.offsetParent}}
    else{    StartTop+=Nav4?TLoc.pageY:TLoc.offsetTop;StartLeft+=Nav4?TLoc.pageX:TLoc.offsetLeft}}
 
function ClcLft(){
    if(MenuCentered!='left'&&MenuCentered!='justify'){
        var Size=FrstWinWdth-(!Nav4?parseInt(FrstCntnr.style.width):FrstCntnr.clip.width);
        StartLeft=M_StrtLft;
        StartLeft+=MenuCentered=='right'?Size:Size/2}}
 
function ClcTp(){
    if(MenuVerticalCentered!='top'&&MenuVerticalCentered!='static'){
        var Size=FrstWinHght-(!Nav4?parseInt(FrstCntnr.style.height):FrstCntnr.clip.height);
        StartTop=M_StrtTp;
        StartTop+=MenuVerticalCentered=='bottom'?Size:Size/2}}
 
function PosMenu(CntnrPntr,Tp,Lt){
    var Topi,Lefti,Hori;
    var Cntnr=CntnrPntr;
    var Mmbr=Cntnr.FrstMbr;
    var CntnrStyle=!Nav4?Cntnr.style:Cntnr;
    var MmbrStyle=!Nav4?Mmbr.style:Mmbr;
    var PadL=Mmbr.value.indexOf('<')==-1?LftXtra:0;
    var PadT=Mmbr.value.indexOf('<')==-1?TpXtra:0;
    var MmbrWt=!Nav4?parseInt(MmbrStyle.width)+PadL:MmbrStyle.clip.width;
    var MmbrHt=!Nav4?parseInt(MmbrStyle.height)+PadT:MmbrStyle.clip.height;
    var CntnrWt=!Nav4?parseInt(CntnrStyle.width):CntnrStyle.clip.width;
    var CntnrHt=!Nav4?parseInt(CntnrStyle.height):CntnrStyle.clip.height;
    var SubTp,SubLt;
    RcrsLvl++;
    if (RcrsLvl==1 && AcrssFrms)!MenuFramesVertical?Tp=FrstWinHght-CntnrHt+(Nav4?4:0):Lt=RightToLeft?0:FrstWinWdth-CntnrWt+(Nav4?4:0);
    if (RcrsLvl==2 && AcrssFrms)!MenuFramesVertical?Tp=0:Lt=RightToLeft?ScWinWdth-CntnrWt:0;
    if (RcrsLvl==2 && AcrssFrms){Tp+=VerCorrect;Lt+=HorCorrect}
    CntnrStyle.top=RcrsLvl==1?Tp+'px':0;
    Cntnr.OrgTop=Tp;
    CntnrStyle.left=RcrsLvl==1?Lt+'px':0;
    Cntnr.OrgLeft=Lt;
    if (RcrsLvl==1 && FirstLineHorizontal){
        Hori=1;Lefti=CntnrWt-MmbrWt-2*BorderWidth;Topi=0}
    else{    Hori=Lefti=0;Topi=CntnrHt-MmbrHt-2*BorderWidth}
    while(Mmbr!=null){
        MmbrStyle.left=Lefti+BorderWidth+'px';
        MmbrStyle.top=Topi+BorderWidth+'px';
        if(Nav4)Mmbr.CmdLyr.moveTo(Lefti+BorderWidth,Topi+BorderWidth);
        if(Mmbr.ChildCntnr){
            if(RightToLeft)ChldCntnrWdth=Nav4?Mmbr.ChildCntnr.clip.width:parseInt(Mmbr.ChildCntnr.style.width);
            if(Hori){    SubTp=Topi+MmbrHt+2*BorderWidth;
                SubLt=RightToLeft?Lefti+MmbrWt-ChldCntnrWdth:Lefti}
            else{    SubLt=RightToLeft?Lefti-ChldCntnrWdth+ChildOverlap*MmbrWt+BorderWidth:Lefti+(1-ChildOverlap)*MmbrWt+BorderWidth;
                SubTp=RcrsLvl==1&&AcrssFrms?Topi:Topi+ChildVerticalOverlap*MmbrHt}
            PosMenu(Mmbr.ChildCntnr,SubTp,SubLt)}
        Mmbr=Mmbr.PrvMbr;
        if(Mmbr){    MmbrStyle=!Nav4?Mmbr.style:Mmbr;
            PadL=Mmbr.value.indexOf('<')==-1?LftXtra:0;
            PadT=Mmbr.value.indexOf('<')==-1?TpXtra:0;
            MmbrWt=!Nav4?parseInt(MmbrStyle.width)+PadL:MmbrStyle.clip.width;
            MmbrHt=!Nav4?parseInt(MmbrStyle.height)+PadT:MmbrStyle.clip.height;
            Hori?Lefti-=BorderBtwnElmnts?(MmbrWt+BorderWidth):(MmbrWt):Topi-=BorderBtwnElmnts?(MmbrHt+BorderWidth):(MmbrHt)}}
    RcrsLvl--}
 
function Initiate(){
    if(IniFlg){    Init(FrstCntnr);IniFlg=0;
        if(ShwFlg)AfterCloseAll();ShwFlg=0}}
 
function Init(CntnrPntr){
    var Mmbr=CntnrPntr.FrstMbr;
    var MCStyle=Nav4?CntnrPntr:CntnrPntr.style;
    RcrsLvl++;
    MCStyle.visibility=RcrsLvl==1?M_Show:M_Hide;
    while(Mmbr!=null){
        if(Mmbr.Hilite){Mmbr.Hilite=0;if(KeepHilite)LowItem(Mmbr)}
        if(Mmbr.ChildCntnr) Init(Mmbr.ChildCntnr);
        Mmbr=Mmbr.PrvMbr}
    RcrsLvl--}
 
function ClearAllChilds(Pntr){
    var CPCCStyle;
    while (Pntr){
        if(Pntr.Hilite){
            Pntr.Hilite=0;
            if(KeepHilite)LowItem(Pntr);
            if(Pntr.ChildCntnr){
                CPCCStyle=Nav4?Pntr.ChildCntnr:Pntr.ChildCntnr.style;
                CPCCStyle.visibility=M_Hide;
                ClearAllChilds(Pntr.ChildCntnr.FrstMbr)}
            break}
        Pntr=Pntr.PrvMbr}}
 
function GoTo(){
    if(this.LinkTxt){
        status='';
        var HP=Nav4?this.LowLyr:this;
        LowItem(HP);
        this.LinkTxt.indexOf('javascript:')!=-1?eval(this.LinkTxt):DcLoc.location.href=this.LinkTxt}}
 
function HiliteItem(P){
    if(Nav4){
        if(P.ro)P.document.images[P.rid].src=P.ri2;
        else{    if(P.HiBck)P.bgColor=P.HiBck;
            if(P.value.indexOf('<img')==-1){
                P.document.write(P.Ovalue);
                P.document.close()}}}
    else{    if(P.ro){    var Lc=P.Level==1?FrstLoc:ScLoc;
            Lc.document.images[P.rid].src=P.ri2}
        else{    if(P.HiBck)P.style.backgroundColor=P.HiBck;
            if(P.HiFntClr)P.style.color=P.HiFntClr}}
    P.Hilite=1}
 
function LowItem(P){
    if(P.ro){    if(Nav4)P.document.images[P.rid].src=P.ri1;
        else{    var Lc=P.Level==1?FrstLoc:ScLoc;
            Lc.document.images[P.rid].src=P.ri1}}
    else{    if(Nav4){    if(P.LoBck)P.bgColor=P.LoBck;
            if(P.value.indexOf('<img')==-1){
                P.document.write(P.value);
                P.document.close()}}
        else{    if(P.LoBck)P.style.backgroundColor=P.LoBck;
            if(P.LwFntClr)P.style.color=P.LwFntClr}}}
 
function OpenMenu(){
    if(!Loadd||!Creatd) return;
    var TpScrlld=ExpYes?ScLoc.document.body.scrollTop:ScLoc.pageYOffset;
    var LScrlld=ExpYes?ScLoc.document.body.scrollLeft:ScLoc.pageXOffset;
    var CCnt=Nav4?this.LowLyr.ChildCntnr:this.ChildCntnr;
    var ThisHt=Nav4?this.clip.height:parseInt(this.style.height);
    var ThisWt=Nav4?this.clip.width:parseInt(this.style.width);
    var ThisLft=AcrssFrms&&this.Level==1&&!FirstLineHorizontal?0:Nav4?this.Container.left:parseInt(this.Container.style.left);
    var ThisTp=AcrssFrms&&this.Level==1&&FirstLineHorizontal?0:Nav4?this.Container.top:parseInt(this.Container.style.top);
    var HP=Nav4?this.LowLyr:this;
    CurrntOvr=this;
    IniFlg=0;
    ClearAllChilds(this.Container.FrstMbr);
    HiliteItem(HP);
    if(CCnt!=null){
        if(!ShwFlg){ShwFlg=1;    BeforeFirstOpen()}
        var CCW=Nav4?this.LowLyr.ChildCntnr.clip.width:parseInt(this.ChildCntnr.style.width);
        var CCH=Nav4?this.LowLyr.ChildCntnr.clip.height:parseInt(this.ChildCntnr.style.height);
        var ChCntTL=Nav4?this.LowLyr.ChildCntnr:this.ChildCntnr.style;
        var SubLt=AcrssFrms&&this.Level==1?CCnt.OrgLeft+ThisLft+LScrlld:CCnt.OrgLeft+ThisLft;
        var SubTp=AcrssFrms&&this.Level==1?CCnt.OrgTop+ThisTp+TpScrlld:CCnt.OrgTop+ThisTp;
        if(MenuWrap){
            if(RightToLeft){
                if(SubLt<LScrlld)SubLt=this.Level==1?LScrlld:SubLt+(CCW+(1-2*ChildOverlap)*ThisWt);
                if(SubLt+CCW>ScWinWdth+LScrlld)SubLt=ScWinWdth+LScrlld-CCW}
            else{    if(SubLt+CCW>ScWinWdth+LScrlld)SubLt=this.Level==1?ScWinWdth+LScrlld-CCW:SubLt-(CCW+(1-2*ChildOverlap)*ThisWt);
                if(SubLt<LScrlld)SubLt=LScrlld}
            if(SubTp+CCH>TpScrlld+ScWinHght)SubTp=this.Level==1?SubTp=TpScrlld+ScWinHght-CCH:SubTp-CCH+(1-2*ChildVerticalOverlap)*ThisHt;
            if(SubTp<TpScrlld)SubTp=TpScrlld}
        ChCntTL.top=SubTp+'px';ChCntTL.left=SubLt+'px';ChCntTL.visibility=M_Show}
    status=this.LinkTxt}
 
function OpenMenuClick(){
    if(!Loadd||!Creatd) return;
    var HP=Nav4?this.LowLyr:this;
    CurrntOvr=this;
    IniFlg=0;
    ClearAllChilds(this.Container.FrstMbr);
    HiliteItem(HP);
    status=this.LinkTxt}
 
function CloseMenu(){
    if(!Loadd||!Creatd) return;
    if(!KeepHilite){
        var HP=Nav4?this.LowLyr:this;
        LowItem(HP)}
    status='';
    if(this==CurrntOvr){
        IniFlg=1;
        if(CloseTmr)clearTimeout(CloseTmr);
        CloseTmr=setTimeout('Initiate(CurrntOvr)',DissapearDelay)}}
 
function CntnrSetUp(Wdth,Hght,NoOff){
    var x=RcrsLvl==1?BorderColor:BorderSubColor;
    this.FrstMbr=null;
    this.OrgLeft=this.OrgTop=0;
    if(x)this.bgColor=x;
    if(Nav4){    this.visibility='hide';
        this.resizeTo(Wdth,Hght)}
    else{    if(x)this.style.backgroundColor=x;
        this.style.width=Wdth+'px';
        this.style.height=Hght+'px';
        this.style.fontFamily=FontFamily;
        this.style.fontWeight=FontBold?'bold':'normal';
        this.style.fontStyle=FontItalic?'italic':'normal';
        this.style.fontSize=FontSize+'pt';
        this.style.zIndex=RcrsLvl+Ztop}}
 
function MbrSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){
    var Location=RcrsLvl==1?FrstLoc:ScLoc;
    var MemVal=eval(WhatMenu+'[0]');
    var t,T,L,W,H,S;
    var a,b,c,d;
    this.PrvMbr=PrMmbr;
    this.Level=RcrsLvl;
    this.LinkTxt=eval(WhatMenu+'[1]');
    this.Container=MmbrCntnr;
    this.ChildCntnr=null;
    this.Hilite=0;
    this.style.overflow='hidden';
    this.style.cursor=ExpYes&&(this.LinkTxt||(RcrsLvl==1&&UnfoldsOnClick))?'pointer':'default';
    this.ro=0;
    if(MemVal.indexOf('rollover')!=-1){
        this.ro=1;
        this.ri1=MemVal.substring(MemVal.indexOf(':')+1,MemVal.lastIndexOf(':'));
        this.ri2=MemVal.substring(MemVal.lastIndexOf(':')+1,MemVal.length);
        this.rid=WhatMenu+'i';MemVal="<img src='"+this.ri1+"' name='"+this.rid+"'>"}
    this.value=MemVal;
    if(RcrsLvl==1){
        a=LowBgColor;
        b=HighBgColor;
        c=FontLowColor;
        d=FontHighColor}
    else{    a=LowSubBgColor;
        b=HighSubBgColor;
        c=FontSubLowColor;
        d=FontSubHighColor}
    this.LoBck=a;
    this.LwFntClr=c;
    this.HiBck=b;
    this.HiFntClr=d;
    this.style.color=this.LwFntClr;
    if(this.LoBck)this.style.backgroundColor=this.LoBck;
    this.style.textAlign=MenuTextCentered;
    if(eval(WhatMenu+'[2]'))this.style.backgroundImage="url(\'"+eval(WhatMenu+'[2]')+"\')";
    if(MemVal.indexOf('<')==-1){
        this.style.width=Wdth-LftXtra+'px';
        this.style.height=Hght-TpXtra+'px';
        this.style.paddingLeft=LeftPaddng+'px';
        this.style.paddingTop=TopPaddng+'px'}
    else{    this.style.width=Wdth+'px';
        this.style.height=Hght+'px'}
    if(MemVal.indexOf('<')==-1&&DomYes){
        t=Location.document.createTextNode(MemVal);
        this.appendChild(t)}
    else this.innerHTML=MemVal;
    if(eval(WhatMenu+'[3]')&&ShowArrow){
        a=RcrsLvl==1&&FirstLineHorizontal?3:RightToLeft?6:0;
        S=Arrws[a];
        W=Arrws[a+1];
        H=Arrws[a+2];
        T=RcrsLvl==1&&FirstLineHorizontal?Hght-H-2:(Hght-H)/2;
        L=RightToLeft?2:Wdth-W-2;
        if(DomYes){
 
            t=Location.document.createElement('img');
            this.appendChild(t);
            t.style.position='absolute';
            t.src=S;
 
            t.style.width=W+'px';
            t.style.height=H+'px';
            t.style.top=T+'px';
            t.style.left=L+'px'}
        else{    MemVal+="<div style='position:absolute; top:"+T+"; left:"+L+"; width:"+W+"; height:"+H+";visibility:inherit'><img src='"+S+"'></div>
";
            this.innerHTML=MemVal}}
    if(ExpYes){this.onselectstart=CnclSlct;
        this.onmouseover=RcrsLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;
        this.onmouseout=CloseMenu;
        this.onclick=RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?OpenMenu:GoTo    }
    else{    RcrsLvl==1&&UnfoldsOnClick?this.addEventListener('mouseover',OpenMenuClick,false):this.addEventListener('mouseover',OpenMenu,false);
        this.addEventListener('mouseout',CloseMenu,false);
        RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?this.addEventListener('click',OpenMenu,false):this.addEventListener('click',GoTo,false)}}
 
function NavMbrSetUp(MmbrCntnr,PrMmbr,WhatMenu,Wdth,Hght){
    var a,b,c,d;
    if(RcrsLvl==1){
        a=LowBgColor;
        b=HighBgColor;
        c=FontLowColor;
        d=FontHighColor}
    else {    a=LowSubBgColor;
        b=HighSubBgColor;
        c=FontSubLowColor;
        d=FontSubHighColor    }
    this.value=eval(WhatMenu+'[0]');
    this.ro=0;
    if(this.value.indexOf('rollover')!=-1){
        this.ro=1;
        this.ri1=this.value.substring(this.value.indexOf(':')+1,this.value.lastIndexOf(':'));
        this.ri2=this.value.substring(this.value.lastIndexOf(':')+1,this.value.length);
        this.rid=WhatMenu+'i';this.value="<img src='"+this.ri1+"' name='"+this.rid+"'>"}
    if(LeftPaddng&&this.value.indexOf('<')==-1&&MenuTextCentered=='left')this.value='&nbsp\;'+this.value;
    if(FontBold)this.value=this.value.bold();
    if(FontItalic)this.value=this.value.italics();
    this.Ovalue=this.value;
    this.value=this.value.fontcolor(c);
    this.Ovalue=this.Ovalue.fontcolor(d);
    this.value=CntrTxt+"<font face='"+FontFamily+"' point-size='"+FontSize+"'>"+this.value+TxtClose;
    this.Ovalue=CntrTxt+"<font face='"+FontFamily+"' point-size='"+FontSize+"'>"+this.Ovalue+TxtClose;
    this.LoBck=a;
    this.HiBck=b;
    this.ChildCntnr=null;
    this.PrvMbr=PrMmbr;
    this.Hilite=0;
    this.visibility='inherit';
    if(this.LoBck)this.bgColor=this.LoBck;
    this.resizeTo(Wdth,Hght);
    if(!AcrssFrms&&eval(WhatMenu+'[2]'))this.background.src=eval(WhatMenu+'[2]');
    this.document.write(this.value);
    this.document.close();
    this.CmdLyr=new Layer(Wdth,MmbrCntnr);
    this.CmdLyr.Level=RcrsLvl;
    this.CmdLyr.LinkTxt=eval(WhatMenu+'[1]');
    this.CmdLyr.visibility='inherit';
    this.CmdLyr.onmouseover=RcrsLvl==1&&UnfoldsOnClick?OpenMenuClick:OpenMenu;
    this.CmdLyr.onmouseout=CloseMenu;
    this.CmdLyr.captureEvents(Event.MOUSEUP);
    this.CmdLyr.onmouseup=RcrsLvl==1&&UnfoldsOnClick&&eval(WhatMenu+'[3]')?OpenMenu:GoTo;
    this.CmdLyr.LowLyr=this;
    this.CmdLyr.resizeTo(Wdth,Hght);
    this.CmdLyr.Container=MmbrCntnr;
    if(eval(WhatMenu+'[3]')&&ShowArrow){
        a=RcrsLvl==1&&FirstLineHorizontal?3:RightToLeft?6:0;
        this.CmdLyr.ImgLyr=new Layer(Arrws[a+1],this.CmdLyr);
        this.CmdLyr.ImgLyr.visibility='inherit';
        this.CmdLyr.ImgLyr.top=RcrsLvl==1&&FirstLineHorizontal?Hght-Arrws[a+2]-2:(Hght-Arrws[a+2])/2;
        this.CmdLyr.ImgLyr.left=RightToLeft?2:Wdth-Arrws[a+1]-2;
        this.CmdLyr.ImgLyr.width=Arrws[a+1];
        this.CmdLyr.ImgLyr.height=Arrws[a+2];
        ImgStr="<img src='"+Arrws[a]+"' width='"+Arrws[a+1]+"' height='"+Arrws[a+2]+"'>";
        this.CmdLyr.ImgLyr.document.write(ImgStr);
        this.CmdLyr.ImgLyr.document.close()}}
 
function CreateMenuStructure(MName,NumberOf){
    RcrsLvl++;
    var i,NoOffSubs,Mbr,Wdth=0,Hght=0;
    var PrvMmbr=null;
    var WMnu=MName+'1';
    var MenuWidth=eval(WMnu+'[5]');
    var MenuHeight=eval(WMnu+'[4]');
    var Location=RcrsLvl==1?FrstLoc:ScLoc;
    if (RcrsLvl==1&&FirstLineHorizontal){
        for(i=1;i<NumberOf+1;i++){
            WMnu=MName+eval(i);
            Wdth=eval(WMnu+'[5]')?Wdth+eval(WMnu+'[5]'):Wdth+MenuWidth}
        Wdth=BorderBtwnElmnts?Wdth+(NumberOf+1)*BorderWidth:Wdth+2*BorderWidth;Hght=MenuHeight+2*BorderWidth}
    else{    for(i=1;i<NumberOf+1;i++){
            WMnu=MName+eval(i);
            Hght=eval(WMnu+'[4]')?Hght+eval(WMnu+'[4]'):Hght+MenuHeight}
        Hght=BorderBtwnElmnts?Hght+(NumberOf+1)*BorderWidth:Hght+2*BorderWidth;Wdth=MenuWidth+2*BorderWidth}
    if(DomYes){
        var MmbrCntnr=Location.document.createElement("div");
        MmbrCntnr.style.position='absolute';
        MmbrCntnr.style.visibility='hidden';
        Location.document.body.appendChild(MmbrCntnr)}
    else{    if(Nav4) var MmbrCntnr=new Layer(Wdth,Location)
        else{    WMnu+='c';
            Location.document.body.insertAdjacentHTML("AfterBegin","<div id='"+WMnu+"' style='visibility:hidden; position:absolute;'><\/div>");
            var MmbrCntnr=Location.document.all[WMnu]}}
    MmbrCntnr.SetUp=CntnrSetUp;
    MmbrCntnr.SetUp(Wdth,Hght,NumberOf);
    if(Exp4){    MmbrCntnr.InnerString='';
        for(i=1;i<NumberOf+1;i++){
            WMnu=MName+eval(i);
            MmbrCntnr.InnerString+="<div id='"+WMnu+"' style='position:absolute;'><\/div>"}
        MmbrCntnr.innerHTML=MmbrCntnr.InnerString}
    for(i=1;i<NumberOf+1;i++){
        WMnu=MName+eval(i);
        NoOffSubs=eval(WMnu+'[3]');
        Wdth=RcrsLvl==1&&FirstLineHorizontal?eval(WMnu+'[5]')?eval(WMnu+'[5]'):MenuWidth:MenuWidth;
        Hght=RcrsLvl==1&&FirstLineHorizontal?MenuHeight:eval(WMnu+'[4]')?eval(WMnu+'[4]'):MenuHeight;
        if(DomYes){
            Mbr=Location.document.createElement("div");
            Mbr.style.position='absolute';
            Mbr.style.visibility='inherit';
            MmbrCntnr.appendChild(Mbr)}
        else Mbr=Nav4?new Layer(Wdth,MmbrCntnr):Location.document.all[WMnu];
        Mbr.SetUp=Nav4?NavMbrSetUp:MbrSetUp;
        Mbr.SetUp(MmbrCntnr,PrvMmbr,WMnu,Wdth,Hght);
        if(NoOffSubs) Mbr.ChildCntnr=CreateMenuStructure(WMnu+'_',NoOffSubs);
        PrvMmbr=Mbr}
    MmbrCntnr.FrstMbr=Mbr;
    RcrsLvl--;
    return(MmbrCntnr)}
 
function CreateMenuStructureAgain(MName,NumberOf){
    var i,WMnu,NoOffSubs,PrvMmbr,Mbr=FrstCntnr.FrstMbr;
    RcrsLvl++;
    for(i=NumberOf;i>0;i--){
        WMnu=MName+eval(i);
        NoOffSubs=eval(WMnu+'[3]');
        PrvMmbr=Mbr;
        if(NoOffSubs)Mbr.ChildCntnr=CreateMenuStructure(WMnu+'_',NoOffSubs);
        Mbr=Mbr.PrvMbr}
    RcrsLvl--}
 
function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}
 
</script>
 
<!-- REST OF BODY CONTENT BELOW HERE -->
 
<div id="mainblock">
    <div id="innerblock">
 
        <!--Top Panel starts here -->
 
       <div id="top_panel">
       <img src="images/top_bg1.jpg" width="1000" height="141" alt="" style="clear:left; float:left;" />
<img src="images/top_bg2.jpg" width="519" height="279" alt="" style="clear:left; float:left;" /><img name="" src="images/top_bg3.jpg" width="481" height="279" alt="" /></div>
 
         <!--Top Panel ends  here -->
 
         <!--content panel starts here -->
 
<div id="cp_padd">
    <div class="cp_1pix">
 
         <!--left panel starts here -->
 
    <div class="lp_padd">
   <img src="images/lp_wel.jpg" width="209" height="30" alt="" class="lp_wel" /><br />
 
                 <span class="lp_txt">Hi, my name is Victoria and I have a skin care secret. I'm so excited to share with you the
                 latest in anti-aging skin care.  Women have begun to shed years from their faces without
                 surgery or invasive and expensive techniques, and yet their secrets   have been well kept,
                 until now. This amazing skin care line was created by a company called Beauty Society
                 (formerly known as Intuit   Beauty). They have created esthetician quality products at
                 affordable prices for both women and men. <br />
                 </span>
                 <a href="#" class="lp_read"><img src="images/lp_read.jpg" width="71" height="13" alt="" /></a><br />
 
 
 
 
         <div class="lp_ourpix">
              <p style=" clear:left; float:left; display:inline; width:291px;">
                <img src="images/lp_our.jpg" width="145" height="30" alt="" class="lp_our" />
                <span class="lp_ourtxt">Beauty Society's product line is absolutely superior.  Each and every product we offer reaches for the absolute highest bar-in quality, performance, safety, and overall impact on the world.  <br /><br />All of our products are irritant-free, cruelty-free, fragrance-free, environmentally-friendly and dermatologist-tested.  We promise every ingredient in our formulas are properly stabilized and used at the required percentages to produce the absolute best results.  <br /><br />Beauty Society will teach you the necessary steps to fabulous skin for life.  Beauty Society feels that it is important that you know what to use on your skin, and understand why. <br soft="soft" />
                uppermost quality and effective ingredients at the highest levels.  </span>
 
              </p>
 
              <div style="float:left; display:inline; width:301px;">
                <img src="images/lp_ser.jpg" alt="" width="136" height="29" align="left" class="lp_ser" />
                <p style=" clear:left; float:left; display:inline; width:116px;"><img src="images/lp_women.jpg" width="158" height="131" alt="" class="lp_girl" /></p>
 
<div align="center" style="float:left; display:inline; width:291px;">
 
                                    <p align="left"><span class="lp_ourtxt"> To complement our incredibly popular Enormous Lash eyelash conditioner, we are thrilled to announce the launch of three exciting new products each containing our patent-pending Enormous Lash formula ingredients. These products each help to strengthen & condition your lashes & brows while helping you look simply smashing. You don't want to miss out on these fantastic products! All backed by Beauty Society's 100% satisfaction money-back guarantee... it doesn't get any better than this! </span>
                </p>
                </div>
<div style="float:left; display:inline; width:180px;"><a href="#" class="lp_read2"><img src="images/lp_read.jpg" width="71" height="13" alt="" /></a>
</div>
 
            </div>
 
          </div>
         <p style="clear:left; float:left; display:inline; width:246px;">&nbsp;</p>
 
         <p style= "float:left; display:inline; width:375px;">&nbsp;</p>
 
  </div>
 
            <!--left panel ends here -->
 
            <!--right panel starts here -->
 
<div class="rp_padd"><img src="images/rp_beau.jpg" width="118" height="30" alt="" class="rp_beauty" /><br />
       <p style="clear:left; float:left; display:inline; width:146px;">
             <span class="rp_txt">Learn insider tips and tricks on flawless makeup application from Beauty Society's own executive makeup artist Nathan Johnson.</span>
             <a href="#" class="rp_read"><img src="images/lp_read.jpg" width="71" height="13" alt="" /></a>
       </p>
       <p><img src="images/rp_guarantee.jpg" width="200" height="30" class="rp_food" />                </p>
              <p>&nbsp;</p>
          <p>&nbsp;</p>
              <p>&nbsp;</p>
<p>&nbsp;</p>
              <p><a href="#" class="rp_bultxt"><span class="rp_txt">We are so confident that you will love our products and see results that we offer a full twelve months to exchange or return your purchases.  Every skincare company claims to have great products.  Beauty Society has pushed the limits to prove to you that our products are the world's finest, strongest, and most effective by instituting an unheard-of lifetime product guarantee.</span></a><a href="#" class="rp_ban"><a href="#" class="rp_ban">  <img src="images/guarantee_stamp.jpg" width="115" height="112" /></a></p>
</div>
 
 
         <!--right panel ends here -->
 
</div>   
</div>           
         <!--content panel ends here -->
 
         <!--footer panel starts here -->
 
      <div id="ft_padd">
          <div class="ft_pix">     
                   </div>   
     </div>
 
       <!--footer panel ends here -->
 
    </div>
      <!--innerblock ends here -->
</div>
<!--mainblock ends here -->
</body>
</html>

Vote up Vote down

Re: Can't get information to line up on web page

Well it looks to me like the total width is 1000px, but lp_padd width is 800px and rp_padd is 260px, total 1060px which will not fit into the 1000px so rp_padd floats down below lp_padd.

Vote up Vote down

Re: Can't get information to line up on web page

I changed the rp_padd from 260 to 200 and that did not fix the problem.  Ugh!!

Vote up Vote down

Re: Can't get information to line up on web page

First off, here is corrected html code:

If you run your current code through the validator (http://validator.w3.org/#validate_by_upload) You'll notice that there are quite a few errors. Most are caused by the javascript within the HTML (if you temporarily take out the javascript you'll see that a lot of them go away, but here are a couple you'll notice
-- had an extra <a> tag without a proper closing </a>
-- had an image with a "name=""" which isn't valid
-- had a "<br soft="soft" />" which isn't valid
etc.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<title>home page</title>
<style type="text/css">
<!--
body, td, th {
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 13px;
}
-->
</style>
</head>
<body>
 
<script type='text/javascript'>
 
function Go(){return}
 
/***********************************************************************
    YOU MAY MANUALLY CHANGE THE MENU HERE, BUT BE VERY CAREFUL !
***********************************************************************/
 
Menu1=new Array("Home","http://","",0,50,90);
 
Menu2=new Array("Products","http://","",4,0,90);
  Menu2_1=new Array("Skincare","http://","",8,40,90);
   Menu2_1_1=new Array("Step 1: Cleanse","http://","",0,40,160);
   Menu2_1_2=new Array("Step 2: Resurface","http://","",0,40,0);
   Menu2_1_3=new Array("Step 3: Rebuild","http://","",0,40,0);
   Menu2_1_4=new Array("Step 4: Moisturize","http://","",0,40,0);
   Menu2_1_5=new Array("Step 5: Protect","http://","",0,40,0);
   Menu2_1_6=new Array("Step 6: Troubleshoot","http://","",0,40,0);
   Menu2_1_7=new Array("Specialty Products","http://","",0,40,0);
   Menu2_1_8=new Array("Signature Collections","http://","",0,40,0);
  Menu2_2=new Array("Makeup","http://","",9,40,0);
   Menu2_2_1=new Array("Bamboo Products","http://","",0,40,160);
   Menu2_2_2=new Array("Brushes","http://","",0,40,0);
   Menu2_2_3=new Array("Foundations","http://","",0,40,0);
   Menu2_2_4=new Array("Concealers","http://","",0,40,80);
   Menu2_2_5=new Array("Blushes & Bronzers","http://","",0,40,80);
   Menu2_2_6=new Array("Lashes & Brows","http://","",0,40,80);
   Menu2_2_7=new Array("Eyeshadows","http://","",0,40,80);
   Menu2_2_8=new Array("Lip Glisten","http://","",0,40,80);
   Menu2_2_9=new Array("Perfume","http://","",0,40,80);
  Menu2_3=new Array("Tips & Tricks","http://","",0,40,90);
  Menu2_4=new Array("FAQ","http://","",0,40,90);
 
Menu3=new Array("All About Beauty Society","http://","",5,50,160);
  Menu3_1=new Array("Our Founder","http://","",0,40,105);
  Menu3_2=new Array("Going Green","http://","",0,40,0);
  Menu3_3=new Array("Giving Back","http://","",0,40,90);
  Menu3_4=new Array("Penthouse Tour","http://","",0,40,90);
  Menu3_5=new Array("Beauty Bar","http://","",0,40,90);
 
Menu4=new Array("It's A Diva Thing","http://","",4,50,130);
  Menu4_1=new Array("Host A Facial Party","http://","",0,40,130);
  Menu4_2=new Array("Party Tips","http://","",0,40,0);
  Menu4_3=new Array("Receive Free Gifts","http://","",0,40,90);
  Menu4_4=new Array("Join Our Team","http://","",0,40,90);
 
Menu5=new Array("Photo Gallery","http://","",0,0,100);
 
Menu6=new Array("Press Release","http://","",0,0,100);
 
Menu7=new Array("Contact Us","http://","",0,50,90);
 
 
var NoOffFirstLineMenus=7;    // Number of first level items
var LowBgColor='#000000';        // Background color when mouse is not over
var LowSubBgColor='#92B527';    // Background color when mouse is not over on subs
var HighBgColor='#FFFFFF';    // Background color when mouse is over
var HighSubBgColor='#FFFFE1';    // Background color when mouse is over on subs
var FontLowColor='#FFFFFF';    // Font color when mouse is not over
var FontSubLowColor='#000000';    // Font color subs when mouse is not over
var FontHighColor='#92B527';