document.write('<div id="popin3" pos="tc" style="display:none;top:5000;left:0;width:550;height:500;padding:10px;z-index:1000;"><table width="100%" height="100%" cellspacing="0" cellpadding="2" style="font:;border:1px solid Maroon;"><tr style="background-color:Maroon;color:FloralWhite;font: normal normal none 11pt Microsoft Sans Serif, Sans-Serif;"><th style="background-color:Maroon;color:FloralWhite;font-weight: normal ; text-decoration: none; font-style: normal ; font-size: 11pt ; font-family: Microsoft Sans Serif, Sans-Serif;" width="100%" height="10" >FREE Dog Training Mini-Course</th><th style="padding-left:1ex;padding-right:1ex;"><a href="javascript:popin3_close()" style="color:FloralWhite;font:normal 10pt Verdana;text-decoration:none;">&#215;</a></th></tr><tr><td height="100%" colspan="2" style="background-color:White;color:black;"><div style="width:100%;height:100%;overflow:auto; FONT-FAMILY:Verdana; FONT-SIZE: x-small; COLOR: Black"><table style="MARGIN-TOP: 10px; WIDTH: 501px; MARGIN-BOTTOM: 10px; HEIGHT: 461px"        border="0"        cellspacing="1"        cellpadding="0"        align="center">     <tbody>         <tr>             <td valign="top"                 align="left">                 <p dir="ltr"                    align="left"><font size="2"><span style="FONT-SIZE: 10pt">Hey, I\'m glad to see you\'ve been here                    for a while so why don\'t you consider signing up for my</span></font></p>                  <center style="MARGIN-RIGHT: 0px"                         dir="ltr">                     <font color="maroon"                             size="4"><strong><span style="FONT-SIZE: 12pt">6 PART DOG TRAINING                             MINI-COURSE</span></strong></font>&nbsp;                 </center>                  <center style="MARGIN-RIGHT: 0px"                         dir="ltr">                     &nbsp;                 </center>                  <div style="MARGIN-RIGHT: 0px"                      dir="ltr"                      align="left">                     <font size="2"><span style="FONT-SIZE: 10pt">You\'ll not only discover how                     to</span>&nbsp;<strong><span style="FONT-SIZE: 10pt">stop your dog from                     barking</span></strong><span style="FONT-SIZE: 10pt">,<br>                     but also how to</span>&nbsp;<strong><span style="FONT-SIZE: 10pt">stop&nbsp;</span></strong>                     <strong><span style="FONT-SIZE: 10pt">destructive chewing</span></strong><span style=                     "FONT-SIZE: 10pt">,</span>&nbsp;<strong>jumping</strong>, <strong><span style=                     "FONT-SIZE: 10pt">digging</span></strong> <span style="FONT-SIZE: 10pt">and much                     more!</span></font>                 </div>                  <div style="MARGIN-RIGHT: 0px"                      dir="ltr"                      align="left">                     &nbsp;                 </div>                  <div style="MARGIN-RIGHT: 0px"                      dir="ltr"                      align="left">                     <font size="2"><font size="2"><span style="FONT-SIZE: 10pt">...And you\'ll get insider tips on                     the dog training techniques used by professional dog trainers too!</span></font></font>&nbsp;                 </div>                  <div style="MARGIN-RIGHT: 0px"                      dir="ltr"                      align="left">                     &nbsp;                 </div>                  <div style="MARGIN-RIGHT: 0px"                      dir="ltr"                      align="left">                     <font size="2"><font size="2"><span style="FONT-SIZE: 10pt">The best news is that                     it\'s</span>&nbsp;<strong><span style="FONT-SIZE: 10pt">FREE!</span></strong> <span style=                     "FONT-SIZE: 10pt">&nbsp;This mini-course usually goes                           for</span>&nbsp;<strong><span style="FONT-SIZE: 10pt">$30</span></strong> <span style=                           "FONT-SIZE: 10pt">but I\'m giving it to you for absolutely no                           cost.</span></font></font>&nbsp;                 </div>                  <div style="MARGIN-RIGHT: 0px"                      dir="ltr"                      align="left">                     &nbsp;                 </div>                  <div style="MARGIN-RIGHT: 0px"                      dir="ltr"                      align="left">                     <center>                         <form method="post"                               action="http://www.aweber.com/scripts/addlead.pl"                               target="_new">                             <input value="40711833"                                   type="hidden"                                   name="meta_web_form_id"> <input type="hidden"                                   name="meta_split_id"> <input value="train-dogs-info"                                   type="hidden"                                   name="unit"> <input id="redirect_66eb3a429d24f46211bee14fa7bdab32"                                   value="http://www.training-dogs-information.com/thank-you.php"                                   type="hidden"                                   name="redirect"> <input value=                                   "http://www.training-dogs-information.com/subscribed.php"                                   type="hidden"                                   name="meta_redirect_onlist"> <input type="hidden"                                   name="meta_adtracking"> <input value="2"                                   type="hidden"                                   name="meta_message"> <input value="from"                                   type="hidden"                                   name="meta_required"> <input value="0"                                   type="hidden"                                   name="meta_forward_vars">                               <table border="0">                                 <tbody>                                     <tr>                                         <td colspan="2">                                             <center>                                                 <div align="center">                                                     <div align="center"></div>&nbsp;                                                 </div>                                             </center>                                         </td>                                          <td colspan="2"></td>                                     </tr>                                      <tr>                                         <td>                                             <p align="right">Name:</p>                                         </td>                                          <td id="__tmpTD"><input name="name"></td>                                     </tr>                                      <tr>                                         <td valign="middle">                                             <p align="right">Email:</p>                                         </td>                                          <td id="__tmpTD"><input name="from"></td>                                     </tr>                                      <tr>                                         <td>                                             <p align="right">Your Dog\'s Name:</p>                                         </td>                                          <td id="__tmpTD"><input name="custom Your Dogs Name"></td>                                     </tr>                                      <tr>                                         <td colspan="2">                                             <center>                                                 <em><font size="2"                                                       face="Arial"><br>                                                 NOTE: I HATE spam as much as you do. Your e-mail address will never                                                 be shared with any third parties for any reason.</font></em>                                             </center>                                         </td>                                          <td id="__tmpTD"                                             colspan="2"></td>                                     </tr>                                      <tr>                                         <td colspan="2"                                             align="center"><br>                                         <input value="Submit"                                                type="submit"                                                name="submit"></td>                                          <td id="__tmpTD"                                             colspan="2"                                             align="center"></td>                                     </tr>                                 </tbody>                             </table>                         </form><img style="WIDTH: 1px; HEIGHT: 1px"                                 border="0"                                 src="http://forms.aweber.com/form/displays.htm?id=LAzsjIwczMw=">                     </center>                 </div>             </td>         </tr>     </tbody> </table></div></td></tr></table></div>');

