home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.sunet.sepub/pictures
/
2014.11.ftp.sunet.se-pictures.tar
/
ftp.sunet.se
/
pub
/
pictures
/
ACiD-artpacks
/
www
/
mirrors
/
acheron
/
jlh
/
disimage.js
< prev
next >
Wrap
Text File
|
1999-02-24
|
5KB
|
97 lines
<!--
function displayWindow (image, imgWidth, imgHeight) {
var randNr = Math.round(Math.random() * 100);
code = '<html><head><title>JLH: Viewing an image</title></head><body bgcolor="#ffffff"><center><table width="100%"><tr><td align="center"><img src="/jlh/images/sub-1-1.gif"></td><td align="center">';
if (randNr <= 35) {
var valueClkNo = 'h0035122';
code += '<table border="0" width="478" align="center" cellspacing="0" cellpadding="0">';
code +=' <tr> ';
code +=' <td width="478">';
code +=' <!-- VC -->';
code +=' <BR>';
code +=' <CENTER>';
code +=' <FONT face="Arial" SIZE="1">';
code +=' <A TARGET="_top" HREF="http://www25.valueclick.com/cgi-bin/redirect?host=' + valueClkNo + '&b=' + randNr + '">';
code +=' <IMG WIDTH=468 HEIGHT=60 ALT="Please visit our sponsors." SRC="http://www25.valueclick.com/cgi-bin/cycle?host=' + valueClkNo + '&b=' + randNr + '"></A>';
code +=' <BR>';
code +=' <A TARGET="_top" HREF="http://www25.valueclick.com/cgi-bin/redirect?host=' + valueClkNo + '&b=' + randNr + '">';
code +=' Click Here to Visit our Sponsor</A>';
code +=' <!-- vc --> ';
code +='<!-- VCREF -->';
code +=' <A TARGET="_top" HREF="http://www.valueclick.com/cgi-bin/refer_host_signup?host=' + valueClkNo + '">';
code +='<B>Become a ValueClick Member Site</B></a>';
code +='<!-- vcref --><BR>';
code +=' </FONT>';
code +=' </CENTER>';
code +=' </td>';
code +=' </tr>';
code +=' </table>';
} else {
if (randNr > 35 && randNr <= 70) {
var randSafeNr = Math.round(Math.random() * 100);
if (randSafeNr <= 10) {
var bannerID = '63341';
var filename = 'forpul01.gif';
var desc = '20MB of webspace and email for FREE! Click here!';
} else {
if (randSafeNr > 10 && randSafeNr <= 25) {
var bannerID = '63341';
var filename = 'forpul01.gif';
var desc = '20MB of webspace and email for FREE! Click here!';
} else {
if (randSafeNr > 25 && randSafeNr <= 50) {
var bannerID = '63344';
var filename = 'fortune4afinal.gif';
var desc = '20MB of webspace and email for FREE! Click here!';
} else {
if (randSafeNr > 50 && randSafeNr <= 75) {
var bannerID = '63341';
var filename = 'forpul01.gif';
var desc = '20MB of webspace and email for FREE! Click here!';
} else {
var bannerID = '63344';
var filename = 'fortune4afinal.gif';
var desc = '20MB of webspace and email for FREE! Click here!';
} // if
} // if
} // if
} // if
code +='<a href="http://www.whispa.com/tracking/sarefer.dll?HostBannerID=' + bannerID + '" target="_top">';
code +='<img src="http://www.acheron.org/images/ads/' + filename + '" height=60 width=468 alt="' + desc + '"></a><br>';
code +='<img src="http://www.whispa.com/tracking/exposure.dll?' + bannerID + '" width=1 height=1 border=0><BR>';
code +='<a href="http://www.safe-audit.com/" target="_top"><font size=1 face=Arial>This banner was supplied by SAFE Audit</font></a>';
} else {
code +='<a href="http://www.acheron.org/cgi-bin/redir.cgi?Host=www.acheron.org&Banner_name=element" target="newWindow">';
code +='<img src="http://www.acheron.org/images/ads/element.gif" height=60 width=468 alt="Element Design - Fast. Affordable hosting packages..."></a>';
code +='<img src="http://www.acheron.org/cgi-bin/exposure.cgi?Host=www.acheron.org&Banner_name=element" width=1 height=1 border=0>';
code +='<br><a href="http://www.acheron.org/cgi-bin/redir.cgi?Host=www.acheron.org&Banner_name=element" target="newWindow"><font size=1 face=Arial>Element Design - Fast. Affordable hosting packages...</font></a>';
} // if (vc)
} // if (safe)
code += '<br></td></tr><tr><td></td><td align="center"><img src="http://www.keg.com/blueant/images/' + image + '" width="' + imgWidth + '" height="' + imgHeight + '"><p><form><input type="button" value="Close window" onClick="window.close()"></form></td></tr></table>';
newWindow = window.open("", "newWindow", "width=620,height=420,status=yes,toolbar=no,scrollbars=yes,resizable=yes");
newWindow.document.open();
newWindow.document.write(code);
newWindow.document.close();
}
//-->