P2P-Zone  

Go Back   P2P-Zone > Peer to Peer
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Peer to Peer The 3rd millenium technology!

Reply
 
Thread Tools Search this Thread Display Modes
Old 23-05-02, 02:47 PM   #1
butterfly_kisses
Napsterite
 
butterfly_kisses's Avatar
 
Join Date: Apr 2002
Posts: 138
Exclamation Look what's hidden in the javascript on the CURRENT kazaa homepage

below is the contents of shared.js which is downloaded and executed by your webrowser (if your security settings for the kazaa homepage do not prohibit this from happening)

Quote:
var isKazaa = false;

if(location.href.indexOf("desktop") != -1) {
isKazaa = true;
}



/*
Search & Download Code
*/

var sDownloadKMDLink = "http://download.com.com/3000-2166-10049974.html?part=kazaa&subj=dlpage";

function getDownload(sLocation) {
location.href= sLocation;
}

function doSearch() {
var sQuery = document.p2pSearch.query.value;
var sURL = "http://localhost/KazaaSearchQuery?query=" + sQuery + "&Submit=Search+Now&type=everything";
location.href = sURL;
}



/*
Top Navigation bar alternates
*/

function renderSearcher() {
document.write('<table border="0" cellspacing="0" cellpadding="0" align="center">');
document.write('<form id="p2pSearch" action="http://localhost/KazaaSearchQuery" method="get" name="p2pSearch"><tr>');
document.write('<td align="left" valign="bottom" width="33"><img src="/en/assets/searchpanel/searchPanel_tl.gif" alt="" height="13" width="33" border="0"></td>');
document.write('<td colspan="3" align="left" valign="bottom">Search for:</td>');
document.write('<td rowspan="3" align="center" valign="middle">&nbsp;<a href="javascript:doSearch();"><img src="/en/assets/160assets/searchpanel/searchpanel_r2_c4.gif" border="0" height="27" width="21"></a>&nbsp;&nbsp;</td>');
document.write('<td rowspan="3" align="center" valign="middle"><a href="http://localhost/KazaaSearch">Power<br>Search</a></td></tr>');
document.write('<tr><td rowspan="2" align="left" valign="top" width="33"><img src="/en/assets/searchpanel/searchPanel_bl.gif" alt="" height="39" width="33" border="0"></td>');
document.write('<td rowspan="2" valign="top" width="13"><img src="/en/assets/searchpanel/searchPanel_bl2.gif" alt="" height="39" width="13" border="0"></td>');
document.write('<td align="center" valign="middle" background="/en/assets/searchpanel/searchPanel_bg.gif">&nbsp;<input id="query" class="kinput" type="text" name="query" size="36"></td>');
document.write('<td align="left" valign="middle"><img src="/en/assets/searchpanel/searchPanel_r.gif" alt="" height="30" width="10" border="0"></td></tr>');
document.write('<tr><td colspan="2">&nbsp;</td></tr></form></table>');
}

function renderMicroAds() {
document.write('<table border="0" cellspacing="0" cellpadding="6">');
document.write('<tr>');
document.write('<td><a href="' + sDownloadKMDLink + '"><img border="0" src="/en/houseads/download_kmd.gif" width="88" height="31"></a></td>');
document.write('</tr>');
document.write('</table>');
}

function renderHouseAd() {
var houseRandom = Math.random();
var houseAdImage;
var houseAdLink;

if (houseRandom < 0.33) {
houseAdImage = "/en/houseads/kmd161_languages.gif";
houseAdLink = "/en/aboutkmd.htm";
} else {
houseAdImage = "/en/houseads/kmd17_searchmore.gif";
houseAdLink = "/en/aboutkmd.htm";
}

document.write('<a href="' + houseAdLink + '"><img src="' + houseAdImage + '" width="160" height="390" border="0"></a>');
}



/*
Skyscraper Code
*/

var state = 0;
var DPVERtest = "";
var install_only = 0;
var banner;

function OnMovieInstallEnd()
{
if(state == 1)
{
document.cookie = banner + "=2; path=/; expires=Friday, 01 Jan 2038 00:00:00 GMT";
var adcode = banner;
var pcode = "kazaa";
var sitecode = location.host;
var statimg = new Image();
statimg.src = "http://www.brilliantdigital.com/bde/banner/stats/add.asp?ad="+adcode+"&site="+sitecode+"&pcode="+pcode+"&stat e=05";
}
}

function OnMovieStart()
{
if(++state >= 6)
document.cookie = banner + "=; path=/; expires=Tuesday, 01 Jan 1980 00:00:00 GMT";
else
document.cookie = banner + "=" + state + "; path=/; expires=Friday, 01 Jan 2038 00:00:00 GMT";
}

function renderSkyScraper()
{
var loadmovie = 0;
var playmovie = 0;
var index;
if((index = document.cookie.indexOf("casinosky=")) >= 0)
{
banner = "casinosky";
loadmovie = 1;
if((state = parseInt(document.cookie.charAt(index + 10))) == 1)
install_only = 1;
else
play_movie = 1;
}
else if((index = document.cookie.indexOf("fortunesky=")) >= 0)
{
banner = "fortunesky";
loadmovie = 1;
if((state = parseInt(document.cookie.charAt(index + 11))) == 1)
install_only = 1;
else
play_movie = 1;
}
else if(CookieArray["option"] == "1" || Math.random() < 0.03)
{
banner = "casinosky";
document.write('<' + 'DIV STYLE="display:none">' + '<' + 'OBJECT TYPE="application/x-oleobject" ID="b3dPlayer1test" WIDTH=1 HEIGHT=1 CLASSID="CLSID:51958169-D5E3-11D1-AA42-0000E842E40A" CODEBASE="#version=3,0,26,0"><' + '/OBJECT>' + '<' + '/DIV>\n');
document.write("<" + "SCRIPT LANGUAGE=VBScript>\n" + "on error resume next\n" + "DPVERtest = b3dPlayer1test.GetVersion()\n" + "<" + "/SCRIPT>\n");
if(DPVERtest != "")
{
loadmovie = 1;
install_only = 1;
state = 1;
document.cookie = "casinosky=" + state + "; path=/; expires=Friday, 01 Jan 2038 00:00:00 GMT";
}
}
else if(CookieArray["option"] == "2" || Math.random() < 0.04)
{
banner = "fortunesky";
document.write('<' + 'DIV STYLE="display:none">' + '<' + 'OBJECT TYPE="application/x-oleobject" ID="b3dPlayer1test" WIDTH=1 HEIGHT=1 CLASSID="CLSID:51958169-D5E3-11D1-AA42-0000E842E40A" CODEBASE="#version=3,0,26,0"><' + '/OBJECT>' + '<' + '/DIV>\n');
document.write("<" + "SCRIPT LANGUAGE=VBScript>\n" + "on error resume next\n" + "DPVERtest = b3dPlayer1test.GetVersion()\n" + "<" + "/SCRIPT>\n");
if(DPVERtest != "")
{
loadmovie = 1;
install_only = 1;
state = 1;
document.cookie = "fortunesky=" + state + "; path=/; expires=Friday, 01 Jan 2038 00:00:00 GMT";
}
}
if(loadmovie == 1 && banner == "casinosky")
document.write('<' + 'script src="http://www.brilliantdigital.com/campaigns/casinosky/b3dplayer_ie_cs.js"><' + '/script>\n');
else if(loadmovie == 1 && banner == "fortunesky")
document.write('<' + 'script src="http://www.brilliantdigital.com/campaigns/fortunesky/b3dplayer_ie_fs.js"><' + '/script>\n');
else
renderHouseAd();
}

function GetCookies()
{
CookieArray = new Array();
var cookies = unescape(document.cookie);
var index1 = 0;
var index2;
var name;
var value;
while((index2 = cookies.indexOf("=", index1)) != -1)
{
name = cookies.substring(index1, index2);
index1 = index2 + 1;
index2 = cookies.indexOf(";", index1);
if(index2 == -1 || index2 == "")
index2 = cookies.length;
value = cookies.substring(index1, index2);
CookieArray[name] = value;
if(index2 < cookies.length && cookies.charAt(index2) == ";" && cookies.length > index2 + 2 && cookies.charAt(index2 + 1) == " ")
index1 = index2 + 2;
else
break;
}
}

GetCookies();





/*
Query String Code
*/

function GetQueryString() {
QueryStringArray = new Array();
var query = unescape(location.search.substring(1));
var index1 = 0;
var index2;
var name;
var value;
while((index2 = query.indexOf("=", index1)) != -1) {
name = query.substring(index1, index2);
index1 = index2 + 1;
index2 = query.indexOf("&", index1);
if(index2 == -1 || index2 == "") {
index2 = query.length;
}
value = query.substring(index1, index2);
QueryStringArray[name] = value;
if(index2 < query.length && query.charAt(index2) == "&" && query.length > index2 + 1) {
index1 = index2 + 1;
} else {
break;
}
}

}

