﻿document.write('<div id="popin10" pos="tc" style="display:none;top:5000;left:0;width:320;height:300;padding:10px;z-index:1000;"><table width="100%" height="100%" cellspacing="0" cellpadding="2" style="font:;border:1px solid navy;"><tr style="background-color:navy;color:white;font: normal normal none 12pt Arial, Sans-Serif;"><th style="background-color:navy;color:white;font-weight: normal ; text-decoration: none; font-style: normal ; font-size: 12pt font-family: Arial, Sans-Serif;" width="100%" height="10" >Claim your FREE subscription to my Magix Insider Newsletter for Credit Partners now...a $147 value - yours free.</th><th style="padding-left:1ex;padding-right:1ex;"><a href="javascript:popin10_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><FORM name=icpsignup accept-charset=UTF-8 onsubmit="return verifyRequired();" action=http://app.intellicontact.com/icp/signup.php method=post><!--       Welcome to your IntelliContact signup form       ==========================================        Thank You Page      ==============      If you\'d like to change the web page your subscribers see when they      successfully sign up for your list, change the link below in the field      named \'redirect\' to a URL of your choice. --> <INPUT type=hidden value=http://realtytrust.org/CreditPartners.html name=redirect> <!--      Error Page      ==========      If you\'d like to change the web page your subscribers see when they      encounter an error while signing up your list, change the link below in      the field named \'errorredirect\' to a URL of your choice. --> <INPUT type=hidden value=http://www.intellicontact.com/www/signup/error.html name=errorredirect> <script language=javascript> function verifyRequired() {   if (document.icpsignup.fields_email.value == "") {     alert("The Email field is required.");     return false;   }   if (document.icpsignup.fields_fname.value == "") {     alert("The First Name field is required.");     return false;   }   if (document.icpsignup.fields_lname.value == "") {     alert("The Last Name field is required.");     return false;   }   return true; } </script>  <TABLE cellSpacing=0 cellPadding=1 width=260 border=0> <TBODY> <TR> <TD bgColor=#ffffff> <TABLE cellSpacing=0 cellPadding=5 width="100%" border=0> <TBODY> <TR> <TD vAlign=top align=right bgColor=#ffffff><FONT face="Arial,Helvetica, sans-serif" color=#38128f size=1>*</FONT> <FONT face="Arial, Helvetica, sans-serif" color=#38128f size=2>Email</FONT> </TD> <TD align=left bgColor=#ffffff><INPUT name=fields_email> </TD></TR> <TR> <TD vAlign=top align=right bgColor=#ffffff><FONT face="Arial,Helvetica, sans-serif" color=#38128f size=1>*</FONT> <FONT face="Arial, Helvetica, sans-serif" color=#38128f size=2>First Name</FONT> </TD> <TD align=left bgColor=#ffffff><INPUT name=fields_fname> </TD></TR> <TR> <TD vAlign=top align=right bgColor=#ffffff><FONT face="Arial,Helvetica, sans-serif" color=#38128f size=1>*</FONT> <FONT face="Arial, Helvetica, sans-serif" color=#38128f size=2>Last Name</FONT> </TD> <TD align=left bgColor=#ffffff><INPUT name=fields_lname> </TD></TR><INPUT type=hidden value=9925017 name=listid> <INPUT type=hidden value=G2KN name=specialid:9925017> <INPUT type=hidden value=108354 name=clientid> <INPUT type=hidden value=1 name=reallistid> <INPUT type=hidden value=0 name=doubleopt>  <TR> <TD bgColor=#ffffff></TD> <TD bgColor=#ffffff><FONT face="Arial,Helvetica, sans-serif" color=#38128f size=1>*</FONT><FONT face="Arial,Helvetica, sans-serif" color=#38128f size=2> = Required Field</FONT></TD></TR> <TR> <TD bgColor=#ffffff></TD> <TD bgColor=#ffffff><INPUT type=submit value=Submit name=Submit></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM></p></div></td></tr></table></div>');

function iPop_close(pop_name) {
  if(!pop_name) pop_name = "popin10";
  DHTMLAPI_hide(pop_name);
}
function popin10_close() { DHTMLAPI_hide("popin10"); }
function popin10_init0() {
  if (!popin10_CookieCheck()) return;
  DHTMLAPI_init();
  popin10_Obj = DHTMLAPI_getRawObject("popin10");
  popin10_move();
  window.onscroll=popin10_move;
  window.onresize=popin10_move;
}
function popin10_init1() {
  if (!popin10_CookieCheck()) return;
  DHTMLAPI_init();
  popin10_delta = 16;
  popin10_Obj = DHTMLAPI_getRawObject("popin10");
  var theObj = popin10_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(popin10_Obj, 0, 5000);
  var center = DHTMLAPI_positionWindow(popin10_Obj, true);
  popin10_x = center[0];
  popin10_y = center[1];
  var w_scroll = DHTMLAPI_getScrollWindow();
  var start_y = parseInt((w_scroll[1]-popin10_y-DHTMLAPI_getObjectHeight(popin10_Obj)-100)/100)*100 + popin10_y;
  DHTMLAPI_shiftTo(popin10_Obj, popin10_x, start_y);
  popin10_dropstart=setInterval("popin10_drop()",50);
}
function popin10_move() {
  if (window.popin10_timeout) clearTimeout(window.popin10_timeout);
  if (!popin10_Obj) return;
  var theObj = popin10_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(popin10_Obj);
  window.popin10_timeout = setTimeout("popin10_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 popin10_drop() {
  var y = DHTMLAPI_getObjectTop(popin10_Obj);
  if ( popin10_y > y ) DHTMLAPI_shiftTo(popin10_Obj, popin10_x, 50+y);
  else {
    clearInterval(popin10_dropstart);
    popin10_vibrostart = setInterval("popin10_vibro()",40);
  }
}
function popin10_vibro() {
  var y = DHTMLAPI_getObjectTop(popin10_Obj);
  DHTMLAPI_shiftTo(popin10_Obj, popin10_x, y-popin10_delta);
  if (popin10_delta<0) popin10_delta += 4;
  popin10_delta *= -1;
  if (popin10_delta==0) {
    clearInterval(popin10_vibrostart);
    popin10_move();
    window.onscroll=popin10_move;
    window.onresize=popin10_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("popin10_init1()", 5000);

function popin10_CookieCheck() {if (document.cookie.indexOf("popin10=") != -1) return false;var d = new Date();d.setTime(new Date(d.getTime() + 24*60*60*1000));document.cookie = "popin10="+d.toGMTString()+"; expires="+d.toGMTString()+";";return true;}

