|
This is my first post so please be patient with me.
Whilst surfing the internet I saw what looked like 3 periods on a screen, nothing else, I copied the HTML which I have atached.
I have replaced all references to the URL with ??????.
I'm just interested as to what this is doing, is it somethinf I should be aware of?
<html>
<head>
<title> & nbsp; &nb sp;   ; & nbsp; &nb sp;   ; & nbsp; &nb sp;   ; & nbsp; </title>
<script language=javascript>
var pURL = new Array();
var pName = new Array();
var pHeight = new Array();
var pWidth = new Array();
var pPos = new Array();
var pDelay = new Array();
pURL[0] = "http://www.??????????????/go.cgi?id=??????????????????&page=???????????";
pName[0] = "pop1";
pHeight[0] = "600";
pWidth[0] = "800";
pPos[0] = "center"
pDelay[0] = "300";
var win=null;
function OpenWindow(url,id,w,h,scroll,pos,t,l){
if(pos=="random"){
Left=Math.floor(Math.random()*(screen.width-w));
Top=Math.floor(Math.random()*((screen.height-h)-75));
}
if(pos=="center"){
Left=(screen.width-w)/2;
Top=(screen.height-h)/2;
}
if(pos=="base"){
Left=0;
Top=0;
}
if(pos=="absolute"){
Left=t;
Top=l;
}
set='width='+w+',height='+h+',top='+Top+',left='+L eft+',scrollbars=yes,location=yes,directories=yes, status=yes,menubar=yes,toolbar=yes,resizable=yes';
mywin=window.open(url,id,set);
mywin.focus();
self.close();
}
for(var npop in pURL){
var st= "OpenWindow('"+pURL[npop]+"','"+pName[npop]+"',"+pWidth[npop]+","+pHeight[npop]+",'yes','"+pPos[npop]+"',0,0)";
setTimeout(st,pDelay[npop]*1000);
}
//setTimeout('self.close()',601000);
</script>
</head>
<body>
</body>
</html>
|