All hyperlinks leading off the millennium.com domain are to be "wrapped" in a You are leaving this site mechanism, which pops up an interstitial screen for users to acknowledge.
The site page /leaving.asp handles this functionality. The syntax for each off-site hyperlink therefore must follow the code below precisely, to invoke /leaving.asp correctly. This is especially true of off-site links that use query strings (i.e. the '?' and '&' symbols), since what will then be processed is the 'leaving.asp' query string containing a second query string for the target URL. The "URL-encoded" version of the ampersand (&) must be carefully used. It is: %26.
![]() | Note |
|---|---|
Note that the syntax has two parts: one for Javascript-enabled browsers and one in the case where Javascript has been disabled. | |
Example Link, Simple Module: ct40_article_pat_cancer.xml Off-Site URL (simple): http://www.cancer.org/ Millennium "Leaving" Page: http://www.millennium.com/leaving.asp? Destination Parameter: dest=http://www.cancer.org/ Full HREF Path: href="/leaving.asp?dest=http://www.cancer.org/" Javscript function: onclick="openSesame('/leaving.asp?dest=http://www.cancer.org/',580,500); return false; ALL TOGETHER: <a onclick="openSesame('/leaving.asp?dest=http://www.cancer.org/',580,500); return false;" href="/leaving.asp?dest=http://www.cancer.org/" target="_blank">http://www.cancer.org/</a>
Example Link, Complex Module: ct01_1med_2kit_list.xml IMPORTANT NOTE: The ampersand (&) in the "Off-Site URL" must be coded as the "URL-encoding" version in the XML BusinessML data file: that is, using "%26" for ampersand. Off-Site URL (complex): http://ccbn.tenkwizard.com/filing.php?repo=tenk&ipage=1670107&doc=1&total=171&TK=MLNM&CK=1002637&FC=333333&BK=FFFFFF&SC=ON&TC1=FFFFFF&TC2=FFFFFF&LK=01686f&AL=01686f&VL=800080 Millennium "Leaving" Page: http://www.millennium.com/leaving.asp? Destination Parameter: dest=http://ccbn.tenkwizard.com/filing.php?repo=tenk%26ipage=1670107%26doc=1%26total=171%26TK=MLNM%26CK=1002637%26FC=333333%26BK=FFFFFF%26SC=ON%26TC1=FFFFFF%26TC2=FFFFFF%26LK=01686f%26AL=01686f%26VL=800080" Full Syntax Rendered More Legible (introduced carriage returns) <div> <a href="/leaving.asp? dest=http://ccbn.tenkwizard.com/filing.php? repo=tenk%26 ipage=1670107%26doc=1%26total=171%26TK=MLNM%26CK=1002637%26FC=333333%26BK=FFFFFF%26SC=ON%26TC1=FFFFFF%26TC2=FFFFFF%26LK=01686f%26AL=01686f%26VL=800080" target="_blank" onclick="openSesame( '/leaving.asp? dest=http://ccbn.tenkwizard.com/filing.php? repo=tenk%26 ipage=1670107%26 doc=1%26 total=171%26 TK=MLNM%26 CK=1002637%26 FC=333333%26 BK=FFFFFF%26 SC=ON%26 TC1=FFFFFF%26 TC2=FFFFFF%26 LK=01686f%26 AL=01686f%26 VL=800080', 580,500 ); return false;"> 2001 10(k) </a> </div>