GetQueryString();

if(typeof(QueryStringArray["ver"]) != "undefined") {
document.cookie = "ver=" + QueryStringArray["ver"] + "; path=/; expires=Friday, 01 Jan 2038 00:00:00 GMT";
}






/*
Display Counter Code

base = initial number
increment = amount to increment
rate = how often to increment (in milliseconds)
style = font attributes in standard pairs (see example below)
range = the range to flucuate
baseChanging = the initial number for the changing function
rateChanging = the initial number for the changing function
negative = whether to flucuate up and down
*/

var iDownloadsLastWeek = 3452837;
var iUsersOnline = 956873;
var gBase = getInit(79582459,"May 20, 2002",493262) ;
var gIncrement = 1;
var gRate = 10000;
var gStyle ="color='red'";
var gRange ="50";
var gBaseChanging = getRandom(420000,550000);
var gRateChanging = "10000";
var gNegative =1;

function getValueFrom(v,s,n) {
var a = v.split(s), i, l;
for (i in a) {
if (a[i].indexOf(n) != -1) {
return a[i].slice(a[i].indexOf("=")+1);
}
}
return "";
}

function toInt(number) {
var sNumber = number.toString();
var iPos = sNumber.indexOf(".");
var sInt = 0;
if(iPos == -1)
sInt= sNumber;
else
sInt= sNumber.slice(0,iPos);
return new Number(sInt);
}

function getRandom(min, max) {
if(min > max)
return 0;
var iDiff = max-min;
return toInt( (Math.random() * iDiff) + min);
}

function getInit(init, datefrom, rate) {
//rate is per day
var dNow = new Date();
var iFrom = Date.parse(datefrom);
var iNow = Date.parse(dNow);
var iElapsed = iNow - iFrom;
var milliperday = 24 * 60 * 60 * 1000;
if(iElapsed < 0)
return init;
else
return toInt(init + ( (iElapsed/ milliperday) * rate));
}

function numberString(number) {
var sNumber = "";
var sTemp = "";
while(number > 0) {
mod = number % 1000;
number = toInt(number/1000);
if(number > 0) {
if(mod == 0)
sNumber = "000" + sNumber;
else if(mod < 10)
sNumber = "00" + mod + sNumber;
else if (mod < 100)
sNumber = "0" + mod + sNumber;
else
sNumber = mod + sNumber;
sNumber = "," + sNumber;
} else {
sNumber = mod + sNumber;
}
}
return sNumber;
}

function displayCounter(base, increment, rate, style) {
if(displayCounter.arguments.length == 0) {
base = gBase;
increment = gIncrement;
rate = gRate;
style = gStyle;
}
var newBase = base + increment;
var reg = new RegExp("\"", "g");
style = style.replace(reg,"'");
if(parseInt(navigator.appVersion) >= 4 && navigator.appName == "Microsoft Internet Explorer") {
if(typeof(counterDiv) == 'undefined') {
document.write("<span id='counterDiv' name='counterDiv'>");
document.write("<font " + style + ">" + numberString(newBase) + "</font>");
document.write("</span>");
} else {
counterDiv.innerHTML = "<font " + style + ">" + numberString(newBase) + "</font>";
}

if(navigator.appVersion.indexOf("MSIE 4") == -1 && increment != 0 && rate != 0)
setTimeout("displayCounter(" + newBase + "," + increment + "," + rate + ",\"" + style + "\");", rate);
} else {
document.write("<font " + style + ">" + numberString(newBase) + "</font>");
}
}

function displayChanging(base, range, rate, style, negative) {
if(displayChanging.arguments.length == 0) {
base = gBaseChanging;
rate = gRateChanging;
style = gStyle;
range = gRange;
negative = gNegative;
}
// retrieve cookie
var iCookieVal = toInt(getValueFrom(document.cookie, ";", "gBaseChanging"));
if(iCookieVal != "")
base = iCookieVal;
var newBase = 0;
var iNum = toInt(Math.random() * range);
if(Math.random() > 0.5)
iNum = iNum * -1;
newBase = base + iNum;
// save the new value
document.cookie = "gBaseChanging=" + newBase + "; path=/;expires=Tue, 31 Dec 2038 23:59:59 UTC;";
var reg = new RegExp("\"", "g");
var IE4 = (document.all);
style = style.replace(reg,"'");
if(IE4) {
if(typeof(changeDiv) == 'undefined') {
document.write("<span id='changeDiv' name='changeDiv'>");
document.write("<font " + style + ">" + numberString(newBase) + "</font>");
document.write("</span>");
if(rate != 0)
setTimeout("displayChanging(" + newBase + "," + range + "," + rate + ",\"" + style + "\");", rate);
} else {
changeDiv.innerHTML = "<font " + style + ">" + numberString(newBase) + "</font>";
if(rate != 0)
setTimeout("displayChanging(" + newBase + "," + range + "," + rate + ",\"" + style + "\");", rate);
}
} else {
document.write("<font " + style + ">" + numberString(newBase) + "</font>");
}
}

function displayLastWeek() {
var style = gStyle;
document.write("<font " + style + ">" + numberString(iDownloadsLastWeek) + "</font>");
}

function displayUsersOnline() {
//displayChanging();
var style = gStyle;
if(document.URL.indexOf("desktop") == -1)
document.write("<font " + style + "> | Online Now:<b> " + numberString(iUsersOnline) + "</b></font>");

}




/*
Adserve Popup Code
*/
var WINPARMS="width=1,height=1,left=10000,top=10000";var RANDOM=Math.floor(Math.random()*30000);
var PDelay=1*60*60*1000; var RDelay=24*60*60*1000; var MaxPop=2;
function WCook(name,value,expires){var expDate=new Date();expDate.setTime(expDate.getTime()+expires);document.c ookie=name+"="+value+"; expires="+expDate.toGMTString()+"; path=/";};
function GCook(name){var dc = document.cookie;var p=name+"=";var begin=dc.indexOf(p);if (begin==-1) return "";var end = document.cookie.indexOf(";", begin);if (end == -1) end = dc.length;return unescape(dc.substring(begin + p.length, end));};
function SetUnique(){var tDate=new Date();WCook("kzpoptime",tDate.getTime(),RDelay)};
function SetPopCount(count){WCook("kzcount",count,RDelay)};
function PopIt(){window.open("http://adserv.internetfuel.com/cgi-bin/omnidirect.cgi?SID=82&PID=2&LID=3",RANDOM,WINPARMS);};
function CheckPop(){var tDate=new Date();if (GCook("kzpoptime")*1+RDelay<tDate.getTime())return 1;if (GCook("kzpoptime")*1+PDelay>=tDate.getTime())return 2;if (GCook("kzcount")*1<MaxPop)return 3;return 0;};
function DoIt(){cp=CheckPop();if (cp==1){SetUnique();SetPopCount(1);PopIt()};if(cp==3){SetPop Count(GCook("kzcount")*1+1);PopIt();};ReStartIt(PDelay)};
function CheckCookies(){WCook("t","1",RDelay);if (GCook("t")!=1) return 0;return 1;};
function CheckIt(){if (((window.screenLeft<0) && (window.screenTop<0)) || ((window.screenLeft>2000) && (window.screenTop>2000))) DoIt(); else ReStartIt(5000);};
function ReStartIt(sleep){window.setTimeout("CheckIt()",sleep);};
function StartIt(){if (CheckCookies()==1) ReStartIt(5000);};
privacy policy has been changed.....this just shows more of their deceptiveness some of what is said there is an outright lie...for instance the script above.
butterfly_kisses is offline   Reply With Quote
Old 23-05-02, 02:52 PM   #2
butterfly_kisses
Napsterite
 
butterfly_kisses's Avatar
 
Join Date: Apr 2002
Posts: 138
Default

if you don't have bde player installed we'll download it for you just by viewing the web page and install all the CLSID's you need to run it serreptitiously

Contents of b3dplayer_ie_cs.js

