var pl = new Array();
function snsPreload ( )
{
    for (var j=0; j < arguments.length; j++)
    {
        pl[j] = document.createElement('img');
        pl[j].setAttribute( 'src', arguments[j] );
    };
};
snsPreload(
'img/loading.gif',
'./img/showrooms/0-showroom-ny.gif','./img/showrooms/1-an_showroom.jpg','./img/showrooms/12-west.jpg','./img/showrooms/13-hines.jpg','./img/showrooms/14-showroom-ny.gif','./img/showrooms/15-ny.jpg','./img/showrooms/15-showroom-ny.gif','./img/showrooms/2-1st-floor-display---june060.jpg','./img/showrooms/2-martingroup.jpg','./img/showrooms/3-chicago.jpg','./img/showrooms/4-georgecameronnash.jpg','./img/showrooms/6-dania.jpg','./img/showrooms/6-dania2.jpg','./img/showrooms/9-minneapolis.jpg','./img/showrooms/ny-location.jpg','./img/showrooms/16-i_logo.gif','./img/showrooms/17-primaveral.gif','./img/showrooms/3-IMG_4904.jpg','./img/showrooms/11-KFSF.jpg','./img/showrooms/17-aboutLarge.jpg','./img/showrooms/17-aboutSmall.jpg','./img/nav-over/ads.gif','./img/nav-over/company.gif','./img/nav-over/contact.gif','./img/nav-over/custom.gif','./img/nav-over/home.gif','./img/nav-over/opportunities.gif','./img/nav-over/press.gif','./img/nav-over/sample-books.gif','./img/nav-over/showrooms.gif');

