Skip to content

Instantly share code, notes, and snippets.

@alecxe
Created March 30, 2014 03:13
Show Gist options
  • Save alecxe/9866893 to your computer and use it in GitHub Desktop.
Save alecxe/9866893 to your computer and use it in GitHub Desktop.
from selenium import webdriver
url = 'http://www.archives.com/member/Default.aspx?_act=VitalSearchResult&LastName=Smith&Country=US&State=VA&RecordType=2&DeathYear=2004&DeathYearSpan=10&pagesize=10&pageNumber=1&pagesizeAP=10&pageNumberAP=1'
driver = webdriver.Firefox()
driver.get(url)
print driver.page_source
@alecxe
Copy link
Author

alecxe commented Mar 30, 2014

Prints:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" style="-pie-load-path: 'https://www.archives.com/member/js/plugins'"><head><meta content="IE=EDGE" http-equiv="X-UA-Compatible" /><meta charset="utf-8" /><meta content="Sign into your account at Archives. Enter your password below." name="description" /><meta content="login, password, access, hack, free, Archives.com" name="keywords" /><meta content="" name="version" /><title>Login - Archives</title><script src="//tags.tiqcdn.com/utag/archives/main/prod/utag.js" type="text/javascript" async=""></script><script type="text/javascript" async="" src="https://ssl.google-analytics.com/ga.js"></script><script type="text/javascript">
                window.Log_WindowIsLoaded = 'false';
                if(window.addEventListener)
                    window.addEventListener('load', function(){window.Log_WindowIsLoaded = 'true';}, false);
                else if(window.attachEvent)
                    window.attachEvent('onload', function(){window.Log_WindowIsLoaded = 'true';});
                else
                    window.Log_WindowIsLoaded = 'unknown';

                window.onerror = function(msg, url, line) 
                {
                    var imgObj = new Image();
                    imgObj.src = '/GAAjax.aspx?_act=JSErrorLog&amp;message=' + encodeURIComponent(msg) + '&amp;url=' + encodeURIComponent(url) + '&amp;line=' + encodeURIComponent(line) + '&amp;windowisloaded=' + window.Log_WindowIsLoaded + '&amp;visitkey=2031658338&amp;sequence=';
                    return false;
                };
            </script><script type="text/javascript">
            window.trackingArea = 'MA';
            </script><script type="text/javascript">
            window.ACProfile = {
                LASTNAME: '',
                MEMBERSITEURL: 'http://www.archives.com/member/',
                HOSTID: '',
            }
        </script>
        <!--[if IE 7]><script type="text/javascript">window.IsBrowserIE7 = true;</script><![endif]-->
        <script src="https://www.archives.com/waf/js/jquery-1.9.1.min.js?ver=storm-19295" type="text/javascript"> </script><script src="https://www.archives.com/waf/js/jquery-migrate-1.1.1.min.js?ver=storm-19295" type="text/javascript"> </script><script src="https://www.archives.com/member/js/prototype-addons.js?ver=storm-19295" type="text/javascript"> </script><script src="https://www.archives.com/waf/js/ajaxUpdate.js?ver=storm-19295" type="text/javascript"> </script><script src="https://www.archives.com/waf/js/validation.js?ver=storm-19295" type="text/javascript"> </script><script src="https://www.archives.com/js/utils.js?ver=storm-19295" type="text/javascript"> </script><script src="https://www.archives.com/member/js/member.js?ver=storm-19295" type="text/javascript"> </script><script src="https://www.archives.com/waf/js/Social.js?ver=storm-19295" type="text/javascript"> </script><script src="https://www.archives.com/member/js/plugins/jquery.reveal.js?ver=storm-19295" type="text/javascript"> </script><script src="https://www.archives.com/waf/js/utils/jquery.acmodal.js?ver=storm-19295" type="text/javascript"> </script><link href="https://www.archives.com/css/ga.css?ver=storm-19295" type="text/css" rel="stylesheet" /><link href="https://www.archives.com/member/css/member.css?ver=storm-19295" type="text/css" rel="stylesheet" /><link href="https://www.archives.com/member/css/lightview.css?ver=storm-19295" type="text/css" rel="stylesheet" /><link href="https://www.archives.com/member/" rel="canonical" />
                <!--[if IE 6]><link href="https://www.archives.com/css/ie6.css?ver=storm-19295" type="text/css" rel="stylesheet" /><![endif]-->
                <!--[if IE 7]><link href="https://www.archives.com/css/ie7.css?ver=storm-19295" type="text/css" rel="stylesheet" /><![endif]-->
                <!--[if IE 8]><link href="https://www.archives.com/css/ie8.css?ver=storm-19295" type="text/css" rel="stylesheet" /><![endif]-->

            <!--[if IE 6]><script type="text/javascript" src="https://www.archives.com/js/fixpng.js?ver=storm-19295"> </script><![endif]-->
        <script type="text/javascript">
            var _gaq = _gaq || [];
            _gaq.push(['_setAccount', 'UA-8194702-1']);
            _gaq.push(['_trackPageLoadTime']);
            _gaq.push(['_trackPageview', 'member/Default.aspx?_act=&amp;test='.toLowerCase().replace(/&amp;amp;/g, String.fromCharCode(38))]);
        (function() {
        var ga = document.createElement('script');
            ga.type = 'text/javascript';
            ga.async = true;
            ga.src = ('https:' == document.location.protocol ? 'https://ssl'   : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

        var visitor = function(){
            var currentVisitor = _gat._getTrackers()[0]._visitCode(),
                hasVisitor = '' + '',
                visitkey = '' + '2031658338',
                adata = 'visitor=' + currentVisitor;

            if( ( currentVisitor === undefined) || (currentVisitor == '')  ) {
                return true;
            }

            if(hasVisitor != '') {
                if(hasVisitor == currentVisitor) {
                    return true;
                }
            }

            if(visitkey != '') {
                adata = adata + '&amp;visitkey=' + visitkey;
            }

            // async call to add the visitor, conditional to the non-existence of the visitor in the profile
            CbOS.Ajax({
                query: 'Default.aspx?_act=RecordVisitor',
                data: adata ,
                method: 'POST'
            });
        };

        if(ga.addEventListener) {
            ga.addEventListener('load', visitor, false);
        } else if(ga.attachEvent) {
            ga.attachEvent('onload', visitor);
        }
        })();
    </script><style type="text/css">.fb_hidden{position:absolute;top:-10000px;z-index:10001}.fb_invisible{display:none}.fb_reset{background:none;border:0;border-spacing:0;color:#000;cursor:auto;direction:ltr;font-family:"lucida grande", tahoma, verdana, arial, sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}.fb_reset&gt;div{overflow:hidden}.fb_link img{border:none}
.fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_reset .fb_dialog_legacy{overflow:visible}.fb_dialog_advanced{padding:10px;-moz-border-radius:8px;-webkit-border-radius:8px;border-radius:8px}.fb_dialog_content{background:#fff;color:#333}.fb_dialog_close_icon{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;_background-image:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif);cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{top:5px;left:5px;right:auto}.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}.fb_dialog_close_icon:hover{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent;_background-image:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif)}.fb_dialog_close_icon:active{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent;_background-image:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/yL/r/s816eWC-2sl.gif)}.fb_dialog_loader{background-color:#f2f2f2;border:1px solid #606060;font-size:24px;padding:20px}.fb_dialog_top_left,.fb_dialog_top_right,.fb_dialog_bottom_left,.fb_dialog_bottom_right{height:10px;width:10px;overflow:hidden;position:absolute}.fb_dialog_top_left{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 0;left:-10px;top:-10px}.fb_dialog_top_right{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -10px;right:-10px;top:-10px}.fb_dialog_bottom_left{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -20px;bottom:-10px;left:-10px}.fb_dialog_bottom_right{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/ye/r/8YeTNIlTZjm.png) no-repeat 0 -30px;right:-10px;bottom:-10px}.fb_dialog_vert_left,.fb_dialog_vert_right,.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{position:absolute;background:#525252;filter:alpha(opacity=70);opacity:.7}.fb_dialog_vert_left,.fb_dialog_vert_right{width:10px;height:100%}.fb_dialog_vert_left{margin-left:-10px}.fb_dialog_vert_right{right:0;margin-right:-10px}.fb_dialog_horiz_top,.fb_dialog_horiz_bottom{width:100%;height:10px}.fb_dialog_horiz_top{margin-top:-10px}.fb_dialog_horiz_bottom{bottom:0;margin-bottom:-10px}.fb_dialog_iframe{line-height:0}.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #3b5998;color:#fff;font-size:14px;font-weight:bold;margin:0}.fb_dialog_content .dialog_title&gt;span{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/yd/r/Cou7n-nqK52.gif) no-repeat 5px 50%;float:left;padding:5px 0 7px 26px}body.fb_hidden{-webkit-transform:none;height:100%;margin:0;overflow:visible;position:absolute;top:-10000px;left:0;width:100%}.fb_dialog.fb_dialog_mobile.loading{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/ya/r/3rhSv5V8j3o.gif) white no-repeat 50% 50%;min-height:100%;min-width:100%;overflow:hidden;position:absolute;top:0;z-index:10001}.fb_dialog.fb_dialog_mobile.loading.centered{max-height:590px;min-height:590px;max-width:500px;min-width:500px}#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .45);position:absolute;left:0;top:0;width:100%;min-height:100%;z-index:10000}#fb-root #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}.fb_dialog_content .dialog_header{-webkit-box-shadow:white 0 1px 1px -1px inset;background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#738ABA), to(#2C4987));border-bottom:1px solid;border-color:#1d4088;color:#fff;font:14px Helvetica, sans-serif;font-weight:bold;text-overflow:ellipsis;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0;vertical-align:middle;white-space:nowrap}.fb_dialog_content .dialog_header table{-webkit-font-smoothing:subpixel-antialiased;height:43px;width:100%}.fb_dialog_content .dialog_header td.header_left{font-size:12px;padding-left:5px;vertical-align:middle;width:60px}.fb_dialog_content .dialog_header td.header_right{font-size:12px;padding-right:5px;vertical-align:middle;width:60px}.fb_dialog_content .touchable_button{background:-webkit-gradient(linear, 0% 0%, 0% 100%, from(#4966A6), color-stop(.5, #355492), to(#2A4887));border:1px solid #29447e;-webkit-background-clip:padding-box;-webkit-border-radius:3px;-webkit-box-shadow:rgba(0, 0, 0, .117188) 0 1px 1px inset, rgba(255, 255, 255, .167969) 0 1px 0;display:inline-block;margin-top:3px;max-width:85px;line-height:18px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{border:none;background:none;color:#fff;font:12px Helvetica, sans-serif;font-weight:bold;margin:2px -12px;padding:2px 6px 3px 6px;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:16px;font-weight:bold;line-height:18px;text-align:center;vertical-align:middle}.fb_dialog_content .dialog_content{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;border:1px solid #555;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f2f2f2;border:1px solid #555;border-top-color:#ccc;height:40px}#fb_dialog_loader_close{float:left}.fb_dialog.fb_dialog_mobile .fb_dialog_close_button{text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}
.fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_lift{z-index:1}.fb_hide_iframes iframe{position:relative;left:-10000px}.fb_iframe_widget_loader{position:relative;display:inline-block}.fb_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100%}.fb_iframe_widget_loader iframe{min-height:32px;z-index:2;zoom:1}.fb_iframe_widget_loader .FB_Loader{background:url(https://fbstatic-a.akamaihd.net/rsrc.php/v2/y9/r/jKEcVPZFk-2.gif) no-repeat;height:32px;width:32px;margin-left:-16px;position:absolute;left:50%;z-index:4}
.fb_connect_bar_container div,.fb_connect_bar_container span,.fb_connect_bar_container a,.fb_connect_bar_container img,.fb_connect_bar_container strong{background:none;border-spacing:0;border:0;direction:ltr;font-style:normal;font-variant:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal;vertical-align:baseline}.fb_connect_bar_container{position:fixed;left:0 !important;right:0 !important;height:42px !important;padding:0 25px !important;margin:0 !important;vertical-align:middle !important;border-bottom:1px solid #333 !important;background:#3b5998 !important;z-index:99999999 !important;overflow:hidden !important}.fb_connect_bar_container_ie6{position:absolute;top:expression(document.compatMode=="CSS1Compat"? document.documentElement.scrollTop+"px":body.scrollTop+"px")}.fb_connect_bar{position:relative;margin:auto;height:100%;width:100%;padding:6px 0 0 0 !important;background:none;color:#fff !important;font-family:"lucida grande", tahoma, verdana, arial, sans-serif !important;font-size:13px !important;font-style:normal !important;font-variant:normal !important;font-weight:normal !important;letter-spacing:normal !important;line-height:1 !important;text-decoration:none !important;text-indent:0 !important;text-shadow:none !important;text-transform:none !important;white-space:normal !important;word-spacing:normal !important}.fb_connect_bar a:hover{color:#fff}.fb_connect_bar .fb_profile img{height:30px;width:30px;vertical-align:middle;margin:0 6px 5px 0}.fb_connect_bar div a,.fb_connect_bar span,.fb_connect_bar span a{color:#bac6da;font-size:11px;text-decoration:none}.fb_connect_bar .fb_buttons{float:right;margin-top:7px}
.fbpluginrecommendationsbarleft,.fbpluginrecommendationsbarright{position:fixed !important;bottom:0;z-index:999}.fbpluginrecommendationsbarleft{left:10px}.fbpluginrecommendationsbarright{right:10px}</style><script type="text/javascript" src="//tags.tiqcdn.com/utag/archives/main/prod/utag.5.js?utv=ut4.008.201403272139" id="utag_archives.main_5"></script><script type="text/javascript" src="//tags.tiqcdn.com/utag/archives/main/prod/utag.22.js?utv=ut4.008.201403272139" id="utag_archives.main_22"></script><script type="text/javascript" src="//tags.tiqcdn.com/utag/archives/main/prod/utag.27.js?utv=ut4.008.201403272139" id="utag_archives.main_27"></script><script type="text/javascript" src="//tags.tiqcdn.com/utag/archives/main/prod/utag.28.js?utv=ut4.008.201403272139" id="utag_archives.main_28"></script></head><body id="login_body"><div id="fb-root" class=" fb_reset"> <div style="position: absolute; top: -10000px; height: 0px; width: 0px;"><div></div></div></div><script src="//connect.facebook.net/en_US/all.js" type="text/javascript"> </script><script type="text/javascript">
                var utag_data ={}
            </script><script type="text/javascript">
                (function(a,b,c,d){
                    a='//tags.tiqcdn.com/utag/archives/main/prod/utag.js';
                    b=document;c='script';d=b.createElement(c);d.src=a;d.type='text/java'+c;d.async=true;
                    a=b.getElementsByTagName(c)[0];a.parentNode.insertBefore(d,a);
                })();
            </script><div id="bodyContentWrapper"><noscript>&lt;div class="noScriptNotification"&gt;&lt;b&gt;Please enable JavaScript to use this site.&lt;/b&gt; To enable JavaScript,
                &lt;a href="http://www.archives.com/?_act=NoScriptNotification"&gt;edit your Browser Settings&lt;/a&gt;.
            &lt;/div&gt;</noscript><div style="display: none;" class="noScriptNotification" id="noActiveXNotification"><b>Please enable ActiveX to use this site.</b> To enable ActiveX,
            <a href="http://www.archives.com/?_act=NoScriptNotification">edit your Browser Settings</a>.
        </div><div id="header"><a href="http://www.archives.com/"><img width="157" height="66" class="left" alt="Archives" src="https://www.archives.com/images/blank.gif" /></a><p class="tagline left wl">Family history made simple &amp; affordable.</p></div><div class="clearfix" id="content"><div class="headBar clearfix"><h2 id="headline">Member Sign In</h2></div><img width="60px" height="10px" class="pointer" alt="pointer" src="https://www.archives.com/member/images/pointerSI.gif" /><div class="inner1 clearfix"><div style="width: 347px;" class="col1 left"><div class="innerPad" id="signin"><form action="/member/Default.aspx?_act=VitalSearchResult&amp;LastName=Smith&amp;Country=US&amp;State=VA&amp;RecordType=2&amp;DeathYear=2004&amp;DeathYearSpan=10&amp;pagesize=10&amp;pageNumber=1&amp;pagesizeAP=10&amp;pageNumberAP=1" onsubmit="return validateUniversal(this, [['__uid', ValidateTypeReqEmail, 'Please enter a valid email address','Please enter a valid email address'],['__pwd', ValidateTypeReq, 'Please enter your password']])" noalert="1" method="post" name="LoginForm" id="LoginForm"><input type="hidden" value="" name="__fbAccessToken" id="__fbAccessToken" /><fieldset style="border:0px;"><div class="Error" id="LoginError"><div style="display: none;"> </div></div><script type="text/javascript">
            setCookie( 'test', 'test value' );
            if ( getCookie( 'test' ) )
                deleteCookie('test');
            else
                document.write('&lt;div class="Error"&gt;You will need to enable cookies in order to use this application.&lt;/div&gt;');
        </script><table width="305" border="0" align="left"><tbody><tr><td colspan="2"><div class="row-create-new-password"><div class="create-new-password" id="CreateNewPassword"><b>Welcome back <span id="CustomerName"> </span>!</b> You have not set a password yet. To create a <b>NEW</b> password, 
                                            <a onclick="toggleForm()" href="javascript:void(0)">please click here</a>.<span style="display:none" id="LastSearchedEmail"> </span></div></div></td></tr><tr><td valign="top" align="left" colspan="2"><b>Email</b><br /><div id="emailField" class="input_area"><input type="text" onblur="LoginFormEmailCheck(this, 'GAAjax.aspx?_act=CustomerEmailCheck', 'PasswordRequest_R1_Email')" style="padding-left:0px;" maxlength="255" class="TextControl" iderrortextbox="LoginError" value="" name="__uid" id="__uid" /></div></td></tr><tr><td valign="top" align="left" colspan="2"><b>Password</b><br /><div class="input_area"><input type="password" style="padding-left:0px;" maxlength="100" class="PasswordControl" iderrortextbox="LoginError" value="" name="__pwd" id="__pwd" /></div></td></tr><tr><td align="left" colspan="2"><label style="display:inline;"><input type="checkbox" name="__rid" value="y" />
                                     Remember me on this computer </label></td></tr><tr><td width="131px"><input type="submit" style="margin-right: 5px;" onclick="var errorBox = document.getElementById('LoginError'); if (errorBox) {errorBox.innerHTML = ''; document.getElementById('CreateNewPassword').style.display = 'none';}" value="Continue »" name="__Submit" class="submit-button left" /></td><td valign="top" style="padding-top:22px"><span style="padding: 3px 6px 0px;margin-left:-5px" class="left wl">or</span><span class="wl"><div style="display: none;" class="lvNormal" id="lvFacebookContent"><div class="lvContent"><a onclick="LvOS.Hide(); return false" class="lvCloseButton iepngfix" href="javascript:void(0)"> </a><p style="color: #92927F;font-size: 21px;font-weight: bold;line-height: normal;margin: 0;position: relative;" class="paddingB10">Connect to Facebook now!</p><div class="paddingB20"><div class="paddingB15">By connecting to Facebook you can:</div><ul class="bullets"><li class="marginB8">Import family members from Facebook instantly</li><li class="marginB8">Automatically add photos and events</li><li class="marginB8">Find possible relatives who are not yet in your family tree</li><li class="marginB8">Shave your tree, records and much more</li></ul><span style="font-size: 10px;">By clicking "Connect to Facebook" you grant Archives.com the right to retain and use the data from Facebook as part of your account and in your family tree.</span></div><div><a class="btnConnectToFacebook left" id="fbConnectBtn" href="javascript:void(0)"> </a><span style="padding: 0 2px 0 10px;"><a title="Skip this" onclick="LvOS.Hide(); return false" class="boldText" href="javascript:void(0)">Cancel</a></span></div></div></div><script type="text/javascript">
            fbPermissionLightboxOnCloseAnalytic = function () {
                PageTrackEvent('loginpage', 'Link', 'FacebookConnect_InfoLightbox_Cancel');
            }

            fbLoginDisplay = function(aRedirectUrl, aShowPermissionLightbox)
            {   
                if(aShowPermissionLightbox == '1')
                {
                    document.observe('lightview:hidden', fbPermissionLightboxOnCloseAnalytic);
                    LvOS.Show('lvFacebookContent', new Function("Lightview.Resize()"));
                    jQuery('#fbConnectBtn').unbind('click').click(function()
                    {
                        document.stopObserving('lightview:hidden', fbPermissionLightboxOnCloseAnalytic);
                        PageTrackEvent('loginpage', 'Button', 'FacebookConnect_InfoLightbox_ConnectToFacebook');
                        LvOS.Hide();
                        fbRedirectToLoginPage(aRedirectUrl);
                    });
                }
                else
                    fbRedirectToLoginPage(aRedirectUrl); 
            }

            fbRedirectToLoginPage = function(aRedirectUrl)
            {

                var fbLoginUrl = 'https://graph.facebook.com/oauth/authorize?client_id=149524385066101&amp;scope=&amp;display=page&amp;redirect_uri=';
                if(aRedirectUrl)
                    fbLoginUrl += encodeURIComponent(aRedirectUrl).replace(/'/g, "\\'");
                setTimeout("location.href = '" + fbLoginUrl + "'", 200);
            }
        </script><a class="btnFacebookConnectSm left" href="javascript:void(0)" id="fbLoginBtn">Login with Facebook</a><script type="text/javascript">
            jQuery(document).ready(function(){
                jQuery('#fbLoginBtn').click(function(aEvent)
                {
                    fbLoginDisplay(unescape('http%3a%2f%2fwww.archives.com%2fmember%2fDefault.aspx%3f_act%3dVitalSearchResult%26LastName%3dSmith%26Country%3dUS%26State%3dVA%26RecordType%3d2%26DeathYear%3d2004%26DeathYearSpan%3d10%26pagesize%3d10%26pageNumber%3d1%26pagesizeAP%3d10%26pageNumberAP%3d1%26dp%3DFacebook'), 1); return CancelBubble(aEvent);
                });
            });
        </script></span></td></tr></tbody></table><script type="text/javascript">
            AcOS.DocumentReady(new Function("AcOS.FormFocusOnDocumentReady('LoginForm', '__uid')"));
        </script></fieldset></form><div style="display: none;" class="lvNormal" id="FacebookLoginLightview"><div class="lvContent"><a onclick="LvOS.Hide(); return false" class="lvCloseButton iepngfix" href="javascript:void(0)"> </a><h5>Welcome to Archives!</h5><p style="margin-bottom: 20px;">To continue, you must be logged in as a member of Archives.</p><a onclick="AcOS.FireEvent(document.getElementById('fbLoginBtn'), 'click'); return false" style="margin-right: 26px;" class="btnFacebookConnectSm left" href="javascript:void(0)">Login with Facebook</a>
                    or
                    <a onclick="setTimeout('top.location.href = \'' + unescape('http%3a%2f%2fwww.archives.com%2fmember%2fDefault.aspx%3f_act%3dVitalSearchResult%26LastName%3dSmith%26Country%3dUS%26State%3dVA%26RecordType%3d2%26DeathYear%3d2004%26DeathYearSpan%3d10%26pagesize%3d10%26pageNumber%3d1%26pagesizeAP%3d10%26pageNumberAP%3d1') + '\'', 10); return CancelBubble(event)" href="javascript:void(0)">Continue to Archives.com</a></div></div><script type="text/javascript">
                if(window != window.top)
                    LvOS.ShowOnLoad('FacebookLoginLightview');
            </script></div><div style="display: none;" class="innerPad" id="retrievePW"><p style="margin-bottom: 25px;">To reset your password, please enter the email address you used to create your account.</p><div style="margin-top: 4px;" class="Error" id="ForgotPass"><div style="display: none;"> </div></div><form onsubmit="return validateUniversal(this, [['PasswordRequest_R1_Email', ValidateTypeReqEmail, 'Please enter a valid email address','Please enter a valid email address']])" noalert="1" action="Default.aspx" method="post" name="frmForgotPassword" id="frmForgotPassword"><table border="0" align="left"><tbody><tr><td width="165" valign="top" align="left" style="padding-left:0px;" class="loginFont"><b>Your Email</b><br /><div class="input_area"><input type="hidden" name="_act" value="pwd_requestsave" /><input type="hidden" name="_nan" value="PasswordRequestConfirm" /><input type="hidden" name="_tab" value="Password" /><input type="hidden" name="_for" value="PasswordRequest" /><input type="text" name="PasswordRequest_R1_Email" class="TextControl" id="PasswordRequest_R1_Email" iderrortextbox="ForgotPass" /></div></td></tr><tr><td valign="top" align="left"><input type="submit" value="Submit »" class="submit-button" /></td></tr></tbody></table></form><div class="clr_thin"> </div></div></div><div style="width: 270px;" class="col1 right"><div class="sideBlock"><div class="padding_20"><ul><li class="rb"><span class="questions">Not a member?</span><a title="Join Now!" href="http://www.archives.com/?_act=CheckoutOrg">Click here to join</a></li><li><span id="questions">Forget your password?</span><div style="height:21px;"><a id="signinLink" onclick="toggleForm()" href="javascript:void(0);">Reset your password</a><a style="display: none;" id="retrieveLink" onclick="toggleForm1();" href="javascript:void(0);">Sign in here</a></div></li><li class="wl"><span class="questions">Need some assistance?</span><a title="Visit The Help Center" href="http://www.archives.com/help">Visit the Help Center</a></li></ul></div></div></div></div></div><div class="clearfix" id="footer"><p class="copyright">© 2014 Archives.com</p><p class="wl logoFooter"><img width="1" height="1" alt="Archives.com logo" src="https://www.archives.com/images/blank.gif" /></p></div></div><div id="lv_overlay" style="z-index: 4999; position: fixed; background: none repeat scroll 0% 0% rgb(0, 0, 0); opacity: 0.75; display: none;"></div><div id="lightview" style="z-index: 5000; top: -9500px; left: -9500px; opacity: 0; display: none;"><div class="lv_Container" style="z-index: 5001;"><ul class="lv_Sides" style="z-index: 5001; margin-top: -11px; height: 22px;"><li class="lv_PrevSide" style="margin-left: -16px; width: 16px; height: 22px; z-index: 5001;"><div class="lv_Wrapper" style="margin-left: 16px; width: 16px; height: 22px; background: url(&quot;https://www.archives.com/member/js/../../images/lightview/prev.png&quot;) no-repeat scroll left top transparent; z-index: 5001;"><div class="lv_Button" style="z-index: 5001;"></div></div></li><li class="lv_NextSide" style="margin-right: -16px; width: 16px; height: 22px; z-index: 5001;"><div class="lv_Wrapper" style="margin-left: -16px; width: 16px; height: 22px; background: url(&quot;https://www.archives.com/member/js/../../images/lightview/next.png&quot;) no-repeat scroll left top transparent; z-index: 5001;"><div class="lv_Button" style="z-index: 5001;"></div></div></li></ul><div class="lv_topButtons" style="z-index: 5001; height: 18px; top: -18px;"><div class="lv_Wrapper lv_topcloseButtonImage" style="z-index: 5001; float: right; margin-top: 18px; width: 22px; height: 18px; padding-right: 10px;"><div class="lv_Button" style="z-index: 5001; background: url(&quot;https://www.archives.com/member/js/../../images/lightview/topclose.png&quot;) no-repeat scroll left top transparent; width: 22px; height: 18px;"></div></div></div><ul class="lv_Frames" style="z-index: 5001;"><li class="lv_Frame lv_FrameTop" style="z-index: 5001;"><div class="lv_Liquid" style="height: 10px; z-index: 5001;"><ul class="lv_Half lv_HalfLeft" style="z-index: 5001;"><li class="lv_CornerWrapper" style="z-index: 5001;"><div class="lv_Corner lv_CornerTl" style="width: 10px; height: 10px; z-index: 5001;"><canvas class="cornerCanvasTl" width="10px" height="10px" style="float: left; z-index: 5001;"></canvas></div><div class="lv_Fill" style="left: 10px; background-color: rgb(255, 255, 255); z-index: 5001;"></div></li></ul><div class="lv_Filler" style="background-color: rgb(255, 255, 255); z-index: 5001;"></div><ul class="lv_Half lv_HalfRight" style="z-index: 5001;"><li class="lv_CornerWrapper" style="margin-top: -10px; z-index: 5001;"><div class="lv_Corner lv_CornerTr" style="width: 10px; height: 10px; z-index: 5001;"><canvas class="cornerCanvasTr" width="10px" height="10px" style="float: left; z-index: 5001;"></canvas></div><div class="lv_Fill" style="left: -10px; background-color: rgb(255, 255, 255); z-index: 5001;"></div></li></ul></div></li><li class="lv_Center" style="height: 140px; z-index: 5001;"><div class="lv_WrapUp" style="z-index: 5001;"><div class="lv_WrapDown" style="margin-top: 10px; background-color: rgb(255, 255, 255); z-index: 5001;"><div class="lv_WrapCenter clearfix" style="opacity: 0; padding: 0px 10px; background-color: rgb(255, 255, 255); z-index: 5001;"><div class="lv_contentTop lv_Fill" style="background-color: rgb(255, 255, 255); z-index: 5001;"></div><div class="lv_MenuBar clearfix" style="z-index: 5001;"><div class="lv_Button lv_Close" style="width: 77px; height: 22px; background: none repeat scroll 0% 0% rgb(255, 255, 255); opacity: 0.75; z-index: 5001;"></div><ul class="lv_Data" style="z-index: 5001;"><li class="lv_DataText" style="z-index: 5001;"><div class="lv_Title" style="background-color: rgb(255, 255, 255); z-index: 5001;"></div><div class="lv_Caption" style="background-color: rgb(255, 255, 255); z-index: 5001;"></div></li><span class="lv_innerController" style="z-index: 5001;"><li class="lv_ImgNumber" style="background-color: rgb(255, 255, 255); z-index: 5001;"><div style="z-index: 5001;"></div></li><li class="lv_innerPrevNext" style="z-index: 5001;"><div class="lv_Button" style="opacity: 0.75; background: url(&quot;https://www.archives.com/member/js/../../images/lightview/inner_prev.png&quot;) no-repeat scroll left top rgb(255, 255, 255); z-index: 5001; width: 14px; height: 14px;"></div><div class="lv_Button" style="opacity: 0.75; background: url(&quot;https://www.archives.com/member/js/../../images/lightview/inner_next.png&quot;) no-repeat scroll left top rgb(255, 255, 255); z-index: 5001; width: 14px; height: 14px;"></div></li><li class="lv_Slideshow" style="z-index: 5001; width: 44px; height: 14px;"><div class="lv_Button" style="opacity: 0.75; background: url(&quot;https://www.archives.com/member/js/../../images/lightview/inner_slideshow_play.png&quot;) no-repeat scroll left top rgb(255, 255, 255); z-index: 5001; width: 44px; height: 14px;"></div></li></span></ul></div><div class="lv_contentBottom " style="z-index: 5001;"></div></div><div class="lv_bttomMenubar" style="display: none; z-index: 5001;"></div></div></div><div class="lv_Loading" style="z-index: 5001; width: 22px; height: 22px; margin-top: -6px; margin-left: -11px;"><div class="lv_Button" style="background: url(&quot;https://www.archives.com/member/js/../../images/lightview/loading.gif&quot;) no-repeat scroll left top transparent; z-index: 5001;"></div></div></li><li class="lv_Frame lv_FrameBottom" style="z-index: 5001;"><div class="lv_Liquid" style="height: 10px; z-index: 5001;"><ul class="lv_Half lv_HalfLeft" style="z-index: 5001;"><li class="lv_CornerWrapper" style="z-index: 5001;"><div class="lv_Corner lv_CornerBl" style="width: 10px; height: 10px; z-index: 5001;"><canvas class="cornerCanvasBl" width="10px" height="10px" style="float: left; z-index: 5001;"></canvas></div><div class="lv_Fill" style="left: 10px; background-color: rgb(255, 255, 255); z-index: 5001;"></div></li></ul><div class="lv_Filler" style="background-color: rgb(255, 255, 255); z-index: 5001;"></div><ul class="lv_Half lv_HalfRight" style="z-index: 5001;"><li class="lv_CornerWrapper" style="margin-top: -10px; z-index: 5001;"><div class="lv_Corner lv_CornerBr" style="width: 10px; height: 10px; z-index: 5001;"><canvas class="cornerCanvasBr" width="10px" height="10px" style="float: left; z-index: 5001;"></canvas></div><div class="lv_Fill" style="left: -10px; background-color: rgb(255, 255, 255); z-index: 5001;"></div></li></ul></div></li><li class="lv_PrevNext" style="display: none; margin-top: 10px; background: url(&quot;https://www.archives.com/member/js/../../images/lightview/blank.gif&quot;) repeat scroll left top transparent; z-index: 5001;"></li></ul></div></div><div id="lightviewError" style="display: none;"></div><div id="lightviewController" style="z-index: 5001; margin-bottom: 18px; position: fixed; top: auto; left: 50%; width: 181px; margin-left: -91px; display: none; visibility: visible;"><div class="lv_controllerTop" style="width: 181px;"><div class="lv_controllerCornerWrapper lv_controllerCornerWrapperTopLeft" style="margin-left: 6px;"><div class="lv_Corner lv_CornerTl" style="width: 6px; height: 6px;"><canvas class="cornerCanvasTl" width="6px" height="6px" style="float: left;"></canvas></div></div><div class="lv_controllerBetweenCorners" style="margin: 0px 6px; height: 6px; background-color: rgb(77, 77, 77);"></div><div class="lv_controllerCornerWrapper lv_controllerCornerWrapperTopRight" style="margin-left: -6px;"><div class="lv_Corner lv_CornerTr" style="width: 6px; height: 6px;"><canvas class="cornerCanvasTr" width="6px" height="6px" style="float: left;"></canvas></div></div></div><div class="lv_controllerMiddle clearfix" style="background-color: rgb(77, 77, 77); width: 181px;"><ul class="lv_controllerCenter" style="margin: 0px 6px;"><li class="lv_controllerSetNumber" style="line-height: 38px; width: 61px;"><div style="width: 61px; height: 30px; line-height: 38px;"></div></li><li class="lv_ButtonWrapper lv_controllerPrev"><div class="lv_Button" style="background: url(&quot;https://www.archives.com/member/js/../../images/lightview/controller_prev.png&quot;) no-repeat scroll left top rgb(77, 77, 77); width: 22px; height: 22px;"></div></li><li class="lv_ButtonWrapper lv_controllerNext"><div class="lv_Button" style="background: url(&quot;https://www.archives.com/member/js/../../images/lightview/controller_next.png&quot;) no-repeat scroll left top rgb(77, 77, 77); width: 22px; height: 22px;"></div></li><li class="lv_ButtonWrapper lv_controllerSlideshow"><div class="lv_Button" style="background: url(&quot;https://www.archives.com/member/js/../../images/lightview/controller_slideshow_play.png&quot;) no-repeat scroll left top rgb(77, 77, 77); width: 22px; height: 22px;"></div></li><li class="lv_ButtonWrapper lv_controllerClose"><div class="lv_Button" style="background: url(&quot;https://www.archives.com/member/js/../../images/lightview/controller_close.png&quot;) no-repeat scroll left top rgb(77, 77, 77); width: 22px; height: 22px;"></div></li></ul></div><div class="lv_controllerBottom" style="width: 181px;"><div class="lv_controllerCornerWrapper lv_controllerCornerWrapperBottomLeft" style="margin-left: 6px;"><div class="lv_Corner lv_CornerBl" style="width: 6px; height: 6px;"><canvas class="cornerCanvasBl" width="6px" height="6px" style="float: left;"></canvas></div></div><div class="lv_controllerBetweenCorners" style="margin: 0px 6px; height: 6px; background-color: rgb(77, 77, 77);"></div><div class="lv_controllerCornerWrapper lv_controllerCornerWrapperBottomRight" style="margin-left: -6px;"><div class="lv_Corner lv_CornerBr" style="width: 6px; height: 6px;"><canvas class="cornerCanvasBr" width="6px" height="6px" style="float: left;"></canvas></div></div></div></div></body></html>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment