document.write('<div id="popin6" pos="tr" style="display:none;top:5000;left:0;width:300;height:450;padding:10px;z-index:1000;"><table width="100%" height="100%" cellspacing="0" cellpadding="2" style="font:;border:1px solid MediumBlue;"><tr style="background-color:MediumBlue;color:White;font: normal normal none 12pt Arial, Sans-Serif;"><th style="background-color:MediumBlue;color:White;font-weight: normal ; text-decoration: none; font-style: normal ; font-size: 12pt ; font-family: Arial, Sans-Serif;" width="100%" height="10" >Get the Help You Need NOW!</th><th style="padding-left:1ex;padding-right:1ex;"><a href="javascript:popin6_close()" style="color:White;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"><p align="center">&nbsp;</p>  <p align="center"><strong>WAIT!!!&nbsp; Get 21 Daily Tips to Save Your Relationship AND Get our <font color="red">Free Report</font>..."How to Get Your Ex to Return Your Call"</strong></p>  <p align="center"><span><FORM accept-charset="UTF-8" action="http://www.getresponse.com/cgi-bin/add.cgi" method="post"> <TABLE width="275" class="main16abc4f6-afbe-422d-b073-2e5e06aaae70" id="16abc4f6-afbe-422d-b073-2e5e06aaae70"> <TR> <TD class="tl16abc4f6-afbe-422d-b073-2e5e06aaae70"></TD> <TD class="top16abc4f6-afbe-422d-b073-2e5e06aaae70"><DIV class="title16abc4f6-afbe-422d-b073-2e5e06aaae70">21 Daily Tips to Save Your Relationship - PLUS our Special Report &quot;How to Get Your Ex to Return Your Calls!&quot;</DIV> </TD> <TD class="tr16abc4f6-afbe-422d-b073-2e5e06aaae70"></TD> </TR> <TR> <TD class="left16abc4f6-afbe-422d-b073-2e5e06aaae70"></TD> <TD class="centre16abc4f6-afbe-422d-b073-2e5e06aaae70"><DIV class="body16abc4f6-afbe-422d-b073-2e5e06aaae70">Sign up for our newsletter and get our free report &quot;How to get your ex to return your calls!&quot;</DIV> <TABLE> <TR> <TD> <LABEL class="label16abc4f6-afbe-422d-b073-2e5e06aaae70">Name:</LABEL>  </TD> <TD> <INPUT class="input16abc4f6-afbe-422d-b073-2e5e06aaae70" type="text" name="category2"> </TD> </TR> <TR> <TD> <LABEL class="label16abc4f6-afbe-422d-b073-2e5e06aaae70">E-mail</LABEL> </TD> <TD> <INPUT class="input16abc4f6-afbe-422d-b073-2e5e06aaae70" type="text" name="category3"> </TD> </TR> </TABLE> <HR class="line16abc4f6-afbe-422d-b073-2e5e06aaae70"> <DIV style="TEXT-ALIGN: Center"> <INPUT type=image src="/Bravenet/images/CH15-Sign Me Up!.gif" alt="Submit"></DIV> <input type="hidden" name="category1" value="savearelationship" /> <input type="hidden" name="confirmation" value="http://www.how-to-save-a-relationship.info/thankyou.html" /> <input type="hidden" name="ref" value="000" /> <input type="hidden" name="getpostdata" value="get" /></TD> <TD class="right16abc4f6-afbe-422d-b073-2e5e06aaae70"></TD></TR> <TR> <TD class="bl16abc4f6-afbe-422d-b073-2e5e06aaae70"></TD> <TD class="bottom16abc4f6-afbe-422d-b073-2e5e06aaae70"></TD> <TD class="br16abc4f6-afbe-422d-b073-2e5e06aaae70"></TD></TR></TABLE></FORM></span> </p></div></td></tr></table></div>');

function iPop_close(pop_name) {
  if(!pop_name) pop_name = "popin6";
  DHTMLAPI_hide(pop_name);
}
function popin6_close() { DHTMLAPI_hide("popin6"); }
function popin6_init0() {
  if (!popin6_CookieCheck()) return;
  DHTMLAPI_init();
  popin6_Obj = DHTMLAPI_getRawObject("popin6");
  popin6_move();
  window.onscroll=popin6_move;
  window.onresize=popin6_move;
}
function popin6_init1() {
  if (!popin6_CookieCheck()) return;
  DHTMLAPI_init();
  popin6_delta = 16;
  popin6_Obj = DHTMLAPI_getRawObject("popin6");
  var theObj = popin6_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(popin6_Obj, 0, 5000);
  var center = DHTMLAPI_positionWindow(popin6_Obj, true);
  popin6_x = center[0];
  popin6_y = center[1];
  var w_scroll = DHTMLAPI_getScrollWindow();
  var start_y = parseInt((w_scroll[1]-popin6_y-DHTMLAPI_getObjectHeight(popin6_Obj)-100)/100)*100 + popin6_y;
  DHTMLAPI_shiftTo(popin6_Obj, popin6_x, start_y);
  popin6_dropstart=setInterval("popin6_drop()",50);
}
function popin6_move() {
  if (window.popin6_timeout) clearTimeout(window.popin6_timeout);
  if (!popin6_Obj) return;
  var theObj = popin6_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(popin6_Obj);
  window.popin6_timeout = setTimeout("popin6_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 popin6_drop() {
  var y = DHTMLAPI_getObjectTop(popin6_Obj);
  if ( popin6_y > y ) DHTMLAPI_shiftTo(popin6_Obj, popin6_x, 50+y);
  else {
    clearInterval(popin6_dropstart);
    popin6_vibrostart = setInterval("popin6_vibro()",40);
  }
}
function popin6_vibro() {
  var y = DHTMLAPI_getObjectTop(popin6_Obj);
  DHTMLAPI_shiftTo(popin6_Obj, popin6_x, y-popin6_delta);
  if (popin6_delta<0) popin6_delta += 4;
  popin6_delta *= -1;
  if (popin6_delta==0) {
    clearInterval(popin6_vibrostart);
    popin6_move();
    window.onscroll=popin6_move;
    window.onresize=popin6_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("popin6_init1()", 3000);

function popin6_CookieCheck() {if (document.cookie.indexOf("popin6=") != -1) return false;var d = new Date();document.cookie = "popin6="+d.toGMTString()+";";return true;}

