// Put the following code on the link that should open the popup: href='javascript:ShowWin_1101340068859()'
// Put the following code on the button or image that should open the popup: onclick='ShowWin_1101340068859()'

var strMustConnectToInternet = "The 'Slide In' option will only work with relative URLs\nin the 'Show this webpage...' option or in a Popup Rotator.\nWhen used with a full URL (http://www.....) it will not\nfunction correctly.";var win;var wthreec=(document.getElementById)? true: false;var ie5=(wthreec && document.all)? true : false;var ns6=(wthreec && (navigator.appName=="Netscape"))? true: false;var end_top=0;var end_left=0;var shad_width=4;var gSlideOut = false;var gSlideIn = false;currIDb=null; xoff=0; yoff=0;currRS=null; rsxoff=0; rsyoff=0;oldac=null; newac=null; zdx=1; mx=0; my=0;var tmpW = 4;var tmpH = 10;var shad_w = shad_width;var gNomaxmin;var gdeltaBorderSize;var idlist=new Array();idlist.btns=new Array();idlist.btns[0]=new Image(); idlist.btns[0].src="min.gif";idlist.btns[1]=new Image(); idlist.btns[1].src="max.gif";idlist.btns[2]=new Image(); idlist.btns[2].src="close.gif";idlist.btns[3]=new Image(); idlist.btns[3].src="resize.gif";function setCookie_1101340068859(name, value, expires, path, domain, secure) {var curCookie = name + "=" + escape(value) +((expires) ? "; expires=" + expires.toGMTString() : "") +((path) ? "; path=" + path : "") +((domain) ? "; domain=" + domain : "") +((secure) ? "; secure" : "");document.cookie = curCookie;}function getCookie_1101340068859(name) {var prefix = name + "=";var cookieStartIndex = document.cookie.indexOf(prefix);if (cookieStartIndex == -1)return null;var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length);if (cookieEndIndex == -1)cookieEndIndex = document.cookie.length;return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex));}function deleteCookie_1101340068859(name, path, domain) {if (getCookie_1101340068859(name)) {document.cookie = name + "=" + ((path) ? "; path=" + path : "") +((domain) ? "; domain=" + domain : "") +"; expires=Thu, 01-Jan-70 00:00:01 GMT";}}function truebody_1101340068859(){return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body}function hidebox_1101340068859(id){if (ie5) {if ((document.getElementById(id+'_b'))&&(document.getElementById(id+'_s'))) {document.getElementById(id+'_b').removeNode(true);document.getElementById(id+'_s').style.display="none";document.getElementById(id+'_s').removeNode(true);}} else {document.getElementById(id+'_b').style.visibility='hidden';document.getElementById(id+'_s').style.visibility='hidden';document.getElementById(id+'_t').style.visibility='hidden';document.getElementById(id+'_c').style.visibility='hidden';document.getElementById(id+'_rs').style.visibility='hidden';document.getElementById(id+'_btt').style.visibility='hidden';document.getElementById(id+'_max').style.visibility='hidden';}window.document.body.onscroll='';}function showbox_1101340068859(id,l_ok,t_ok,l_smid,t_smid){document.getElementById(id+'_b').style.display=''; document.getElementById(id+'_s').style.display='';}function ns6bugfix(){self.resizeBy(0,1);self.resizeBy(0,-1);}function trackmouse(evt){mx=(ie5)?event.clientX+truebody_1101340068859().scrollLeft:evt.pageX;my=(ie5)?event.clientY+truebody_1101340068859().scrollTop:evt.pageY;if(!ns6)movepopup_1101340068859();if((currIDb!=null)||(currRS!=null))return false;}function movepopup_1101340068859(){if((currIDb!=null)&&wthreec){var x=mx+xoff;var y=my+yoff;currIDb.style.left=x+'px';currIDs.style.left=x+shad_w+'px';currIDb.style.top=y+'px';currIDs.style.top=y+shad_w+'px';}if((currRS!=null)&&wthreec){var rx=mx+rsxoff;var ry=my+rsyoff;var c=currRS;c.style.left=Math.max(rx,((ie5)?88:92))+'px';c.style.top=Math.max(ry,((ie5)?68:72))+'px';if (gdeltaBorderSize==-1) {var tmp_out_shad = 1;} else {var tmp_out_shad = 0;}c.IDS[0].style.width=Math.max(rx-tmpW+((ie5)?12:9),100-tmpW)-tmp_out_shad*2+'px';c.IDS[0].style.height=Math.max(ry-tmpH+((ie5)?12:7),80-tmpH)-tmp_out_shad*3+'px';c.IDS[1].style.width=Math.max(rx+((ie5)?4:3),((ns6)?95:92))+'px';c.IDS[4].style.left=parseInt(c.IDS[1].style.width)-8+'px';c.IDS[4].style.top=parseInt(c.IDS[0].style.height)-((ie5)?12:11)+'px';c.IDS[4].style.zIndex=++zdx;if (gNomaxmin) {c.IDS[5].style.left=parseInt(c.IDS[1].style.width)-16+'px';}else{c.IDS[5].style.left=parseInt(c.IDS[1].style.width)-48+'px';}c.IDS[3].style.width=Math.max(rx-tmpW+((ie5)?12:10),((ie5)?100:102)-tmpW)-tmp_out_shad*2+'px';c.IDS[3].style.height=Math.max(ry-tmpH+((ie5)?12:8),((ie5)?80:84)-tmpH)-tmp_out_shad*3+'px';c.IDS[2].style.width=Math.max(rx-((ie5)?-4:4),((ie5)?92:87))-2*gdeltaBorderSize+'px';c.IDS[2].style.height=Math.max(ry-((ie5)?24:28),44)-2*gdeltaBorderSize+'px';c.IDS[10]=parseInt(c.IDS[0].style.height);}}function startRS(evt){var ex=(ie5)?event.clientX+truebody_1101340068859().scrollLeft:evt.pageX;var ey=(ie5)?event.clientY+truebody_1101340068859().scrollTop:evt.pageY;rsxoff=parseInt(this.style.left)-ex;rsyoff=parseInt(this.style.top)-ey;currRS=this;if(ns6)this.IDS[2].style.overflow='hidden';return false;}function stopdrag_1101340068859(id){currIDb=null;ns6bugfix();end_top = document.getElementById(id+'_b').style.top;end_top = parseInt(end_top.substring(0,end_top.length-2))-truebody_1101340068859().scrollTop;end_left = document.getElementById(id+'_b').style.left;end_left = parseInt(end_left.substring(0,end_left.length-2))-truebody_1101340068859().scrollLeft;}function grab_id(evt){var ex=(ie5)?event.clientX+truebody_1101340068859().scrollLeft:evt.pageX;var ey=(ie5)?event.clientY+truebody_1101340068859().scrollTop:evt.pageY;xoff=parseInt(this.IDS[0].style.left)-ex;yoff=parseInt(this.IDS[0].style.top)-ey;currIDb=this.IDS[0];currIDs=this.IDS[3];return false;}function moveOnScrool_1101340068859(id,evt){if(wthreec){var ey = (ie5)?end_top+truebody_1101340068859().scrollTop:evt.pageY;var ex = (ie5)?end_left+truebody_1101340068859().scrollLeft:evt.pageX;document.getElementById(id+'_b').style.top = ey+'px';document.getElementById(id+'_s').style.top = ey+shad_w+'px';document.getElementById(id+'_b').style.left = ex+'px';document.getElementById(id+'_s').style.left = ex+shad_w+'px';}}function subBox_1101340068859(x,y,w,h,bgc,id){var v=document.createElement('div');v.setAttribute('id',id); v.style.position='absolute';v.style.left=x+'px';v.style.top=y+'px';v.style.width=w+'px';v.style.height=h+'px';v.style.backgroundColor=bgc;v.style.visibility='visible';v.style.padding='0px 0px 0px 0px';return v;}function createpopup_1101340068859(email_adr,email_subj,email_body,buts,up_under,h,w,full_scr,t,l,pos,freq,freq_days,tbbg_c,tbf_st,tbf_f,tbf_c,tbf_si,cbg_c,cbg_im,bord_c,shad_c,scroll_c,isdrag,isresize,tb_text,content_text,cid,from_file,file_name,tb,lb,db,sbs,mb,sb,slidein,slideFrom,slideout,slideTo,createR,noshadows,autoscroll,nomaxmin,defSend,autoclose,addClickLink,ClickBankUserName,addCodeFromCntDwn,noclose,borderS){var str_resize = "yes";gSlideIn = slidein;gSlideOut = slideout;transitionOut = slideTo;transition = slideFrom;shad_w = shad_width;nomaxmin = true;str_resize = "no";gNomaxmin = nomaxmin;x=l;y=t;w=Math.max(w,120);h=Math.max(h,80);var wH=document.body.clientHeight;var wW=document.body.clientWidth;var tmp_wfr=0;var tmp_extended_zero = 0;var s_top=document.all? document.body.scrollTop : window.pageYOffset;y=parseInt((wH-h-shad_w)/2)+s_top;x=parseInt((wW-w-shad_w)/2);end_top = y-s_top;end_left = x;var strTbodyB = /<TBODY>/g;var strTbodyE = /<\/TBODY>/g;var strBr = /<br>/g;content_text = content_text.replace(strTbodyB,"");content_text = content_text.replace(strTbodyE,"");content_text = content_text.replace(strBr,"");var rdiv=new subBox_1101340068859(w-tmpW-((ie5)?12:11),h-tmpH-((ie5)?12:11),7,7,'',cid+'_rs');var tw,th;tw=w;th=h;var tmp_out_shad_delta=0;var shadow=new subBox_1101340068859(x+shad_w,y+shad_w,tw-tmpW-2*tmp_out_shad_delta,th-tmpH-3*tmp_out_shad_delta,shad_c,cid+'_s');shadow.style.filter="alpha(opacity=50)";shadow.style.zIndex=++zdx;if (ie5) {var outerdiv=new subBox_1101340068859(x,y,w-tmpW-2*tmp_out_shad_delta,h-tmpH-3*tmp_out_shad_delta,bord_c,cid+'_b');} else {var outerdiv=new subBox_1101340068859(x,y,w-tmpW-1-2*tmp_out_shad_delta,h-tmpH-1-3*tmp_out_shad_delta,bord_c,cid+'_b');}outerdiv.style.borderStyle="outset";outerdiv.style.borderWidth="1px";outerdiv.style.borderColor=bord_c;outerdiv.style.zIndex=++zdx;tw=(ie5)?w-8:w-5;th=(ie5)?h+4:h-4;var titlebar=new subBox_1101340068859(0,1,tw,20,tbbg_c,cid+'_t');titlebar.style.overflow="hidden";titlebar.style.cursor="default";var str_close = '<img src="close.gif" width="16" height="16" id="'+cid+'_cls">';var tmp_noclose_w = 16;var str_maxmin = '<span id="'+cid+'_btt" style="position:absolute; width:48px; height:16px; left:'+(tw-(32+tmp_noclose_w))+'px; top:2px;"><img src="min.gif" width=16 height=16 id="'+cid+'_min"><img src="max.gif" width=16 height=16  id="'+cid+'_max">';str_maxmin = '<span id="'+cid+'_btt" style="position:absolute; width:16px; height:16px; left:'+(tw-tmp_noclose_w)+'px; top:2px;">';titlebar.innerHTML='<span style="position:absolute; left:3px; top:1px; font:'+tbf_si+' '+tbf_f+'; '+tbf_st+' color:'+tbf_c+'; height:18px; overflow:hidden; clip-height:16px;">'+tb_text+'</span>'+str_maxmin+str_close+'</span>';tw=(ie5)?w-8:w-14;th=(ie5)?h-36:h-36;var tmp_bordersize = 0;gdeltaBorderSize = tmp_bordersize;var content_x, content_y;if ((ie5)||(borderS==0)) {content_x=1;content_y=22;} else {content_x=2;content_y=23;}content_x=content_x+tmp_bordersize;content_y=content_y+tmp_bordersize;var content=new subBox_1101340068859(content_x,content_y,tw-2*tmp_bordersize,th-2*tmp_bordersize,cbg_c,cid+'_c');content.style.borderColor=cbg_c;content.style.borderWidth="1px";content.style.overflow="auto";content.style.padding="0px 2px 0px 4px";content.style.scrollbarBaseColor=scroll_c;content.innerHTML=content_text;outerdiv.appendChild(titlebar);outerdiv.appendChild(content);outerdiv.appendChild(rdiv);document.body.appendChild(shadow);document.body.appendChild(outerdiv);var IDS=new Array();IDS[0]=document.getElementById(cid+'_b');IDS[1]=document.getElementById(cid+'_t');IDS[2]=document.getElementById(cid+'_c');IDS[3]=document.getElementById(cid+'_s');IDS[4]=document.getElementById(cid+'_rs');IDS[5]=document.getElementById(cid+'_btt');IDS[6]="";IDS[7]="";IDS[8]=document.getElementById(cid+'_cls');IDS[9]=cid;IDS[10]=h-tmpH;this.IDb=IDS[0]; this.IDb.IDS=IDS;this.IDt=IDS[1]; this.IDt.IDS=IDS;this.IDc=IDS[2]; this.IDc.IDS=IDS;this.IDs=IDS[3]; this.IDs.IDS=IDS;this.IDrs=IDS[4]; this.IDrs.IDS=IDS;this.IDbtt=IDS[5]; this.IDbtt.IDS=IDS;this.IDcls=IDS[8]; this.IDcls.IDS=IDS;this.IDb.activecolor=tbbg_c;this.IDb.inactivecolor=scroll_c;if(oldac!=null)oldac.IDS[1].style.backgroundColor=oldac.inactivecolor;oldac=this.IDb;this.IDcls.onclick=new Function("hidebox_1101340068859('"+cid+"');");window.document.body.onscroll=new Function("moveOnScrool_1101340068859('"+cid+"');");this.IDb.onmousedown=function(){ if(oldac!=null){oldac.IDS[1].style.backgroundColor=oldac.inactivecolor;}oldac=this;this.IDS[1].style.backgroundColor=this.activecolor;this.IDS[3].style.zIndex=++zdx; this.style.zIndex=++zdx;};this.IDt.onmousedown=grab_id;this.IDt.onmouseup=new Function("stopdrag_1101340068859('"+cid+"');");showbox_1101340068859(cid,x,y,-w,y);}if(ns6)setInterval('movepopup_1101340068859()',40);document.onmousemove=trackmouse;document.onmouseup=new Function("currRS=null");
function ShowWin_1101340068859(){
if (!(getCookie_1101340068859('cookPopUp1101340068859') == 'jPopup')) {
new createpopup_1101340068859('N/A','Subscribe Me','N/A',false,1,450,400,false,0,150,1,1,0,'#0000FF
','font-weight:bold;','Arial','White','9pt','White','','DarkBlue','Gray','#C0C0C0',true,false,'Install Help','<P><br><P><br><DIV align=center><br><TABLE id=AutoNumber1 style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; BORDER-COLLAPSE: collapse" borderColor=#111111 cellPadding=0 width="95%" border=0><br><TBODY><br><TR><br><TD>&nbsp;</TD></TR><br><TR><br><TD vAlign=top><br><P align=center><FONT color=#0000FF
 size=1>Download time is less than 30 seconds<BR>over broadband connections.</FONT></P></TD></TR><br><TR><br><TD vAlign=top><br><HR color=#003366 SIZE=1><br></TD></TR><br><TR><br><TD vAlign=top bgColor=#0000FF
><br><P align=center><FONT color=#ffffff>To print these instructions</FONT><FONT color=#003366>, <A href="http://www.masterdata.com/HelpFiles/Help_Install.htm" target=_blank>click here</A>.</FONT></P></TD></TR><br><TR><br><TD vAlign=top><br><HR color=#003366 SIZE=1><br></TD></TR><br><TR><br><TD><br><TABLE id=AutoNumber6 style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=1 cellPadding=0 width="100%" border=0><br><TBODY><br><TR><br><TD width=16><IMG height=10 src="http://www.masterdata.com/images/earthclear.gif" width=10 align=right border=0></TD><br><TD noWrap><B><FONT color=#003366 size=2>Installing the Plug-in</FONT><FONT color=#0000FF
 size=2>&nbsp; </FONT></B></TD><br><TD width="90%"><br><HR color=#003366 SIZE=5><br></TD></TR></TBODY></TABLE></TD></TR><br><TR><br><TD><br><TABLE id=AutoNumber3 style="FONT-SIZE: 8pt; BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=0 cellPadding=2 width="100%" border=0><br><TBODY><br><TR><br><TD vAlign=top><br><P align=left><SPAN style="FONT-SIZE: 9pt">"Install" is only necessary the the first time you download or when the plug-in is revised (you will be notified when this happens). Clicking on "Install" not only includes the MasterDATA Composite Plug-in required to easily use the price and composite data, but also updates and/or corrects MasterDATA Custom Indicators, layouts, templates, experts, price files and composite data.<FONT color=#ff0000>*&nbsp; </FONT>On subsequent days that you wish to update only your price and composite datafiles, click on the "Price &amp; Composite Data Update" button. This latter process bypasses the full MetaStock installation.</SPAN></P></TD></TR><br><TR><br><TD vAlign=top><br><P align=center><FONT color=#0000FF
>This installation process makes no changes to any MetaStock or MetaStock related file.</FONT></P></TD></TR><br><TR><br><TD vAlign=top noWrap><br><TABLE id=AutoNumber7 style="BORDER-COLLAPSE: collapse" borderColor=#111111 cellSpacing=1 cellPadding=0 width="100%" border=0><br><TBODY><br><TR><br><TD width=16><IMG height=10 src="http://www.masterdata.com/images/earthclear.gif" width=10 align=right border=0></TD><br><TD noWrap><FONT color=#003366 size=2><B>Step By Step Instructions</B></FONT><B><FONT color=#0000FF
 size=2>&nbsp; </FONT></B></TD><br><TD width="90%"><br><HR color=#003366 SIZE=5><br></TD></TR></TBODY></TABLE></TD></TR><br><TR><br><TD><br><OL><br><LI><SPAN style="FONT-SIZE: 9pt">Close MetaStock.</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">Click on "Install" (left column).</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">Choose "Run" or "Open" in the Windows dialog box that appears.</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">While the file is downloading, make sure the&nbsp; "Close this dialog box when download completes" checkbox is blank.&nbsp; If a checkmark appears in the box, click on it to remove the checkmark.</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">When the download completes, a "Security Warning" dialog box may appear, click on "Run" (usually occurs only if you have Windows XP with SP2 installed).</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">In the small "MasterDATA install window that appears next, read the message and click on "OK".</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">A "WinZip Self Extractor" window appears. Click on "Unzip". Do not change any settings in this dialog window or many functions will not work properly.</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">When all files have unzipped, click on "OK\' in the small dialog window that appears.</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">In the "MetaStock Self-Extracting Install" window that appears, click on "OK". This will install the MasterDATA Composite Plug-in and related Custom Indicators and Experts.</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">If you have previously installed the MasterDATA Composite Plug-in, various windows entitled "Duplicate Tools Detected" will appear. Always click on "Overwrite". Clicking on "Overwrite" will only update Custom Indicators and Experts previously installed from the MasterDATA web site through this Install procedure. It will never overwrite MetaStock or your own Custom Indicators and Experts. No changes are ever made to MetaStock or your own files by this install process. The MasterDATA Composite Plug-in installation process only adds files.</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">A second "MetaStock Self-Extracting Install" window will appear. Click on "OK". This will install one or several MasterDATA proprietary indicators including MasterDATA\'s Trend Channels Indicator (which you will now be able to use for any security within MetaStock).</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">You are finished! Open MetaStock and begin using your new plug-in and data. For on-line help, click on the link provided in the new Internet browser window that will appear upon completing the "Install" process.</SPAN></LI><br><LI><SPAN style="FONT-SIZE: 9pt">The easiest place to start using your new MasterDATA Composite Plug-in is with layouts.&nbsp; Click on the "Layouts" button in the left hand column under "User Manual".&nbsp; When you are ready to write your own Custom Indicators using the MasterDATA Composite Plug-in, click on the "Price &amp; Composite Data" button to learn about the one MetaStock formula that will pull any composite data from the datafiles.</SPAN></LI></OL><br><P><SPAN style="FONT-SIZE: 9pt"><FONT color=#ff0000><B>* Important!:</B>&nbsp; </FONT>Always save your new or changed layouts, templates and experts with a new name. Both the "Install" process and the "Price &amp; Composite Data Update" update (overwrite) the MasterDATA Composite Plug-in layouts, templates and experts previously installed. This action allows us to update and, if needed, correct not only the plug-in, but also all data and MetaStock support files.</SPAN></P></TD></TR><br><TR><br><TD vAlign=top noWrap><br><HR color=#003366 SIZE=1><br></TD></TR><br><TR><br><TD><br><P align=center><FONT face=Arial><A href="http://www.masterdata.com/"><IMG height=50 alt="Click here to return to  MasterDATA Index &amp; ETF Component Analysis" src="http://www.masterdata.com/images/150X50_MD_logo.gif" width=150 border=0></A></FONT></P></TD></TR><br><TR><br><TD><br><HR color=#003366 SIZE=1><br></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></DIV><br><P></P>','Div1101340068859',false,'',false,false,false,false,false,false,false,1,false,1,false,false,true,true,true,false,false,'N/A',false,false,1);
}
var s = new Date();
deleteCookie_1101340068859('cookPopUp1101340068859','/','');
}

