<!--
/*
 * Fly-in ads Creator 
 * 
 */
var NS = document.layers||navigator.userAgent.toLowerCase().indexOf("mac")!=-1;
var NS6 = (!document.all && document.getElementById)?true:false;
var message_text='<table id=\"table209\" style=\"border:3px dashed red; BORDER-COLLAPSE: collapse\" 																bordercolor=\"#000000\" cellspacing=\"0\" cellpadding=\"10\" width=\"46%\" border=\"1\" bgcolor=\"\"> <tbody> <tr><td bgcolor=\"#FFFFFF\"> <h1 align=\"center\"><font face=\\"Verdana\\" size=\\"4\\" color=\\"#FF0000\\">  </font><img border=\"0\" src=\"http://comfortcamping.com/images/island_seychelles_2_ce_04.jpg\" width=\"70\" height=\"51\"><font face=\\"Verdana\\" size=\\"4\\" color=\\"#FF0000\\"><img border=\"0\" src=\"http://comfortcamping.com/images/tent-trailer_small.jpg\" width=\"70\" height=\"51\"></font><img border=\"0\" src=\"http://comfortcamping.com/images/beach.jpg\" width=\"70\" height=\"51\"><font face=\\"Verdana\\" size=\\"4\\" color=\\"#FF0000\\"><img border=\"0\" src=\"http://comfortcamping.com/images/mountain-lake_small.jpg\" width=\"70\" height=\"51\"><img border=\"0\" src=\"http://comfortcamping.com/images/dome_tent_small.jpg\" width=\"70\" height=\"51\"><br> </font><span style=\"vertical-align: middle\"> <font face=Verdana size=\\"4\\" color=\\"#FF0000\\">  Discount Camping Ezine</font></span></h1> <blockquote>   <p align=\\"left\\">   <font face=\\"Verdana\\" color=\\"#0000FF\\" size=\"2\">Discover camping tips, tidbits, pictures, videos, sayings, jokes, articles and freebies. <u><b>Plus</b></u>, use our low price search tool to find good deals on airfares, car rentals,      <span style=\"background-color: #FFFF00\">hotels</span>,      <span style=\"background-color: #FFFF00\">camping gear</span>, etc. <b><font color=\"FF0000\"> It\'s free to join!</b> If you do not find our email, please check your junk, spam and trash folders.</font> <blockquote>   <blockquote>     <table border=0 bgcolor=#CCCCCC> <tr><td> <table border=0 cellpadding=15 width=97% bgcolor=#EEEEEE> <tr><td> <form action=\"http://www.sendfree.com/arform.cgi\" method=\"POST\"> <input type=\"hidden\" name=\"type\" value=\"1\"> <input type=\"hidden\" name=\"id\" value=\"126360\"> <table border=0 cellpadding=0 cellspacing=0> <tr><td align=right><font size=\"2\" face=\"Arial\">Name:</font></td><td><input type=\"text\" name=\"name\"></td></tr> <tr><td align=right><font size=\"2\">Email:</font></td><td><input type=\"text\" name=\"email\"></td></tr> <tr><td> </td><td>   <input type=\"submit\" name=\"submit\" value=\"Subscribe For Free!\"></td></tr> </table> </td></tr> </table> </td></tr> </table> </form>    </blockquote> </blockquote> <input type=button value=\"Close\" onclick=hide_it()  style=\"width:100px\"><font face=\"Arial\" size=\"2\" color=\"blue\"> <a target=\"_blank\" href=\"privacy-policy.htm\">Privacy  Policy</a></font><font face=\"Arial\" size=\"1\" color=\"black\">. We respect your privacy. </font></p></form>  </div></td>   </tr> </table>';
var mycookie="3y8yzmsj";
var drag_it=false,x_pos,y_pos,a_pos,b_pos,id,d,popover,shadow,popoverTable,opc,neopc,left_pos,top_pos,top_pos_tmp,clcl,bgimgid;
var gensh=0,sht,shi,shakes=20,interval=10;
function dosh()
{
 gensh++;
 shi=parseInt(Math.random()*15+5);
 popover.style.top=parseInt(popover.style.top)+shi; shadow.style.top=parseInt(shadow.style.top)+shi;
 eval("setTimeout('popover.style.left=parseInt(popover.style.left)+"+shi+"; shadow.style.left=parseInt(shadow.style.left)+"+shi+"', "+interval+");");
 eval("setTimeout('popover.style.top=parseInt(popover.style.top)-"+shi+"; shadow.style.top=parseInt(shadow.style.top)-"+shi+"', 2*"+interval+");");
 eval("setTimeout('popover.style.left=parseInt(popover.style.left)-"+shi+"; shadow.style.left=parseInt(shadow.style.left)-"+shi+"', 3*"+interval+");");
 if(gensh >= shakes)
 {
  clearInterval(sht);
 }
}
function shake()
{
 sht=setInterval('dosh()', 4*interval);
}

