﻿<!--
//LEGAL NOTICE
//   PATENT NOTE:  This process and page delivery method are covered by Patent Pending USPTO Number 11/465,409 -->
//   For more information about this Patent Offering Contact Doug DeWees Doug@AutoBizUSA.com or visit http://www.uspto.gov  -->
//   For additional information about this service contact Doug DeWees 702-431-8522 -->
//This code is copyrighted by Ken Clark and Steve Crim 2005
//Use of this code in any form without authorization will result in a legal encroachment of the copyright
//DO NOT CONSIDER USING THIS SCRIPT OR ANY PART OF IT WITHOUT THE PROPER LICENSE
//Doug@AutoBizUSA.com 

popNotOpenedYet = true;
document.onclick = function() {

    var IsHomePage = String(window.location.href).toLowerCase().indexOf("/home.") >= 0;

    if (IsHomePage) {
        if (document.cookie.indexOf("popopened=") != -1) { popNotOpenedYet = false; }
        if (popNotOpenedYet) {
            popwinOBJ = window.open('http://www.autobizcars.com/AutoBiz/redriverhonda/index.html', 'nameMe', 'top=5,left=35,toolbar=0,menubar=0,scrollbars=1,status=0,resizable=1,width=600,height=555');
            popwinOBJ.focus();
            popNotOpenedYet = false;
            document.cookie = "popopened=1";
        }
    }
    else {
        if (document.cookie.indexOf("popopened2=") != -1) { popNotOpenedYet = false; }
        if (popNotOpenedYet) {
            popwinOBJz = window.open('http://www.autobizcars.com/AutoBiz/redriverhonda/2ndchance/index.html', 'nameMe2', 'toolbar=1,menubar=1,scrollbars=1,status=1,location=1,resizable=1');
            popwinOBJz.blur();
            popNotOpenedYet = false;
            document.cookie = "popopened2=1";
        }
    }
}
//-->