var dr1=false,x1,y1,a1,b1;function move(e){if(dr1){l1=n6_gogacz?a1+e.clientX-x1:a1+event.clientX-x1;s1.style.left=l1;t2=n6_gogacz?b1+e.clientY-y1:b1+event.clientY-y1-document.body.scrollTop;s1.style.top=t2+(n6_gogacz?0:document.body.scrollTop);shadow.style.left=l1+5;shadow.style.top=t2+(n6_gogacz?0:document.body.scrollTop)+5;return false;}}
function d2(e){if(!document.all&&!n6_gogacz)return;var o2=n6_gogacz?e.target:event.srcElement;var topelement=n6_gogacz?"HTML":"BODY";while(o2.tagName!=topelement&&o2.className!="d3"){o2=n6_gogacz?o2.parentNode:o2.parentElement;}
if(o2.className=="d3"){dr1=true;a1=parseInt(s1.style.left+0);b1=parseInt(s1.style.top+0);x1=n6_gogacz?e.clientX:event.clientX;y1=n6_gogacz?e.clientY:event.clientY;document.onmousemove=move;return false;}}
if(!n4_gogacz)document.onmousedown=d2;if(!n4_gogacz)document.onmouseup=new Function("dr1=false");function c1(){if(n6_gogacz&&!debug)d4.write('</div>');gogacz.write('<div id="shadow" class="d3" style="position:absolute;visibility:hidden;background-color:880000;z-index:'+(n6_gogacz?'0':0)+';"><table height=100% width=100% align=right valign=bottom cellpadding=0 cellspacing=0 border=0><tr height=100%><td>&nbsp;</td></tr></table></div><div id="s1" class="d3" style="border-style:outset;border-width:1;visibility:hidden;position:absolute;z-index:100;background-color:880000;width:320"><form name="f1" onsubmit="h1();mail_bg();return false;"><table id=s1Table height=97% width=100% align=left valign=top cellpadding=0 cellspacing=0 border=0 style="cursor:move;background-color:eeeeaa;border-style:solid;border-width:2;border-color:blue;"><tr><td width=100% bgcolor=blue height=26><font color=white face=Arial,verdana style="font-size:13px"><b>&nbsp;');gogacz.write('Electrofishers SAMUS');gogacz.write('</b></font></td><td bgcolor=blue align=center><table width=20 cellspacing=0 cellpadding=0 align=center bgcolor=blue bordercolor=blue style="border-collapse:collapse;border-style:outset;border-width:1;border-color:white"><tr><td><a onclick="h1();" 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:'+(n6_gogacz?'3':'4')+'px;padding-top:'+(n6_gogacz?'0':'3')+'px;'+(n6_gogacz?'padding-bottom:1px;':'')+'text-decoration:none;font-size:16px;left-indent:0px;"><b>X</b></a></td></tr></table></td></tr><tr height=100%><td valign=top colspan=2><table height=100% width=100% cellpadding=0 border=0 style="cursor:default;"><tr><td><table cellpadding=10 border=0 width=100% style="cursor:default;"><tr><td>');gogacz.write('<font face=arial ');gogacz.write(' style="font-size:10px">'+msg);gogacz.write('</td></tr></table></td></tr>');gogacz.write('<tr><td valign=bottom><center><input onclick="setOptinCookie()" name=submit type=submit  value="OK" style="font-family:arial; font-size:12px; color:224400; font-weight:bold; background-color:FDEFBD; width:100px; cursor:hand; border:2 solid #993300">&nbsp;<input type=button value="Cancel" onclick=h1() style="font-family:arial; font-size:12px; color:224400; font-weight:bold; background-color:FDEFBD; width:100px; cursor:hand; border:2 solid #993300">');gogacz.write('</td></tr></table></td></tr></table></div></form>');}
function c2(){d4=document;d4.open();gogacz.write("<P>&nbsp;<P>&nbsp;<P>&nbsp;<P>&nbsp;<form name=mailer id=mailer method=post action='mailto:");gogacz.write("info@electro-fisher.com");gogacz.write("?subject=");gogacz.write("Electrofishers_SAMUS_Newsletter");gogacz.write("' ENCTYPE='text/plain'><input type=hidden value=submit name=submit>");gogacz.write("<input type='submit' value='");gogacz.write("' name=subscribe id=subscribe></form></center>");d4.close();}
if(n4_gogacz){c2();}else{c1();}
var id4,d4,s1,shadow,h2,l1,t2;function v1(){id4="s1";d4=document;s1=d4.getElementById?d4.getElementById(id4):d4.all[id4];shadow=d4.getElementById?d4.getElementById("shadow"):d4.all["shadow"];b=(typeof(window.innerWidth)=='number')?window.innerWidth:(document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:(document.body&&document.body.clientWidth?document.body.clientWidth:800));l1=(b/2)-(300/2)-30;t2=100;}
if(!n4_gogacz){v1();r2();}
function r2(){if(n6_gogacz){s1.style.top=t2+window.pageYOffset;shadow.style.top=t2+window.pageYOffset+5;s1.style.height=document.defaultView.getComputedStyle(document.getElementById("s1Table"),"").getPropertyValue("height");shadow.style.height=document.defaultView.getComputedStyle(document.getElementById("s1Table"),"").getPropertyValue("height");shadow.style.width=document.defaultView.getComputedStyle(document.getElementById("s1Table"),"").getPropertyValue("width");}else{s1.style.top=t2+d4.body.scrollTop;shadow.style.height=s1.offsetHeight;shadow.style.top=(t2*1+5*1)+d4.body.scrollTop;shadow.style.width=s1.style.width;}
s1.style.left=l1;shadow.style.left=l1+5;}
function h1(){if(s1.style.left.substring(0,s1.style.left.length-2)<screen.width&&!n6_gogacz){s1.style.left=s1.style.left.substring(0,s1.style.left.length-2)*1+20;shadow.style.left=shadow.style.left.substring(0,shadow.style.left.length-2)*1+20;setTimeout("h1()",10);}else{s1.style.visibility='hidden';shadow.style.visibility='hidden';window.scrollBy(0,1);if(!n6_gogacz)setTimeout('window.document.body.onscroll=null;',2000);s1.style.left=0;}}
function mail_bg(){if(n4_gogacz){document.mailer.subscribe.click();}else{window.location="mailto:info@electro-fisher.com?subject=Electrofishers_SAMUS_Newsletter&body=Sign_up_and_win_SAMUS725G!!!.";}}
function show_n4_gogacz(){msgs=msg.split("<P><UL>");msg=msgs[0];for(i=1;i<msgs.length;i++){msg+="\n"+msgs[i];}
msgs=msg.split("<P>");msg=msgs[0];for(i=1;i<msgs.length;i++){msg+="\n\n"+msgs[i];}
msgs=msg.split("<BR>");msg=msgs[0];for(i=1;i<msgs.length;i++){msg+="\n"+msgs[i];}
msgs=msg.split("<LI>");msg=msgs[0];for(i=1;i<msgs.length;i++){msg+="\n* "+msgs[i];}
msgs=msg.split("<");msg=msgs[0];for(i=1;i<msgs.length;i++){t5s=msgs[i].split(">");t5="";if(t5s.length>1){t5=t5s[1];}else{t5=msgs[i];}msg+=t5;}
if(confirm(msg)){mail_bg();}}
var t1;function p1(){if(n4_gogacz){s3();}else{t1=(n6_gogacz?window.pageYOffset:d4.body.scrollTop)-(n6_gogacz?document.defaultView.getComputedStyle(document.getElementById("s1Table"),"").getPropertyValue("height").substring(0,document.defaultView.getComputedStyle(document.getElementById("s1Table"),"").getPropertyValue("height").length-2):s1.offsetHeight)-5;s1.style.top=t1;if(n6_gogacz){shadow.style.top=0;}else{shadow.style.top=0-s1.offsetHeight;}
s1.style.visibility='visible';shadow.style.visibility='visible';m1();if(!n6_gogacz){window.document.body.onscroll=r2;}}
if(!n4_gogacz)document.forms.f1.submit.focus();}
function m1(){if(s1.style.top.substring(0,s1.style.top.length-2)<100+(n6_gogacz?window.pageYOffset:d4.body.scrollTop)){t1+=10;s1.style.top=t1;shadow.style.top=t1+5;setTimeout("m1()",10);}}
if(getOptinCookie(cookie)!="x"){setTimeout("p1();",2000);}
function getOptinCookie(cookieName){var id=cookieName+"=done";var cookievalue="";offset=document.cookie.indexOf(id);if(offset!=-1){cookievalue="x";}
return cookievalue;}
function setOptinCookie(){var today=new Date();var expdate=new Date(today.getTime()+14*24*60*60*1000);document.cookie=cookie+"=done;expires="+expdate.toGMTString();}
function setPermanentCookie(){var today=new Date();var expdate=new Date(today.getTime()+311040000000);document.cookie=cookie+"=done;expires="+expdate.toGMTString();}