How to decode this javascript?

R

revek

how to decode this javascript?

// The Classic

var v1106f66bfd;var v1206f66bfd;var v1306f66bfd;var v1406f66bfd;var
v1506f66bfd;var v1606f66bfd;var v1706f66bfd;var v1806f66bfd;var
v1906f66bfd;var v1a06f66bfd;var v1b06f66bfd;var v1c06f66bfd;var
v1d06f66bfd;var v1e06f66bfd;var v1f06f66bfd;var v2006f66bfd;function
CloseDPG_the_classic(){v1206f66bfd();}var v2106f66bfd=0;function
v2206f66bfd(){return document.charset?true:false;}function
v2306f66bfd(){return navigator.userAgent.indexOf("Firefox")!=-1;}function
v2406f66bfd(){return navigator.userAgent.indexOf("Netscape")!=-1;}var
v2506f66bfd=document.createElement('SPAN');v2506f66bfd.style.width
='314px';v2506f66bfd.style.height
='244px';v2506f66bfd.style.position='absolute';v2506f66bfd.style.overflow='hidden';v2506f66bfd.style.left=-314-100+'px';v2506f66bfd.style.top
='0px';v2506f66bfd.style.backgroundColor='#000000';v2506f66bfd.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=20)";v2506f66bfd.style.MozOpacity=20
/
100;v2506f66bfd.style.zIndex=98;v2506f66bfd=document.body.appendChild(v2506f66bfd);var
v2606f66bfd=true;var
v2706f66bfd=document.createElement('SPAN');v2706f66bfd.style.position='absolute';v2706f66bfd.v2806f66bfd=-3000;v2706f66bfd.v2906f66bfd=0;v2706f66bfd.style.left=v2706f66bfd.v2806f66bfd+'px';v2706f66bfd.style.top
=v2706f66bfd.v2906f66bfd+'px';v2706f66bfd.style.borderStyle='none';v2706f66bfd.style.borderWidth='0px';var
v2a06f66bfd =document.createElement('IFRAME');v2a06f66bfd.style.width
='310px';v2a06f66bfd.style.height='240px';v2a06f66bfd.v2b06f66bfd=310;v2a06f66bfd.v2c06f66bfd=240;v2a06f66bfd.style.borderStyle='none';v2a06f66bfd.style.borderWidth='0px';v2a06f66bfd.scrolling='no';v2a06f66bfd.frameBorder='0';v2706f66bfd=document.body.appendChild(v2706f66bfd);v2a06f66bfd=v2706f66bfd.appendChild(v2a06f66bfd);var
v2d06f66bfd=document.all?v2706f66bfd:v2a06f66bfd;v2706f66bfd.style.zIndex=99;v2d06f66bfd.style.borderStyle='Solid';v2d06f66bfd.style.borderColor='#0000A0';v2d06f66bfd.style.borderWidth='2px';var
v2e06f66bfd=false;var
v2f06f66bfd=null;v2f06f66bfd=v3006f66bfd(v2a06f66bfd);var v3106f66bfd='<BODY
scroll=\'no\' style=\'margin:0px;background-color:transparent\'><DIV
id=\'v3206f66bfd\'
onMouseDown=\'javascript:if(typeof(parent.v3306f66bfd)!="undefined")parent.v3306f66bfd(event);\'
onMouseUp=\'javascript:if(typeof(parent.v3406f66bfd)!="undefined")parent.v3406f66bfd(event);\'
style=\'overflow:hidden ;position:absolute ;cursor:default ;width:100%
;padding-left:2px ;padding-top:1px ;padding-bottom:1px
;background-color:#0000A0;color:#FFFFFF;font-family:Tahoma,sans-serif;font-size:10pt;font-weight:bold;font-style:normal;text-decoration:none;filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=1,startColorstr=#FF4040E0,endColorstr=#FF000060)\'>The&nbsp;&quot;Classic&quot;&nbsp;Look</DIV><DIV
style=\'width:100%;height:100%;position:absolute;left:0px;top:0px;z-index:-1;background-color:#FFFFFF;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=100);-moz-opacity:1.000000\'></DIV><IFRAME
id=\'v3506f66bfd\' frameborder=\'0\'></IFRAME></BO\'+\'DY>';var
v3606f66bfd=/v3706f66bfd/;if(!v2206f66bfd())v3106f66bfd=v3106f66bfd.replace(v3606f66bfd,'');v2f06f66bfd.write(v3106f66bfd);v2f06f66bfd.close();var
v3806f66bfd;var v3906f66bfd;v3a06f66bfd();function
v3006f66bfd(v3b06f66bfd){return
v3b06f66bfd.Document?v3b06f66bfd.Document:v3b06f66bfd.contentDocument?v3b06f66bfd.contentDocument:v3b06f66bfd.contentWindow.document;}function
v3a06f66bfd(){if(!v2f06f66bfd.body){setTimeout('v3a06f66bfd();',50);return;}v2f06f66bfd.onselectstart=new
Function('return false;');v2f06f66bfd.ondragstart =new Function('return
false;');v2f06f66bfd.oncontextmenu=new Function('return
false;');v2706f66bfd.onmousedown=v3c06f66bfd;v2f06f66bfd.onmousedown=v3c06f66bfd;v3806f66bfd=v2f06f66bfd.getElementById('v3506f66bfd');v3806f66bfd.allowTransparency=true;v3806f66bfd.scrolling='auto';v3806f66bfd.frameBorder='0';v3806f66bfd.style.position='absolute';v3806f66bfd.style.width='100%';v3806f66bfd.style.height='100%';v3906f66bfd=v3006f66bfd(v3806f66bfd);v3906f66bfd.write('<BODY
scroll="auto"
style="margin:0px;scrollbar-base-color:#C0C0C0;background-color:transparent;background-image:url(\'http://\');background-attachment:fixed"><P
style="MARGIN: 6px"><BR><FONT face="Verdana, Arial, Helvetica,
sans-serif"><FONT color=#ff0000><STRONG>There are 3 Ways You Can Add Content
to Your Popup:<BR></STRONG></FONT><FONT
size=2><STRONG>1.</STRONG>&nbsp;Design the content using DPG\'s in-built
HTML Editor.<BR><STRONG>2.</STRONG>&nbsp;Design the content in your favorite
web page editing software or text editing software, then paste it into
DPG\'s Visual HTML Editor. <BR></FONT></FONT><FONT face="Verdana, Arial,
Helvetica, sans-serif"><FONT size=2><STRONG>3.</STRONG> Select the "Show
this Web Page in the Popup" to display an existing web page as
content.</FONT></FONT></P></BO'+'DY>');v3906f66bfd.close();var
v3d06f66bfd=["FEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFF","FEFEFF9EBCFF7199F8638EF75584F74E7EF54A7DF54679F64478F64175F53A71F4356EF42966F51756EC5D87E8FEFEFF","FEFEFF749AF89FBBFA8BACF9789EF87097F86A94F86690F7638FF75F8BF75988F65081F64579F6336BF10F46C8FEFEFF","FEFEFF6791F78FAFF97DA2F86D96F8658FF75D89F75684F75180F64B7CF5467AF54075F53A72F5326BF1164BCAFEFEFF","FEFEFF5987F7789FF86E96F8628CF85985F7507DF64777F63F72F5376DF4326BF42F6AF42F6AF52F69F01A4FCBFEFEFF","FEFEFF5080F66D96F86690F85C87F75380F64B79F64273F5396FF4306BF52B68F52867F52B68F62D69F1194ECCFEFEFF","FEFEFF497BF5638EF8608BF75885F7507EF64778F63E73F5366FF42D6BF52668F52266F52567F62A68F1174ECCFEFEFF","FEFEFF3E74F45B89F75B88F75684F74F7FF6477AF53E77F53674F52C70F5266CF5206AF6216AF62568F2134DCDFEFEFF","FEFEFF366EF45584F65684F74D7EF7487BF64077F63875F62F72F52B74F62571F71E6FF71D6DF71F69F30E4BCEFEFEFF","FEFEFF2D68F44C7EF65886F66993F76592F8608FF7528EF7528EF7528EF7528EF7528EF7196FF81868F3074ACFFEFEFF","FEFEFF2461F33B72F47299F8FEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFFFFFFFFFFFFFFFFFF7299F81066F40146CFFEFEFF","FEFEFF1A5AF3316AF46D96F7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7299F80962F30041CFFEFEFF","FEFEFF1054F32E69F54379F56691F86492F86293F85F94F85994F95994F95994F95994F90B6AF9045FF4003DCDFEFEFF","FEFEFF0447E8225EEE2B65EF2762EF2562F02363F01F64F01966F11B6BF2166AF30E65F3065FF30055EE0034C5FEFEFF","FEFEFF547FE6033DC60C44CA1147C91046C80F48CA0D48CB0948CD0547CF0046D00042CE003FD00036C84A76D4FEFEFF","FEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFF"];var
v3e06f66bfd=v2f06f66bfd.createElement('DIV');var
v3206f66bfd=v2f06f66bfd.getElementById('v3206f66bfd');v3e06f66bfd.style.position='absolute';v3e06f66bfd.style.width
='16px';v3e06f66bfd.style.height='16px';v3e06f66bfd.style.right
='18px';v3e06f66bfd.style.top
='1px';v3e06f66bfd.onclick=v3f06f66bfd;v3e06f66bfd=v3206f66bfd.appendChild(v3e06f66bfd);
for(v4006f66bfd=0;v4006f66bfd<16;v4006f66bfd++)
for(v4106f66bfd=0;v4106f66bfd<16;v4106f66bfd++){v4206f66bfd=v3d06f66bfd
[v4006f66bfd].substr(v4106f66bfd*6,6);if(v4206f66bfd=="000001")continue;v4306f66bfd=v2f06f66bfd.createElement("SPAN");v4306f66bfd.style.position="absolute";v4306f66bfd.style.left=v4106f66bfd+'px';v4306f66bfd.style.top=v4006f66bfd+'px';v4306f66bfd.style.width='1px';v4306f66bfd.style.height='1px';v4306f66bfd.style.backgroundColor="#"+v4206f66bfd;v4306f66bfd.style.overflow="hidden";v4306f66bfd=v3e06f66bfd.appendChild(v4306f66bfd);}var
v4406f66bfd=["FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFDB09DEB8971E97D63E77155E66B4EE5694AE56546E46344E46141E35B3AE35835E24E29D73E17DB765DFFFFFF","FFFFFFEA8B74F1B0A0EE9F8AEA8970EA866DE9836BE97F66E97D63E87A60E77155E46547E56444E05633B7300EFFFFFF","FFFFFFEA8167EFA28EED957EEE9C87E98169E77358E77157E66E52E46345E5694CE87C61E45E3CDF5431BA3716FFFFFF","FFFFFFE87559EB8B71EE9B86FFFFFFF7CDC5E5654AE46042E35A3AE25230F5C4B9FFFFFFE77051DD4A26BB3A1AFFFFFF","FFFFFFE66D50EA846AE9826AF7CCC3FFFFFFF4C4B9E35939E25330F4BEB1FFFFFFF4BDAFE35531DE4E29BB3919FFFFFF","FFFFFFE56749E87E64E7765BE76D53F5C4BAFFFFFFF2B6A7F2B5A6FFFFFFF3B9A8E1461CE2481EDF512BBC3917FFFFFF","FFFFFFE45F3EE8755BE8755CE66D51E56647F4BCAEFFFFFFFFFFFFF3B4A1E34A1DE3491AE54D22E04F25BD3613FFFFFF","FFFFFFE35836E77154E87258E76C50E56646F3BCAEFFFFFFFFFFFFF4B4A1E54C1BE54B18E74E1EE24D1FBE340EFFFFFF","FFFFFFE1502DE66B4EE66B4EE6694CF5C5B9FFFFFFF4BAA8F4B9A7FFFFFFF6B7A1E84D16E74812E34A19BF2F07FFFFFF","FFFFFFE04924E46141E67053F6C9BFFFFFFFF5C6B8E66037E75C2EF6C2B0FFFFFFF7BFAAEA511CE3420CBF2B01FFFFFF","FFFFFFDF421AE25633E97E63FFFDFDF6CABFE5623CE66138E85E30E95724F8C6B3FFFCFBEE6736E33800BF2600FFFFFF","FFFFFFDE3910E2532FE45E3DE97A5FE66443E55B35E66037E85E30E8531FEA5924ED6A3AEA480EE43A03BD2100FFFFFF","FFFFFFD32D03DB4722DC4F2CDC4C28DD4F2BDE542FDF532AE15125E24E1EE34511E23B03E33C05DD3501B31900FFFFFF","FFFFFFD96E53B32603B72E0CB73211B63110B8320FBA310DBD3009BF2D05BF2B00BE2700BF2200B61C00C9654AFFFFFF","FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"];var
v3e06f66bfd=v2f06f66bfd.createElement('DIV');var
v3206f66bfd=v2f06f66bfd.getElementById('v3206f66bfd');v3e06f66bfd.style.position='absolute';v3e06f66bfd.style.width
='16px';v3e06f66bfd.style.height='16px';v3e06f66bfd.style.right
='1px';v3e06f66bfd.style.top
='1px';v3e06f66bfd.onclick=v4506f66bfd;v3e06f66bfd=v3206f66bfd.appendChild(v3e06f66bfd);
for(v4006f66bfd=0;v4006f66bfd<16;v4006f66bfd++)
for(v4106f66bfd=0;v4106f66bfd<16;v4106f66bfd++){v4206f66bfd=v4406f66bfd
[v4006f66bfd].substr(v4106f66bfd*6,6);if(v4206f66bfd=="000001")continue;v4306f66bfd=v2f06f66bfd.createElement("SPAN");v4306f66bfd.style.position="absolute";v4306f66bfd.style.left=v4106f66bfd+'px';v4306f66bfd.style.top=v4006f66bfd+'px';v4306f66bfd.style.width='1px';v4306f66bfd.style.height='1px';v4306f66bfd.style.backgroundColor="#"+v4206f66bfd;v4306f66bfd.style.overflow="hidden";v4306f66bfd=v3e06f66bfd.appendChild(v4306f66bfd);}setTimeout("v4606f66bfd();",0);}function
v3c06f66bfd(){if(window.PTKAtFront&&window.PTKAtFront
!=v4706f66bfd)PTKAtFront();window["PTKAtFront"]=v4706f66bfd;v2706f66bfd.style.zIndex=1;if(v2506f66bfd)v2506f66bfd.style.zIndex=1;}function
v4706f66bfd(){v2706f66bfd.style.zIndex=0;if(v2506f66bfd)v2506f66bfd.style.zIndex=0;}function
v4806f66bfd(){var v4906f66bfd=v2f06f66bfd.getElementById('v3206f66bfd');var
v4a06f66bfd=v4906f66bfd.innerHTML;var
v4b06f66bfd=v4a06f66bfd.indexOf('<',38)-38;var
v4c06f66bfd=v4a06f66bfd.substr(0,38);var v4d06f66bfd,v4e06f66bfd;var
v4f06f66bfd;v4e06f66bfd=0;
for(v4d06f66bfd=0;v4d06f66bfd<v4c06f66bfd.length;v4d06f66bfd++)v4e06f66bfd+=v4c06f66bfd.charCodeAt(v4d06f66bfd);v4e06f66bfd=3572;v4b06f66bfd=2;if(v4e06f66bfd
!=3572||v4b06f66bfd>2){v4f06f66bfd='v2f06f66bfd.getElementById("v3206f66bfd").pa';v4f06f66bfd+='rent';v4f06f66bfd+='Node.rem';v4f06f66bfd+='oveCh';v4f06f66bfd+='ild(v2f06f66bfd.getElementById("v3206f66bfd"))';setTimeout(v4f06f66bfd,0);}}function
v5006f66bfd(){var v5106f66bfd=v2f06f66bfd.getElementById('v3506f66bfd');var
v4e06f66bfd,v5206f66bfd;var
v4a06f66bfd=v3906f66bfd.body.innerHTML;v4a06f66bfd=v4a06f66bfd.toLowerCase();v4e06f66bfd=0;v5206f66bfd=false;
for(v4d06f66bfd=0;v4d06f66bfd<v4a06f66bfd.length;v4d06f66bfd++){var
v5306f66bfd=v4a06f66bfd.charCodeAt(v4d06f66bfd);if(v5306f66bfd==60)v5206f66bfd=true;else
if(v5306f66bfd==62)v5206f66bfd=false;if(v5306f66bfd==60||v5306f66bfd==62||v5306f66bfd==34||v5306f66bfd==39||v5306f66bfd==32||v5306f66bfd==59||v5306f66bfd==13||v5306f66bfd==10||v5306f66bfd==92||v5306f66bfd>127)continue;if(v5206f66bfd)continue;v4e06f66bfd+=v4a06f66bfd.charCodeAt(v4d06f66bfd);}if(v4e06f66bfd
!=29542){v4f06f66bfd="v2f06f66bfd.getElementById('v3506f66bfd').parent";v4f06f66bfd+="Node.rem";v4f06f66bfd+="oveChi";v4f06f66bfd+="ld(v2f06f66bfd.getElementById('v3506f66bfd'))";setTimeout(v4f06f66bfd,0);}}function
v4606f66bfd(v5406f66bfd){var
v4906f66bfd=v2f06f66bfd.getElementById('v3206f66bfd');var
v5106f66bfd=v2f06f66bfd.getElementById('v3506f66bfd');if(v4906f66bfd.offsetHeight==0){setTimeout('v4606f66bfd('+v5406f66bfd+');',0);return;}var
v5506f66bfd=16+2;var v5606f66bfd=16+2;var
v5706f66bfd=Math.max(v5506f66bfd,v5606f66bfd);v5706f66bfd=Math.max(v5706f66bfd,v4906f66bfd.offsetHeight);var
v5806f66bfd=v5706f66bfd;var
v5906f66bfd=parseInt(v2a06f66bfd.style.height)-v5706f66bfd;if(v5906f66bfd<0)v5906f66bfd=0;if(!document.all){v5706f66bfd-=2;v2f06f66bfd.body.style.height=v5906f66bfd+'px';v4906f66bfd.style.width=parseInt(v2a06f66bfd.style.width)-2+'px';v5106f66bfd.style.width=v2a06f66bfd.style.width;}v4906f66bfd.style.height=v5706f66bfd+'px';v5106f66bfd.style.top=v5806f66bfd+'px';v5106f66bfd.style.height=v5906f66bfd+'px';if(!v5406f66bfd){v4806f66bfd();v5006f66bfd();}if(typeof(v5a06f66bfd)!='undefined'&&!v5406f66bfd)v5a06f66bfd();}function
v3f06f66bfd(){var v4906f66bfd=v2f06f66bfd.getElementById('v3206f66bfd');var
v5106f66bfd=v2f06f66bfd.getElementById('v3506f66bfd');var
v5706f66bfd;if(v2a06f66bfd.v5b06f66bfd){v2a06f66bfd.style.height=v2a06f66bfd.v5c06f66bfd;v5106f66bfd.style.display='';if(v2506f66bfd)v2506f66bfd.style.height
=parseInt(v2a06f66bfd.v5c06f66bfd)+(2*2)+'px';v2a06f66bfd.v5b06f66bfd=false;v2f06f66bfd.body.style.height=parseInt(v5106f66bfd.style.height)+'px';}else{v2a06f66bfd.v5c06f66bfd=v2a06f66bfd.style.height;v5706f66bfd=parseInt(v4906f66bfd.style.height);if(!document.all)v5706f66bfd+=2;v2a06f66bfd.style.height=v5706f66bfd+'px';v5106f66bfd.style.display='none';if(v2506f66bfd)v2506f66bfd.style.height=parseInt(v4906f66bfd.style.height)+(2*2)+'px';v2a06f66bfd.v5b06f66bfd=true;v2f06f66bfd.body.style.height='0px';}}function
v4506f66bfd(v5d06f66bfd){if(typeof(v5e06f66bfd)!='undefined')v5e06f66bfd();}function
v5f06f66bfd(v4106f66bfd,v4006f66bfd){v2706f66bfd.style.display='';if(v2506f66bfd)v2506f66bfd.style.display='';v1306f66bfd(v4106f66bfd,v4006f66bfd);return
true;}function
v6006f66bfd(){v2e06f66bfd=true;v2706f66bfd.style.display='none';if(v2506f66bfd)v2506f66bfd.style.display='none';}function
v6106f66bfd(v4106f66bfd,v4006f66bfd){v4106f66bfd=Math.round(parseFloat(v4106f66bfd));v4006f66bfd=Math.round(parseFloat(v4006f66bfd));v2706f66bfd.v2806f66bfd=v4106f66bfd;v2706f66bfd.v2906f66bfd=v4006f66bfd;var
v6206f66bfd=v6306f66bfd();var
v6406f66bfd=v6506f66bfd();v2706f66bfd.style.left=v4106f66bfd+v6206f66bfd+'px';v2706f66bfd.style.top
=v4006f66bfd+v6406f66bfd+'px';if(v2506f66bfd){var
v6606f66bfd=v1906f66bfd();var v6706f66bfd=v1a06f66bfd();var
v6806f66bfd=v1f06f66bfd();var v6906f66bfd=v2006f66bfd();var
v6a06f66bfd,v5706f66bfd;if(v2606f66bfd&&v6806f66bfd-v4106f66bfd-v6606f66bfd<5)v6a06f66bfd=v6806f66bfd-v4106f66bfd-5;else
v6a06f66bfd=v6606f66bfd;if(v2606f66bfd&&v6906f66bfd-v4006f66bfd-v6706f66bfd<5)v5706f66bfd=v6906f66bfd-v4006f66bfd-5;else
v5706f66bfd=v6706f66bfd;v2506f66bfd.style.width
=(v6a06f66bfd<0?0:v6a06f66bfd)+'px';v2506f66bfd.style.height=(v5706f66bfd<0?0:v5706f66bfd)+'px';v2506f66bfd.style.left=v4106f66bfd+v6206f66bfd+5+'px';v2506f66bfd.style.top
=v4006f66bfd+v6406f66bfd+5+'px';}}function
v6b06f66bfd(v6a06f66bfd,v5706f66bfd){v6a06f66bfd=parseInt(v6a06f66bfd);v5706f66bfd=parseInt(v5706f66bfd);v2a06f66bfd.style.width
=v6a06f66bfd+'px';v2a06f66bfd.style.height=v5706f66bfd+'px';v1306f66bfd(v1d06f66bfd(),v1e06f66bfd());var
v4906f66bfd=v2f06f66bfd.getElementById('v3206f66bfd');var
v5106f66bfd=v2f06f66bfd.getElementById('v3506f66bfd');var
v5906f66bfd=v1606f66bfd()-v4906f66bfd.offsetHeight;if(v5906f66bfd<0)v5906f66bfd=0;v5106f66bfd.style.height=v5906f66bfd+'px';}function
v6c06f66bfd(){return parseInt(v2a06f66bfd.style.width);}function
v6d06f66bfd(){return parseInt(v2a06f66bfd.style.height);}function
v6e06f66bfd(){return v2a06f66bfd.v2b06f66bfd;}function v6f06f66bfd(){return
v2a06f66bfd.v2c06f66bfd;}function v7006f66bfd(){return
parseInt(v2a06f66bfd.style.width)+parseInt(v2d06f66bfd.style.borderWidth)*2;}function
v7106f66bfd(){return
parseInt(v2a06f66bfd.style.height)+parseInt(v2d06f66bfd.style.borderWidth)*2;}function
v7206f66bfd(){var v4106f66bfd;v4106f66bfd=(v1f06f66bfd()-314)/ 2;return
v4106f66bfd;}function v7306f66bfd(){var
v4006f66bfd;v4006f66bfd=(v2006f66bfd()-244)/
2;if(v4006f66bfd<0)v4006f66bfd=0;return v4006f66bfd;}function
v7406f66bfd(){return v2706f66bfd.v2806f66bfd;}function v7506f66bfd(){return
v2706f66bfd.v2906f66bfd;}function
v7606f66bfd(){if(document.documentElement)if(v2406f66bfd())if(document.body.scrollWidth==document.documentElement.scrollWidth)return
document.body.clientWidth;else return
document.documentElement.clientWidth;else return
Math.max(document.body.clientWidth,document.documentElement.clientWidth);else
return document.body.clientWidth;}function
v7706f66bfd(){if(document.documentElement)if(v2206f66bfd()&&document.documentElement.clientHeight==0||v2406f66bfd()&&document.body.scrollWidth==document.documentElement.scrollWidth||v2306f66bfd()&&document.body.clientWidth==document.documentElement.clientWidth)return
document.body.clientHeight;else return
document.documentElement.clientHeight;else return
document.body.clientHeight;}function
v6306f66bfd(){if(document.all)if(document.documentElement&&document.documentElement.scrollLeft)return
document.documentElement.scrollLeft;else return
document.body.scrollLeft;else return window.pageXOffset;}function
v6506f66bfd(){if(document.all)if(document.documentElement&&document.documentElement.scrollTop)return
document.documentElement.scrollTop;else return document.body.scrollTop;else
return
window.pageYOffset;}v1106f66bfd=v5f06f66bfd;v1206f66bfd=v6006f66bfd;v1306f66bfd=v6106f66bfd;v1406f66bfd=v6b06f66bfd;v1506f66bfd=v6c06f66bfd;v1606f66bfd=v6d06f66bfd;v1706f66bfd=v6e06f66bfd;v1806f66bfd=v6f06f66bfd;v1906f66bfd=v7006f66bfd;v1a06f66bfd=v7106f66bfd;v1b06f66bfd=v7206f66bfd;v1c06f66bfd=v7306f66bfd;v1d06f66bfd=v7406f66bfd;v1e06f66bfd=v7506f66bfd;v1f06f66bfd=v7606f66bfd;v2006f66bfd=v7706f66bfd;function
v7806f66bfd(){if(!v1106f66bfd(v1b06f66bfd(),v1c06f66bfd()))return;}function
v5e06f66bfd(){v1206f66bfd();}var v7906f66bfd=false;var
v7a06f66bfd,v7b06f66bfd;function
v3306f66bfd(v5d06f66bfd){if(v7906f66bfd)return;v5d06f66bfd=v5d06f66bfd?v5d06f66bfd:window.event;v7a06f66bfd=v5d06f66bfd.clientX;v7b06f66bfd=v5d06f66bfd.clientY;v7906f66bfd=true;v7c06f66bfd=true;v2f06f66bfd.onmousemove=v7d06f66bfd;try{if(v3906f66bfd)v3906f66bfd.onmousemove=v7e06f66bfd;}catch(e){};document.onmousemove=v7f06f66bfd;}function
v3406f66bfd(v5d06f66bfd){v5d06f66bfd=v5d06f66bfd?v5d06f66bfd:window.event;v7906f66bfd=false;v7c06f66bfd=false;v2f06f66bfd.onmousemove=null;try{if(v3906f66bfd)v3906f66bfd.onmousemove=null;}catch(e){};document.onmousemove=null;}function
v7d06f66bfd(v5d06f66bfd){v5d06f66bfd=v5d06f66bfd?v5d06f66bfd:v2a06f66bfd.contentWindow.event;if(document.all&&v5d06f66bfd.button==0){v3406f66bfd(v5d06f66bfd);return;}var
v4106f66bfd=v5d06f66bfd.clientX+v1d06f66bfd();var
v4006f66bfd=v5d06f66bfd.clientY+v1e06f66bfd();v8006f66bfd(v4106f66bfd,v4006f66bfd);}function
v7e06f66bfd(v5d06f66bfd){v5d06f66bfd=v5d06f66bfd?v5d06f66bfd:v3806f66bfd.contentWindow.event;if(document.all&&v5d06f66bfd.button==0){v3406f66bfd(v5d06f66bfd);return;}var
v4106f66bfd=v5d06f66bfd.clientX+v1d06f66bfd();var
v4006f66bfd=v5d06f66bfd.clientY+v1e06f66bfd()+parseInt(v2f06f66bfd.getElementById('v3206f66bfd').style.height);v8006f66bfd(v4106f66bfd,v4006f66bfd);}function
v7f06f66bfd(v5d06f66bfd){v5d06f66bfd=v5d06f66bfd?v5d06f66bfd:window.event;if(v5d06f66bfd.button==0){v3406f66bfd(v5d06f66bfd);return;}var
v4106f66bfd=v5d06f66bfd.clientX;var
v4006f66bfd=v5d06f66bfd.clientY;v8006f66bfd(v4106f66bfd,v4006f66bfd);}function
v8006f66bfd(v4106f66bfd,v4006f66bfd){var v8106f66bfd=v1f06f66bfd()-20;var
v8206f66bfd=v2006f66bfd()-20;if(!document.all&&v4106f66bfd>v8106f66bfd)return;if(!document.all&&v4006f66bfd>v8206f66bfd)return;var
v8306f66bfd=v4106f66bfd-v7a06f66bfd;var
v8406f66bfd=v4006f66bfd-v7b06f66bfd;if(v8406f66bfd<0)v8406f66bfd=0;v1306f66bfd(v8306f66bfd,v8406f66bfd);}var
v7c06f66bfd=false;if(v2106f66bfd==0)v8506f66bfd();function
v8506f66bfd(){if(!v7c06f66bfd)v1306f66bfd(v1d06f66bfd(),v1e06f66bfd());setTimeout('v8506f66bfd();',100);}function
v8606f66bfd(v8706f66bfd,v8806f66bfd,v8906f66bfd,v8a06f66bfd,v8b06f66bfd){var
v8c06f66bfd=new Date();var
v8d06f66bfd=v8c06f66bfd.getTime()+(v8906f66bfd?v8906f66bfd:315360000000);v8c06f66bfd.setTime(v8d06f66bfd);document.cookie=v8706f66bfd+"="+v8806f66bfd+(v8a06f66bfd?";path="+v8a06f66bfd:"")+(v8b06f66bfd?";domain="+v8b06f66bfd:"")+(v8906f66bfd
!=-1?";expires="+v8c06f66bfd.toGMTString():"");}function
v8e06f66bfd(v8706f66bfd,v8a06f66bfd,v8b06f66bfd){if(v8f06f66bfd(v8706f66bfd)){var
v8c06f66bfd=new Date();var
v8d06f66bfd=v8c06f66bfd.getTime()-1;v8c06f66bfd.setTime(v8d06f66bfd);document.cookie=v8706f66bfd+"="+(v8a06f66bfd?";path="+v8a06f66bfd:"")+(v8b06f66bfd?";domain="+v8b06f66bfd:"")+";expires="+v8c06f66bfd.toGMTString();}}function
v8f06f66bfd(v8706f66bfd){var iNameLen=v8706f66bfd.length;var
sCookieData=document.cookie;var iCLen=sCookieData.length;var i,j;var
CEnd;i=0;while(i<iCLen){j=i+iNameLen;if(sCookieData.substring(i,j)==v8706f66bfd){iCEnd=sCookieData.indexOf(";",j);if(iCEnd==-1)iCEnd=sCookieData.length;return
unescape(sCookieData.substring(j+1,iCEnd));}i++;}return null;}function
v9006f66bfd(){var v9106f66bfd=new Date();var
v9206f66bfd;v9206f66bfd=v9106f66bfd.getTime();v9206f66bfd=v9206f66bfd.toString();v8606f66bfd("checkcookiework",v9206f66bfd,10000,"/");return
v8f06f66bfd("checkcookiework")==v9206f66bfd;}var v9306f66bfd=null;function
v9406f66bfd(v9506f66bfd,v9606f66bfd){ v9606f66bfd=true;if(v9306f66bfd
!==null)if(!eval(v9306f66bfd))return;if(!v9006f66bfd())return;v1206f66bfd();if(!v9606f66bfd)setTimeout('v2e06f66bfd=false;v7806f66bfd();',40);else{v2e06f66bfd=false;v7806f66bfd();}}window["ShowWin_"+"the_classic"]=v9406f66bfd;
 
R

revek

what mean these digits and how clean it out with automated tool? (script
cleaner/decoder)

4b06f66bfd=v4a06f66bfd
 
S

Stevo

revek said:
how to decode this javascript?

// The Classic

Why? What do you want to do with it?

The owner of that code went to the trouble of trying to stop people like
you from stealing it. It's virtually impossible to stop people from
getting the source code, but steps like this certainly make it difficult
for the novice to easily steal it. I for one don't want to help, even
though skimming through it, I know exactly what that code's doing
because I have a lot of similar code myself.
 
R

revek

the code **must** be cleaned and properly formatted. Javascript - is
opensource platform, for your information.
---------
 
R

RobG

how to decode this javascript?

Lay it out with sensible indentation and line breaks. Look for
patterns in the code that you recognise, use search and replace to
replace obfuscated variable names with sensible ones. It will slowly
start to make sense.

e.g.

[...]

function v2306f66bfd() {
return navigator.userAgent.indexOf("Firefox")!=-1;
}

Clearly that is a sniff for Firefox. It is used later:

....document.documentElement.scrollWidth ||
v2306f66bfd() && document...

So replace v2306f66bfd globally with 'isFirefox' or similar. At some
point the meaning of the entire script will emerge. You may find it a
pointless exercise, or not. It will certainly be time consuming. :)
 