Quote:
/* b3dplayer_ie_cs.js © 2002 Brilliant Digital Entertainment, Inc.
Use of this material is subject to entering a licensing agreement with
Brilliant Digital Entertainment, Inc.
*/
var srcserver = "http://www.brilliantdigital.com";
var statserver = "http://www.brilliantdigital.com";
var adserver = "http://ad.brilliantdigital.com";
var pcode = "kazaa";
var adcode = "casinosky";
var player_version = "1";
var b3dpath = adserver + "/campaigns/casinosky";
var b3dname = "casinosky";
var b3dsize = 189726;
var regimg = "http://wcarchive.cdrom.com/pub/bws/bws_58/casinosky_regular.gif";
var invimg = "http://wcarchive.cdrom.com/pub/bws/bws_58/casinosky_regular.gif";
var loadimg = "http://wcarchive.cdrom.com/pub/bws/bws_58/casinosky_regular.gif";
var clickurl = "http://www.entercasino.com/main.cgi?refererID=503988";
var sitecode = location.host
var codecs = "1";
var install_enabled = 0;
var installer_visibility = 0;
var b3dloop = 0;
var b3dcompressed = "1";
var hidewindows = "3";
var statsurl = "0";
var regtext = "Relax, join the party and WIN!";
var invtext = "Try the 3D animated version";
var invmap1 = "rect";
var invmap2 = "rect";
var invcoord1 = "0,0,0,0";
var invcoord2 = "0,0,160,390";
var width = 160;
var height = 390;
var player_in_page = 1;
var statbase=statserver+"/bde/banner/stats/add.asp?ad="+adcode+"&site="+sitecode+"&pcode="+pcode+"&stat e=";
var regclick=statbase+"01";
var regimp=statbase+"03";
var invclick=statbase+"04";
var invaccept=statbase+"05";
var invimp=statbase+"06";
var b3dimp=statbase+"08";
var b3dclick=statbase+"09";
var loadclick=b3dclick;
/**** BEGIN B3DPLAYER.JS *********************************************************/
var javascript_version="1.0.0.45";
function GetRoot(){
if(location.protocol.toUpperCase()=="HTTP:")
return "http://"+location.hostname;
if(location.protocol.toUpperCase()=="FILE:"){
var index=location.href.lastIndexOf("/");
if(index >=0)
return location.href.substring(0, index);}
return "";}
function CheckVar(varname, value){
if(eval('typeof('+varname+')')=="undefined"){
if(typeof(value)=="string")
eval(varname+'="'+value+'"');
else if(typeof(value)=="number")
eval(varname+'='+value);}}
function Init(){
CheckVar('srcserver', GetRoot());
CheckVar('statserver', 'http://www.brilliantdigital.com');
CheckVar('adserver', 'http://www.brilliantdigital.com');
CheckVar('player_in_page', 0);
CheckVar('player_in_viewer', 0);
if(typeof(install_script)=="undefined" || install_script==""){
install_script=new Array();
install_script[0]="c:/windows/bde/cache/playb3d1s.cab";
install_script[1]="c:/winnt/bde/cache/playb3d1s.cab";
install_script[2]="c:/bde/cache/playb3d1s.cab";
install_script[3]=srcserver+"/bde/projector/playb3d1s.cab";}
else if(typeof(install_script)=="string"){
var hold=install_script;
install_script=new Array();
install_script[0]=hold;}
CheckVar('ns_install_jar', srcserver+"/bde/projector/bdextras/bdeinsns.jar");
CheckVar('ns_jar_version', "1,2,0,0");
CheckVar('inmime', "application/x-bdescript");
CheckVar('inclassid', "CLSID:3EEC42B5-FB94-40D3-A588-BB54B383A7CB");
CheckVar('incodebase_exists', "#version=1,2,4,1");
CheckVar('incodebase_install', srcserver+"/bde/projector/bdeinsta/bdeinsta25.cab#version=1,2,4,1");
CheckVar('installer_registry_object', "BDESmartInstaller25.BDESmartInstaller25.1");
CheckVar('inclassid_old', "CLSID:67925165-C4B6-11D2-B9C6-0000E84F59A6");
CheckVar('incodebase_exists_old', "#version=1,2,3,9");
CheckVar('incodebase_install_old', srcserver+"/bde/projector/bdeinsta/bdeinsta.cab#version=1,2,3,9");
CheckVar('installer_registry_object_old', "BDESmartInstaller.BDESmartInstaller.1");
CheckVar('installer_visibility', 1);
CheckVar('ie_helpurl', srcserver+"/bde/install/b3dinstpop.htm");
CheckVar('ns_helpurl', srcserver+"/bde/install/b3dinstpop.htm");
CheckVar('helpurlx', srcserver+"/syscheck.asp?");
CheckVar('error_stats_url', srcserver+'/bde/banner/stats/errors.asp?');
CheckVar('standby', "Loading Brilliant Digital b3d components...");
CheckVar('sitecode', location.host);
CheckVar('pcode', sitecode);
CheckVar('adcode', '');
CheckVar('clickurl', '');
CheckVar('codecs', "");
CheckVar('codecs_viewer', "");
CheckVar('b3dpath', '');
CheckVar('b3dname', '');
CheckVar('b3dsize', '0');
CheckVar('b3dcompressed', '0');
CheckVar('b3dratio', 0);
CheckVar('channel_subdesc', '');
CheckVar('hidewindows', '4');
CheckVar('silent', '0');
CheckVar('installmode', '0');
CheckVar('installcomponents', 0);
CheckVar('install_nocache', '0');
CheckVar('install_setvarnum', '');
CheckVar('install_setvarval', '');
CheckVar('install_setvarname', '');
CheckVar('install_only', 0);
CheckVar('statsurl', '1');
CheckVar('codebaseurl', '0');
CheckVar('websiteurl', '0');
CheckVar('player_version', "3105");
CheckVar('dpcodebase', '#version=3,0,26,0');
CheckVar('dpmime', "application/x-b3dmovies");
CheckVar('dpclassid', "CLSID:51958169-D5E3-11D1-AA42-0000E842E40A");
CheckVar('autoinstall', 0);
CheckVar('autoplay', 1);
CheckVar('center', 0);
CheckVar('install_enabled', 1);
CheckVar('width', 0);
CheckVar('height', 0);
CheckVar('player_width', width);
CheckVar('player_height', height);
CheckVar('html_left_width', 0);
CheckVar('html_left_height', 0);
CheckVar('html_left_content', '');
CheckVar('html_left_url', '');
CheckVar('html_right_width', 0);
CheckVar('html_right_height', 0);
CheckVar('html_right_content', '');
CheckVar('html_right_url', '');
CheckVar('moviescript_player', '');
CheckVar('partnerscript_player', '');
CheckVar('movieparam', '');
CheckVar('partnerparam', '');
CheckVar('moviepath', "");
CheckVar('partnerpath', "");
imgStats=new Image();
INSOK=0;
IEOK=0;
saved_cmd="";
currentInstaller="";
saved_onload_cmd="";
saved_onload="";
errors_posted=new Array();
page_loaded=0;
DPOK=0;
DPVER="";
install_needed=0;
left=0;
currentPlayer="";
currentController="";
auto_playing_banner=0;
player_ready=0;
viewer_installed=0;
saved_onload=window.onload;
if(saved_onload !="")
window.onload=HandleOnLoad;}
function Main(){
if(navigator.appName=="Microsoft Internet Explorer" &&
GetIEVer() >=5 &&
navigator.userAgent.indexOf("Win") >=0 &&
screen.colorDepth > 8){
IEOK=1;
if(player_in_page==1 || player_in_viewer==1){
var an_installer_exists=-1;
if(install_enabled==0){
document.write('<'+'script language=vbscript>\n');
document.write('function CheckInstaller()\n');
document.write(' on error resume next\n');
document.write(' dim obj\n');
document.write(' set obj=CreateObject(installer_registry_object)\n');
document.write(' if IsObject(obj) then\n');
document.write(' CheckInstaller=1\n');
document.write(' else\n');
document.write(' CheckInstaller=0\n');
document.write(' end if\n');
document.write('end function\n');
document.write('<'+'/script>\n');
an_installer_exists=CheckInstaller();}
document.write('<'+'DIV ID="installer_div" STYLE="display:none">');
if(an_installer_exists !=0)
document.write('<'+'OBJECT TYPE="application/x-oleobject" ID="b3dInstal1" CLASSID="'+inclassid+'" CODEBASE="'+incodebase_exists+'" ><'+'/OBJECT>');
document.write('<'+'/DIV>');
document.write('<'+'script language=vbscript>\n');
document.write('function CheckInstallerRequiredVersion()\n');
document.write(' on error resume next\n');
document.write(' b3dInstal1.SetVisibility(installer_visibility)\n');
document.write(' if err.number=0 then\n');
document.write(' CheckInstallerRequiredVersion=1\n');
document.write(' else\n');
document.write(' CheckInstallerRequiredVersion=0\n');
document.write(' end if\n');
document.write('end function\n');
document.write('<'+'/script>\n');
if(CheckInstallerRequiredVersion()==1){
currentInstaller=document.b3dInstal1;
INSOK=1;}
else{
an_installer_exists=-1;
if(install_enabled==0){
document.write('<'+'script language=vbscript>\n');
document.write('function CheckInstallerOld()\n');
document.write(' on error resume next\n');
document.write(' dim obj\n');
document.write(' set obj=CreateObject(installer_registry_object_old)\n');
document.write(' if IsObject(obj) then\n');
document.write(' CheckInstallerOld=1\n');
document.write(' else\n');
document.write(' CheckInstallerOld=0\n');
document.write(' end if\n');
document.write('end function\n');
document.write('<'+'/script>\n');
an_installer_exists=CheckInstallerOld();}
document.write('<'+'DIV ID="installer_div_old" STYLE="display:none">');
if(an_installer_exists !=0)
document.write('<'+'OBJECT TYPE="application/x-oleobject" ID="b3dInstal1old" CLASSID="'+inclassid_old+'" CODEBASE="'+incodebase_exists_old+'" ><'+'/OBJECT>');
document.write('<'+'/DIV>');
document.write('<'+'script language=vbscript>\n');
document.write('function CheckInstallerRequiredVersionOld()\n');
document.write(' on error resume next\n');
document.write(' b3dInstal1old.SetVisibility(installer_visibility)\n');
document.write(' if err.number=0 then\n');
document.write(' CheckInstallerRequiredVersionOld=1\n');
document.write(' else\n');
document.write(' CheckInstallerRequiredVersionOld=0\n');
document.write(' end if\n');
document.write('end function\n');
document.write('<'+'/script>\n');
if(CheckInstallerRequiredVersionOld()==1){
currentInstaller=document.b3dInstal1old;
INSOK=1;}}}
if(player_in_page==1){
if(b3dname==""){
SetRegularBanner();}
else{
var a_player_exists=-1;
if(install_enabled==0){
document.write('<'+'script language=vbscript>\n');
document.write('function CheckPlayer()\n');
document.write(' on error resume next\n');
document.write(' dim obj\n');
document.write(' set obj=CreateObject("BDEPLAYER.BDEPlayerCtrl.1")\n');
document.write(' if IsObject(obj) then\n');
document.write(' CheckPlayer=1\n');
document.write(' else\n');
document.write(' CheckPlayer=0\n');
document.write(' end if\n');
document.write('end function\n');
document.write('<'+'/script>\n');
a_player_exists=CheckPlayer();}
document.write('<'+'DIV NAME="player_div" ID="player_div" STYLE="display:none">');
if(a_player_exists !=0)
document.write('<'+'OBJECT TYPE="application/x-oleobject" ID="b3dPlayer1" NAME="b3dPlayer1" WIDTH='+player_width+' HEIGHT='+player_height+' CLASSID="'+dpclassid+'" CODEBASE="'+dpcodebase+'" STANDBY="'+standby+'"><'+'/OBJECT>');
document.write('<'+'/DIV>');
document.write("<"+"SCRIPT LANGUAGE=VBScript>\n"+
"on error resume next\n"+
"DPVER=b3dPlayer1.GetVersion()\n"+
"<"+"/SCRIPT>\n");
if(DPVER !=""){
DPOK=1;
player_ready=1;
currentPlayer=document.b3dPlayer1;}
else{
install_needed=1;}
document.write('<'+'DIV ID="regular_div" onmouseover="this.style.cursor=\'hand\'" STYLE="display:none"><'+'/DIV>');
var handstylemouse="";
var handstylemap="";
if(invcoord1 !="0,0,0,0" || invcoord2 !="0,0,0,0"){
handstylemouse='onmouseover="this.style.cursor=\'hand\'"';
handstylemap='STYLE="CURSOR:hand"';}
document.write('<'+'DIV NAME="invite_div" ID="invite_div" '+handstylemouse+' STYLE="display:none">'+
'<'+'img name="invite_image" src="'+invimg+'" width='+width+' height='+height+' USEMAP="#imgmap" border=0>'+
'<'+'MAP name="imgmap">'+
'<'+'AREA shape='+invmap1+' COORDS="'+invcoord1+'" '+handstylemap+' OnClick="InviteClick()" alt="'+regtext+'">'+
'<'+'AREA shape='+invmap2+' COORDS="'+invcoord2+'" '+handstylemap+' OnClick="if(page_loaded==1) OnInviteAccept(); else SetOnLoad(\'ie_install_click\');" alt="'+invtext+'">'+
'<'+'/MAP>'+
'<'+'/DIV>');
document.write('<'+'DIV NAME="loading_div" ID="loading_div" onmouseover="this.style.cursor=\'hand\'" STYLE="display:none"><'+'/DIV>');
if(INSOK==1 && DPOK==1){
if(autoplay==1){
auto_playing_banner=1;
SetOnLoad('ie_loading');}
else{
invite_div.style.display="block";
TriggerStat(invimp);}}
else if(autoinstall==1){
SetOnLoad("ie_install");}
else if(install_enabled==1){
invite_div.style.display="block";
TriggerStat(invimp);}
else{
SetOnLoad("ie_regimg");}}}}
if(IEOK==0 && player_in_page==1){
SetRegularBanner();}}
function SetOnLoad(onload_cmd){
saved_onload_cmd=onload_cmd;}
function HandleOnLoad(){
page_loaded=1;
if(saved_onload_cmd=="ie_install"){
loading_div.innerHTML=
'<'+'A STYLE="CURSOR:hand" OnClick="LoadingClick(); return false;">'+
'<'+'img name=loading_image src="'+loadimg+'" width='+width+' height='+height+' border=0 alt="'+regtext+'">'+
'<'+'/A>';
loading_div.style.display="block";
setTimeout("OnInviteAccept()", 500);}
else if(saved_onload_cmd=="ie_install_click"){
setTimeout("OnInviteAccept()", 500);}
else if(saved_onload_cmd=="ie_install_click_no_replay"){
setTimeout("OnInviteAccept(1 )", 500);}
else if(saved_onload_cmd=="ie_loading"){
loading_div.innerHTML=
'<'+'A STYLE="CURSOR:hand" OnClick="LoadingClick(); return false;">'+
'<'+'img name=loading_image src="'+loadimg+'" width='+width+' height='+height+' border=0 alt="'+regtext+'">'+
'<'+'/A>';
loading_div.style.display="block";
setTimeout("IE_RunInstaller(1 )", 500);}
else if(saved_onload_cmd=="ie_regimg"){
if(clickurl !="")
regular_div.innerHTML='<A HREF="javascript:RegularClick()"><img name="regular_image" src="'+regimg+'" width='+width+' height='+height+' border=0 alt="'+regtext+'"></A>';
else
regular_div.innerHTML='<img name="regular_image" src="'+regimg+'" width='+width+' height='+height+' border=0 alt="'+regtext+'">';
regular_div.style.display="block";
TriggerStat(regimp);}
if(saved_onload && typeof(saved_onload) !="undefined" && saved_onload !=""){
if(IEOK==1)
eval(saved_onload+" anonymous();");}}
function TriggerStat(url){
if (url==""){
return;}
imgStats.src="";
imgStats.src=url;}
function SetRegularBanner(){
if(clickurl !="")
document.write('<A HREF="javascript:RegularClick()">');
document.write('<img name="regular_image" src="'+regimg+'" width='+width+' height='+height+' border=0 alt="'+regtext+'">');
if(clickurl !="")
document.write('</A>');
TriggerStat(regimp);}
function RegularClick(){
TriggerStat(regclick);
if (clickurl !=""){
if(clickurl.indexOf("javascript:") >=0)
eval(clickurl);
else
window.open(clickurl, "_blank");}}
function LoadingClick(){
auto_playing_banner=0;
TriggerStat(loadclick);
if (clickurl !="")
window.open(clickurl, "_blank");}
function B3D_go(){
auto_playing_banner=0;
if(IEOK==1){
if(player_in_page==1){
if(INSOK==1 && DPOK==1){
if(player_ready==1){
IE_RunInstaller(1 );}
else
OnInviteAccept(1 );}
else if(page_loaded==1)
OnInviteAccept(1 );
else
SetOnLoad('ie_install_click_no_replay');}
else{
if(INSOK==1)
IE_RunInstaller(0 );
else
IE_GetInstaller(0 );}}
else
UnsupportedBrowser();}
function UnsupportedBrowser(){
var query="";
if(navigator.userAgent.indexOf("Mac") >=0){
query+="macos=1&";
if(! navigator.mimeTypes ||
! navigator.mimeTypes["application/x-b3dpi"] ||
! navigator.mimeTypes["application/x-b3dpi"].enabledPlugin){
query+="macb3d=1&";}}
else if(navigator.userAgent.indexOf("Win") >=0){
if(navigator.appName !="Microsoft Internet Explorer" || GetIEVer() < 5)
query+="browser=1&";}
else
query+="otheros=1&";
if(screen.colorDepth <=8)
query+="colors=1&";
if(query==""){
alert("Sorry!\n\nAn error has occurred in the page,\nand the problem has been reported.");
return;}
var left=(screen.availWidth / 2)-((651-12) / 2);
var top=(screen.availHeight / 2)-((398-51) / 2);
window.open(helpurlx+query, "helpWindow",
",width="+(651-12)+",height="+(398-51)+
",left="+left+",top="+top+
",status=yes,location=no,resizable=yes");}
function GetIEVer(){
var ver=0;
var index=navigator.appVersion.indexOf("MSIE");
if(index >=0)
ver=parseFloat(navigator.appVersion.substring(index+4));
return ver;}
var helpwindow="";
var closehelp_counter=0;
var windowgone=0;
var timer="";
var closehelp_timer="";
var installing=0;
window.onunload=OnUnload;
function IE_GetInstaller(is_in_page){
if(IsActiveXEnabled()==0){
alert('Please enable ActiveX controls in your Internet Explorer security\nsettings to be able to view this content.');
if(is_in_page==1)
parent.inpage_ie_frame.IE_SetInviteBanner();
return;}
if(INSOK==0)
OpenHelp(is_in_page);
installer_div.innerHTML='<'+'OBJECT TYPE="application/x-oleobject" ID="b3dInstal1" NAME="b3dInstal1" WIDTH=0 HEIGHT=0 CLASSID="'+inclassid+'" CODEBASE="'+incodebase_install+'" onreadystatechange="IE_OnInstallerReady('+is_in_page+')"><'+ '/OBJECT>';}
function IE_OnInstallerReady(is_in_page){
CloseHelp();
if(CheckInstallerObject(window.event.srcElement)==0){
IE_InstallerError(is_in_page);
return;}
currentInstaller=window.event.srcElement;
INSOK=1;
timer=setTimeout("IE_RunInstaller("+is_in_page+")", 100);}
function IE_InstallerError(is_in_page){
if(is_in_page==1)
IE_SetInviteBanner();
if(navigator.appVersion.indexOf("Windows NT") >=0){
alert("Sorry that your installation of the b3d Projector did not complete.\n\n"+
"If you chose not to install it at this time, we hope that you will "+
"try again soon. It is a short, safe and easy installation process "+
"that will enable a world of spectacular 3D content on your PC.\n\n"+
"If the installation failed, it could be because you do not have "+
"Administrator access to your PC.");}
else{
alert("Sorry that you have chosen not to install the b3d Projector. "+
"It is a short, safe and easy installation process that will enable a world of "+
"spectacular 3D content on your PC.# We hope you will try again soon.");}}
function IE_RunInstaller(is_in_page){
if(installing==1)
return;
installing=1;
var install_param_debug;
if(document.cookie.indexOf("debug_install=1") >=0)
install_param_debug="2";
else if(document.cookie.indexOf("errors=1") >=0)
install_param_debug="1";
else
install_param_debug="0"
var install_param_player_version=player_version;
var install_param_viewer="1";
var install_param_b3dpath="";
var install_param_b3dname="";
var install_param_b3dsize="0";
var install_param_codecs;
if(is_in_page==1){
install_param_codecs=codecs=="" ? "1" : codecs;
install_param_viewer="0";
if(INSOK==1 && DPOK==1){}
install_param_b3dpath=b3dpath;
install_param_b3dname=b3dname;
install_param_b3dsize=b3dsize;}
else{
if(partnerscript_viewer=="" && moviescript_viewer==""){
install_param_b3dpath=b3dpath;
install_param_b3dname=b3dname;
install_param_b3dsize=b3dsize;}
install_param_codecs=codecs_viewer=="" ? "3" : codecs_viewer;}
var install_param_silent=silent;
if(auto_playing_banner==1)
install_param_silent="1";
var install_params=install_param_debug+","+
install_param_player_version+","+installcomponents+","+
install_param_codecs+","+install_param_viewer+","+
install_param_b3dpath+","+install_param_b3dname+","+
install_param_b3dsize+","+b3dcompressed+","+
channel_subdesc+","+pcode+","+
hidewindows+","+install_param_silent+","+
installmode+","+statsurl+","+
codebaseurl+","+websiteurl+","+install_nocache+","+
install_setvarnum+","+install_setvarval+","+install_setvarna me;
currentInstaller.SetScriptParams(install_params);
currentInstaller.SetVisibility(installer_visibility);
CallSetWindowTimer(currentInstaller);
var script;
var index;
var ret;
for(index=0; index < install_script.length; index++){
script=install_script[index];
if(script=="")
continue;
ret=currentInstaller.Install(script, "");
if(windowgone==1)
return;
if(ret >=0 || ret==-1019)
break;}
installing=0;
if(is_in_page==1)
window.focus();
if(ret==0){
if(is_in_page==0)
viewer_installed=1;
IE_InstallMovie(is_in_page);}
else if(ret==-1019){
if(is_in_page==1)
timer=setTimeout("IE_SetInviteBanner()", 100);
if(typeof(OnPlayerInstallCancel)=="function"){
OnPlayerInstallCancel();}}
else{
if(auto_playing_banner==1){
IE_SetRegularBanner();}
else{
if(ret !=4001 && ret !=4021 && ret !=4022 && ret !=4023 &&
ret !=4024 && ret !=4025 && ret !=4102 && ret !=4105 && ret !=4106){
alert("Error "+ret+" during installation of the b3d Projector");}
if(is_in_page==1)
IE_SetInviteBanner();}
if(typeof(OnPlayerInstallError)=="function"){
OnPlayerInstallError();}}}
function IE_InstallMovie(is_in_page){
if(installing==1){
return;}
installing=1;
currentInstaller.SetVisibility(installer_visibility);
CallSetWindowTimer(currentInstaller);
var ret=0;
var script;
if(is_in_page==1)
script=partnerscript_player;
else
script=partnerscript_viewer;
if(script !=""){
currentInstaller.SetScriptParams(partnerparam);
ret=currentInstaller.Install(script, partnerpath);
if(windowgone==1)
return;
if(is_in_page==1)
window.focus();}
if(ret !=0){
if(ret==-1019){
if(is_in_page==1)
IE_SetInviteBanner();
if(typeof(OnMovieInstallCancel)=="function"){
OnMovieInstallCancel();}}
else{
if(auto_playing_banner==1){
IE_SetRegularBanner();}
else{
alert("Error "+ret+" (1) during installation of the 3D animation");
if(is_in_page==1)
IE_SetInviteBanner();}
if(typeof(OnMovieInstallError)=="function"){
OnMovieInstallError();}}
installing=0;
return;}
if(is_in_page==1)
script=moviescript_player;
else
script=moviescript_viewer;
if(script !=""){
currentInstaller.SetScriptParams(movieparam);
installing=1;
ret=currentInstaller.Install(script, moviepath);
installing=0;
if(windowgone==1)
return;
if(is_in_page==1)
window.focus();}
if(ret !=0){
if(ret==-1019){
if(typeof(OnMovieInstallCancel)=="function"){
OnMovieInstallCancel();}}
else{
if(auto_playing_banner==1){
IE_SetRegularBanner();}
else{
alert("Error "+ret+" (2) during installation of the 3D animation");
if(is_in_page==1)
IE_SetInviteBanner();}
if(typeof(OnMovieInstallError)=="function"){
OnMovieInstallError();}}
installing=0;
return;}
installing=0;
if(typeof(OnMovieInstallEnd)=="function"){
OnMovieInstallEnd();}
if(is_in_page==1){
if(install_only==0)
IE_SetPlayer();}
else{
TriggerStat(moviestat);
if(typeof(OnMovieStart)=="function"){
OnMovieStart();}}}
function OpenHelp(is_in_page){
if(closehelp_timer !=""){
clearTimeout(closehelp_timer);
closehelp_timer="";
closehelp_counter=0;}
var width=462-12;
var height=331-31;
var left=10;
var top=10;
var features="width="+width+",height="+height+",screenX="+left+" ,screenY="+top+",left="+left+",top="+top+",alwaysRaised=yes, menubar=no,status=no,personalbar=no,resizable=yes,scrollbars =no,titlebar=no,toolbar=no";
helpwindow=open(ie_helpurl+"?is_in_page="+is_in_page, "helpWindow", features, "");}
function CloseHelp(){
if(helpwindow=="")
return;
if(helpwindow.closed==false){
closehelp_counter=0;
helpwindow.close();
helpwindow="";}
else if(closehelp_counter < 10){
++closehelp_counter;
closehelp_timer=setTimeout("CloseHelp()", 1000);}
else
closehelp_counter=0;}
function OnUnload(){
windowgone=1;
if(timer !="")
clearTimeout(timer);
if(closehelp_timer !="")
clearTimeout(closehelp_timer);
if(helpwindow !="" && helpwindow.closed==false)
helpwindow.close();
if(player_ready==1 && CheckPlayerObject(currentPlayer)==1){
currentPlayer.ForwardScene();
currentPlayer.Stop();
currentPlayer.UninitialiseCtrl();}
if(auto_b3dclick==1){
auto_b3dclick=0;
HandleClick(b3dclick);}}
var replay=0;
var auto_b3dclick;
function IE_SetRegularBanner(){
player_div.style.display="none";
loading_div.style.display="none";
invite_div.style.display="none";
if(clickurl !="")
regular_div.innerHTML='<A HREF="javascript:RegularClick()"><img name="regular_image" src="'+regimg+'" width='+width+' height='+height+' border=0 alt="'+regtext+'"></A>';
else
regular_div.innerHTML='<img name="regular_image" src="'+regimg+'" width='+width+' height='+height+' border=0 alt="'+regtext+'">';
regular_div.style.display="block";}
function IE_SetInviteBanner(){
player_div.style.display="none";
loading_div.style.display="none";
regular_div.style.display="none";
invite_div.style.display="block";}
function IE_SetLoadingBanner(){
player_div.style.display="none";
invite_div.style.display="none";
regular_div.style.display="none";
loading_div.innerHTML=
'<'+'A STYLE="CURSOR:hand" OnClick="LoadingClick(); return false;">'+
'<'+'img name=loading_image src="'+loadimg+'" width='+width+' height='+height+' border=0 alt="'+regtext+'">'+
'<'+'/A>';
loading_div.style.display="block";}
function OnInviteAccept(no_replay){
if(no_replay !=1 && replay==1)
IE_OnReplayClick();
else if(INSOK==1 && DPOK==1){
IE_SetLoadingBanner();
IE_RunInstaller(1 );
if(autoplay==0)
auto_b3dclick=1;}
else{
TriggerStat(invaccept);
if(autoinstall==0)
auto_b3dclick=1;
IE_SetLoadingBanner();
IE_GetInstaller(1 );}}
function IE_SetPlayer(){
if(IsActiveXEnabled()==0){
alert('Please enable ActiveX controls in your Internet Explorer security\nsettings to be able to view this content.');
IE_SetInviteBanner();
return;}
loading_div.style.display='none';
invite_div.style.display='none';
var theHtml='';
if(html_left_url !=''){
theHtml='<'+'iframe src="'+html_left_url+
'" width='+html_left_width+' height='+html_left_height+
' frameborder=0 scrolling=no><'+'/iframe>';}
theHtml+=
html_left_content+
'<'+'OBJECT TYPE="application/x-oleobject" ID="b3dPlayer1" NAME="b3dPlayer1" WIDTH='+player_width+' HEIGHT='+player_height+' CLASSID="'+dpclassid+'" CODEBASE="'+dpcodebase+'" STANDBY="'+standby+'" onreadystatechange="IE_OnPlayerReady()" onFocus="OnFocus()"><'+'/OBJECT>'+
'<'+'SCRIPT LANGUAGE="JavaScript" FOR="b3dPlayer1" EVENT="MovieStopped()">'+
'OnStop();'+
'<'+'/SCRIPT>'+
'<'+'SCRIPT LANGUAGE="JavaScript" FOR="b3dPlayer1" EVENT="ShowURL(url)">'+
'OnShowURL(url);'+
'<'+'/SCRIPT>'+
'<'+'SCRIPT LANGUAGE="JavaScript" FOR="b3dPlayer1" EVENT="Broadcast(action)">'+
'OnBroadcast(action);'+
'<'+'/SCRIPT>'+
html_right_content;
if(html_right_url !=''){
theHtml+='<'+'iframe src="'+html_right_url+
'" width='+html_right_width+' height='+html_right_height+
' frameborder=0 scrolling=no><'+'/iframe>';}
player_div.innerHTML=theHtml;
loading_div.style.display='none';
invite_div.style.display='none';
player_div.style.display='block';}
function IE_OnPlayerReady(){
if(CheckPlayerObject(window.event.srcElement)==0){
var msg="Sorry, an error has occurred while trying to install the b3d Projector.";
if(navigator.appVersion.indexOf("Windows NT") >=0)
msg+="\n\nIt could be because you do not have Administrator access to your PC.";
alert(msg);
IE_SetInviteBanner();
return;}
currentPlayer=window.event.srcElement;
DPOK=1;
if(typeof(OnInstallEnd)=="function"){
OnInstallEnd();}
player_ready=1;
setTimeout("IE_PlayMovie()", 1);}
var IE_PlayMovie_counter1=0;
function IE_PlayMovie(){
if(currentPlayer.readyState !=4){
if(auto_playing_banner==1){
IE_SetRegularBanner();}
else{
alert("Player not ready when loading the 3D animation");
IE_SetInviteBanner();}
return;}
if(currentPlayer.IsReady()==0){
if(IE_PlayMovie_counter1 > 16){
if(auto_playing_banner==1){
IE_SetRegularBanner();}
else{
alert("Player not ready when loading the 3D animation");
IE_SetInviteBanner();}
IE_PlayMovie_counter1=0;}
else{
timer=setTimeout("IE_PlayMovie()", 500);
IE_PlayMovie_counter1++;}
return;}
IE_PlayMovie_counter1=0;
currentPlayer.InitialiseCtrl();
currentPlayer.SetAspectRatio(b3dratio);
SetShowURL(currentPlayer);
var ret;
if((ret=currentPlayer.LoadMovie(b3dname, 0)) !=0){
if(install_needed==1){
IE_SetInviteBanner();
alert("Upgrade completed. Please close all Internet Explorer windows\nand restart the browser before returning to this page.");}
else{
if(auto_playing_banner==1){
IE_SetRegularBanner();}
else{
alert("Failed to load 3D animation");
IE_SetInviteBanner();}}
return;}
loading_div.style.display="none";
invite_div.style.display="none";
regular_div.style.display="none";
player_div.style.display="block";
currentPlayer.Play();
if(typeof(OnMovieStart)=="function"){
OnMovieStart();}
if(replay==0)
TriggerStat(b3dimp);}
function OnStop(){
if(typeof(OnMovieStop)=="function"){
setTimeout("OnMovieStop()", 3);}
if(auto_b3dclick==1){
setTimeout("HandleClick('"+b3dclick+"')", 4);
auto_b3dclick=0;}
if(b3dloop==1){
setTimeout("currentPlayer.Play()", 5);
if(typeof(OnMovieStart)=="function"){
setTimeout("OnMovieStart()", 6);}}
else if(b3dloop==0){
currentPlayer.UninitialiseCtrl();
setTimeout("IE_SetReplayBanner()", 6);}}
function IE_SetReplayBanner(){
replay=1;
IE_SetInviteBanner();}
function IE_OnReplayClick(){
timer=setTimeout("IE_SetPlayer()", 100);
auto_b3dclick=1;}
function OnShowURL(url){
if(url=="clickpending")
auto_b3dclick=1;
else{
setTimeout("HandleClick('"+b3dclick+"')", 2);
auto_b3dclick=0;}
if(typeof(OnMovieShowURL)=="function"){
setTimeout("OnMovieShowURL('"+url+"')", 4);}}
function OnBroadcast(action){
if(typeof(OnMovieBroadcast)=="function"){
setTimeout("OnMovieBroadcast('"+action+"')", 3);}}
function OnFocus(){
if(typeof(OnMovieFocus)=="function"){
setTimeout("OnMovieFocus()", 3);}}
function HandleClick(a){
TriggerStat(a);
if (clickurl !=""){
if(clickurl.indexOf("javascript:") >=0)
eval(clickurl);
else
window.open(clickurl, "_blank");}}
function InviteClick(){
HandleClick(invclick);}
function LoadingClick(){
HandleClick(loadclick);}
function ViewerInit(){
CheckVar('skincab', srcserver+"/bde/common/bdeviewer/skin4.cab");
CheckVar('skinfolder', "/skin3");
CheckVar('skinini', "config2.ini");
CheckVar('skinsize', 3709);
CheckVar('skinflag', 1);
CheckVar('bannercab', "");
CheckVar('bannerfolder', "");
CheckVar('bannerpage', "");
CheckVar('bannersize', 0);
CheckVar('bannerrefresh', 0);
CheckVar('movieurl', adserver+"/bde/channels/end.asp");
CheckVar('moviescript_viewer', "");
CheckVar('moviestat', "");
CheckVar('moredesc', "Brilliant Digital Entertainment");
CheckVar('moresubdesc', "Multipath Home Page");
CheckVar('moreurl', adserver+"/bde/channels/end.asp?partner="+location.hostname+"&movie=home");
CheckVar('morename', "homepage");
CheckVar('partner', location.hostname);
CheckVar('partnerscript_viewer', srcserver+"/bde/common/partner.cab");
CheckVar('regchannel', "");
CheckVar('desktopicon', "b3d Projector");}
var movieshortname="";
function BDE_setParams(){
partnerparam=movieshortname+","+partner+","+bannercab+","+ba nnerfolder+","+
bannerpage+","+bannersize+","+bannerrefresh+","+skincab+","+
skinfolder+","+skinini+","+skinsize+","+skinflag+","+desktop icon+","+
movieurl+","+moredesc+","+moresubdesc+","+moreurl+","+regcha nnel+","+
morename;
movieparam=regchannel+","+movieshortname;
if(statserver !=""){
moviestat=statserver+"/bde/stats/movie/movie.asp?site="+sitecode+
"&movie="+movieshortname+"&event=play";}}
function PlayMovie_28k56k( b3dmoviepath, moviename, size28k, size56k, compressed,
registerstat, playinviewer, subdesc){
if (b3dmoviepath !="" && b3dmoviepath.indexOf("http://")==0)
moviepath=b3dmoviepath;
else
moviepath=adserver+b3dmoviepath;
moviescript_viewer=srcserver+"/bde/javascripts2/scripts/b3dmovie_28k56k.cab";
movieshortname="";
BDE_setParams();
movieparam=partner+","+moviename+","+size28k+","+size56k+"," +
compressed+","+registerstat+","+playinviewer+","+subdesc;
BDE_PlayMovie();}
function PlayMovieb3d( b3dmoviepath, moviename, size, compressed, registerstat,
playinviewer, subdesc){
if (b3dmoviepath !="" && b3dmoviepath.indexOf("http://")==0)
moviepath=b3dmoviepath;
else
moviepath=adserver+b3dmoviepath;
moviescript_viewer=srcserver+"/bde/javascripts2/scripts/b3dmovie.cab";
movieshortname="";
BDE_setParams();
movieparam=partner+","+moviename+","+size+","+registerstat+" ,"+
compressed+","+playinviewer+","+subdesc;
BDE_PlayMovie();}
function PlayMovie(moviecab,thismovie){
if (moviecab !="" && moviecab.indexOf("http://")==0)
moviescript_viewer=moviecab;
else
moviescript_viewer=adserver+moviecab;
movieshortname=thismovie;
BDE_setParams();
BDE_PlayMovie();}
function PlayScript(moviecab,thismovie){
if (moviecab !="" && moviecab.indexOf("http://")==0)
partnerscript_viewer=moviecab;
else
partnerscript_viewer=adserver+moviecab;
partnerparam=thismovie;
moviescript_viewer="";
movieparam="";
BDE_PlayMovie();}
function BDE_PlayMovie(){
if(IEOK==1){
if(INSOK==1){
if(viewer_installed==1){
player_version=1;
IE_RunInstaller(0 );}
else
IE_RunInstaller(0 );}
else
IE_GetInstaller(0 );}
else
UnsupportedBrowser();}
document.write('<'+'script language=vbscript>\n');
document.write(' function CheckInstallerObject(obj)\n');
document.write(' on error resume next\n');
document.write(' obj.SetVisibility(installer_visibility)\n');
document.write(' if err.number=0 then\n');
document.write(' CheckInstallerObject=1\n');
document.write(' else\n');
document.write(' CheckInstallerObject=0\n');
document.write(' end if\n');
document.write(' end function\n');
document.write('\n');
document.write(' function CallSetWindowTimer(obj)\n');
document.write(' on error resume next\n');
document.write(' obj.SetWindowTimer(3)\n');
document.write(' end function\n');
document.write('\n');
document.write(' function CheckPlayerObject(obj)\n');
document.write(' on error resume next\n');
document.write(' Dim ver\n');
document.write(' ver=obj.GetVersion()\n');
document.write(' if err.number=0 and ver <> "" then\n');
document.write(' CheckPlayerObject=1\n');
document.write(' else\n');
document.write(' CheckPlayerObject=0\n');
document.write(' end if\n');
document.write(' end function\n');
document.write('\n');
document.write(' function IsActiveXEnabled()\n');
document.write(' on error resume next\n');
document.write(' dim obj\n');
document.write(' set obj=CreateObject("Microsoft.ActiveXPlugin.1")\n');
document.write(' if IsObject(obj) then\n');
document.write(' IsActiveXEnabled=1\n');
document.write(' else\n');
document.write(' IsActiveXEnabled=0\n');
document.write(' end if\n');
document.write(' end function\n');
document.write('\n');
document.write(' function SetShowURL(obj)\n');
document.write(' on error resume next\n');
document.write(' obj.ShowURL=0\n');
document.write(' end function\n');
document.write('<'+'/script>\n');
CheckVar('instance_running', 0);
if(instance_running==1){
SetRegularBanner();}
else{
instance_running=1;
Init();
ViewerInit();
Main();}
butterfly_kisses is offline   Reply With Quote
Old 23-05-02, 07:31 PM   #3
spstn
No Nonsense Nonsense
 
