
var winwidth  = 600; 
var winheight = 300;
var bgclr     = "#FFFFFF"; 
var frmclr    = "#000000";
var topcloseflg = 0;
var contents_height = ((topcloseflg) ? (winheight - 40) : (winheight - 20));

document.write("<style type=\"text/css\">");
document.write("  div#ipwgmsg { line-height:1.2em; padding:0px 5px }");
document.write("  div#ipwgmsg p{ margin-top:1em;  }");
document.write("</style>");

document.write("<div id=\"floatdiv\" style=\"z-index:200;line-height:1em;text-align:left;margin:0px;padding:0px;display:none;position:absolute;top:10px;left:10px;empty-cells:hide;background-color:" + bgclr + ";border:solid 1px " + frmclr + "\">");
document.write("<table id=\"table1\" style=\"line-height:1em;text-align:left;cellspacing:0px;cellpadding:0px;background-color:inherit;border:none;height:" + winheight + "px;width:" + winwidth + "px;padding:0%;margin:0px;\">");if (topcloseflg) {
	document.write("<tr style=\"height:15px\"><td style=\"height:15px\">");
	document.write("<p style=\"text-align:right;\"><a href=\"#\" style=\"font-size:10px\" onclick=\"javascript:winclose(); return false;\">[閉じる]</a></p>");
	document.write("</td></tr>");
}
document.write("<tr style=\"height:" + contents_height +"px\"><td style=\"height:" + contents_height +"px\">");
document.write("<div id=\"ipwgmsg\">");
document.write("<div>");
document.write("<table width=\"600px\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("<tr>");
document.write("<td align=\"left\" style=\"font-size:10pt;background-color:#0000FF\">");
document.write("<b style=\"color:#FFFFFF;text-decoration:none;padding:5px\">５日で３万円を完全無料で稼ぐ体験型メールセミナー</b>");
document.write("</td>");
document.write("</tr>");
document.write("");
document.write("<tr>");
document.write("<td style=\"padding:5px\">");
document.write("");
document.write("<DIV align=left>");
document.write("<TABLE cellPadding=5 width=548>");
document.write("<TBODY>");
document.write("<TR>");
document.write("<TD vAlign=top width=194 height=138><FONT size=-1><IMG height=\"116\" src=\"http://www.blogaffili8.com/q/listcollector/image44.jpg\" width=\"157\" border=\"0\"><BR>セミナー講師：岡崎よしあき（おず）<BR>");
document.write("      <BR>");
document.write("      <IMG height=\"240\" src=\"http://www.blogaffili8.com/q/listcollector/image62.jpg\" width=\"179\" border=\"0\"><BR>");
document.write("      <BR>ビッグトゥモロウに掲載されました。<BR>");
document.write("      <BR>");
document.write("      <IMG height=\"132\" src=\"http://www.blogaffili8.com/q/listcollector/31559f67[1][1].jpg\" width=\"132\" border=\"0\"><BR>");
document.write("      <BR>");
document.write("      </FONT></TD>");
document.write("<TD vAlign=top width=322 height=138><FONT color=#ff0033 size=-1><FONT");
document.write("color=#ff0033><B>無料メールセミナーはもう参加しましたか？<BR>");
document.write("      </B></FONT><BR>");
document.write("      </FONT><FONT");
document.write("size=-1>アフィリエイトで日給８万円（月２４０万円）以上を稼ぐ実績をあげ、その手法を伝えて多くの月収１００万円を超える高収入アフィリエイターを輩出した岡崎よしあきが、アフィリエイト初心者に贈るメールセミナー。※上の写真はイメージです。<BR>");
document.write("      <BR>");
document.write("      <B><FONT");
document.write("color=#ff0000");
document.write("size=-1>５日から１０日で３万円前後の報酬を単発で稼ぐ体験をしていただきます。費用は一切必要ありません。</FONT></B><BR>完全無料で参加して頂けます。<BR>");
document.write("      <BR>");
document.write("      <IMG height=\"185\" src=\"http://www.blogaffili8.com/q/listcollector/imagea8.jpg\" width=\"365\" border=\"0\"><BR>　　<IMG height=\"212\" src=\"http://www.blogaffili8.com/q/listcollector/imageget.gif\" width=\"260\" border=\"0\">　</FONT></TD>");
document.write("    </TR>");
document.write("  </TBODY>");
document.write("</TABLE>");
document.write("</DIV>");
document.write("");
document.write("");
document.write("<DIV align=left>");
document.write("<TABLE  cellpadding=\"5\" cellSpacing=0 width=\"100%\" border=\"1\">");
document.write("<TBODY>");
document.write("<TR>");
document.write("<TD>");
document.write("<B><FONT size=-1>アフィリエイトの仕組みを理解するための体験型セミナー</FONT></B><BR>");
document.write("<B><FONT color=#ff0000 size=-1>※この無料メールセミナーは予告なく締め切ります。</FONT></B><BR>");
document.write("↓↓↓↓↓↓<b>お申し込みはこちら</b>↓↓↓↓↓↓");
document.write("</TD>");
document.write("");
document.write("    </TR>");
document.write("  </TBODY>");
document.write("</TABLE>");
document.write("</DIV>");
document.write("");
document.write("");
document.write("</td>");
document.write("</tr>");
document.write("");
document.write("</table>");
document.write("");
document.write("");
document.write("");
document.write("");
document.write("<DIV align=left>");
document.write("<form name=\"form1\" method=\"post\" action=\"https://1lejend.com/stepmail/kd.php\">");
document.write("<table border=\"1\" width=\"100%\" cellspacing=\"0\" cellpadding=\"5\"><tr>");
document.write("<td width=\"205\" bgcolor=\"#FFFFCC\">氏名 ※<br></td>");
document.write("<td width=\"369\">");
document.write("姓:<input type=\"text\" name=\"touroku_name1\" size=\"10\" value=\"\">");
document.write("名:<input type=\"text\" name=\"touroku_name2\" size=\"10\" value=\"\"><br>");
document.write("</td>");
document.write("</tr><tr>");
document.write("<td width=\"205\" bgcolor=\"#FFFFCC\">E-Mail ※</td>");
document.write("<td width=\"369\">");
document.write("<input type=\"text\" name=\"touroku_mail\" size=\"60\" istyle=\"3\" mode=\"alphabet\" value=\"\"><br>");
document.write("</td>");
document.write("</tr></table>");
document.write("<input type=\"hidden\" name=\"no\" value=\"14298\">");
document.write("<input type=\"hidden\" name=\"id\" value=\"\">");
document.write("<input type=\"hidden\" name=\"noumenid\" value=\"\">");
document.write("<input type=\"hidden\" name=\"tourokuid\" value=\"\">");
document.write("<input type=\"hidden\" name=\"action\" value=\"kakunin\">");
document.write("<input type=\"hidden\" name=\"charset\" value=\"UTF-8\">");
document.write("<input type=\"submit\" name=\"submit\" value=\"確定\">");
document.write("</form>");
document.write("</DIV>");
document.write("<P align=left><FONT size=-1>※この無料セミナーに登録した場合、おず（メールマガジンの発行者）によってメールマガジン「マガジンID：0000182470　日給８万円情報ブログで月356万円楽しく稼いだ方法」に代理登録されます。ネットで稼ぐ上で良質な情報、読者限定の特典、特別プレゼント懸賞を無料でお届けさせて頂きます。お楽しみに！（メールマガジンは「まぐまぐ！」のシステムを利用して配信されます。）登録されたメールマガジンは以下のページから解除することができます。http://www.mag2.com/m/0000182470.html<br />");
document.write("なお、「まぐまぐ！」が発行している公式メールマガジンには登録されません。</FONT></P>");
document.write("</div>");
  
document.write("</div>");
document.write("</td></tr>");
document.write("<tr><td style=\"text-align:right;\"><a href=\"#\" style=\"font-size:12px\" onclick=\"javascript:winclose(); return false;\">閉じる</a>");
document.write("</td></tr>");
document.write("</table>");
document.write("</div>");

if (document.getElementById) {
	floattbl = document.getElementById("floatdiv");
}
else if (document.all) {
	floattbl =document.all["floatdiv"];
}
else {
	floattbl =document.layers["floatdiv"];
}

var finxpos = 200; 
var finypos = 45;  
var dist = 1;      
var speed = 100000 / 50.00000;  
var waittime = 5000;   
var movable = 0;  
var xposition = 10, yposition = 10; 


function winclose()
{
floattbl.style.display = "none";
}

function getXOffset()
{
var x = 0;
if (document.all) {
	x = (document.body.scrollLeft || document.documentElement.scrollLeft) + xposition;
}
else {
	x = window.pageXOffset + xposition;
}
return  (x + "px");
}

function getYOffset()
{
var y = 0;
if (document.all) {
	y = (document.body.scrollTop || document.documentElement.scrollTop) + yposition;
}
else {
	y = window.pageYOffset + yposition;
}
return  (y + "px");
}

function setXYPosition()
{
if(movable){
floattbl.style.top = getYOffset();
floattbl.style.left = getXOffset();
setTimeout("setXYPosition();", 1000);
}
 }

function setTablePosition()
{
if ( xposition != finxpos || yposition != finypos ) {
if ( xposition != finxpos ) {
if ( Math.abs(xposition - finxpos) <= speed ) { xposition = finxpos; }
else if ( xposition < finxpos ) { xposition += speed; }
else { xposition -= speed; }
 }
if ( yposition != finypos ) {
if ( Math.abs(yposition - finypos) <= speed ) { yposition = finypos; }
else if ( yposition < finypos ) { yposition += speed; }
else { yposition -= speed; }
 }
floattbl.style.top  = getYOffset();
floattbl.style.left = getXOffset();
setTimeout("setTablePosition();", 20);
}
else {
setXYPosition();
}
 }

function setStartTblPosition()
{
xposition = finxpos;
yposition = finypos;
switch (dist) {
case 1: yposition = -winwidth;  break;
case 2: yposition = ( (window.innerHeight) ? window.innerHeight : document.body.clientHeight ); break;
case 3: xposition = -winwidth;  break;
case 4: xposition = ( (window.innerWidth) ? window.innerWidth : document.body.clientWidth  ); break;
}

floattbl.style.top  = getYOffset();
floattbl.style.left = getXOffset();
floattbl.style.display = "";
setTablePosition();
}

setTimeout("setStartTblPosition();", waittime);
var gClientX, gClientY;

function funcMouseMove( e )
{
clientX = (document.all) ? event.clientX : e.clientX;
clientY = (document.all) ? event.clientY : e.clientY;
xposition += clientX - gClientX;
yposition += clientY - gClientY;
gClientX = clientX;
gClientY = clientY;
floattbl.style.top  = getYOffset();
floattbl.style.left = getXOffset();
}

function funcMouseDown(evn)
{
gClientX = (document.all) ? event.clientX : evn.clientX;
gClientY = (document.all) ? event.clientY : evn.clientY;
document.onmousemove = funcMouseMove;
document.onmouseup   = funcMouseUp;
}

function funcMouseUp()
{
document.onmousemove = dummy;
document.onmouseup   = dummy;
}

function dummy(){}

floattbl.onmousedown = funcMouseDown;