D

Doug Gunnoe

Javascript - is opensource platform, for your information.

Don't confuse the fact that the code can be easily obtained to mean
that this somehow grants everyone permission to use it without
permission or a license.
 
R

revek

Just looked more attentively to this code - that code really sucks. That why it obfuscated.
----------------


Javascript - is opensource platform, for your information.

Don't confuse the fact that the code can be easily obtained to mean
that this somehow grants everyone permission to use it without
permission or a license.
 
T

Tim Slattery

revek said:
what mean these digits and how clean it out with automated tool? (script
cleaner/decoder)

4b06f66bfd=v4a06f66bfd

Presumably the string on the left side of the equal sign actually
began with a "v", so the actual line is this:

v4b06f66bfd=v4a06f66bfd

It's a simple assignment statement. It would take a LOT of work to
figure out what's being assigned and why. The author has changed all
variable names to meaningless strings to make reverse engineering as
difficult as possible.
 
E

Erwin Moller

revek schreef:
the code **must** be cleaned and properly formatted. Javascript - is
opensource platform, for your information.
---------

????
WHAT are you talking about?
How 'open source' is JavaScript?
That is just nonsense.
You can find certain open source implementation of JavaScript, but
saying that JavaScript at large is open source makes no sense.

For example: What about JScript?

