home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 August / Chip_1999-08_cd.bin / msdn / Library / SYNCH.JS < prev    next >
Text File  |  1999-06-29  |  697b  |  10 lines

  1. var tmploc;
  2. tmploc=location.href.substring(location.href.indexOf("/msdn/library", 1));
  3. tmploc='<A href=\"/isapi/msdnlib.idc?theURL=' + tmploc + '\" TARGET=\"_top\">';
  4. artsource='<IMG SRC=\"/msdn/library/images/msdn/art/';
  5. functsource='<A href=\"#\" onClick=\"top.PRODINFO.LEFTNAV.document.Outline.move';
  6. if (location.href == top.location.href)
  7. {document.write(tmploc + artsource + 'mlibfram.gif\" WIDTH=75 HEIGHT=17 BORDER=0></A>');}
  8. else
  9. {document.write(functsource + 'Prev()\">' + artsource + 'mlibprev.gif\" WIDTH=18 HEIGHT=17 BORDER=0 ALT=\"Previous Document\"></A>' + functsource + 'Next()\">' + artsource + 'mlibnext.gif\" WIDTH=18 HEIGHT=17 BORDER=0 ALT=\"Next Document\"></A>');}
  10.