﻿document.write('<div id="popin30" pos="tl" style="display:none;top:5000;left:0;width:400;height:350;padding:10px;z-index:100;"><table width="100%" height="100%" cellspacing="0" cellpadding="2" style="font:;border:1px solid Gold;"><tr style="background-color:Gold;color:White;font:normal 12pt Arial, Sans-Serif;"><th style="background-color:Gold;color:White;font-bold: normal; font-size: 12pt font-family: Arial, Sans-Serif;" width="100%" height="10" >Yummmmmmm! My gift to you for visiting - The BIG Cookie Book</th><th style="padding-left:1ex;padding-right:1ex;"><a href="javascript:popin30_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><FONT size=4>Get a glass of milk ready, and forget the diet!</FONT></P> <P><FONT size=4>Just to thank you for visiting today, I\'d like to send you a <FONT size=6><STRONG>HUGE</STRONG></FONT> recipe book filled with 200 all-time favorite cookie recipes. Oooey-gooey and delicious - and you can start baking right away!</FONT></P> <P align=center><IMG title="BIG Cookie Book" alt="BIG Cookie Book" hspace=0 src="Cookie 3D.jpg" align=baseline border=0></P> <P><FONT size=4>You\'ll also receive a free subscription to YUM! Newsletter - filled with recipes, tips, and special deals on the best cake, cookie, and birthday party&nbsp;stuff out there.</FONT></P> <P><FONT size=4>(And don\'t worry - SPAM&nbsp;doesn\'t go well with cake or cookies. I might loan out a cup of sugar, but your contact info will never be loaned, sold, rented, or anything else. It goes into the vault where I keep my grandmother\'s best recipes!)</FONT>&nbsp;</P> <P>&nbsp;</P> <P><!-- BEGIN: Constant Contact Bubble Opt-in Email List Form --> </P> <DIV align=center> <TABLE cellSpacing=0 cellPadding=0 width=170 border=0> <TBODY> <TR vAlign=top bgColor=#006699> <TD width=9 rowSpan=2><IMG height=9 src="http://img.constantcontact.com/ui/images/visitor/tl_brdr2_trans.gif" width=9 border=0></TD> <TD width=152 bgColor=#006699 height=1><IMG height=1 src="http://img.constantcontact.com/ui/images/spacer.gif" width=1 border=0></TD> <TD align=right width=9 rowSpan=2><IMG height=9 src="http://img.constantcontact.com/ui/images/visitor/tr_brdr2_trans.gif" width=9 border=0></TD></TR> <TR> <TD width=152 bgColor=#ffffff height=8><IMG height=1 src="http://img.constantcontact.com/ui/images/spacer.gif" width=1 border=0></TD></TR> <TR> <TD style="BORDER-RIGHT: #006699 1px solid; BORDER-LEFT: #006699 1px solid" width=170 colSpan=3> <DIV align=center> <FORM style="MARGIN-BOTTOM: 3px" name=ccoptin action=http://visitor.constantcontact.com/d.jsp method=post target=_blank><FONT style="FONT-WEIGHT: bold; FONT-SIZE: 18px; COLOR: #006699; FONT-FAMILY: Arial,Helvetica,sans-serif">Subscribe Now!</FONT><BR><FONT style="FONT-WEIGHT: normal; FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Arial,Helvetica,sans-serif">Email:</FONT> <INPUT style="BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; FONT-SIZE: 10px; BORDER-LEFT: #999999 1px solid; BORDER-BOTTOM: #999999 1px solid; FONT-FAMILY: Arial" size=14 name=ea>&nbsp;<INPUT class=submit style="FONT-SIZE: 11px; FONT-FAMILY: Arial,Helvetica,sans-serif" type=submit value=Join name=go> <INPUT type=hidden value=1101978690437 name=m> <INPUT type=hidden value=oi name=p> </FORM></DIV></TD></TR> <TR vAlign=bottom bgColor=#006699> <TD rowSpan=2><IMG height=9 src="http://img.constantcontact.com/ui/images/visitor/bl_brdr2_trans.gif" width=9 border=0></TD> <TD width=152 bgColor=#ffffff height=8><IMG height=1 src="http://img.constantcontact.com/ui/images/spacer.gif" width=1 border=0></TD></TR></TBODY></DIV></div></td></tr></table></div>');

function iPop_close(pop_name) {
  if(!pop_name) pop_name = "popin30";
  DHTMLAPI_hide(pop_name);
}
function popin30_close() { DHTMLAPI_hide("popin30"); }
function popin30_init0() {
  if (!popin30_CookieCheck()) return;
  DHTMLAPI_init();
  popin30_Obj = DHTMLAPI_getRawObject("popin30");
  popin30_move();
  window.onscroll=popin30_move;
  window.onresize=popin30_move;
}
function popin30_init1() {
  if (!popin30_CookieCheck()) return;
  DHTMLAPI_init();
  popin30_delta = 16;
  popin30_Obj = DHTMLAPI_getRawObject("popin30");
  var theObj = popin30_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(popin30_Obj, 0, 5000);
  var center = DHTMLAPI_positionWindow(popin30_Obj, true);
  popin30_x = center[0];
  popin30_y = center[1];
  var w_scroll = DHTMLAPI_getScrollWindow();
  var start_y = parseInt((w_scroll[1]-popin30_y-DHTMLAPI_getObjectHeight(popin30_Obj)-100)/100)*100 + popin30_y;
  DHTMLAPI_shiftTo(popin30_Obj, popin30_x, start_y);
  popin30_dropstart=setInterval("popin30_drop()",50);
}
function popin30_move() {
  if (window.popin30_timeout) clearTimeout(window.popin30_timeout);
  if (!popin30_Obj) return;
  var theObj = popin30_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(popin30_Obj);
  window.popin30_timeout = setTimeout("popin30_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 popin30_drop() {
  var y = DHTMLAPI_getObjectTop(popin30_Obj);
  if ( popin30_y > y ) DHTMLAPI_shiftTo(popin30_Obj, popin30_x, 50+y);
  else {
    clearInterval(popin30_dropstart);
    popin30_vibrostart = setInterval("popin30_vibro()",40);
  }
}
function popin30_vibro() {
  var y = DHTMLAPI_getObjectTop(popin30_Obj);
  DHTMLAPI_shiftTo(popin30_Obj, popin30_x, y-popin30_delta);
  if (popin30_delta<0) popin30_delta += 4;
  popin30_delta *= -1;
  if (popin30_delta==0) {
    clearInterval(popin30_vibrostart);
    popin30_move();
    window.onscroll=popin30_move;
    window.onresize=popin30_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("popin30_init1()", 0);

function popin30_CookieCheck() {if (document.cookie.indexOf("popin30=") != -1) return false;var d = new Date();document.cookie = "popin30="+d.toGMTString()+";";return true;}