function navOver ( a )
{
   a.src = a.src.replace( '/nav/', '/nav-over/' );
}
function navOut ( a )
{
   a.src = a.src.replace( '/nav-over/', '/nav/' );
}
function doShowroom ( uid )
{
   var cdata = new Array();
   cdata[1] = "<p><span style='font-weight: bold; font-size: 12pt;'>Atlanta</span></p><p style='margin-top: -4px;'>Ainsworth-Noah<br />351 Peachtree Hill Avenue<br />Atlanta, GA 30305<br />Telephone: 800.669.3512<br />Fax: 404.233.5418<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/1-an_showroom.jpg' /></p>";   cdata[2] = "<p><span style='font-weight: bold; font-size: 12pt;'>Boston</span></p><p style='margin-top: -4px;'>The Martin Group<br />1 Design Center Place<br />Suite 111<br />Boston, MA 02210<br />Telephone: 617.951.2526<br />Fax: 617.951.0961<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/2-1st-floor-display---june060.jpg' /></p>";   cdata[3] = "<p><span style='font-weight: bold; font-size: 12pt;'>Chicago</span></p><p style='margin-top: -4px;'>Samuel &amp; Sons<br />222 Merchandise Mart Plaza 6-168<br />Chicago, IL 60654<br />Telephone:312.379.1500<br />Fax:312.379.1515<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/3-IMG_4904.jpg' /></p>";   cdata[4] = "<p><span style='font-weight: bold; font-size: 12pt;'>Dallas</span></p><p style='margin-top: -4px;'>George Cameron-Nash<br />1025 N Stemmons Freeway<br />Suite 150<br />Dallas, TX 75207<br />Telephone: 214.744.1544<br />Fax: 214.744.7677<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/4-georgecameronnash.jpg' /></p>";   cdata[5] = "<p><span style='font-weight: bold; font-size: 12pt;'>Denver</span></p><p style='margin-top: -4px;'>Kneedler Fauchere<br />595 South Broadway<br />Suite 108-S<br />Denver, CO 80209<br />Telephone: 303.744.7474<br />Fax: 303.744.7333</p>";   cdata[6] = "<p><span style='font-weight: bold; font-size: 12pt;'>Dania Beach</span></p><p style='margin-top: -4px;'>Jerry Pair<br />1855 Griffin Road<br />Dania Beach, FL 33004<br />Telephone: 954.923.3330<br />Fax: 954.921.1916<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/6-dania2.jpg' /></p>";   cdata[7] = "<p><span style='font-weight: bold; font-size: 12pt;'>Houston</span></p><p style='margin-top: -4px;'>George Cameron Nash<br />5120 Woodway Drive<br />Houston, TX 77056<br />Telephone: 713.892.5710<br />Fax: 713.892.5721</p>";   cdata[8] = "<p><span style='font-weight: bold; font-size: 12pt;'>Los Angeles</span></p><p style='margin-top: -4px;'>Kneedler Fauchere<br />8687 Melrose Avenue<br />Suite B600<br />Los Angeles, CA 90069<br />Telephone: 310.855.1313<br />Fax: 310.855.0686</p>";   cdata[11] = "<p><span style='font-weight: bold; font-size: 12pt;'>San Francisco</span></p><p style='margin-top: -4px;'>Kneedler Fauchere<br />101 Henry Adams Street<br />Suite 170<br />San Francisco, CA 94103<br />Telephone:415.487.6180<br />Fax: 415.861.1905<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/11-KFSF.jpg' /></p>";   cdata[12] = "<p><span style='font-weight: bold; font-size: 12pt;'>Seattle</span></p><p style='margin-top: -4px;'>Jennifer West<br />5701 Sixth Avenue South<br />Suite 100<br />Seattle, WA 98108<br />Telephone: 206.405.4500<br />Fax: 206.405.4513<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/12-west.jpg' /></p>";   cdata[13] = "<p><span style='font-weight: bold; font-size: 12pt;'>Washington</span></p><p style='margin-top: -4px;'>Hines &amp; Co.<br />300 D Street SW<br />Suite 310<br />Washington, DC 20024<br />Telephone: 202.484.8200<br />Fax: 202.484.8923<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/13-hines.jpg' /></p>";   cdata[15] = "<p><span style='font-weight: bold; font-size: 12pt;'> New York</span></p><p style='margin-top: -4px;'>Samuel and Sons<br />983 Third Avenue<br />New York, NY 10022<br />Telephone: 212.704.8000<br />Fax: 212.704.8044<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/15-ny.jpg' /></p>";   cdata[16] = "<p><span style='font-weight: bold; font-size: 12pt;'>Troy</span></p><p style='margin-top: -4px;'>Rozmallin <br />1700 Stutz Dr<br />STE 60<br />Troy, MI 48084<br />(248) 643-8828<br /><br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/16-i_logo.gif' /></p>";   cdata[17] = "<p><span style='font-weight: bold; font-size: 12pt;'>Toronto</span></p><p style='margin-top: -4px;'>Primavera<br />160 Pears Avenue, Suite 110<br />Toronto, ON, Canada, M5R 3P8 <br />Phone: 416.921.3334<br /><img style='margin-top: 5px; border: 1px solid #5B5245;' src='img/showrooms/17-aboutSmall.jpg' /></p>";
   Effect.Fade( 'showroom-cdata', { duration: 0.5 } );
   setTimeout( 'document.getElementById("showroom-cdata").innerHTML="' + cdata[uid] + '";', 500 );
   var whatToDo = "Effect.Appear( 'showroom-cdata', { duration: 1.0 } );";
   setTimeout( whatToDo, 550 );
}
function doBooks ( uid )
{
   var cdata = new Array();
   cdata[1] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/1a-orsay-cover.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Orsay</span><span style='font-size: 8pt; text-align: center; display: block;'></span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/1b-orsay-inside.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[3] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/3a-Boucher_Cover.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Boucher</span><span style='font-size: 8pt; text-align: center; display: block;'>The Boucher Collection features 13 selective colors which varieties from rich earthy tones to vibrant colors. Made in France,and stocked in New York for prompt delivery.  </span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/3b-Boucher_Inside.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[4] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/4a-LeatherPipping_Cover.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Leather Piping</span><span style='font-size: 8pt; text-align: center; display: block;'>The Leather Piping Collection features luxurious Italian leathers in an array of 51 colors.  Two sizes which are suitable for both residential and hospitality applications compliment virtually any design.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/4b-LeatherPipping_Vol.1.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[5] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/5a-Macademia_Cover.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Macadamia</span><span style='font-size: 8pt; text-align: center; display: block;'>Macadamia is a teardrop wood trim, which is very popular for drapery and any masculine space.  It comes in 14 solid colors and made in Spain.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/5b-macademia.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[6] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/6a-Richmond_Vol.1.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Richmond</span><span style='font-size: 8pt; text-align: center; display: block;'>The Richmond Collection features a variety of 14 muted colors in earth tones.  Cords, tapes, fan edge and a 3\&quot; fine bullion fringe are all 100% mercerized cotton.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/6b-Richmond_Inside.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[7] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/7a-Venice_Vol.1_Cover.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Venise Vol. 1</span><span style='font-size: 8pt; text-align: center; display: block;'>Venise is a traditional collection that is versatile in detail. Venise offers endless possibilities within each variety of style and color combination.  Made in France. (Available in 2 volumes)</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/7b-Venice_Inside_Vol.2.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[8] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/8a-Venice_Vol.2_Cover.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Venise Vol. 2</span><span style='font-size: 8pt; text-align: center; display: block;'>Venise is a traditional collection that is versatile in detail. Venise offers endless possibilities within each variety of style and color combination.  Made in France. (Available in 2 volumes)</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/8b-VeniseII.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[10] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/10a-Warwick_Cover.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Warwick</span><span style='font-size: 8pt; text-align: center; display: block;'>The Warwick Collection displays clean lines and a dry hand.  It is 100% mercerized cotton and includes six styles in 18 exquisite colorways.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/10b-Warwick.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[11] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/11a-annecycover2.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Annecy Gimp</span><span style='font-size: 8pt; text-align: center; display: block;'>Annecy Gimp Collection features a gimp, along with a coordinating 4.5mm cord with tape, and chair tassel and is available in 150 colorways.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/11b-Annecy-Gimp.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[12] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/12a-annecycover2.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Annecy Cord</span><span style='font-size: 8pt; text-align: center; display: block;'>Annecy Cord Collection features a 4.5mm cord with tape, along with coordinating gimp and chair tassel and is available in 150 colorways.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/12b-Annecy-Cord.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[13] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/13a-Frenchpippingcover.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>French Piping and Double Welting</span><span style='font-size: 8pt; text-align: center; display: block;'>Our French Piping &amp; Double Welting is a versatile trim that has a clean and simple approach.  It has 180 solid colors and it is made in France.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/13b-French-Piping.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[15] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/15a-lemusee.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Le Musee</span><span style='font-size: 8pt; text-align: center; display: block;'>Le Musee is the most formal and luxurious of all of the Samuel &amp; Sons collection.  Features include handmade jasmines and tassels.  100% silk and product of France.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/15b-Le Musee I.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[16] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/16a-cabridge flat.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Cambridge Cord</span><span style='font-size: 8pt; text-align: center; display: block;'>The Cambridge Cord Collection features our sleek micro 1/8\&quot; cord with tape.  It is available in 60 colorways and has coordinating 9/16\&quot; and 1.5\&quot; flat braids.  Made of 100% mercerized cotton.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/16b-cambridgecord.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[19] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/19a-brush fringe.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Brush Fringe</span><span style='font-size: 8pt; text-align: center; display: block;'>The Brush Fringe collection consists of nearly 100 colorways of luxurious French brush fringe.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/19b-Brush-fringe.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[20] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/20a-bijoux.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Bijoux</span><span style='font-size: 8pt; text-align: center; display: block;'>Designed by Lori Weitzner, the Bijoux collection is discreet, feminine, luxurious and fanciful; \&quot;jewelry for the interiors.\&quot;  Seven patterns in 25 soft colorways incorporate real pearls and beads.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/20b-Bijoux.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[21] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/21a-greek key.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Aristotle Greek Key Border</span><span style='font-size: 8pt; text-align: center; display: block;'>Aristotle Greek Key Collection includes a classic Greek Key style in updated colors and the finest French quality.<br />It is available in 17 colors and 3 sizes: 5/8\&quot;, 1 3/8\&quot;, and 2 3/4\&quot;.<br /></span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/21b-greek_key.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[22] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/22a-repertoire.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Repertoire</span><span style='font-size: 8pt; text-align: center; display: block;'>Designed by Lori Weitzner, the Repertoire collection designs allude to ballet.<br />Five elegant styles use fibers such as silk and linen; and intricate pleating methods.<br /></span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/22b-_BOO0032.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[23] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/23a-Cambridge-Tape.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Cambridge Flat Braid</span><span style='font-size: 8pt; text-align: center; display: block;'>The Cambridge Flat Braid Collection features our sleek tonal strie tapes. It is available in 9/16\&quot; and 1.5\&quot; width, as well as a coordinating 1/8\&quot; cord with tape. 60 colors and 100% mercerized cotton.  </span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/23b-Cambridge-braid.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[24] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/24a-IMG_7704.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Borders</span><span style='font-size: 8pt; text-align: center; display: block;'>The Borders Collection incorporates seven elegant styles of border trims.  The endless array of colors and styles ensures that there is always a tape for the right finishing touch.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/24b-border.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[25] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/25a-Lancaster-cover.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Lancaster</span><span style='font-size: 8pt; text-align: center; display: block;'>The Lancaster Collection is highlighted by an open work lattice braid.  This design promises to add an elegant touch to any fabric.  Lancaster is a mercerized cotton collection, produced in England.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/25b-LANCASTER.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   cdata[26] = "<table height='327' width='518'><tr height='327' width='518' valign='top'><td width='118'><img src='img/books/26a-Le-Musee-II.jpg' style='border: 1px solid #5B5245; margin-top: 5px; margin-bottom: 5px; margin-left: 5px;' /><span style='font-size: 8pt; font-weight: bold; text-align: center; display: block;'>Le Musee II</span><span style='font-size: 8pt; text-align: center; display: block;'>Le Musee is the most formal and luxurious of all of the Samuel &amp; Sons collection.  Features include handmade jasmines and tassels.  100% silk and product of France.</span></td><td width='400' valign='top'><div style='width: 400px; overflow: hidden;'><img id='books-large' src='img/books/26b-Le-Musee-2.jpg' style='margin-top: 5px; border: 1px solid #5B5245;' /></div></td></tr></table>";
   Effect.Fade( 'books-cdata', { duration: 0.5 } );
   setTimeout( 'document.getElementById("books-cdata").innerHTML="' + cdata[uid] + '";', 500 );
   //document.getElementById("books-cdata").innerHTML= cdata[uid];
   var whatToDo = "Effect.Appear( 'books-cdata', { duration: .5 } );";
   setTimeout( whatToDo, 550 );
}
function getElementsByClass(searchClass,node,tag) {
   /* thx dustin diaz */
	var classElements = new Array();
	if ( node == null )
		node = document;
	if ( tag == null )
		tag = '*';
	var els = node.getElementsByTagName(tag);
	var elsLen = els.length;
	var pattern = new RegExp('(^|\\s)'+searchClass+'(\\s|$)');
	for (i = 0, j = 0; i < elsLen; i++) {
		if ( pattern.test(els[i].className) ) {
			classElements[j] = els[i];
			j++;
		}
	}
	return classElements;
}

