#container {
    position: relative; 
    width: 569px; 
    height: 160px; 
    margin: 20px auto 0 auto; 
    border: 1px solid #f5f5f5; 
    background: #f5f5f5 url(../images/maingally/back.jpg) 25px 3px no-repeat;
}

#containertext {
	margin-top: 140px;
	margin-left: 471px;
}

/* Removing the list bullets and indentation */
#container ul {
    padding: 0;
	padding-right: 5px; 
    margin: 0; 
    list-style-type: none; 
}

/* Remove the images and text from sight ALSO position the "dot" w/ top and left */
#container a.gallery span {
    position: absolute; 
    width: 1px; 
    height: 1px; 
    top: 24px; 
    left: -40px; 
    overflow: hidden; 
    background: #fff;
}

/* Adding the thumbnail images */
#container a.gallery, #container a.gallery:visited {
    display: block; 
    color: #000; 
    text-decoration: none; 
    border: 1px solid #000; 
    margin: 1px 2px 1px 2px; 
    text-align: left; 
    cursor: default;
}

#container a.slidea {
    background: url(../images/maingally/p1_sm.jpg); 
    height: 58px; 
    width: 86px;
}

#container a.slideb {
    background: url(../images/maingally/p2_sm.jpg); 
    height: 58px; 
    width: 86px;
}

#container a.slidec {
    background: url(../images/maingally/p3_sm.jpg); 
    height: 58px; 
    width: 86px;
}

#container a.slided {
    background: url(../images/maingally/p4_sm.jpg); 
    height: 58px; 
    width: 86px;
}

* html #container a.slided {
    width: 86px; 
    w\idth: 88px;
}

#container a.slidee {
    background: url(../images/maingally/p5_sm.jpg); 
    height: 58px; 
    width: 86px;
}

#container a.slidef {
    background: url(../images/maingally/p6_sm.jpg); 
    height: 58px; 
    width: 86px;
}

* html #container a.slidef {
    width: 58px; 
    w\idth: 86px;
}

#container a.slideg {
    background: url(../images/maingally/p7_sm.jpg); 
    height: 58px; 
    width: 86px;
}

/* set the size of the unordered list to neatly house the thumbnails */
#container ul {
    width: 280px; 
    height: 125px;
    margin: 5px; 
    float: right;
}

#container li {
    float: left;
}

/* change the thumbnail border color */
#container a.gallery:hover {
    border: 1px solid #f5f5f5; 
}

/* styling the :hover span */
#container a.gallery:hover span {
    position: absolute; 
    width: 227px; 
    height: 154px; 
    top: 3px; 
    left: 25px; 
    color: #000; 
    background: #f5f5f5;
}