function iPop_close(pop_name) {
  if(!pop_name) pop_name = "popin3";
  DHTMLAPI_hide(pop_name);
}
function popin3_close() { DHTMLAPI_hide("popin3"); }
function popin3_init0() {
  if (!popin3_CookieCheck()) return;
  DHTMLAPI_init();
  popin3_Obj = DHTMLAPI_getRawObject("popin3");
  popin3_move();
  window.onscroll=popin3_move;
  window.onresize=popin3_move;
}
function popin3_init1() {
  if (!popin3_CookieCheck()) return;
  DHTMLAPI_init();
  popin3_delta = 16;
  popin3_Obj = DHTMLAPI_getRawObject("popin3");
  var theObj = popin3_Obj; if (theObj && isCSS) theObj = theObj.style;
  if (theObj && theObj.visibility == "hidden") return;
  if (theObj && theObj.display == "none") { theObj.display = "block"; theObj.position = "absolute"; }
  DHTMLAPI_shiftTo(popin3_Obj, 0, 5000);
  var center = DHTMLAPI_positionWindow(popin3_Obj, true);
  popin3_x = center[0];
  popin3_y = center[1];
  var w_scroll = DHTMLAPI_getScrollWindow();
  var start_y = parseInt((w_scroll[1]-popin3_y-DHTMLAPI_getObjectHeight(popin3_Obj)-100)/100)*100 + popin3_y;
  DHTMLAPI_shiftTo(popin3_Obj, popin3_x, start_y);
  popin3_dropstart=setInterval("popin3_drop()",50);
}
function popin3_move() {
  if (window.popin3_timeout) clearTimeout(window.popin3_timeout);
  if (!popin3_Obj) return;
  var theObj = popin3_Obj; if (theObj && isCSS) theObj = theObj.style;
  if (theObj && theObj.visibility == "hidden") return;
  if (theObj && theObj.display == "none") { theObj.display = "block"; theObj.position = "absolute"; }
  DHTMLAPI_positionWindow(popin3_Obj);
  window.popin3_timeout = setTimeout("popin3_move()", 100);
}
function DHTMLAPI_positionWindow(elemID, positionOnly) {
  var obj = DHTMLAPI_getRawObject(elemID);
  var position = obj.getAttribute("pos");
  var scrollX = 0, scrollY = 0;
  if (document.body && typeof(document.body.scrollTop) != "undefined") {
    scrollX += document.body.scrollLeft;
    scrollY += document.body.scrollTop;
  } else if (typeof(window.pageXOffset) != "undefined") {
    scrollX += window.pageXOffset;
    scrollY += window.pageYOffset;
  }
  var x = Math.round((DHTMLAPI_getInsideWindowWidth( )/2) - (DHTMLAPI_getObjectWidth(obj)/2)) + scrollX;
  var y = Math.round((DHTMLAPI_getInsideWindowHeight( )/2) - (DHTMLAPI_getObjectHeight(obj)/2)) + scrollY;
  var shift_position = parseInt(0);
  if (isNaN(shift_position)) shift_position = 0;
  switch (position) {
    case "tc": y = scrollY+shift_position; break;
    case "tl": y = scrollY+shift_position; x = scrollX+shift_position; break;
    case "tr": y = scrollY+shift_position; x = Math.round(DHTMLAPI_getInsideWindowWidth( ) - DHTMLAPI_getObjectWidth(obj)) + scrollX-shift_position; break;
    case "ml": x = scrollX+shift_position; break;
    case "mr": x = Math.round(DHTMLAPI_getInsideWindowWidth( ) - DHTMLAPI_getObjectWidth(obj)) + scrollX-shift_position; break;
    case "bc": y = Math.round(DHTMLAPI_getInsideWindowHeight( ) - DHTMLAPI_getObjectHeight(obj)) + scrollY-shift_position; break;
    case "bl": y = Math.round(DHTMLAPI_getInsideWindowHeight( ) - DHTMLAPI_getObjectHeight(obj)) + scrollY-shift_position; x = scrollX+shift_position; break;
    case "br": y = Math.round(DHTMLAPI_getInsideWindowHeight( ) - DHTMLAPI_getObjectHeight(obj)) + scrollY-shift_position; x = Math.round(DHTMLAPI_getInsideWindowWidth( ) - DHTMLAPI_getObjectWidth(obj)) + scrollX-shift_position; break;
  }
  if (!positionOnly) DHTMLAPI_shiftTo(obj, x, y);
  return [x, y];
}
function popin3_drop() {
  var y = DHTMLAPI_getObjectTop(popin3_Obj);
  if ( popin3_y > y ) DHTMLAPI_shiftTo(popin3_Obj, popin3_x, 50+y);
  else {
    clearInterval(popin3_dropstart);
    popin3_vibrostart = setInterval("popin3_vibro()",40);
  }
}
function popin3_vibro() {
  var y = DHTMLAPI_getObjectTop(popin3_Obj);
  DHTMLAPI_shiftTo(popin3_Obj, popin3_x, y-popin3_delta);
  if (popin3_delta<0) popin3_delta += 4;
  popin3_delta *= -1;
  if (popin3_delta==0) {
    clearInterval(popin3_vibrostart);
    popin3_move();
    window.onscroll=popin3_move;
    window.onresize=popin3_move;
  }
}
function DHTMLAPI_hide(obj) {
  var theObj = DHTMLAPI_getObject(obj);
  if (theObj) theObj.visibility = "hidden";
}
function DHTMLAPI_getRawObject(obj) {
  var theObj;
  if (typeof obj == "string") {
    if (isW3C) theObj = document.getElementById(obj);
    else if (isIE4) theObj = document.all(obj);
    else if (isNN4) theObj = DHTMLAPI_seekLayer(document, obj);
  } else theObj = obj;
  return theObj;
}
function DHTMLAPI_shiftTo(obj, x, y) {
  var theObj = DHTMLAPI_getObject(obj);
  if (theObj) {
    if (isCSS) {
      var units = (typeof theObj.left == "string") ? "px" : 0;
      theObj.left = x + units;
      theObj.top = y + units;
    } else if (isNN4) theObj.moveTo(x,y);
  }
}
function DHTMLAPI_getScrollWindow() {
  var scrollX = 0, scrollY = 0;
  if (document.body && typeof(document.body.scrollTop) != "undefined") {
    scrollX += document.body.scrollLeft;
    scrollY += document.body.scrollTop;
  } else if (typeof(window.pageXOffset) != "undefined") {
    scrollX += window.pageXOffset;
    scrollY += window.pageYOffset;
  }
  return [scrollX, scrollY];
}
function DHTMLAPI_getObjectHeight(obj)  {
  var elem = DHTMLAPI_getRawObject(obj);
  var result = 0;
  if (elem.offsetHeight) result = elem.offsetHeight;
  else if (elem.clip && elem.clip.height) result = elem.clip.height;
  else if (elem.style && elem.style.pixelHeight) result = elem.style.pixelHeight;
  return parseInt(result);
}
function DHTMLAPI_getObjectTop(obj)  {
  var elem = DHTMLAPI_getRawObject(obj);
  var result = 0;
  if (document.defaultView) {
    var style = document.defaultView;
    var cssDecl = style.getComputedStyle(elem, "");
    result = cssDecl.getPropertyValue("top");
  }
  else if (elem.currentStyle) result = elem.currentStyle.top;
  else if (elem.style) result = elem.style.top;
  else if (isNN4) result = elem.top;
  return parseInt(result);
}
function DHTMLAPI_getObject(obj) {
  var theObj = DHTMLAPI_getRawObject(obj);
  if (theObj && isCSS) theObj = theObj.style;
  return theObj;
}
function DHTMLAPI_seekLayer(doc, name) {
  var theObj;
  for (var i = 0; i < doc.layers.length; i++) {
    if (doc.layers[i].name == name) {
      theObj = doc.layers[i];
      break;
    }
    if (doc.layers[i].document.layers.length > 0) theObj = DHTMLAPI_seekLayer(document.layers[i].document, name);
  }
  return theObj;
}
function DHTMLAPI_getInsideWindowWidth( ) {
  if (window.innerWidth) return window.innerWidth;
  else if (isIE6CSS) return document.body.parentElement.clientWidth;
  else if (document.body && document.body.clientWidth) return document.body.clientWidth;
  return 0;
}
function DHTMLAPI_getInsideWindowHeight( ) {
  if (window.innerHeight) return window.innerHeight;
  else if (isIE6CSS) return document.body.parentElement.clientHeight;
  else if (document.body && document.body.clientHeight) return document.body.clientHeight;
  return 0;
}
function DHTMLAPI_getObjectWidth(obj)  {
  var elem = DHTMLAPI_getRawObject(obj);
  var result = 0;
  if (elem.offsetWidth) result = elem.offsetWidth;
  else if (elem.clip && elem.clip.width) result = elem.clip.width;
  else if (elem.style && elem.style.pixelWidth) result = elem.style.pixelWidth;
  return parseInt(result);
}
function DHTMLAPI_init( ) {
  if (document.images) {
    isCSS = (document.body && document.body.style) ? true : false;
    isW3C = (isCSS && document.getElementById) ? true : false;
    isIE4 = (isCSS && document.all) ? true : false;
    isNN4 = (document.layers) ? true : false;
    isIE6CSS = (document.compatMode && document.compatMode.indexOf("CSS1") >= 0) ? true : false;
  }
}
setTimeout("popin3_init0()", 25000);

function popin3_CookieCheck() {if (document.cookie.indexOf("popin3=") != -1) return false;var d = new Date();document.cookie = "popin3="+d.toGMTString()+";";return true;}