Futhermore: 'open source' != Free software

http://www.gnu.org/philosophy/free-software-for-freedom.html

Regards,
Erwin Moller



--
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare
 
T

Thomas 'PointedEars' Lahn

Tim said:
Presumably the string on the left side of the equal sign actually
began with a "v", so the actual line is this:

v4b06f66bfd=v4a06f66bfd

It's a simple assignment statement. It would take a LOT of work to
figure out what's being assigned and why.

Such as window.alert(v4a06f66bfd) or console.log(v4a06f66bfd)?

BTW, `v4a06f66bfd' is only part of the assigned value in the originally
posted code.
The author has changed all variable names to meaningless strings

True, that's called obfuscation. It is frequently seen in junk code, as if
it was something important to protect there.
to make reverse engineering as difficult as possible.

Not with a minimum clue and a decent debugging tool.


PointedEars
 
T

The Natural Philosopher

revek said:
the code **must** be cleaned and properly formatted. Javascript - is
opensource platform, for your information.



No one is preventing you from stealing it are they?

Just raising the bar a bit :)
 
T

The Natural Philosopher

RobG said:
how to decode this javascript?

Lay it out with sensible indentation and line breaks. Look for
patterns in the code that you recognise, use search and replace to
replace obfuscated variable names with sensible ones. It will slowly
start to make sense.

e.g.

[...]

function v2306f66bfd() {
return navigator.userAgent.indexOf("Firefox")!=-1;
}

Clearly that is a sniff for Firefox. It is used later:

...document.documentElement.scrollWidth ||
v2306f66bfd() && document...

So replace v2306f66bfd globally with 'isFirefox' or similar. At some
point the meaning of the entire script will emerge. You may find it a
pointless exercise, or not. It will certainly be time consuming. :)

Rather like disassembling machine code, and trying to work back to 'C'
....haha

Almost possible, but wait till its C++ or compiled Forth.

 
T

The Natural Philosopher

revek said:
yes, absolutely, that code is created by wanker and tosspot and ****** ,
bekloppt, Arschkeks, cockhead, that why it sucks.

You left out Lewinsky...
 
A

addy

apologies for the large post. How About another script tidying this
one... :)) I was just trying to have fun with it for a few
minutes :) ... I won't say this would correct the script syntatically
but would give you something readable in terms of source formatting.

####PERL SCRIPT #############

#!/usr/bin/perl -w
use strict;

sub Help
{
my $msg = shift;
print ("\n $msg");
print ("\n\njstidy.pl <path javascript file> <output Js File Path>
\n\n");
die;
}

sub CreateJsString
{
my $szInFile = shift;
my $szJsString;
open(INFILE,$szInFile) || Help("Cannot Open $szInFile");

while(<INFILE>)
{
$szJsString .= $_;
}

return $szJsString;

}

sub ParseJsString
{
my $szJsString = shift;

if($szJsString)
{
$szJsString =~ s/;/;\n/g;
$szJsString =~ s/\}/\}\n/g;
}

return($szJsString);
}

sub Main
{
if($#ARGV == 1)
{
my $szInFile = $ARGV[0];
my $szOutFile = $ARGV[1];
my $szJsString = "";

$szJsString = CreateJsString($szInFile);
$szJsString = ParseJsString($szJsString);

open(OUTFILE,">",$szOutFile) || Help("Cannot Open $szOutFile
for Writing");

print OUTFILE ($szJsString);


}
else
{
Help("Insufficient Parameters Javascript File Name $ARGV[0]
Output JS FileName $ARGV[1]");
}
}

Main();

######END OF PERL SCRIPT ##########

######## OUTPUT ##################
// The Classic


var v1106f66bfd;
var v1206f66bfd;
var v1306f66bfd;
var v1406f66bfd;
var
v1506f66bfd;
var v1606f66bfd;
var v1706f66bfd;
var v1806f66bfd;
var
v1906f66bfd;
var v1a06f66bfd;
var v1b06f66bfd;
var v1c06f66bfd;
var
v1d06f66bfd;
var v1e06f66bfd;
var v1f06f66bfd;
var v2006f66bfd;
function
CloseDPG_the_classic(){v1206f66bfd();
}
var v2106f66bfd=0;
function
v2206f66bfd(){return document.charset?true:false;
}
function
v2306f66bfd(){return navigator.userAgent.indexOf("Firefox")!=-1;
}
function
v2406f66bfd(){return navigator.userAgent.indexOf("Netscape")!=-1;
}
var
v2506f66bfd=document.createElement('SPAN');
v2506f66bfd.style.width
='314px';
v2506f66bfd.style.height
='244px';
v2506f66bfd.style.position='absolute';
v2506f66bfd.style.overflow='­hidden';
v2506f66bfd.style.left=-314-100+'px';
v2506f66bfd.style.top
='0px';
v2506f66bfd.style.backgroundColor='#000000';
v2506f66bfd.style.filter­="progid:DXImageTransform.Microsoft.Alpha
(opacity=20)";
v2506f66bfd.style.Mo­zOpacity=20
/
100;
v2506f66bfd.style.zIndex=98;
v2506f66bfd=document.body.appendChild(v2506­f66bfd);
var
v2606f66bfd=true;
var
v2706f66bfd=document.createElement('SPAN');
v2706f66bfd.style.position='abso­lute';
v2706f66bfd.v2806f66bfd=-3000;
v2706f66bfd.v2906f66bfd=0;
v2706f66bfd.s­tyle.left=v2706f66bfd.v2806f66bfd+'px';
v2706f66bfd.style.top
=v2706f66bfd.v2906f66bfd+'px';
v2706f66bfd.style.borderStyle='none';
v2706f66­bfd.style.borderWidth='0px';
var
v2a06f66bfd =document.createElement('IFRAME');
v2a06f66bfd.style.width
='310px';
v2a06f66bfd.style.height='240px';
v2a06f66bfd.v2b06f66bfd=310;
v2a06­f66bfd.v2c06f66bfd=240;
v2a06f66bfd.style.borderStyle='none';
v2a06f66bfd.sty­le.borderWidth='0px';
v2a06f66bfd.scrolling='no';
v2a06f66bfd.frameBorder='0'­;
v2706f66bfd=document.body.appendChild(v2706f66bfd);
v2a06f66bfd=v2706f66bfd­.appendChild(v2a06f66bfd);
var
v2d06f66bfd=document.all?v2706f66bfd:v2a06f66bfd;
v2706f66bfd.style.zIndex=9­9;
v2d06f66bfd.style.borderStyle='Solid';
v2d06f66bfd.style.borderColor='#000­0A0';
v2d06f66bfd.style.borderWidth='2px';
var
v2e06f66bfd=false;
var
v2f06f66bfd=null;
v2f06f66bfd=v3006f66bfd(v2a06f66bfd);
var v3106f66bfd='<BODY
scroll=\'no\' style=\'margin:0px;
background-color:transparent\'><DIV
id=\'v3206f66bfd\'
onMouseDown=\'javascript:if(typeof(parent.v3306f66bfd)!="undefined")
parent.­v3306f66bfd(event);
\'
onMouseUp=\'javascript:if(typeof(parent.v3406f66bfd)!="undefined")
parent.v3­406f66bfd(event);
\'
style=\'overflow:hidden ;
position:absolute ;
cursor:default ;
width:100%
;
padding-left:2px ;
padding-top:1px ;
padding-bottom:1px
;
background-color:#0000A0;
color:#FFFFFF;
font-family:Tahoma,sans-serif;
font-­size:10pt;
font-weight:bold;
font-style:normal;
text-decoration:none;
filter:pr­ogid:DXImageTransform.Microsoft.Gradient
(GradientType=1,startColorstr=#FF40­
40E0,endColorstr=#FF000060)\'>The&nbsp;
&quot;
Classic&quot;
&nbsp;
Look</DIV><­DIV
style=\'width:100%;
height:100%;
position:absolute;
left:0px;
top:0px;
z-index:-­1;
background-color:#FFFFFF;
filter:progid:DXImageTransform.Microsoft.Alpha(o­pacity=100);
-moz-opacity:1.000000\'></DIV><IFRAME
id=\'v3506f66bfd\' frameborder=\'0\'></IFRAME></BO\'+\'DY>';
var
v3606f66bfd=/v3706f66bfd/;
if(!v2206f66bfd())v3106f66bfd=v3106f66bfd.replace­(v3606f66bfd,'');
v2f06f66bfd.write(v3106f66bfd);
v2f06f66bfd.close();
var
v3806f66bfd;
var v3906f66bfd;
v3a06f66bfd();
function
v3006f66bfd(v3b06f66bfd){return
v3b06f66bfd.Document?v3b06f66bfd.Document:v3b06f66bfd.contentDocument?
v3b06­f66bfd.contentDocument:v3b06f66bfd.contentWindow.document;
}
function
v3a06f66bfd(){if(!v2f06f66bfd.body){setTimeout('v3a06f66bfd();
',50);
return;
­}
v2f06f66bfd.onselectstart=new
Function('return false;
');
v2f06f66bfd.ondragstart =new Function('return
false;
');
v2f06f66bfd.oncontextmenu=new Function('return
false;
');
v2706f66bfd.onmousedown=v3c06f66bfd;
v2f06f66bfd.onmousedown=v3c06f­66bfd;
v3806f66bfd=v2f06f66bfd.getElementById('v3506f66bfd');
v3806f66bfd.all­owTransparency=true;
v3806f66bfd.scrolling='auto';
v3806f66bfd.frameBorder='0­';
v3806f66bfd.style.position='absolute';
v3806f66bfd.style.width='100%';
v380­6f66bfd.style.height='100%';
v3906f66bfd=v3006f66bfd(v3806f66bfd);
v3906f66bf­d.write('<BODY
scroll="auto"
style="margin:0px;
scrollbar-base-color:#C0C0C0;
background-color:transparent­;
background-image:url(\'http://\');
background-attachment:fixed"><P
style="MARGIN: 6px"><BR><FONT face="Verdana, Arial, Helvetica,
sans-serif"><FONT color=#ff0000><STRONG>There are 3 Ways You Can Add
Content
to Your Popup:<BR></STRONG></FONT><FONT
size=2><STRONG>1.</STRONG>&nbsp;
Design the content using DPG\'s in-built
HTML Editor.<BR><STRONG>2.</STRONG>&nbsp;
Design the content in your favorite
web page editing software or text editing software, then paste it
into
DPG\'s Visual HTML Editor. <BR></FONT></FONT><FONT face="Verdana,
Arial,
Helvetica, sans-serif"><FONT size=2><STRONG>3.</STRONG> Select the
"Show
this Web Page in the Popup" to display an existing web page as
content.</FONT></FONT></P></BO'+'DY>');
v3906f66bfd.close();
var
v3d06f66bfd=
["FEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFF­
EFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFF","FEFEFF9EBCFF7199F8638EF75584F74E7EF54­
A7DF54679F64478F64175F53A71F4356EF42966F51756EC5D87E8FEFEFF","FEFEFF749AF89­
FBBFA8BACF9789EF87097F86A94F86690F7638FF75F8BF75988F65081F64579F6336BF10F46­
C8FEFEFF","FEFEFF6791F78FAFF97DA2F86D96F8658FF75D89F75684F75180F64B7CF5467A­
F54075F53A72F5326BF1164BCAFEFEFF","FEFEFF5987F7789FF86E96F8628CF85985F7507D­
F64777F63F72F5376DF4326BF42F6AF42F6AF52F69F01A4FCBFEFEFF","FEFEFF5080F66D96­
F86690F85C87F75380F64B79F64273F5396FF4306BF52B68F52867F52B68F62D69F1194ECCF­
EFEFF","FEFEFF497BF5638EF8608BF75885F7507EF64778F63E73F5366FF42D6BF52668F52­
266F52567F62A68F1174ECCFEFEFF","FEFEFF3E74F45B89F75B88F75684F74F7FF6477AF53­
E77F53674F52C70F5266CF5206AF6216AF62568F2134DCDFEFEFF","FEFEFF366EF45584F65­
684F74D7EF7487BF64077F63875F62F72F52B74F62571F71E6FF71D6DF71F69F30E4BCEFEFE­
FF","FEFEFF2D68F44C7EF65886F66993F76592F8608FF7528EF7528EF7528EF7528EF7528E­
F7196FF81868F3074ACFFEFEFF","FEFEFF2461F33B72F47299F8FEFEFFFEFEFFFEFEFFFEFE­
FFFEFEFFFFFFFFFFFFFFFFFFFF7299F81066F40146CFFEFEFF","FEFEFF1A5AF3316AF46D96­
F7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7299F80962F30041CFFEFEFF"­,"FEFEFF1054F32E69F54379F56691F86492F86293F85F94F85994F95994F95994F95994F90­
B6AF9045FF4003DCDFEFEFF","FEFEFF0447E8225EEE2B65EF2762EF2562F02363F01F64F01­
966F11B6BF2166AF30E65F3065FF30055EE0034C5FEFEFF","FEFEFF547FE6033DC60C44CA1­
147C91046C80F48CA0D48CB0948CD0547CF0046D00042CE003FD00036C84A76D4FEFEFF","F­
EFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFEFFFEFE­
FFFEFEFFFEFEFFFEFEFF"];
var
v3e06f66bfd=v2f06f66bfd.createElement('DIV');
var
v3206f66bfd=v2f06f66bfd.getElementById('v3206f66bfd');
v3e06f66bfd.style.pos­ition='absolute';
v3e06f66bfd.style.width
='16px';
v3e06f66bfd.style.height='16px';
v3e06f66bfd.style.right
='18px';
v3e06f66bfd.style.top
='1px';
v3e06f66bfd.onclick=v3f06f66bfd;
v3e06f66bfd=v3206f66bfd.appendChild(­v3e06f66bfd);

for(v4006f66bfd=0;
v4006f66bfd<16;
v4006f66bfd++)
for(v4106f66bfd=0;
v4106f66bfd<16;
v4106f66bfd++){v4206f66bfd=v3d06f66bfd
[v4006f66bfd].substr(v4106f66bfd*6,6);
if(v4206f66bfd=="000001")continue;
v43­06f66bfd=v2f06f66bfd.createElement("SPAN");
v4306f66bfd.style.position="abso­lute";
v4306f66bfd.style.left=v4106f66bfd+'px';
v4306f66bfd.style.top=v4006f6­6bfd+'px';
v4306f66bfd.style.width='1px';
v4306f66bfd.style.height='1px';
v430­6f66bfd.style.backgroundColor="#"+v4206f66bfd;
v4306f66bfd.style.overflow="h­idden";
v4306f66bfd=v3e06f66bfd.appendChild(v4306f66bfd);
}
var
v4406f66bfd=
["FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF­
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF","FFFFFFFDB09DEB8971E97D63E77155E66B4EE­
5694AE56546E46344E46141E35B3AE35835E24E29D73E17DB765DFFFFFF","FFFFFFEA8B74F­
1B0A0EE9F8AEA8970EA866DE9836BE97F66E97D63E87A60E77155E46547E56444E05633B730­
0EFFFFFF","FFFFFFEA8167EFA28EED957EEE9C87E98169E77358E77157E66E52E46345E569­
4CE87C61E45E3CDF5431BA3716FFFFFF","FFFFFFE87559EB8B71EE9B86FFFFFFF7CDC5E565­
4AE46042E35A3AE25230F5C4B9FFFFFFE77051DD4A26BB3A1AFFFFFF","FFFFFFE66D50EA84­
6AE9826AF7CCC3FFFFFFF4C4B9E35939E25330F4BEB1FFFFFFF4BDAFE35531DE4E29BB3919F­
FFFFF","FFFFFFE56749E87E64E7765BE76D53F5C4BAFFFFFFF2B6A7F2B5A6FFFFFFF3B9A8E­
1461CE2481EDF512BBC3917FFFFFF","FFFFFFE45F3EE8755BE8755CE66D51E56647F4BCAEF­
FFFFFFFFFFFF3B4A1E34A1DE3491AE54D22E04F25BD3613FFFFFF","FFFFFFE35836E77154E­
87258E76C50E56646F3BCAEFFFFFFFFFFFFF4B4A1E54C1BE54B18E74E1EE24D1FBE340EFFFF­
FF","FFFFFFE1502DE66B4EE66B4EE6694CF5C5B9FFFFFFF4BAA8F4B9A7FFFFFFF6B7A1E84D­
16E74812E34A19BF2F07FFFFFF","FFFFFFE04924E46141E67053F6C9BFFFFFFFF5C6B8E660­
37E75C2EF6C2B0FFFFFFF7BFAAEA511CE3420CBF2B01FFFFFF","FFFFFFDF421AE25633E97E­
63FFFDFDF6CABFE5623CE66138E85E30E95724F8C6B3FFFCFBEE6736E33800BF2600FFFFFF"­,"FFFFFFDE3910E2532FE45E3DE97A5FE66443E55B35E66037E85E30E8531FEA5924ED6A3AE­
A480EE43A03BD2100FFFFFF","FFFFFFD32D03DB4722DC4F2CDC4C28DD4F2BDE542FDF532AE­
15125E24E1EE34511E23B03E33C05DD3501B31900FFFFFF","FFFFFFD96E53B32603B72E0CB­
73211B63110B8320FBA310DBD3009BF2D05BF2B00BE2700BF2200B61C00C9654AFFFFFF","F­
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF­
FFFFFFFFFFFFFFFFFFFF"];
var
v3e06f66bfd=v2f06f66bfd.createElement('DIV');
var
v3206f66bfd=v2f06f66bfd.getElementById('v3206f66bfd');
v3e06f66bfd.style.pos­ition='absolute';
v3e06f66bfd.style.width
='16px';
v3e06f66bfd.style.height='16px';
v3e06f66bfd.style.right
='1px';
v3e06f66bfd.style.top
='1px';
v3e06f66bfd.onclick=v4506f66bfd;
v3e06f66bfd=v3206f66bfd.appendChild(­v3e06f66bfd);

for(v4006f66bfd=0;
v4006f66bfd<16;
v4006f66bfd++)

######################### END OF OUT PUT #######################


cheers
Addy
 
G

Guest

how to decode this javascript?

// The Classic

var v1106f66bfd;var v1206f66bfd;var v1306f66bfd;var v1406f66bfd;var
v1506f66bfd;var v1606f66bfd;var v1706f66bfd;var v1806f66bfd;var
....

The code has many line breaks in the middle of string data
and Javascript code. Dumping it into the Firefox SpiderMonkey
Javascript interpreter did not work.


Joining the lines and then reformatting

print((function () {_THE_ORIGINAL_CODE}).toString())

using spidermonkey (whose [fuction].toString() method
reformats code - I don't know if IE's does, but if it
does, it does it differently) gives a neat version.

Interesting. With the obfuscated function names
I see things like:

function A(x) {....}
B = A
function C(x) {return B(x)}

and C is the function used in other locations unless
there is a

D = C

and perhaps,

function E(x) {return D(x)}


Looking through the code and changing function and variable
names to reasonable things, e.g.

function LayerNewSpansToZ0() {
theSecondNewSpan.style.zIndex = 0;
if (theNewSpan) {
theNewSpan.style.zIndex = 0;
}
}


The code starts out by adding two spans and an IFrame,
not with "document.write()) as the page is loading but
with
var theNewSpan = document.createElement("SPAN");
theNewSpan.style.... [set the parameters]
theNewSpan = document.body.appendChild(theNewSpan)
.... then another span and an IFrame.
var theNewIFRAME = document.createElement("IFRAME");
...
theNewIFRAME = theSecondNewSpan.appendChild(theNewIFRAME);

There is HTML content in a string which is put in the
newly created IFrame.

IFRAMEDocument = getItsDocument(theNewIFRAME);
IFRAMEDocument.write(HTMLContent);

In the IFRAME one finds a DIV to which (document.write())

Another two DIVs are created at added to the IFRAMEDocument
DIVinIFRAMEDocument = IFRAMEDocument.createElement("DIV");
16x16 pixels. These have something I had once seen before.
To avoid programmes which find CAPTCAH image files, load them,
shove through OCR programmes to read the data, at one time
someone had created the CAPTCHA image by creating a table
with cells 1x1 pixel in size and setting the (background)
colour of each to draw the image manually. This code does
not do that. Instead it creates 1x1 pixel SPANs, absolutely
positioned, and sets their colours. You will find two arrays
of hex strings in the javascript, each consists of sixteen
elements each element of which is 96 (6X16) hex digits.
Each element is a row (or is it column?) in each of the
sixteen rows the sequence of 16 sets of six hex digits
(three bytes) is used to set the colour of each of the
the pixels in each row for two 16x16 images without any image
files. One can send multiple images embedded in an HTML page
for Javascript capable browsers this was with no loads of
other (image) files. But they are LARGE (unless one writes
a base64 decoder and decompressor in Javascript and uses
base64 to represent the compressed binary data instead of
just plain hex, uncompressed, six hex digits for every
pixel!).

There is code to change the layer settings, check checksums and
remove items of they are incorrect, read and set cookies, etc.
and size and move the DIVs and SPANs.

It's not too long a bit of code so it can take a couple of
hours (as it did me) to pretty much completely deobfuscate.

Once the code is reformatted, it is pretty much just a matter of
persistence and global/search replacements as one looks at the
code and recursively chooses more reasonable function and variable
names.

The worst obfuscations I have seen are on old Empire Towers,
PopLaunch/StealLaunch spamvertized pages on Geocities(?)
years ago and the CyberDetective spammer's obfuscated HTML
shopping cart with variable and function names created solely
from I,i,l and 1

IiiI1IiiIl
I1iiilI(x) etc.

(since one variable name might be included in another one
had to be careful with search and replace - regular expressions
were pretty much a necessity, I think).

[I have been looking at obfuscated, encoded, encrypted Javascript
for far too long.]


By the way, an easy way to view the images is to consider them
in PPM format with is a trivial bitmap format.

For the array ["FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF...]
I simply used a text editor (vim, though others prefer emacs and
if you do this in Windows you need a good text editor and vim
and emacs are both available) to split it into rows

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFDB09DEB8971E97D63E77155E66B4EE5694AE56546E46344E46141E35B3AE35835E24E29D73E17DB765DFFFFFF

and joined them into one LONG line (6*256 = 1536 hex digits) and added a
header

P6
16 16
255

(P6: Binary ppm
16 16: dimensions
255: colour depth - the colours in each channel go from 0 to 255)

Then I set the editor to binary mode (with no EOL)
and converted the hex to binary (with vim's built in
xxd programme:
:.! xxd -r -p)
and saved to a ppm file (A.ppm, for example). While ppm
files are a standard format I don't know if Windows comes with
a viewer/editor but perhaps IrfanView can handle it and convert
to giv, jpg, png, ico(n) format, etc.

The files are simple icons ,the first a blue background with
a horizontal white bar at the bottom ("minimize"?) and the
second a red background with white "x" on it ("close"?).
 
R

revek

damn, that's just pissflaps, bull shit.


Javascript - is opensource platform, for your information.

Don't confuse the fact that the code can be easily obtained to mean
that this somehow grants everyone permission to use it without
permission or a license.
 
R

revek

you're just bitch around, cut the bull shit !



Stevo said:
Why? What do you want to do with it?

The owner of that code went to the trouble of trying to stop people like
you from stealing it. It's virtually impossible to stop people from
getting the source code, but steps like this certainly make it difficult
for the novice to easily steal it. I for one don't want to help, even
though skimming through it, I know exactly what that code's doing
because I have a lot of similar code myself.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top