ok.. izolovao sam direktno kod koji vodi do trading centra...
ali jos uvek nemogu da lociram tacnu adresu HTML fajla.. znaci treba mi tacan podataj, sta ova strana pozvia, kada se na drop down meniju klikne na Quotes & Trades opciju.. koja ima source:
Code:
<OPTION value="equityCenter(parent.userInfo['datekDirectLevel'])">Quotes & Trades
citav source strane je:
Code:
<!--
Top.htm V 3.4.1
***** SEE VSS FOR PREVIOUS VERSIONING HISTORY ******
02.22.2001 3.2.2 MF/PG Resized streamer console window
03.21.2001 3.3 MF/PG Added options to refresh function
04.25.2001 3.4 NS Changed popStreamer URL
05.01.2001 3.4.1 MF/PG Added @nswerbox
-->
<HTML>
<HEAD>
<TITLE>Datek Online Investment Site</TITLE>
<SCRIPT language=javascript><!--
var SURL = "/";
var URL = "http://www.datek.com/";
var iSize = 520;
var cOther=false;
var oQuotes=false;
var bQuotes=false;
var domain = top.location.href;
if (domain.indexOf("?") > 0) domain = domain.substring(0,domain.indexOf("?"));
if (parseInt(navigator.appVersion)>=4) {
if (screen.width > 800) iSize=660;
}
function getStreamer() {
//give me only before the '?' (if any)
top.location = domain+"?streamer";
}
//used to sync the first menu when closing positions, accessing open orders, etc.
function synch(bodyId, nogo) {
//this array contains ids that correspond to the selections in the first pulldown
var idArray = new Array ("th","reset","qt","oc","mf","pf","oo","da","nm");
//this for loop will get the bodyId based on the position of the code in the array and reset the menu
for (i=0; i<idArray.length; i++) {
if (idArray[i]==bodyId) {
bodyId = i;
break;
}
}
self.document.navselect.TradeNow.selectedIndex=bodyId;
if (nogo==false) {
eval(self.document.navselect.TradeNow.options[bodyId].value)
}
}
function reFresh() {
var bodyId=self.document.navselect.TradeNow.selectedIndex;
if (bodyId==1) self.document.navselect.TradeNow.selectedIndex=0;
if (bodyId==2&&cOther==true) {
parent.body.document.getsym.submit();
}
else if (bodyId==3&&oQuotes==true){
parent.body.document.detailedquote.submit();
}
else if (bodyId==3&&bQuotes==true){
parent.body.document.oquote.submit();
}
else eval(self.document.navselect.TradeNow.options[bodyId].value);
}
var consoleWindow;
function popStreamer() {
consoleWindow=window.open('/streamer/streamer-login.htm','StreamerConsole','width=497,height=575,toolbar=0,location=0,menubar=0,resizable=1,titlebar=0,directories=0,status=1,scrollbars=0'); if (navigator.appName=="Netscape") consoleWindow.focus();
}
//opens the multiple account-holder window
function popWin(url) {
if (!newwin) {
var newwin = window.open(url,"Multiple","menubar=0,toolbar=0,status=1,scrollbars=1,resizable=1,width=400,height=385");
} else {
newwin.close();
newwin = window.open(url,"Multiple","menubar=0,toolbar=0,status=1,scrollbars=1,resizable=1,width=400,height=385");
}
}
function veriSign(){
var current = ""; current = top.location.href;
//check for streamer query string
if (current.indexOf("?")!=-1) current = current.substring(0,current.indexOf("?"))
var siteArray = new Array("https://investment.datek.com/","https://investmenta.datek.com/","https://investmentb.datek.com/","https://orders5.datek.com/");
var validId = new Array("d86281060c3d0eef91d22cc7ff4834a5","3f1786143d5caa83a3695898105fde0d","ecd55c7e83502fa5691b4ac69b375f29","b55557836f3451b27c65f212b2259c35");
var datekId = ""; var url = "";
//assigns appropriate id
for (i=0; i < siteArray.length; ++i) { if (current == siteArray[i]) datekId = validId[i]; }
url = (datekId!="") ? "https://digitalid.verisign.com/as2/" + datekId : "https://www.verisign.com";
window.open(url,"verisign","width=700,height=400,scrollbars=1,toolbar=0,resizable=1,menubar=0,location=0");
}
function equityCenter(level) {
document.orderpg.__chx.value = (level<=1) ? document.orderpg.__chx.value = "QUOTE " : document.orderpg.__chx.value = "ORDER ";
document.orderpg.userid.value = parent.userInfo[0]; document.orderpg.dalevel.value = level;
document.orderpg.isitreal.value = parent.userInfo["isItReal"];
document.orderpg.submit();
}
function answerBox() {
var answerBoxURL = domain + "?answerbox=answerDatek&userID=" + parent.userInfo[0];
top.document.location.href = answerBoxURL;
}
// -->
</SCRIPT>
<STYLE>
A:link {COLOR: #ffffcc; FONT-FAMILY:Arial; FONT-SIZE:8pt;}
A:visited {COLOR: #ffffcc; FONT-FAMILY:Arial; FONT-SIZE:8pt;}
A:active {COLOR: #ffffcc; FONT-FAMILY:Arial; FONT-SIZE:8pt;}
A.special {COLOR: #ffffcc; font-size:8pt;text-decoration:none;}
</STYLE>
</HEAD>
<BODY ALINK="#FFCC00" BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#000099" TOPMARGIN="0" LEFTMARGIN="0" MARGINHEIGHT="0" MARGINWIDTH="0">
<TABLE BORDER="0" CELLPADDING="1" CELLSPACING="0" VALIGN="top" BGCOLOR="#000000" WIDTH="100%">
<FORM NAME="navselect">
<TR>
<TD ALIGN="left" VALIGN="middle" WIDTH="1%" NOWRAP ROWSPAN="2"><A href="javascript:document.navselect.reset();document.splash.submit();"><img src="/images/tradehead.gif" width="138" height="31" border="0" alt="Datek Online"></A> </TD>
<TD> </TD>
<TD ALIGN="right" VALIGN="top" nowrap BGCOLOR="#000000"><A href="javascript:veriSign()"><IMG align="right" alt="VeriSign" border=0 height=26 src="/images/verisign.gif" width=82></A><A href="javascript:popWin('/top/acc_chg.htm')">Multiple Account Login</a><br><A href="/trading/logout.htm" target="_parent">Logout</A></td>
</TR>
<TR>
<TD NOWRAP VALIGN="bottom" ALIGN="center" COLSPAN="2">
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="100%" BGCOLOR="#000000">
<TR>
<TD NOWRAP ALIGN="left">
<SELECT NAME="TradeNow" onChange="eval(options[selectedIndex].value)">
<OPTION value="document.splash.submit()" SELECTED>Trading Home
<OPTION value="self.document.navselect.TradeNow.selectedIndex=0; document.splash.submit()">------------------------------
<OPTION value="equityCenter(parent.userInfo['datekDirectLevel'])">Quotes & Trades
<OPTION value="document.ocenter.submit()">Options Center
<OPTION value="parent.body.location='/trading/mutual.htm'">Mutual Funds
<OPTION value="document.portfolio.submit()">Portfolio
<OPTION value="document.order.submit()">Open Orders
<OPTION value="document.active.submit()">Daily Activity
<OPTION value="document.message.submit()">New Messages</OPTION>
</SELECT> <A href="javascript:reFresh();">Refresh</A> </TD>
<TD NOWRAP ALIGN="left"><FONT color="#000000" face="Arial, Helvetica" size=2>
<SELECT name=Resr onChange="eval(options[selectedIndex].value); self.document.navselect.Resr.selectedIndex=0;">
<OPTION value="self.document.navselect.Resr.selectedIndex=0" selected>Resources
<OPTION value="self.document.navselect.Resr.selectedIndex=0">------------------------------
<OPTION value="getStreamer()">Streamer®
<OPTION value="window.open(SURL+'resources/ibook.htm','','width=300,height='+iSize+',menubar=0,resizable=1,titlebar=0,scrollbars=1,status=1,top=0,left=0')">Island Book Viewer
<OPTION value="parent.body.location.href = 'https://www.bigcharts.com/custom/datek-com/screener/screener.asp'">Real-Time Screener
<OPTION value="parent.body.location.href = 'https://www.bigcharts.com/cust...mp;time=3&freq=6&rand='+Math.round(Math.random() * 1000) + 999">BigCharts
<OPTION value="parent.body.location.href = 'https://custom.marketwatch.com...datek-com/priv/news-center.asp'">CBS MarketWatch News
<OPTION value="parent.body.location.href = SURL + 'resources/stock.html'">S&P Stock Research
<OPTION value="parent.body.location.href = SURL + 'resources/fund.html'">S&P Fund Research
</SELECT></FONT>
</TD>
<td align=right nowrap><FONT color="#000000" face="Arial, Helvetica" size=2>
<SELECT name=AcctOpt onChange="eval(options[selectedIndex].value); self.document.navselect.AcctOpt.selectedIndex=0">
<OPTION selected value="self.document.navselect.AcctOpt.selectedIndex=0">Account Services
<OPTION value="self.document.navselect.AcctOpt.selectedIndex=0">------------------------------
<OPTION value="answerBox()">@nswerBox
<OPTION value="document.history.submit()">History
<OPTION value="document.revmess.submit()">Review Messages
<OPTION value="document.checkstart.submit()">Checking
<OPTION value="document.inbox.submit()">Document Delivery
<OPTION value="document.fundrqst.submit()">Fund Request
<OPTION value="parent.body.location.href = SURL + 'a_option/stockrqst/stockrqst.html'">Stock Request
<OPTION value="parent.body.location.href = SURL + 'forms/index.html'">Online Forms
<OPTION value="parent.body.location.href = SURL + 'a_option/settings.html'">Settings
</SELECT></FONT>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</FORM>
<FORM NAME="ocenter" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="optionsother" VALUE="displayoptionscenter">
<INPUT NAME="__chx" VALUE="ACTIVITY" TYPE="hidden">
</FORM>
<FORM NAME="portfolio" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="rpos">
<INPUT NAME="__chx" VALUE="REPORT " TYPE="hidden">
</FORM>
<FORM NAME="splash" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="splash">
<INPUT NAME="__chx" VALUE="WLOGIN " TYPE="hidden">
</FORM>
<FORM NAME="orderpg" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="directaccess">
<INPUT type="hidden" name="userid" value="">
<INPUT TYPE="hidden" NAME="dalevel" VALUE="">
<INPUT TYPE="hidden" NAME="isitreal" VALUE="">
<INPUT NAME="__chx" VALUE="" TYPE="hidden">
</FORM>
<FORM name=order method=post enctype="application/html-form-urlencoded" target=body>
<INPUT type=hidden name=ropen>
<INPUT name="__chx" value="REPORT " type=hidden>
</FORM>
<FORM NAME="history" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="rmhis">
<INPUT NAME="__chx" VALUE="HISTORY " TYPE="hidden">
</FORM>
<FORM NAME="backhist" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="backhist">
<INPUT NAME="__chx" VALUE="HISTORY " TYPE="hidden">
</FORM>
<FORM NAME="active" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="rdhis">
<INPUT NAME="__chx" VALUE="REPORT " TYPE="hidden">
</FORM>
<FORM NAME="message" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="rmsg">
<INPUT NAME="__chx" VALUE="REPORT " TYPE="hidden">
</FORM>
<FORM NAME="streamer" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="streamer">
<INPUT TYPE="hidden" NAME="ssymbol">
<INPUT NAME="__chx" VALUE="REPORT " TYPE="hidden">
</FORM>
<FORM NAME="funds" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="gfunds">
<INPUT NAME="__chx" VALUE="REPORT " TYPE="hidden">
</FORM>
<FORM NAME="stock" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="gstock">
<INPUT NAME="__chx" VALUE="REPORT " TYPE="hidden">
</FORM>
<FORM NAME="wire" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="XwsSrvID" VALUE="ACCOPTIONS">
<INPUT TYPE="hidden" NAME="wire">
<INPUT NAME="__chx" VALUE="AOPTION " TYPE="hidden">
</FORM>
<FORM NAME="address" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="XwsSrvID" VALUE="ACCOPTIONS">
<INPUT TYPE="hidden" NAME="changeaddr">
<INPUT NAME="__chx" VALUE="AOPTION " TYPE="hidden">
</FORM>
<FORM NAME="checkstart" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="checkstart">
<INPUT NAME="__chx" VALUE="AOPTION " TYPE="HIDDEN">
</FORM>
<FORM NAME="inbox" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="twinbox">
<INPUT NAME="__chx" VALUE="AOPTION " TYPE="hidden">
</FORM>
<FORM NAME="revmess" METHOD="POST" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" VALUE="View Messages" NAME="messquery">
<INPUT TYPE="hidden" NAME="nummess" VALUE="50">
<INPUT NAME="__chx" TYPE="hidden" VALUE="AOPTION ">
</FORM>
<FORM NAME="fundrqst" METHOD="POST" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="formid" VALUE="fundrqst">
<INPUT TYPE="hidden" NAME="theaction" VALUE="setup">
<INPUT NAME="__chx" TYPE="hidden" VALUE="AOPTION ">
</FORM>
<FORM NAME="leviifee" METHOD="post" ENCTYPE="application/html-form-urlencoded" TARGET="body">
<INPUT TYPE="hidden" NAME="leviifee">
<INPUT TYPE="hidden" NAME="dalevel" VALUE="">
<INPUT TYPE="hidden" NAME="isitreal" VALUE="">
<INPUT TYPE="hidden" NAME="leviifrompage" VALUE="DDIRECT">
<INPUT type="hidden" name="userid" value="">
<INPUT NAME="__chx" VALUE="ORDER " TYPE="hidden">
</FORM>
<form name="silknet" method="POST" enctype="application/html-form-urlencoded" target="body">
<input type="hidden" name="url" value="">
<input type="hidden" name="theaction" value="silknet">
<input type="hidden" name="__chx" value="AOPTION ">
</form>
<BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR><BR>
</BODY>
</HTML>