﻿//<script type="text/javascript"></script>
// <![CDATA[
// ]]>
/* Free code from dyn-web.com */

// Two choices for loading new pages into the iframe 
function loadIframe(iframeName, url) {
    if ( window.frames[iframeName] ) {
        window.frames[iframeName].location = url;  
        //parent.document.body.scrollIntoView(iframeName);
        var t=setTimeout("positionToAnchorTag('#findFrame')",4200);
        return false;
    }
    return true;
}

function changeIframeSrc(id, url) {
    if (!document.getElementById) return;
    var el = document.getElementById(id);
    if (el && el.src) {
        el.src = url;
        parent.document.body.scrollIntoView(el);
        return false;
    }
    return true;
}

function positionToAnchorTag(tagName)
{
        window.document.location.href=tagName;

 //clearTimeout();
}