Join Date: May 2002
Location: Miami
Posts: 382
Default

I know there are programs that extract url links from any document, so my question is: Could it be possible to write all of those script urls to the Host file including the 127.0.0.1 in front of them forcing them to time out?
Will this be enough to render the script/s disabled?
And lastly will this affect KazaA Lite 1.7 when eventually comes out?

Last edited by spstn : 23-05-02 at 07:46 PM.
spstn is offline   Reply With Quote
Old 23-05-02, 09:22 PM   #4
butterfly_kisses
Napsterite
 
butterfly_kisses's Avatar
 
Join Date: Apr 2002
Posts: 138
Big Laugh

the short an easiest answer for you spstn is to do what i do and just put desktop.kazaa.com and www.kazaa.com and www.brilliantdigital.com in the REstricted Zones of your internet explorer and yes

if you wanted to really eliminate it you could

put them in your hosts file formated like this:

127.0.01 desktop.kazaa.com

or even use

0.0.0.0 www.kazaa.com

and or

127.0.0.1 www.brilliantdigital.com

or using the all 0's the all Zero's tells your operating system that it is a phoney address and not to even bother trying to resolve the name to an address.

The 127.0.0.1 trick will take about 3secs approximately meaning ti will try to resolve it and cause a slight delay in your webpage loading as it trys to look for something which it won't find on your own computer.