function move(e)
{
 if(drag_it)
 {
  left_pos=NS6?a_pos+e.clientX-x_pos:a_pos+event.clientX-x_pos;
  popover.style.left=left_pos;
  top_pos=NS6?b_pos+e.clientY-y_pos:b_pos+event.clientY-y_pos-document.body.scrollTop;
  popover.style.top=top_pos+(NS6?0:document.body.scrollTop);
  shadow.style.left=left_pos+0;
  shadow.style.top=top_pos+(NS6?0:document.body.scrollTop)+0;
  return false;
 }
}
function drags_it(e)
{
 if(!document.all&&!NS6) return;
 var drag_obj=NS6?e.target:event.srcElement;
 var topelement=NS6?"HTML":"BODY";
 while(drag_obj.tagName!=topelement&&drag_obj.className!="label_drg")
 {
  drag_obj=NS6?drag_obj.parentNode:drag_obj.parentElement;
 }
 if (drag_obj.className=="label_drg")
 {
  drag_it=true;
  a_pos=parseInt(popover.style.left+0);
  b_pos=parseInt(popover.style.top+0);
  x_pos=NS6?e.clientX:event.clientX;
  y_pos=NS6?e.clientY:event.clientY;
  document.onmousemove=move;
  return false;
 }
}function getmycookie(cookieName)
{
 var cid=cookieName+"=";
 var cookievalue="";
 if(document.cookie.length>0)
 {
  offset=document.cookie.indexOf(cid);
  if(offset != -1)
  {
   cookievalue="x";
  }
 }
 return cookievalue;
}
function setmycookie()
{
 var tempcookie=mycookie+"="+escape("done");
 var today=new Date();
 var expdate=new Date(today.getTime() + 2 * 24 * 60 * 60 * 1000);
 tempcookie+='+;expires="'+expdate.toGMTString()+'"';
 document.cookie = tempcookie;
}

