btw skripta se nalazi u https://investment.datek.com
Code:
<!--
INVSTMNT v 2.0
07.25.2000 2.0 TA Streamlined javascript and modified stylesheet for options
11.14.2000 2.1 TA Added popLevelII for Datek Direct
11.21.2000 2.2 MF Added screen coordinates to variable "features" for pop-ups'
12.06.2000 2.3 TA Added USERINFO tag
-->
<HTML>
<HEAD>
<TITLE>Datek Online Investment Site</TITLE>
<SCRIPT LANGUAGE="javascript">
<!--
//browser sniffing
var agt=navigator.userAgent.toLowerCase();
var is_major = parseInt(navigator.appVersion); var is_minor = parseFloat(navigator.appVersion);
var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
&& (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
&& (agt.indexOf('webtv')==-1));
var is_ie = (agt.indexOf("msie") != -1);
var is_nav4up = (is_nav && (is_major >= 4)); var is_ie4up = (is_ie && (is_major >= 4));
var is_webtv = (agt.indexOf("webtv") != -1); var isIt4 = (is_nav4up||is_ie4up||is_webtv);
//end browser sniffing
//kick out non-DHTML MS and NN browsers
if(isIt4==false) { self.document.location = "/redirect.htm"; }
//variables for microcharts
var time = "1hr"; var freq = 9;
//set the domOvj variable for IE
var domObj = ""; if (is_ie4up) domObj = "window.";
var userInfo = new Array();
userInfo[0]="VUKOV19862";
userInfo[1]="762778";
userInfo[2]="2637";
userInfo[3]="0";
userInfo[4]="0";
userInfo[5]="0";
userInfo[6]="1";
userInfo[7]="0";
userInfo[8]="0";
userInfo[9]="1";
userInfo["datekDirectLevel"]="1";
userInfo["levelIIFeePaid"]="1";
userInfo["IRAAccount"]="0";
userInfo["professionalUser"]="1";
userInfo["serviceLevel"]=" ";
userInfo["isItReal"]="20030507";
//example:
//userInfo[0] = "DEMO "
//handle Netscape resizing
NS4 = document.layers;
if (NS4) { origWidth = innerWidth; origHeight = innerHeight; }
function reDo() { if (innerWidth != origWidth || innerHeight != origHeight) location.reload(); }
if (NS4) onresize = reDo;
//end NS resize fix
//The window opener for all help windows
var helpWin = null;
function opensWindow(url, name, w, h) {
//make sure the window is closed
if (!helpWin || helpWin.closed) {
//Hook myself up with the size variables
var w0 = parseInt(w); var h0 = parseInt(h);
//if screen resolution is more than 800x600, shrink the window
if (h0 > 500 && eval(domObj + "screen.height") < 700) { h0 = h0*.80; }
//set up the window property variables for interpolation
var features = "width="+w0+",height="+h0+",directories=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,resizable=yes,top=0,left=0";
//open the window already
helpWin = window.open(url, name, features);
} else helpWin.document.location = url;
}
function setStatus(msg) { window.status = msg; return true; }
function popLevelII() {
consoleWindow=window.open("/streamer/levelii-login.htm","LevelIIConsole","width=480,height=640,toolbar=0,location=0,menubar=0,resizable=0,titlebar=0,directories=0,status=1,scrollbars=1"); if (navigator.appName=="Netscape") consoleWindow.focus();
}
//css-variable
var cssvar = "";
cssvar="\n<STYLE type=\"text/css\">TD {font-family: Arial, Helvetica; font-size:10pt;}TD.eight {font-size:8pt;}TD.nine {font-size:9pt;}TD.title {font-family:\"Arial Black\"; color:#ffffff;}TD.twelve {font-size:12pt;}TD.sub {color:#ffffff; font-weight:700;}#u {color:#009900;}#d {color:#CC0000;}#streamer {color:#336699;}#help {font-size:11pt; font-family: Arial, Helvetica; color:#ffffcc;}</style>";
var colorVar = ""; if (is_nav) colorVar = screen.pixelDepth; if (is_ie) colorVar = screen.colorDepth;
var csscolor="";
//newschool color palette for video displays that can handle it
if (colorVar&&colorVar>8) {
csscolor = "\n<STYLE type=\"text/css\">#bidask {color:#999999;}#rowa {background:#cceecc; height:22px;}#rowb {background:#eeeecc; height:22px;}#indices {background:#eeeeee;}.row0 {background:#cceecc; height:22px;}.row1 {background:#eeeecc; height:22px;}#msg {background:#eeeecc; height:22px;}TD.atab {background:#cccccc; height:22px;}TD.itab {background:#eeeeee; height:22px;}.money {background:#eeffee}</style>"
}
//oldschool
else csscolor = "\n<STYLE type=\"text/css\">#bidask {color:#999999;}#rowa {background:#ccffcc; height:22px;}#rowb {background:#ffffcc; height:22px;}#indices {background:#cccccc;}.row0 {background:#ccffcc; height:22px;}.row1 {background:#ffffcc; height:22px;}#msg {background:#ffffcc; height:22px;}TD.atab {background:#cccccc; height:22px;}TD.itab {background:#ffffff; height:22px;}.money {background:#ccffcc}</style>";
//-->
</SCRIPT>
</HEAD>
<!-- frames -->
<FRAMESET ROWS="72,*" FRAMESPACING="0" BORDER="0" FRAMEBORDER="no">
<FRAME NAME="topnav" SRC="/top/top.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEBORDER="no">
<FRAME NAME="body" SRC="/dummy.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="auto" FRAMEBORDER="no">
</FRAMESET>
</HTML>
<!--
INVSTMNT v 2.0
07.25.2000 2.0 TA Streamlined javascript and modified stylesheet for options
11.14.2000 2.1 TA Added popLevelII for Datek Direct
11.21.2000 2.2 MF Added screen coordinates to variable "features" for pop-ups'
12.06.2000 2.3 TA Added USERINFO tag
-->
<HTML>
<HEAD>
<TITLE>Datek Online Investment Site</TITLE>
<SCRIPT LANGUAGE="javascript">
<!--
//browser sniffing
var agt=navigator.userAgent.toLowerCase();
var is_major = parseInt(navigator.appVersion); var is_minor = parseFloat(navigator.appVersion);
var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
&& (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
&& (agt.indexOf('webtv')==-1));
var is_ie = (agt.indexOf("msie") != -1);
var is_nav4up = (is_nav && (is_major >= 4)); var is_ie4up = (is_ie && (is_major >= 4));
var is_webtv = (agt.indexOf("webtv") != -1); var isIt4 = (is_nav4up||is_ie4up||is_webtv);
//end browser sniffing
//kick out non-DHTML MS and NN browsers
if(isIt4==false) { self.document.location = "/redirect.htm"; }
//variables for microcharts
var time = "1hr"; var freq = 9;
//set the domOvj variable for IE
var domObj = ""; if (is_ie4up) domObj = "window.";
var userInfo = new Array();
userInfo[0]="VUKOV19862";
userInfo[1]="762778";
userInfo[2]="2637";
userInfo[3]="0";
userInfo[4]="0";
userInfo[5]="0";
userInfo[6]="1";
userInfo[7]="0";
userInfo[8]="0";
userInfo[9]="1";
userInfo["datekDirectLevel"]="1";
userInfo["levelIIFeePaid"]="1";
userInfo["IRAAccount"]="0";
userInfo["professionalUser"]="1";
userInfo["serviceLevel"]=" ";
userInfo["isItReal"]="20030507";
//example:
//userInfo[0] = "DEMO "
//handle Netscape resizing
NS4 = document.layers;
if (NS4) { origWidth = innerWidth; origHeight = innerHeight; }
function reDo() { if (innerWidth != origWidth || innerHeight != origHeight) location.reload(); }
if (NS4) onresize = reDo;
//end NS resize fix
//The window opener for all help windows
var helpWin = null;
function opensWindow(url, name, w, h) {
//make sure the window is closed
if (!helpWin || helpWin.closed) {
//Hook myself up with the size variables
var w0 = parseInt(w); var h0 = parseInt(h);
//if screen resolution is more than 800x600, shrink the window
if (h0 > 500 && eval(domObj + "screen.height") < 700) { h0 = h0*.80; }
//set up the window property variables for interpolation
var features = "width="+w0+",height="+h0+",directories=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,resizable=yes,top=0,left=0";
//open the window already
helpWin = window.open(url, name, features);
} else helpWin.document.location = url;
}
function setStatus(msg) { window.status = msg; return true; }
function popLevelII() {
consoleWindow=window.open("/streamer/levelii-login.htm","LevelIIConsole","width=480,height=640,toolbar=0,location=0,menubar=0,resizable=0,titlebar=0,directories=0,status=1,scrollbars=1"); if (navigator.appName=="Netscape") consoleWindow.focus();
}
//css-variable
var cssvar = "";
cssvar="\n<STYLE type=\"text/css\">TD {font-family: Arial, Helvetica; font-size:10pt;}TD.eight {font-size:8pt;}TD.nine {font-size:9pt;}TD.title {font-family:\"Arial Black\"; color:#ffffff;}TD.twelve {font-size:12pt;}TD.sub {color:#ffffff; font-weight:700;}#u {color:#009900;}#d {color:#CC0000;}#streamer {color:#336699;}#help {font-size:11pt; font-family: Arial, Helvetica; color:#ffffcc;}</style>";
var colorVar = ""; if (is_nav) colorVar = screen.pixelDepth; if (is_ie) colorVar = screen.colorDepth;
var csscolor="";
//newschool color palette for video displays that can handle it
if (colorVar&&colorVar>8) {
csscolor = "\n<STYLE type=\"text/css\">#bidask {color:#999999;}#rowa {background:#cceecc; height:22px;}#rowb {background:#eeeecc; height:22px;}#indices {background:#eeeeee;}.row0 {background:#cceecc; height:22px;}.row1 {background:#eeeecc; height:22px;}#msg {background:#eeeecc; height:22px;}TD.atab {background:#cccccc; height:22px;}TD.itab {background:#eeeeee; height:22px;}.money {background:#eeffee}</style>"
}
//oldschool
else csscolor = "\n<STYLE type=\"text/css\">#bidask {color:#999999;}#rowa {background:#ccffcc; height:22px;}#rowb {background:#ffffcc; height:22px;}#indices {background:#cccccc;}.row0 {background:#ccffcc; height:22px;}.row1 {background:#ffffcc; height:22px;}#msg {background:#ffffcc; height:22px;}TD.atab {background:#cccccc; height:22px;}TD.itab {background:#ffffff; height:22px;}.money {background:#ccffcc}</style>";
//-->
</SCRIPT>
</HEAD>
<!-- frames -->
<FRAMESET ROWS="72,*" FRAMESPACING="0" BORDER="0" FRAMEBORDER="no">
<FRAME NAME="topnav" SRC="/top/top.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="no" FRAMEBORDER="no">
<FRAME NAME="body" SRC="/dummy.htm" MARGINWIDTH="0" MARGINHEIGHT="0" SCROLLING="auto" FRAMEBORDER="no">
</FRAMESET>
</HTML>