So in some cases its best to use the 0.0.0.0 formatting

and remember please that this type of formatting shown

below in quotes WILL NOT WORK
Quote:
213.248.107.10 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;127.0.0.1
because the 213.248.107.10 is a dotted-decimal ip address which means that your browser will not have to look up a translation for it in your hosts file as it is already understood by the computer as a valid internet address...

so it will not block a website if entered in the format shown above in the quotes.
butterfly_kisses is offline   Reply With Quote
Old 24-05-02, 02:15 AM   #5
spstn
No Nonsense Nonsense
 
Join Date: May 2002
Location: Miami
Posts: 382
Default

I was aware of the dot-dec-ip address immunity. That's the reason why some pesky sites name their pages with them.
The 0.0.0.0 doesn't work for me.
These have been residing in my host file for some time now to keep clean KazaA Lite:

127.0.0.1 www.brilliantdigital.com #.url
127.0.0.1 desktop.kazaa.com #.url
127.0.0.1 shop.kazaa.com #.url
127.0.0.1 www.bonzi.com #.url
127.0.0.1 www.altnetp2p.com #.url
127.0.0.1 alpha.kazaa.com #.url
127.0.0.1 www.b3d.coml #.url

Not ONE problem there (yet, fingers crossed).
There are several lists of offending sites with hundreds of urls also residing side by side.
I use the restricted sites option for transitory "killing" or rapid changing offending urls, like the buggy ad that used to freeze the old Morpheus.
For heavy use of the restricted sites there is a shell extension that if installed automates the process with a right click and the option directly in the IE context menu.
spstn is offline   Reply With Quote
Old 24-05-02, 08:28 AM   #6
butterfly_kisses
Napsterite
 