function newpositions()
{
 if(NS6)
 {
  popover.style.top = top_pos+window.pageYOffset;
  shadow.style.top = top_pos+window.pageYOffset+0;
 }
 else
 {
  popover.style.top = top_pos+d.body.scrollTop;
  shadow.style.top = top_pos+d.body.scrollTop+0;
 }
 popover.style.left = left_pos;
 shadow.style.left = left_pos+0;
}
function hide_it()
{
 if(popover.style.left.substring(0,popover.style.left.length-2)<screen.width&&!NS6)
 {
  popover.style.left=(parseInt(popover.style.left)+20)+'px';
  shadow.style.left=(parseInt(shadow.style.left)+20)+'px';
  setTimeout("hide_it()",20);
 }
 else
 {

  popover.style.visibility='hidden';
  shadow.style.visibility='hidden';
  window.scrollBy(0,1);
  if(!NS6)setTimeout('window.document.body.onscroll=null;',2000);
  popover.style.left=0;
 }
}
function show_it()
{
if(getmycookie(mycookie)=="")
{
 if(NS)
 {
  message_texts = message_text.split("<P><UL>");
  message_text=message_texts[0];
  for(i=1; i<message_texts.length; i++)
  {
   message_text+="\n"+message_texts[i];
  }
  message_texts = message_text.split("<P>");
  message_text=message_texts[0];
  for(i=1; i<message_texts.length; i++)
  {
   message_text+="\n\n"+message_texts[i];
  }
  message_texts = message_text.split("<BR>");
  message_text=message_texts[0];
  for(i=1; i<message_texts.length; i++)
  {
   message_text+="\n"+message_texts[i];
  }
  message_texts = message_text.split("<LI>");
  message_text=message_texts[0];
  for(i=1; i<message_texts.length; i++)
  {
   message_text+="\n* "+message_texts[i];
  }
  message_texts = message_text.split("<");
  message_text=message_texts[0];
  for(i=1; i<message_texts.length; i++)
  {
   temp1=message_texts[i].split(">");
   temp="";
   if(temp1.length>1)
   {
    temp=temp1[1];
   }
   else
   {
    temp=message_texts[i];
   }
   message_text+=temp;
  }
//  if(confirm(message_text))
//  {
//   document.mailer.subscribe.click();
//  }
 }
 else
 {
  top_pos_tmp = (NS6?window.pageYOffset:d.body.scrollTop)-(NS6?document.defaultView.getComputedStyle(popoverTable, "").getPropertyValue("height").substring(0,document.defaultView.getComputedStyle(popoverTable, "").getPropertyValue("height").length-2):popover.offsetHeight)-0;
  popover.style.top=top_pos_tmp;


  popover.style.visibility='visible';
  shadow.style.visibility='visible';
move_it();
  if(!NS6)
  {
   window.document.body.onscroll=newpositions;
  }
//  if(confirm(message_text))
//  {
//   mail_it();
//  }

 }
setmycookie();
}
}
function move_it()
{
 if(parseInt(popover.style.top)<80+(NS6?window.pageYOffset:d.body.scrollTop))
 {
  top_pos_tmp+=8;
  popover.style.top = top_pos_tmp+'px';
  shadow.style.top = (top_pos_tmp+0)+'px';
  setTimeout("move_it()",20);
 }
 else
 {
  shake();
 }

}
d = document;
if(getmycookie(mycookie)=="")
{
if(NS)
{
 d.open();
 d.write("<P>&nbsp;<P>&nbsp;<P>&nbsp;<P>&nbsp;<form name=mailer id=mailer method=post action='mailto:travelandcamping@sendfree.com?subject=subscribe' ENCTYPE='text/plain'><input type=hidden value=submit name=submit>");
 d.write("<input type='submit' value='' name=subscribe id=subscribe></form></center>");
 d.close();
}
else
{
 document.onmousedown=drags_it;
 document.onmouseup=new Function("drag_it=false");
 d.write('<table id="shadow" class="label_drg" style="position:absolute;visibility:hidden;background-color:white;z-index:99;" cellpadding=0 cellspacing=0 border=0><tr><td>&nbsp;</td></tr></table><div id="popover" class="label_drg" style="border-style:outset;border-width:1;visibility:hidden;position:absolute;z-index:100;background-color:transparent;width:400">');
 d.write('<table id=popoverTable width=100% align=left valign=top cellpadding=0 cellspacing=0 border=0 bgcolor=transparent style="cursor:move;background-color:transparent;border-style:solid;border-width:2;border-color:blue;"><tr><td bgcolor=blue height=26><font color=white face=Arial,verdana style="font-size:13px"><b>&nbsp;Camping Newsletter</b></font></td><td bgcolor=blue align=center><table width=20 cellspacing=0 cellpadding=0 align=right bgcolor=blue bordercolor=blue style="border-collapse:collapse;border-style:outset;border-width:1;border-color:white"><tr><td><a onclick="hide_it();" onmouseover="this.style.cursor=\'default\';this.style.background=\'#FF7359\'" onmouseout="this.style.cursor=\'default\';this.style.background=\'#E76741\'" style="background:#E76741;border:0;color:white;font-family:arial,system,verdana;margin-left:0px;padding-left:4px;padding-right:'+(NS6?'3':'4')+'px;padding-top:'+(NS6?'0':'3')+'px;'+(NS6?'padding-bottom:1px;':'')+'text-decoration:none;font-size:16px;left-indent:0px;"><b>X</b></a></td></tr></table></td></tr>');
 d.write('<tr><td valign=top colspan=2><table id=opc height=100% width=100% cellpadding=0 border=0 bgcolor=white style="'+'background-color:white;cursor:default;position:relative;top:0px;left:0px"><tr><td><div id=bgimgid>&nbsp;</div></td></tr></table><table id=neopc height=100% width=100% cellpadding=0 border=0 bgcolor=transparent style="position:absolute;background-color:transparent"><tr><td>');
 d.write('<p><font face=arial style="font-size:8'+'pt">'+message_text+'</font></p></td></tr>');
 d.write('<tr><td align=center height=5>&nbsp;</td></tr></table></td></tr></table></div>');
if(getmycookie(mycookie)=="")
{
 popover = d.getElementById?d.getElementById("popover"):d.all["popover"];
 shadow = d.getElementById?d.getElementById("shadow"):d.all["shadow"];
 popoverTable = d.getElementById?d.getElementById("popoverTable"):d.all["popoverTable"];
 opc = d.getElementById?d.getElementById("opc"):d.all["opc"];
 neopc = d.getElementById?d.getElementById("neopc"):d.all["neopc"];

 opc.style.height=neopc.offsetHeight+'px';
 opc.style.width=neopc.offsetWidth+'px';
 neopc.style.top=opc.offsetTop;
 neopc.style.left=opc.offsetLeft;
 shadow.style.height=parseInt(popoverTable.offsetHeight)+'px';
 shadow.style.width=parseInt(popoverTable.offsetWidth)+'px';
 left_pos=(typeof( window.innerWidth ) == 'number')?window.innerWidth:(document.documentElement &&document.documentElement.clientWidth?document.documentElement.clientWidth:(document.body&&document.body.clientWidth?document.body.clientWidth:800));
 left_pos=(left_pos-popover.offsetWidth)/2;
 top_pos=50;
 newpositions();
}
}
}
show_it();

//-->