function doSwitchOverflow ( )
{
   var switchThem = getElementsByClass( 'switchOverflow' );
   for ( j=0; j<switchThem.length; j++ )
   {
      switchThem[j].style.overflow = 'auto';
   }
}

function updatePressDetails ( img, pdf )
{
   wimg = document.getElementById( 'press-large' );
   wimg.src = img;
   wpdf = document.getElementById( 'press-pdf' );
   wpdf.innerHTML = ( ( pdf ) ? '<img src="img/pdf.gif" />&nbsp;<a href="./img/presspdf/' + pdf + '" target="_blank">View this page in more detail (PDF)</a>' : '' );
}

function validateResumeInput( frm )
{
   var msg = '';
   if ( frm.name.value.length == 0 ) msg += "\n . Your Name";
   if ( frm.email.value.length == 0 || frm.email.value.indexOf('@') == -1 || frm.email.value.indexOf('.') == -1 ) msg += "\n . Your E-Mail Address";
   if ( msg == '' )
      return true;
   else
   {
      alert( 'Please fill in the following required fields:' + msg );
      return false;
   }
}

function validateContactInput( frm )
{
   var msg = '';
   if ( frm.name.value.length == 0 ) msg += "\n . Your Name";
   if ( frm.email.value.length == 0 || frm.email.value.indexOf('@') == -1 || frm.email.value.indexOf('.') == -1 ) msg += "\n . Your E-Mail Address";
   if ( frm.msg.value.length == 0 ) msg += "\n . Your Message";
   if ( msg == '' )
      return true;
   else
   {
      alert( 'Please fill in the following required fields:' + msg );
      return false;
   }
}

function getRidOfAds ( )
{
   var e = document.getElementById('adsLoading');
   e.style.display='none'; 
}