butterfly_kisses's Avatar
 
Join Date: Apr 2002
Posts: 138
Big Laugh

Quote:
For heavy use of the restricted sites there is a shell extension that if installed automates the process with a right click and the option directly in the IE context menu.
I love right-clicking and shell extensions would you please provide details on how this is done?

p.s.

This is a little off topic but i've always thought it was possible to add the right-clicking option for Indy's Sig2dat program to any file on your pc....do you know how to do this? would you be interested in figuring it out?

thanks,

-harby
butterfly_kisses is offline   Reply With Quote
Old 24-05-02, 09:26 PM   #7
spstn
No Nonsense Nonsense
 
Join Date: May 2002
Location: Miami
Posts: 382
Default

These links (and many more inside) explain cookies & security zones in IE 6.0 (The reality and not MS fiction):

http://www.staff.uiuc.edu/~ehowes/priv-pol.htm#ie6-p3p
http://www.staff.uiuc.edu/~ehowes/resource5.htm
http://anon.inf.tu-dresden.de/ie6_privacy_en.html

I found this info in the first one:

"While cookies can be easily blocked by adding web sites and domains to the Restricted zone, IE 6.0 provides no quick, convenient way to add sites to Restricted zone. Users must open the Internet Options box, navigate to the Security tab, and add URL's manually. Interestingly, you can download an add-on utility from Microsoft that will put "Add to Trusted Zone" and "Add to Restricted Zone" options on the Tools menu, but those options ought to be in the default interface -- without them, the Security zones are a pain to use".

The aforementioned info is about a quarter down in the navigation bar.
The name of the tool is "Microsoft Internet Explorer 5 Power Tweaks Web Accessories" and this is the link where to find it:

http://www.microsoft.com/windows/ie/...ss/default.asp

Maybe it's not really a right click shell ext but sure it looks much easier than navigating int-options.
I didn't install it because 1) I don't use rest-sites that much, & 2) it's an add-on for IE 5.5. However it should work fine. I installed 6.0 over 5.5 and it kept all the tools from 5.5 without any conflict.
I have the protection of GoBack, however if you plan to install it, as a precaution set a restore point in Sys-Restore. Close all apps, WAIT 10 secs for the Sys to stabilize and then set the restore point. The reason that Sys-Rest fails sometimes is because people set rest-points with 15 apps running at the same time. That's crazy even for XP (I'm using 98SE, though so stable I could call it 98XP).

The shell-ext part: I'm no programmer so no luck there, however if you have any installed already, go to: c\win\sys\shellext or wherever it is in Xp and you should find: A): a dll with the instructions for the ext to run, and B): an INF file with setup instructions. Usually you unzip both of them and then right click the INF file and choose "install". The inf file register the dll with win, associates the ext with Explorer, writes entries in the registry, and I believe also contains uninstall info. You can investigate all this yourself as long as you have any shellext already installed. So there you have it, just a dll & inf file away, and I'm truly sorry I can't help with this one.


Last edited by spstn : 24-05-02 at 11:21 PM.
spstn is offline   Reply With Quote
Old 24-05-02, 09:45 PM   #8
butterfly_kisses
Napsterite
 
butterfly_kisses's Avatar
 
Join Date: Apr 2002
Posts: 138
Cool

Thanks, once again spstn your posts are very helpful

you truly are an asset to this community.

Its nice to get reliable and trustworthy information

from a great source such as yourself.



butterfly_kisses is offline   Reply With Quote
Old 24-05-02, 11:22 PM   #9
spstn
No Nonsense Nonsense
 
Join Date: May 2002
Location: Miami
Posts: 382
Default

Addendum:

I installed Power Tweaks and is working fine, no conflicts with IE 6.0. While here, at Napsterites, I clicked Tools and then selected "Add to trusted zone" , later verifying that the url was really there, two lightning fast steps after. The options have letters underlined, which means keyboard shortcuts = even faster.
But I still recommend the array approach: Host file trick, restricted sites, a cookie manager, a pop-up killer that doesn't kill your wheel mouse, and modifying the security zones as suggested in the previous links provided, all working together. Healthy paranoia, yeah, but oxymoron no more.

Last edited by spstn : 25-05-02 at 12:01 AM.
spstn is offline   Reply With Quote
Old 26-05-02, 01:19 AM   #10
Wanker
Registered User
 
Join Date: May 2002
Posts: 9
Default Re: Look what's hidden in the javascript on the CURRENT kazaa homepage

Quote:
Originally posted by Harbynger
below is the contents of shared.js which is downloaded and executed by your webrowser (if your security settings for the kazaa homepage do not prohibit this from happening)

privacy policy has been changed.....this just shows more of their deceptiveness some of what is said there is an outright lie...for instance the script above.
Can you see anything that violates privacy in these scripts? I went through them and all I see is ad showing code that chooses between multiple alternatives: 3D ad, regular image ad, etc
Wanker is offline   Reply With Quote
Old 27-05-02, 02:02 PM   #11
butterfly_kisses
Napsterite
 
butterfly_kisses's Avatar
 
Join Date: Apr 2002
Posts: 138
Screwy

Quote:
originally posted by the aptly named Wanker

Can you see anything that violates privacy in these scripts? I went through them and all I see is ad showing code that chooses between multiple alternatives: 3D ad, regular image ad, etc
hi, wanker...apparently you don't understand what a CLSID value is or a VBScript code means...so i will explain to you a little more thoroughly but not too throughly as to be exorbant.

okay here is the deal in what i find wrong in the above....its been a condition for kazaa to stay on download.com that they must have a better disclosure policy concerning bDE and altnet.


Bdeprojector is not simply just an ad-serving mechanism or device it is one of the core components of Altnet which if you look around and do a search for on Cnet.com news articles you will find that bdeprojector and altnet will install on your computer capabilities which allow others to use your resources.

Here is what i find wrong...Currently with version 1.7 of kazaa (a GREAT, FANTASTIC version by the way) is that BDE is OPTIONAL however what strikes me as violating your privacy is that when you use the kazaa program it defaultly opens to the kazaa homepage where the above scripts check for the prescence of BDE projector on your machine and if your security settings in Microsoft Internet Explorer are not set up to disable the execution of scripts then bDe is installed surreptitiously (which means "without you knowledge") almost automatically.

For what a CLSID value is search for it on Google for an example of CLSID in action try deleting your REcycle Bin from your desktop or renaming it...the Operating system won't let you..why is this? because of a CLSID (a numerical value attached to the REcycle bin) which won't allow you to delete it and in some cases will recreate whatever you delete without first deleting the CLSID value associated with the program/shortcut/folder/etcetera you
want to remove.

Hope this clarifies things you a little better.

-Harbynger
butterfly_kisses is offline   Reply With Quote
Old 27-05-02, 05:10 PM   #12
Wanker
Registered User
 
Join Date: May 2002
Posts: 9
Default

Quote:
Originally posted by Harbynger

okay here is the deal in what i find wrong in the above....its been a condition for kazaa to stay on download.com that they must have a better disclosure policy concerning bDE and altnet.
Apparently current explanation is good enough for download.com

Quote:

Here is what i find wrong...Currently with version 1.7 of kazaa (a GREAT, FANTASTIC version by the way) is that BDE is OPTIONAL however what strikes me as violating your privacy is that when you use the kazaa program it defaultly opens to the kazaa homepage where the above scripts check for the prescence of BDE projector on your machine and if your security settings in Microsoft Internet Explorer are not set up to disable the execution of scripts then bDe is installed surreptitiously (which means "without you knowledge") almost automatically.
Geez, care to enlighten us how else to display 3D ads BDE projector is meant to disply? Of course script needs to check if system is capable to display 3D ad and feed it to projector. And for your information, this happends on every other site on the net. Download.com you mentioned earlier uses similar script to check if you have Macromedia Flash installed. It is absolutely standard practice and doesn't violate your privacy in any way

Quote:

For what a CLSID value is search for it on Google for an exampl
As an experienced web application programmer I'm familliar with CLSID URL sceme and in current case it is used to feed ad to the projector.

To me it seems that you don't undersand much about things you are talking about, do you?
Wanker is offline   Reply With Quote
Old 27-05-02, 06:24 PM   #13
HaXor
Convict: 1337
 
HaXor's Avatar
 
Join Date: Apr 2002
Location: Lost in my own little world
Posts: 24
Default

To me "Wanker" (thats just what you are), it seems that your the one that does not know what your talking about.

While harby spends time and effort to look into/prove what he is talking about, you just post on the fly comments without any proof.

Some of us take very seriously subjects that are posted here, and admitidly "everyone has the right to speak there own mind"

But some of your comments are totaly uncalled for. If you can back up what you say then please post. If you cant then please tone down some of your comments. I also think a change of name would be in order, if you do want people to take you seriously.

I feel my name has also stoped people taking me seriously. Maybe it can be said for me too.

__________________
No matter where you live, no matter what you do, some of these things are always true.
HaXor is offline   Reply With Quote
Old 27-05-02, 07:12 PM   #14
butterfly_kisses
Napsterite
 
butterfly_kisses's Avatar
 
Join Date: Apr 2002
Posts: 138
Default

lol it's alright h@><or i intentionally condenscended to the illustrious but not overly exburent "wanker" to get a rise out of him which apparently my reply to him did.

i have a sneaking suspicion that "wanker"=KevenBurmeister or
the webmaster for the KazaA homepage

hey wanker if you truly want to disguise your activities i can show you how to write indecipherable javascript with sourc that cannot be viewed or edited....but for that you must send me $25.00 no C.O.D's sorry

hehe

lol@wanker
butterfly_kisses is offline   Reply With Quote
Old 27-05-02, 09:07 PM   #15
spstn
No Nonsense Nonsense
 
Join Date: May 2002
Location: Miami
Posts: 382
Default Chillin' out

When able minded people descend to confrontation nobody wins. Ignoring gratuitous, uncalled-for agression usually does the trick. In a nutshell: Please consider taking five and chillin' out.
spstn is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump






All times are GMT -6. The time now is 01:26 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© www.p2p-zone.com - Napsterites - 2000 - 2024 (Contact grm1@iinet.net.au for all admin enquiries)