From: Subject: =?Windows-1252?Q?TeenScreen=AE?= Date: Fri, 25 Jun 2004 18:00:35 +0200 MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_002B_01C45ADE.50DCBE60"; type="text/html" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 This is a multi-part message in MIME format. ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/newsroom/001.html TeenScreen=AE <= /TR>
3D""
3D""=20
3D""=20


  
Press=20 Releases

FOR=20 IMMEDIATE RELEASE
July 28, 2003
CONTACT:=20 Laurie Flynn, = (646-443-8191)

President=20 Bush's Commission on Mental Health = Endorses=20 Screening Youth to Prevent the Development = of=20 Serious Mental Health Problems=20


Columbia University's = TeenScreen=AE=20 Program Cited as a Model for Early = Detection and=20 Intervention

NEW YORK-The final report issued by = President=20 Bush's New Freedom Commission on Mental = Health=20 asserts that early detection, assessment = and links=20 with treatment are key to preventing many = mental=20 health problems from worsening. Achieving = the=20 Promise: Transforming Mental Health Care = in=20 America recommends intervening as early as = possible and calls for schools and primary = care=20 settings to implement screening programs = like=20 Columbia University's TeenScreen=AE = program, so that=20 youth who are living with or who are = at-risk for=20 mental illness can be linked to treatments = that=20 could prevent disabilities and suicide.=20

"We're thrilled that the = Commission=20 recognizes the importance of mental health = screening and honored that they chose the=20 TeenScreen=AE program as a model for = others to=20 follow," said Laurie Flynn, director of = Columbia=20 University's Carmel Hill Center for Early=20 Diagnosis and Treatment. "For the first = time, this=20 Commission has put a governmental stamp of = approval on mental health screening as a=20 prevention tool in the fight against = mental=20 illnesses," continued Flynn, who also = serves as=20 the director of Positive Action for Teen = Health, a=20 national initiative working to ensure all = American=20 teens are screened for depression and = suicide risk=20 before they graduate from high school. =

The=20 need for universal screening was = underscored by=20 the Commission, which noted in its report = that=20 mental disorders often go undiagnosed and=20 untreated in youth - making many = susceptible to a=20 "downward spiral" that can include school = failure,=20 depression and suicide, the third leading = cause of=20 death among young people. The Commission = points to=20 schools and primary care settings as = instrumental=20 partners in the early detection of mental = health=20 problems among youth, places that have = proven=20 successful platforms for the TeenScreen=AE = program.=20

"One of TeenScreen's greatest = strengths is=20 its versatility," said Leslie McGuire, = director of=20 the TeenScreen=AE program. "It can be = adapted to=20 identify a variety of disorders and can be = implemented in a range of venues where = young=20 people intersect with caregivers," she = said.=20 School districts have been particularly = successful=20 at integrating TeenScreen=AE into existing = services=20 and the program is also used effectively = in=20 clinical settings and by community = organizations.=20 "Because the TeenScreen=AE program is = free, many=20 school districts and other youth serving=20 organizations have been able to create or = expand=20 existing mental health programs to meet = the=20 growing need for adolescent mental health=20 services," said McGuire.

About=20 TeenScreen=AE
More than 800,000 = U.S. teens=20 suffer from depression each year and more = than=20 500,000 make a suicide attempt requiring = medical=20 attention. TeenScreen=AE was built on a = decade of=20 research by Columbia University that shows = a=20 simple confidential screening of teens is = the most=20 effective method for detecting adolescents = at risk=20 for depression, suicide, and other mental=20 illnesses. TeenScreen=AE is currently = offered at 67=20 sites across 27 states and Guam. Columbia=20 University is committed to expanding the = program=20 to 400 additional sites in the next two = years.=20 Qualifying sites receive screening = materials,=20 training and technical assistance at no = charge.=20

Since 1991, the Columbia = University=20 Division of Child and Adolescent = Psychiatry has=20 invested nearly $19 million in the = research and=20 development of the Columbia TeenScreen=AE = program.=20 The development of TeenScreen=AE and the = Positive=20 Action for Teen Health initiative are = supported by=20 private family foundation grants. No funds = have=20 been received from the providers or = manufacturers=20 of health services or products.

To = learn=20 more about the TeenScreen=AE program, = please visit=20 http://www.teenscreen.org/=20 or call 1-866-TEENSCREEN.

About = the New=20 Freedom Commission on Mental=20 Health
President George W. Bush = established=20 the President's New Freedom Commission on = Mental=20 Health in April 2002 as part of his = commitment to=20 eliminate inequality for Americans with=20 disabilities. The President directed the=20 Commission to identify policies that could = be=20 implemented by Federal, State and local=20 governments to maximize the utility of = existing=20 resources, improve coordination of = treatments and=20 services, and promote successful community = integration for adults with a serious = mental=20 illness and children with a serious = emotional=20 disturbance.
For more information = about the=20 Commission or to obtain a copy of its = report,=20 visit http://www.mentalhealthco= mmission.gov/=20

 

Return = to Press Releases =

 
   
3D""



------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://www.teenscreen.org/images/headings/nRoom.gif R0lGODlhbAAhAMQAALLA2Nng7IuhxW6Jtuzw9oGZwPb4+sXQ4neRu56wzuLo8ai408/Y55WpybzI 3f///2SBsQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAAA AAAALAAAAABsACEAAAX/ICSOZGmeaKqubOu+cCzPdG3feK7vfO//wKBwSCwaj8ikcslsOp/QqHTa GwioogCgBHhcj49wmLCVBryk7tcYDgQM4TL0TBiM1MjwiPEwmMMMd2giAwtuDggiCQAFIw2NIgUA VwgJDAwLdid6kZwQAgcBmJoiCA5umSMJDRAJAQcChQwAiS9nfAsieBAFcGIPrF0HIwTDIgfAEAS/ CSieCw8Kir/Rmg3UBLVvy2LcYc0uZwNwjXgDywcFBch+CH0i1w92A+8JD3WgpCVhAgINy7ncPTgw YICCBw4gjBuIYAAyY2cOICiwzMCVLgRsPYBwTcEAPPYyEkNz8MqZB1vs/w2LBykFNZS6Bo4oUO9B gBH0NkI4I0iOJxY8ITgYiKfLSzTQENk0kJHPl4MGAOjbh5KPSAh8wInQ00WOMjRBIXQd8XNFUIPR 0HTRAqBt20TuCAxd9ADa1Y9wCLSkKmJZmTNrIHCFOQLwTp1iCQtGDBQxTX6JE6I4wxSCOziSZ8Ix ZoKTgDCNkMnJGZlEmERhx25lbJax0SufDZCqNY0wsgctIV27yveYzVa/Y0rbPcJuFsSqF2ssYfjw g1nLWubU9PkqTQUL+Hg1jXhhrmUMXIVhBeFgAPF1j/cky1pF2FIWCd0Oo2AvA87l5TQ4OGYqexL2 yFYAf31oNcBJcRSGnChiZcnQEAkI9HPCgyNQiJOENRTQj38axoLFhyCGKOKIJJZo4okoDhECADs= ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://www.teenscreen.org/images/1px.gif R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw== ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://www.teenscreen.org/images/top.gif R0lGODlhHAAPAIAAAP///5iu0yH5BAAAAAAALAAAAAAcAA8AAAIqjI+py+0InjygGhtqpHqrDWbX RI1iCDlohF7YgsVv1pGmreL6zvf+DywAADs= ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://www.teenscreen.org/images/mainBg.gif R0lGODlhCAcFAJEAAP///zZWjOjo6AAAACH5BAAAAAAALAAAAAAIBwUAAAKujI+py+0Po5y02ouz 3rz7D4biSJbmiaZqAwjuC8fyTNf2jef6zvf+DwwKh8Si8YhMKpfMpvMJjUqn1Kr1is3qVtyu9wsO i8fksvmMTqsVLa37DY/L5/S6/Y7P6/f8vv//siY4SFhoeIiYqLjIyNEGCBkpOUlZaXmJmam5yanV +AkaKjpKWmp6evLYucra6voKGys7S1vLhIqbq7vL2+v7m6FqO0xcbHyMnKy8XFsAADs= ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://www.teenscreen.org/images/contentBg.gif R0lGODlhAQABAIAAAJiu0wAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw== ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://www.teenscreen.org/images/headingBg.gif R0lGODlhAQABAIAAAGSBsQAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw== ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/css/sitewide.css BODY { PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FONT-SIZE: 11px; PADDING-BOTTOM: = 0px; MARGIN: 0px; COLOR: #000; PADDING-TOP: 0px; FONT-FAMILY: verdana, = arial, helvetica, sans-serif } LI { COLOR: #000 } DIV { FONT-FAMILY: verdana, arial, helvetica, sans-serif } P { FONT-FAMILY: verdana, arial, helvetica, sans-serif } TH { FONT-FAMILY: verdana, arial, helvetica, sans-serif } TD { FONT-FAMILY: verdana, arial, helvetica, sans-serif } LI { FONT-FAMILY: verdana, arial, helvetica, sans-serif } DD { FONT-FAMILY: verdana, arial, helvetica, sans-serif } DL { FONT-FAMILY: verdana, arial, helvetica, sans-serif } DT { FONT-FAMILY: verdana, arial, helvetica, sans-serif } .copy { FONT-SIZE: 11px } .big { FONT-WEIGHT: bold; FONT-SIZE: 30px } .bodyHeading { FONT: bold 14px verdana, arial, helvetica, sans-serif; COLOR: #224278 } .copyW { FONT-SIZE: 11px; COLOR: #fff } .rightB { FONT: bold 11px verdana, arial, helvetica, sans-serif; COLOR: #333 } A.rightN { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #333; = TEXT-DECORATION: none } A.rightN:hover { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #333; = TEXT-DECORATION: underline } A.rightActive { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #333; = TEXT-DECORATION: none } A.rightActive:hover { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #333; = TEXT-DECORATION: underline } B { FONT-WEIGHT: bold } .bSmall { FONT: bold 11px verdana, arial, helvetica, sans-serif } IMG { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: = 0px } .par { FONT-SIZE: 11px; PADDING-TOP: 5px } .inputbox { FONT: 11px verdana, arial, helvetica, sans-serif } .footer2 { FONT-SIZE: 10px; COLOR: #98aed3 } .title { FONT: bold 16px georgia,geneva,serif, sans-serif; COLOR: #fff } .req { FONT: bold 11px verdana, arial, helvetica, sans-serif; COLOR: #ff0000 } .titleBody { FONT: bold 16px verdana, arial, helvetica, sans-serif; COLOR: #fff } .reg { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #fff } .titleBody2 { FONT: bold 14px verdana, arial, helvetica, sans-serif; COLOR: #fff } A { FONT-WEIGHT: normal; COLOR: #fff; TEXT-DECORATION: none } A:hover { COLOR: #fff; TEXT-DECORATION: underline } A.topNavi { FONT: bold 11px verdana, arial, helvetica, sans-serif; COLOR: #000; = TEXT-DECORATION: none } A.topNavi:hover { COLOR: #224278; TEXT-DECORATION: underline } A.noUB { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #000; = TEXT-DECORATION: none } A.noUB:hover { COLOR: #000; TEXT-DECORATION: underline } A.noUW { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #fff; = TEXT-DECORATION: none } A.noUW:hover { COLOR: #fff; TEXT-DECORATION: none } A.white { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #fff; = TEXT-DECORATION: none } A.white:hover { COLOR: #fff; TEXT-DECORATION: underline } A.footer1 { FONT: 10px verdana, arial, helvetica, sans-serif; COLOR: #fff; = TEXT-DECORATION: none } A.footer1:hover { COLOR: #98aed3; TEXT-DECORATION: underline } .clCMEvent { Z-INDEX: 300; LEFT: 0px; VISIBILITY: hidden; WIDTH: 100%; CLIP: = rect(0px 100% 100% 0px); POSITION: absolute; TOP: 0px; HEIGHT: 100% } .clCMAbs { LEFT: 0px; VISIBILITY: hidden; WIDTH: 10px; POSITION: absolute; TOP: = 0px; HEIGHT: 10px } .clT { OVERFLOW: hidden; CURSOR: hand; POSITION: absolute } .clTover { OVERFLOW: hidden; CURSOR: hand; POSITION: absolute } .clS { OVERFLOW: hidden; CURSOR: hand; POSITION: absolute } .clSover { OVERFLOW: hidden; CURSOR: hand; POSITION: absolute } .clS2 { OVERFLOW: hidden; CURSOR: hand; POSITION: absolute } .clS2over { OVERFLOW: hidden; CURSOR: hand; POSITION: absolute } .clT { PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-WEIGHT: normal; FONT-SIZE: = 11px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px } .clTover { PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-WEIGHT: normal; FONT-SIZE: = 11px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px } .clT { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #ffffff } .clTover { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #ffffff; = BACKGROUND-COLOR: #1f60a9; layer-background-color: #1F60A9 } .clS { PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-WEIGHT: normal; FONT-SIZE: = 11px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px } .clSover { PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-WEIGHT: normal; FONT-SIZE: = 11px; PADDING-BOTTOM: 2px; PADDING-TOP: 2px } .clS2 { PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-SIZE: 11px; PADDING-BOTTOM: = 2px; PADDING-TOP: 2px } .clS2over { PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FONT-SIZE: 11px; PADDING-BOTTOM: = 2px; PADDING-TOP: 2px } .clS { COLOR: #ffffff; BACKGROUND-COLOR: #878787; layer-background-color: = #878787 } .clS2 { COLOR: #ffffff; BACKGROUND-COLOR: #878787; layer-background-color: = #878787 } .clSover { COLOR: #ffffff; BACKGROUND-COLOR: #1f60a9; layer-background-color: = #1F60A9 } .clS2over { COLOR: #ffffff; BACKGROUND-COLOR: #1f60a9; layer-background-color: = #1F60A9 } .clBar { BACKGROUND-COLOR: #878787; layer-background-color: #878787 } .clB { BACKGROUND-COLOR: #dbdada; layer-background-color: #dbdada } .clT { BACKGROUND-COLOR: #878787; layer-background-color: #878787 } .clB { Z-INDEX: 300; VISIBILITY: hidden; POSITION: absolute } .clBar { VISIBILITY: hidden; WIDTH: 10px; POSITION: absolute; HEIGHT: 10px } ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Location: http://www.teenscreen.org/css/ieonly.css .reg { FONT: 11px verdana, arial, helvetica, sans-serif; COLOR: #fff } ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/scripts/detect.js // browser definitions these are used globally=20 var agt=3Dnavigator.userAgent.toLowerCase();=20 var is_major =3D parseInt(navigator.appVersion);=20 var is_minor =3D parseFloat(navigator.appVersion);=20 var is_nav =3D ((agt.indexOf('mozilla')!=3D-1) && = (agt.indexOf('spoofer')=3D=3D-1)=20 && (agt.indexOf('compatible') =3D=3D -1) && = (agt.indexOf('opera')=3D=3D-1)=20 && (agt.indexOf('webtv')=3D=3D-1)); var is_nav4up =3D (is_nav && (is_major >=3D 4 && is_major < 5)); var is_nav6 =3D (is_nav && (is_major >=3D 5 )); var is_opera =3D (agt.indexOf('opera') !=3D -1); =20 var is_ie =3D (agt.indexOf("msie") !=3D -1);=20 var is_ie3 =3D (is_ie && (is_major < 4));=20 var is_ie4 =3D (is_ie && (is_major =3D=3D 4) && (agt.indexOf("msie = 5.0")=3D=3D-1) ); var is_ie4up =3D (is_ie && (is_major >=3D 4)); var is_ie5 =3D (is_ie && (is_major =3D=3D 4) && (agt.indexOf("msie = 5.0")!=3D-1) ); =20 var is_ie5up =3D (is_ie && !is_ie3 && !is_ie4); =20 var is_win =3D ( (agt.indexOf("win")!=3D-1) || = (agt.indexOf("16bit")!=3D-1) ); var is_mac =3D (agt.indexOf("mac")!=3D-1); var is_linux =3D (agt.indexOf("inux")!=3D-1); var is_unix =3D ((agt.indexOf("x11")!=3D-1) || is_linux); // give the browsers names to use in all js functions if ((is_ie3) || (is_ie4) || (is_ie4up) || (is_ie5) || (is_ie5up) || = (is_nav6)) { browser =3D "IE"; } else if ((is_nav) || (is_nav4up)) { browser =3D "NN"; } else if (is_opera) { browser =3D "OP"; } // give the platforms names too if (is_win){ bPlatform =3D "Win"; } else if (is_mac){=09 bPlatform =3D "Mac"; } =09 // output the browser with its version (ie. NN4) browserNameLong =3D browser + is_major; ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/scripts/global.js // = -------------------------------------------------------------------------= ----------------------------- //FUNCTIONS // = -------------------------------------------------------------------------= ----------------------------- // global preloads preload("/images/view_on.gif","/images/view_off.gif"); // = -------------------------------------------------------------------------= ----------------------------- //r overs function getImgName(imgRef) { // returns a name based on the image reference given return = (imgRef.indexOf("/")=3D=3D-1)?imgRef.substring(0,imgRef.lastIndexOf("."))= :imgRef.substring((imgRef.lastIndexOf("/")+1),imgRef.lastIndexOf(".")); } function preload() { // loads N images passed as a parameter, gives each a unique name based = on src // to be referred later by "changeImages" var tempImgName=3D""; if (document.images) { for (i=3D0;i getWidth(layer)) dx =3D getWidth(layer) - cr; if (ct + dy < 0) dy =3D -ct; else if (cb + dy > getHeight(layer)) dy =3D getHeight(layer) - cb; } clipLayer(layer, cl + dx, ct + dy, cr + dx, cb + dy); moveLayerBy(layer, -dx, -dy); } //-----------------------------------------------------------------------= ------ // Layer background. //-----------------------------------------------------------------------= ------ function setBgColor(layer, color) { if (isMinNS4) layer.bgColor =3D color; if (ie||dom) layer.style.backgroundColor =3D color; } function setBgImage(layer, src) { if (isMinNS4) layer.background.src =3D src; if (ie||dom) layer.style.backgroundImage =3D "url(" + src + ")"; } //-----------------------------------------------------------------------= ------ // Layer utilities. //-----------------------------------------------------------------------= ------ function getLayer(name) { if (isMinNS4) return findLayer(name, document); if (ie) return eval('document.all.' + name); if (dom) return document.getElementById(name); return null; } function findLayer(name, doc) { var i, layer; for (i =3D 0; i < doc.layers.length; i++) { layer =3D doc.layers[i]; if (layer.name =3D=3D name) return layer; if (layer.document.layers.length > 0) { layer =3D findLayer(name, layer.document); if (layer !=3D null) return layer; } } return null; } //-----------------------------------------------------------------------= ------ // Window and page properties. //-----------------------------------------------------------------------= ------ function getWindowWidth() { if (isMinNS4||dom) return(window.innerWidth); if (ie) return(document.body.clientWidth); return(-1); } function getWindowHeight() { if (isMinNS4||dom) return(window.innerHeight); if (ie) return(document.body.clientHeight); return(-1); } function getPageWidth() { if (isMinNS4||dom) return(document.width); if (ie) return(document.body.scrollWidth); return(-1); } function getPageHeight() { if (isMinNS4||dom) return(document.height); if (ie) return(document.body.scrollHeight); return(-1); } function getPageScrollX() { if (isMinNS4||dom) return(window.pageXOffset); if (ie) return(document.body.scrollLeft); return(-1); } function getPageScrollY() { if (isMinNS4||dom) return(window.pageYOffset); if (ie) return(document.body.scrollTop); return(-1); } ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/scripts/scroller.js /************************************************************************= ****** * scroller.js = * * = * * Copyright 1999 by Mike Hall. = * * Visit http://www.dynamicdrive.com = * * Last update: July 21st, '02 by Dynamic Drive for NS6 functionality. = * * = * * Allows you to create scrolling displays on a page. Multiple scrollers = can * * be defined, each with it's own parameters and list of items. Item text = can * * include basic HTML tags, including links and images. = * * Note: requires dhtmllib.js. = * *************************************************************************= *****/ //***********************************************************************= ****** // Scroller constructor. //***********************************************************************= ****** function Scroller(x, y, width, height) { this.x =3D x; this.y =3D y; this.width =3D width; this.height =3D height; this.border =3D 0; this.padding =3D 0; this.items =3D new Array(); this.created =3D false; // Set default colors. this.fgColor =3D "#000000"; this.bgColor =3D "#98aed3"; this.bdColor =3D "#000000"; // Set default scroll timing values. this.speed =3D 100; this.pauseTime =3D 4000; // Define methods. this.setColors =3D scrollerSetColors; this.setSpeed =3D scrollerSetSpeed; this.setPause =3D scrollersetPause; this.addItem =3D scrollerAddItem; this.create =3D scrollerCreate; this.show =3D scrollerShow; this.hide =3D scrollerHide; this.moveTo =3D scrollerMoveTo; this.moveBy =3D scrollerMoveBy; this.getzIndex =3D scrollerGetzIndex; this.setzIndex =3D scrollerSetzIndex; this.stop =3D scrollerStop; this.start =3D scrollerStart; } //***********************************************************************= ****** // Scroller methods. //***********************************************************************= ****** function scrollerSetColors(fgcolor, bgcolor, bdcolor) { if (this.created) { alert("Scroller Error: Scroller has already been created."); return; } this.fgColor =3D fgcolor; this.bgColor =3D bgcolor; this.bdColor =3D bdcolor; } function scrollerSetSpeed(pps) { if (this.created) { alert("Scroller Error: Scroller has already been created."); return; } this.speed =3D pps; } function scrollersetPause(ms) { if (this.created) { alert("Scroller Error: Scroller has already been created."); return; } this.pauseTime =3D ms; } function scrollerAddItem(str) { if (this.created) { alert("Scroller Error: Scroller has already been created."); return; } this.items[this.items.length] =3D str; } function scrollerCreate() { var start, end; var str; var i, j; var x, y; if (!isMinNS4 && !ie && !dom) return; // On first scroller, start interval timer. if (scrollerList.length =3D=3D 0) setInterval('scrollerGo()', scrollerInterval); // Create the scroller only once. if (this.created) { alert("Scroller Error: Scroller has already been created."); return; } this.created =3D true; // Copy first item to the end of the list, this lets us scroll from = the last // defined item to the first without jumping. this.items[this.items.length] =3D this.items[0]; // Set up HTML code for item text. start =3D '' + '
'; end =3D '
'; // Build the layers. if (isMinNS4) { this.baseLayer =3D new Layer(this.width); this.scrollLayer =3D new Layer(this.width, this.baseLayer); this.scrollLayer.visibility =3D "inherit"; this.itemLayers =3D new Array(); for (i =3D 0; i < this.items.length; i++) { this.itemLayers[i] =3D new Layer(this.width, this.scrollLayer); this.itemLayers[i].document.open(); this.itemLayers[i].document.writeln(start + this.items[i] + end); this.itemLayers[i].document.close(); this.itemLayers[i].visibility =3D "inherit"; } // Set background colors. setBgColor(this.baseLayer, this.bdColor); setBgColor(this.scrollLayer, this.bgColor); } if (ie||dom) { i =3D scrollerList.length; str =3D '
\n' + '
\n'; for (j =3D 0; j < this.items.length; j++) { str +=3D '
\n' + start + this.items[j] + end + '
\n'; } str +=3D '
\n' + '
\n'; // Insert HTML code at end of page. For IE4, need to scroll window = to // end of page, insert and scroll back to correct bug. if (!(ie&&window.print)) { x =3D getPageScrollX(); y =3D getPageScrollY(); window.scrollTo(getPageWidth(), getPageHeight()); } if (ie) document.all.tempholder.innerHTML=3Dstr else if (dom) document.getElementById("tempholder").innerHTML=3Dstr //EDIT = HERE/////////////////////////////////////////////////////////////////////= ///////// if (!(ie&&window.print)) window.scrollTo(x, y); // Get handles to each layer. this.baseLayer =3D getLayer("scroller" + i + "_baseLayer"); this.scrollLayer =3D getLayer("scroller" + i + "_scrollLayer"); this.itemLayers =3D new Array(); for (j =3D 0; j < this.items.length; j++) this.itemLayers[j] =3D getLayer("scroller" + i + "_itemLayers" + = j); } // Position and clip base and scroll layers. moveLayerTo(this.baseLayer, this.x, this.y); clipLayer(this.baseLayer, 0, 0, this.width, this.height); moveLayerTo(this.scrollLayer, this.border, this.border); clipLayer(this.scrollLayer, 0, 0, this.width - 2 * this.border, this.height - 2 * = this.border); // Position and clip each item layer. x =3D 0; y =3D 0; for (i =3D 0; i < this.items.length; i++) { moveLayerTo(this.itemLayers[i], x, y); clipLayer(this.itemLayers[i], 0, 0, this.width, this.height); y +=3D this.height; } // Set up scrolling parameters. this.stopped =3D false; this.currentY =3D 0; this.stepY =3D this.speed / (1000 / scrollerInterval); this.stepY =3D Math.min(this.height, this.stepY); this.nextY =3D this.height; this.maxY =3D this.height * (this.items.length - 1); this.paused =3D true; this.counter =3D 0; // Add to global list. scrollerList[scrollerList.length] =3D this; // Display it. showLayer(this.baseLayer); } function scrollerShow() { if (this.created) showLayer(this.baseLayer); } function scrollerHide() { if (this.created) hideLayer(this.baseLayer); } function scrollerMoveTo(x, y) { if (this.created) moveLayerTo(this.baseLayer, x, y); } function scrollerMoveBy(dx, dy) { if (this.created) moveLayerBy(this.baseLayer, dx, dy); } function scrollerGetzIndex() { if (this.created) return(getzIndex(this.baseLayer)); else return(0); } function scrollerSetzIndex(z) { if (this.created) setzIndex(this.baseLayer, z); } function scrollerStart() { this.stopped =3D false; } function scrollerStop() { this.stopped =3D true; } //***********************************************************************= ****** // Code for scrolling. //***********************************************************************= ****** // An array is used to hold a pointer to each scroller that is defined. = The // scrollerGo() function runs at regular intervals and updates each = scroller // in this list. var scrollerList =3D new Array(); var scrollerInterval =3D 20; function scrollerGo() { var i; // Update each scroller object in the list. for (i =3D 0; i < scrollerList.length; i++) { // If stopped, skip. if (scrollerList[i].stopped); // If paused, update counter. else if (scrollerList[i].paused) { scrollerList[i].counter +=3D scrollerInterval; if (scrollerList[i].counter > scrollerList[i].pauseTime) scrollerList[i].paused =3D false; } // Scroll it. else { scrollerList[i].currentY +=3D scrollerList[i].stepY; // Pause it if the next item has scrolled into view. if (scrollerList[i].currentY >=3D scrollerList[i].nextY) { scrollerList[i].paused =3D true; scrollerList[i].counter =3D 0; scrollerList[i].currentY =3D scrollerList[i].nextY; scrollerList[i].nextY +=3D scrollerList[i].height; } // When we reach the end, start over. if (scrollerList[i].currentY >=3D scrollerList[i].maxY) { scrollerList[i].currentY -=3D scrollerList[i].maxY; scrollerList[i].nextY =3D scrollerList[i].height; } scrollLayerTo(scrollerList[i].scrollLayer, 0, Math.round(scrollerList[i].currentY), false); } } } //***********************************************************************= ****** // Code to handle a window resize. //***********************************************************************= ****** // These variables are used to determine if a resize event is a true = one. // Necessary due to a bug in older NS4 releases. var origWidth; var origHeight; // Fix for resize bug. if (isMinNS4) { origWidth =3D window.innerWidth; origHeight =3D window.innerHeight; } window.onresize =3D scrollerReload; function scrollerReload() { // Reload page in case of a browser resize. First make sure it's a = true // resize. if (isMinNS4 && origWidth =3D=3D window.innerWidth && origHeight = =3D=3D window.innerHeight) return; window.location.href =3D window.location.href; } ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/scripts/coolmenus4.js /************************************************************ Coolmenus Beta 4.06 - Copyright Thomas Brattli - www.dhtmlcentral.com Last updated: 11.13.02 v4.06 - with basic frame support *************************************************************/ /*Browsercheck object*/ function cm_bwcheck(){ //In theory we should use object detection, but this script needs = work-arounds for almost every browser... this.ver=3Dnavigator.appVersion this.agent=3Dnavigator.userAgent.toLowerCase() this.dom=3Ddocument.getElementById?1:0 this.ns4=3D(!this.dom && document.layers)?1:0; this.op=3Dwindow.opera=20 this.moz=3D(this.agent.indexOf("gecko")>-1 || window.sidebar) this.ie=3Dthis.agent.indexOf("msie")>-1 && !this.op if(this.op){ this.op5=3D(this.agent.indexOf("opera 5")>-1 || = this.agent.indexOf("opera/5")>-1) this.op6=3D(this.agent.indexOf("opera 6")>-1 || = this.agent.indexOf("opera/6")>-1) this.op7=3Dthis.dom&&!this.op5&&!this.op6 //So all higher opera = versions will use it }else if(this.moz) this.ns6 =3D 1 else if(this.ie){ this.ie4 =3D !this.dom && document.all this.ie5 =3D (this.agent.indexOf("msie 5")>-1) this.ie55 =3D (this.ie5 && this.agent.indexOf("msie 5.5")>-1) this.ie6 =3D this.dom && !this.ie4 && !this.ie5 && ! this.ie55 } this.mac=3D(this.agent.indexOf("mac")>-1) this.bw=3D(this.ie6 || this.ie5 || this.ie4 || this.ns4 || this.ns6 || = this.op5 || this.op6 || this.op7) this.usedom=3D this.ns6||this.op7//Use dom creation this.reuse =3D this.ie||this.op7||this.usedom //Reuse layers this.px=3Dthis.dom&&!this.op5?"px":"" return this } var bw=3Dnew cm_bwcheck() /*Variable declaration*/ var cmpage /*Crossbrowser objects functions*/ function cm_message(txt){alert(txt); return false} function cm_makeObj(obj,nest,o,doc){ //Changed in v4.05 if(!doc) doc=3Ddocument=20 if(bw.usedom&&o) this.evnt=3Do else{nest=3D(!nest) ? "doc.":'doc.layers.'+nest+'.' this.evnt=3Dbw.dom? doc.getElementById(obj): bw.ie4?doc.all[obj]:bw.ns4?eval(nest+"layers." +obj):0; } if(!this.evnt) return cm_message('The layer does not exist ('+obj+')'=20 +'- \nIf your using Netscape please check the nesting of your tags = (on the entire page)\nNest:'+nest) this.css=3Dbw.dom||bw.ie4?this.evnt.style:this.evnt; this.ok=3D0 this.ref=3Dbw.dom||bw.ie4?doc:this.css.document;=20 this.obj =3D obj + "Object"; eval(this.obj + "=3Dthis"); this.x=3D0; this.y=3D0; this.w=3D0; this.h=3D0; this.vis=3D0; return = this } cm_makeObj.prototype.moveIt =3D function(x,y){this.x=3Dx;this.y=3Dy; = this.css.left=3Dx+bw.px;this.css.top=3Dy+bw.px} cm_makeObj.prototype.showIt =3D = function(o){this.css.visibility=3D"visible"; this.vis=3D1; = if(bw.op5&&this.arr){ this.arr.showIt(); }}//alert('showing arrow')}}=20 cm_makeObj.prototype.hideIt =3D = function(no){this.css.visibility=3D"hidden"; this.vis=3D0;} cm_makeObj.prototype.clipTo =3D function(t,r,b,l,setwidth){=20 this.w=3Dr; this.h=3Db; = if(bw.ns4){this.css.clip.top=3Dt;this.css.clip.right=3Dr; = this.css.clip.bottom=3Db;this.css.clip.left=3Dl }else{if(t<0)t=3D0;if(r<0)r=3D0;if(b<0)b=3D0;if(b<0)b=3D0; = this.css.clip=3D"rect("+t+bw.px+","+r+bw.px+","+b+bw.px+","+l+bw.px+")"; if(setwidth){if(bw.op5||bw.op6){this.css.pixelWidth=3Dr; = this.css.pixelHeight=3Db;}else{this.css.width=3Dr+bw.px; = this.css.height=3Db+bw.px;}}}} function cm_active(on,h){ if(this.o.arr) = on?this.o.arr.hideIt():bw.op5?this.o.arr.showIt():this.o.arr.css.visibili= ty=3D"inherit" if(bw.reuse||bw.usedom){ if(!this.img2) this.o.evnt.className=3Don?this.cl2:this.cl else = this.o.ref.images["img"+this.name].src=3Don?this.img2.src:this.img1.src; = //Changed v4.05 if(on && bw.ns6){this.o.hideIt(); this.o.css.visibility=3D'inherit' = }; //netscape 6 bug fix =20 }else{ =20 if(!this.img2){ if(on) this.o.over.showIt(); else = this.o.over.hideIt(); }else = this.o.ref.images["img"+this.name].src=3Don?this.img2.src:this.img1.src; }this.isactive=3Don?1:0 } /***Pageobject **/ function cm_page(frame){ //Changed v4.05 if(!frame) frame =3D self=20 this.x=3D0; this.x2 = =3D(!bw.ie)?frame.innerWidth:frame.document.body.offsetWidth-20; this.y=3D0; this.orgy=3Dthis.y2=3D = (!bw.ie)?frame.innerHeight:frame.document.body.offsetHeight-6; this.x50=3Dthis.x2/2; this.y50=3Dthis.y2/2; return this } /***check positions**/ function cm_cp(num,w,minus){ if(num){if(num.toString().indexOf("%")!=3D-1){var t =3D = w?cmpage.x2:cmpage.y2; num=3DparseInt((t*parseFloat(num)/100)) if(minus) num-=3Dminus }else num=3Deval(num);} else num=3D0; return = num } /**Level object**/ function cm_makeLevel(){//changed 4.06 var c=3Dthis, a=3Darguments; c.width=3Da[0]||null; = c.height=3Da[1]||null;=20 c.regClass=3Da[2]||null; c.overClass=3Da[3]||null; = c.borderX=3Da[4]>-1?a[4]:null;=20 c.borderY=3Da[5]>-1?a[5]:null; c.borderClass=3Da[6]||null; = c.rows=3Da[7]>-1?a[7]:null;=20 c.align=3Da[8]||null; c.offsetX=3Da[9]||null; c.offsetY=3Da[10]||null; = c.arrow=3Da[11]||null;=20 c.arrowWidth=3Da[12]||null; c.arrowHeight=3Da[13]||null; = c.roundBorder=3Da[14]||null; return c } /***Making the main menu object**/ function makeCM(name){ //Changed v4.06 var c=3Dthis; c.mc=3D0; c.name =3D name; c.m=3Dnew Array(); = c.scrollY=3D-1; c.level=3Dnew Array(); c.l=3Dnew Array(); c.tim=3D100; = c.isresized=3D0; c.isover=3D0; c.zIndex=3D100; c.frameStartLevel=3D1; c.bar=3D0; = c.z=3D0; c.totw=3D0; c.toth=3D0; c.maxw=3D0; c.maxh=3D0; cmpage =3D new = cm_page(); c.constructed =3D 0; return this }//events makeCM.prototype.onshow=3D""; makeCM.prototype.onhide=3D""; = makeCM.prototype.onconstruct=3D""; /***Creating layers**/ function cm_divCreate(id,cl,txt,w,c,app,ex,txt2){ if(bw.usedom){var div=3Ddocument.createElement("DIV"); = div.className=3Dcl; div.id=3Did;=20 if(txt) div.innerHTML=3Dtxt; if(app){app.appendChild(div); return = div} if(w) document.body.appendChild(div); return div }else{var dstr=3D'
"+txt; ; if(txt2) = dstr+=3Dtxt2;=20 if(c) dstr+=3D'
'; if(w) document.write(dstr); else return dstr }return "" } /***Getting layer string for each menu**/ function cm_getLayerStr(m,app,name,fill,clb,arrow,ah,aw,root){ var no=3Dm.nolink,arrstr=3D'',l=3Dm.lev,str=3D'',txt=3Dm.txt,ev=3D'', = id=3Dname + '_' + m.name,d1; if(app) d1=3Dapp if((!bw.reuse||l=3D=3D0) && !no){ ev=3D' onmouseover=3D"'+name+'.showsub(\''+m.name+'\')"'=20 +' onmouseout=3D"'+name+'.mout(\''+m.name+'\')"' +' onclick=3D"'+name+'.onclck(\''+m.name+'\'); return false" ' } if(bw.reuse&&l!=3D0) txt=3D''; if(l=3D=3D0) = str+=3Dd1=3Dcm_divCreate(id+'_0',clb,''); = str+=3Dm.d2=3Dcm_divCreate(id,m.cl,txt,0,0,d1,ev) if(l=3D=3D0&&bw.usedom){=20 m.d2.onclick=3Dnew Function(name+'.onclck("'+m.name+'")');=20 m.d1=3Dd1;=20 m.d2.onmouseover=3Dnew Function(name+'.showsub("'+m.name+'")');=20 m.d2.onmouseout=3Dnew Function(name+'.mout("'+m.name+'")') }if(!bw.reuse && !m.img1 && !no){ str+=3Dcm_divCreate(id+'_1',m.cl2,txt,0,1) str+=3Dcm_divCreate(id+'_3',"clCMAbs",'3D""',0,1) }str+=3D'';=20 = if(l=3D=3D0){if(arrow)str+=3Dm.d3=3Dcm_divCreate(id+'_a','clCMAbs','3D""',0,1,d1); str+=3D""} str+=3D"\n"; if(!bw.reuse){m.txt=3Dnull; m.d2=3Dnull; m.d3=3Dnull;} if(bw.usedom){ if(l=3D=3D0) document.body.appendChild(d1); str=3D''} return str } /***get align num from text (better to evaluate numbers later)**/ function cm_checkalign(a){ switch(a){ case "right": return 1; break; case "left": return 2; break; case "bottom": return 3; break; case "top": return 4; break; case "righttop": return 5; break; case "lefttop": return 6; break; case "bottomleft": return 7; break; case "topleft": return 8; break; }return null } /**Making each individual menu **/ makeCM.prototype.makeMenu=3Dfunction(name,parent,txt,lnk,targ,w,h,img1,im= g2,cl,cl2,align,rows,nolink,onclick,onmouseover,onmouseout){ var c =3D this; if(!name) name =3D c.name+""+c.mc; var p =3D = parent!=3D""&&parent&&c.m[parent]?parent:0; if(c.mc=3D=3D0){ //Added 4.07 - bug(?) in opera 7 - you cannot dom-add layers created = in one document to another one (or so it seems) - so turn of usedom if(bw.op7 && this.frames) bw.usedom=3D0 var tmp=3Dlocation.href; if(tmp.indexOf('file:')>-1||tmp.charAt(1)=3D=3D':') = c.root=3Dc.offlineRoot; else c.root=3Dc.onlineRoot if(c.useBar){if(!c.barBorderClass) c.barBorderClass=3Dc.barClass; = c.bar1 =3D cm_divCreate(c.name+'bbar_0',c.barClass,'',0,1); c.bar =3D = cm_divCreate(c.name+'bbar',c.barBorderClass,'',1,1,0,0,c.bar1); = if(bw.usedom) c.bar.appendChild(c.bar1); =20 }}var create=3D1,img,arrow; var m =3D c.m[name] =3D new Object(); = m.name=3Dname; m.subs=3Dnew Array(); m.parent=3Dp; m.arnum=3D0; = m.arr=3D0 var l =3D m.lev =3D p?c.m[p].lev+1:0; c.mc++; m.hide=3D0; if(l>=3Dc.l.length){ var p1,p2=3D0; if(l>=3Dc.level.length) p1=3Dc.l[c.level.length-1]; else p1=3Dc.level[l]; c.l[l]=3Dnew Array(); if(!p2) p2=3Dc.l[l-1] if(l!=3D0){ if(isNaN(p1.align)) = p1["align"]=3Dcm_checkalign(p1.align) for(var i in p1){if(i!=3D"str"&&i!=3D"m"){if(p1[i]=3D=3Dnull) = c.l[l][i]=3Dp2[i]; else c.l[l][i]=3Dp1[i] }} }else{c.l[l]=3Dc.level[0]; = c.l[l].align=3Dcm_checkalign(c.l[l].align)} c.l[l]["str"]=3D''; c.l[l].m=3Dnew Array(); if(!c.l[l].borderClass) = c.l[l].borderClass=3Dc.l[l].regClass c.l[l].app=3D0; c.l[l].max=3D0; c.l[l].arnum=3D0; c.l[l].o=3Dnew = Array(); c.l[l].arr=3Dnew Array() c.level[l]=3Dp1=3Dp2=3Dnull if(l!=3D0) c.l[l].str=3Dc.l[l].app=3Dcm_divCreate(c.name+ '_' = +l+'_0',c.l[l].borderClass,'') }if(p){p =3D c.m[p]; p.subs[p.subs.length]=3Dname;=20 if(p.subs.length=3D=3D1&&c.l[l-1].arrow){ p.arr=3D1;=20 if(p.parent){c.m[p.parent].arnum++ if(c.m[p.parent].arnum>c.l[l-1].arnum){ = c.l[l-1].str+=3Dc.l[l-1].arr[c.l[l-1].arnum]=3Dcm_divCreate(c.name+ '_a' = +(l-1)+'_'+c.l[l-1].arnum,'clCMAbs','3D""',0,1,c.l[l-1].app); = c.l[l-1].arnum++ }}}if(bw.reuse) if(p.subs.length>c.l[l].max) c.l[l].max =3D = p.subs.length; else create=3D0 }m.rows=3Drows>-1?rows:c.l[l].rows; m.w=3Dcm_cp(w||c.l[l].width,1); = m.h=3Dcm_cp(h||c.l[l].height,0); m.txt=3Dtxt; m.lnk=3Dlnk;=20 if(align) align=3Dcm_checkalign(align); m.align=3Dalign||c.l[l].align; = m.cl=3Dcl=3Dcl||c.l[l].regClass;=20 m.targ=3Dtarg; m.cl2=3Dcl2||c.l[l].overClass; m.create=3Dcreate; = m.mover=3Donmouseover; m.mout=3Donmouseout;=20 m.onclck=3Donclick; m.active =3D cm_active; m.isactive=3D0; = m.nolink=3Dnolink if(create) c.l[l].m[c.l[l].m.length]=3Dname if(img1){m.img1 =3D new Image(); m.img1.src=3Dc.root+img1; if(!img2) = img2=3Dimg1; m.img2 =3D new Image(); m.img2.src=3Dc.root+img2; m.cl=3D"clCMAbs"; m.txt=3D''; if(!bw.reuse&&!nolink) m.txt =3D '';; m.txt+=3D'3D""'; if(!bw.reuse&&!nolink) m.txt+=3D'' }else{m.img1=3D0; m.img2=3D0};=20 if(l=3D=3D0||create) = c.l[l].str+=3Dcm_getLayerStr(m,c.l[l].app,c.name,c.fillImg,c.l[l].borderC= lass,c.l[l].arrow,c.l[l].arrowWidth,c.l[l].arrowHeight,c.root) if(l=3D=3D0){if(m.w>c.maxw) c.maxw=3Dm.w; if(m.h>c.maxh) c.maxh=3Dm.h; = c.totw+=3Dc.pxBetween+m.w+c.l[0].borderX;c.toth+=3Dc.pxBetween+m.h+c.l[0]= .borderY} if(lnk && !onmouseover){ var = path=3Dlnk.indexOf("mailto:")>-1||lnk.indexOf("http://")>-1?"":c.root m.mover=3D"self.status=3D'"+path+m.lnk+"'" if(!m.mout) m.mout=3D""; m.mout+=3D";self.status=3D'';" } } /**Getting x/y coords for subs **/ makeCM.prototype.getcoords=3Dfunction(m,bx,by,x,y,maxw,maxh,ox,oy){ var a=3Dm.align; x+=3Dm.o.x; y+=3Dm.o.y switch(a){ case 1: x+=3Dm.w+bx; break; case 2: x-=3Dmaxw+bx; break; case 3: y+=3Dm.h+by; break; case 4: y-=3Dmaxh+by; break; case 5: x-=3Dmaxw+bx; y-=3Dmaxh-m.h; break; case 6: x+=3Dm.w+bx; y-=3Dmaxh-m.h; break; case 7: y+=3Dm.h+by; x-=3Dmaxw-m.w; break; case 8: y-=3Dmaxh+by; x-=3Dmaxw-m.w+bx; break; }//Added v4.05 if(m.lev=3D=3Dthis.frameStartLevel-1 && this.frames){ switch(a){ case 1: x=3D0; break;=20 case 2: x=3Dthis.cmpage.x2-maxw; break; case 3: y=3D0; break;=20 case 4: y-=3Dmaxh+by; break; case 5: x-=3Dmaxw+bx; y-=3Dmaxh-m.h; break; case 6: x+=3Dm.w+bx; y-=3Dmaxh-m.h; break; case 7: y+=3Dm.h+by; x-=3Dmaxw-m.w; break; case 8: y-=3Dmaxh+by; x-=3Dmaxw-m.w+bx; break; } } m.subx=3Dx + ox; m.suby=3Dy + oy } /**Showing sub elements**/ makeCM.prototype.showsub=3Dfunction(el){ //Changed v4.06 var c=3Dthis,pm=3Dc.m[el],m,o,nl if(!pm.b||(c.isresized&&pm.lev>0)) pm.b=3Dc.l[pm.lev].b; c.isover=3D1 clearTimeout(c.tim); var ln=3Dpm.subs.length,l=3Dpm.lev+1 if(c.l[pm.lev].a=3D=3Del&&l!=3Dc.l.length && = !c.openOnClick){if(c.l[pm.lev+1].a) c.hidesub(l+1,el); return} c.hidesub(l,el); if(pm.mover) eval(pm.mover); if(!pm.isactive) = pm.active(1); c.l[pm.lev].a =3D el; if(ln=3D=3D0) return;=20 if(c.openOnClick && !c.clicked) return//Added v4.06 if(!c.l[l].b) return //Added v4.05 var b =3D c.l[l].b, bx=3Dc.l[l].borderX, by=3Dc.l[l].borderY, = rows=3Dpm.rows var rb=3Dc.l[l].roundBorder;//added 4.06 var x=3Dbx+rb,y=3Dby+rb,maxw=3D0,maxh=3D0,cn=3D0; b.hideIt() for(var i=3D0;imaxw) maxw=3Dm.w; maxh=3Dy} else{x+=3Dm.w+bx; if(m.h>maxh) maxh=3Dm.h; maxw=3Dx;} o.css.visibility=3D"inherit"; if(bw.op5||bw.op6) o.showIt() }else{o =3D c.m[c.l[l].m[i]].o; o.hideIt();} } if(!rows) maxw+=3Dbx*2+rb; else maxh+=3Dby*2+rb; //changed 4.06 if(rb){maxw+=3Drb; maxh+=3Drb}//added 4.06 b.clipTo(0,maxw,maxh,0,1) //Check frame scroll if(c.chkscroll) c.chkscroll() //Added v4.05 - not the best solution if(c.chkscroll||!pm.subx||!pm.suby||c.scrollY>-1||c.isresized) = c.getcoords(pm,c.l[l-1].borderX,c.l[l-1].borderY,pm.b.x,pm.b.y,maxw,maxh,= c.l[l-1].offsetX,c.l[l-1].offsetY) //Changed 4.06 x=3Dpm.subx; if(c.chkscroll&&l=3D=3Dc.frameStartLevel) = pm.suby+=3Dc.scrollY; y=3Dpm.suby; b.moveIt(x,y); if(c.onshow) = eval(c.onshow); b.showIt() } /**Hide sub elements **/ makeCM.prototype.hidesub=3Dfunction(l,el){ //Changed v4.05 var c =3D this,tmp,m,i,j,hide if(!l) {l=3D1; hide=3D1; c.clicked=3D0} for(i=3Dl-1;i0&&i>l-1) if(c.l[i].b) c.l[i].b.hideIt()//Changed v4.05 if(c.l[i].a&&c.l[i].a!=3Del){ m=3Dc.m[c.l[i].a]; m.active(0,1); if(m.mout) eval(m.mout); = c.l[i].a=3D0 if(i>0&&i>l-1) if(bw.op5||bw.op6) for(j=3D0;jl){for(j=3D0;j0) this.body.appendChild(c.l[i].app) if(!this.frames) c.l[i].str=3Dnull }}c.z=3Dc.zIndex+2 for(i=3Dst;i0){m.b =3D bobj; nest=3Di} else{m.b =3D new cm_makeObj(c.name + = "_"+name+"_0","",m.d1,this.doc); m.b.css.zIndex=3Dc.z; = m.b.clipTo(0,w+bx*2,h+by*2,0,1); nest=3Dname} id =3D c.name + "_"+name; nest=3Dc.name + "_"+nest; if(m.create){ o=3Dm.o=3Dnew cm_makeObj(id,nest+"_0",m.d2,this.doc); = o.z=3Do.css.zIndex=3Dc.z+1; if(bw.reuse){c.l[l].o[oc]=3Do; oc++};=20 if(l=3D=3D0&&m.img1) o.css.visibility=3D'inherit'; if(bw.op5) = o.showIt(); o.arr=3D0; }if(!bw.reuse||l=3D=3D0) o.clipTo(0,w,h,0,1); o.moveIt(bx,by); = o.z=3Do.css.zIndex=3Dc.z+2 if(j"}} = //Added 4.06 c.makeObjects(nowrite); cmpage =3D new cm_page();=20 var = mpa,o,maxw=3Dc.maxw,maxh=3Dc.maxh,i,totw=3Dc.totw,toth=3Dc.toth,m,px=3Dc.= pxBetween var = bx=3Dc.l[0].borderX,by=3Dc.l[0].borderY,x=3Dc.fromLeft,y=3Dc.fromTop,mp=3D= c.menuPlacement,rows=3Dc.rows if(rows){toth=3Dmaxh+by*2; totw=3Dtotw-px+bx;}else{totw=3Dmaxw+bx*2; = toth=3Dtoth-px+by;} switch(mp){ case "center": x=3Dcmpage.x2/2-totw/2; if(bw.ns4) x-=3D9; break; case "right": x=3Dcmpage.x2-totw; break; case "bottom": case "bottomcenter": y=3Dcmpage.y2-toth; = if(mp=3D=3D"bottomcenter") x=3Dcmpage.x2/2-totw/2; break; default: if(mp.toString().indexOf(",")>-1) mpa=3D1; break; }for(var i=3D0;icmpage.x2+off || page2.y2>cmpage.orgy+off){ if(bw.ie||bw.ns6||bw.op7||bw.ns4){ cmpage=3Dpage2; this.isresized=3D1;=20 if(this.onresize) eval(this.onresize); this.construct(1); if(this.onafterresize) eval(this.onafterresize); }else{cm_inresize=3D1; location.reload()}=20 } } /**Onclick of an item**/ makeCM.prototype.onclck=3Dfunction(m){ //Changed v4.06 m =3D this.m[m] if(m.onclck) eval(m.onclck); if(this.openOnClick && m.subs.length>0){ this.clicked =3D 1; this.showsub(m.name); return }=20 var lnk=3Dm.lnk, targ=3Dm.targ if(lnk){ if(lnk.indexOf("mailto")!=3D0 && lnk.indexOf("http")!=3D0) = lnk=3Dthis.root+lnk if(String(targ)=3D=3D"undefined" || targ=3D=3D"" || targ=3D=3D0 || = targ=3D=3D"_self"){ if(this.frames){ //Turning of all level 1 + vars if(this.l[0].a){ this.m[this.l[0].a].active(0,1) this.l[0].a =3D0 } for(i=3Dthis.frameStartLevel;ix && selxy && sely') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('') document.write('
3D""
3D""
3D""
3D""
') ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/scripts/right.js start =3D ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + '
3D""
'=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + '
3D""3D""3D""3D""
3D""
'=0A= + 'Click to view'=0A= + '
'=0A= + '3D""'=0A= + '
'=0A= + '

'=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + '
'=0A= + '

'=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + '
3D""3D""3D""3D""
3D""
Click here to sign up for our Getting Started Guide or = Newsletter.   3D"view"

'=0A= + '
'=0A= + '
'=0A= =0A= =0A= document.write(start); ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/scripts/NLeftNavi.js start =3D ''=0A= + ''=0A= + '
3D""News Room
'=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + ''=0A= + '
3D""Contacts
3D""Media = Resources
3D""Press = Releases
3D""Polls, = Surveys & Reports
3D""Legislative Alerts
3D""News = Clips & Video
3D""TeenScreen Sites
3D""Facts = & Information
3D""Newsletters
';=0A= =0A= =0A= =0A= =0A= document.write(start);=0A= ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/scripts/footer.js document.write('')=0A= document.write('')=0A= document.write('')=0A= document.write('')=0A= document.write('')=0A= document.write('')=0A= document.write('')=0A= document.write('')=0A= document.write('')=0A= document.write('
About = US  |  PATH Site  |  Getting Started = Guide  |  Contact Us3D"Child
Resources  |  TeenScreen® = Program')=0A= document.write('
© 2003 = TeenScreen® All Rights Reserved
')=0A= =0A= ------=_NextPart_000_002B_01C45ADE.50DCBE60 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://www.teenscreen.org/scripts/menuSystem.js oM=3Dnew makeCM("oM"); oM.offlineRoot=3D"";oM.resizeCheck=3D1; = oM.rows=3D1; oM.onlineRoot=3D""; oM.pxBetween =3D0; =0A= oM.fillImg=3D"/images/cm_fill.gif"; oM.fromTop=3D72; oM.fromLeft=3D155; = oM.wait=3D300; oM.zIndex=3D400;=0A= oM.useBar=3D0; oM.barWidth=3D"100"; oM.barHeight=3D"menu"; = oM.barX=3D0;oM.barY=3D"menu"; oM.barClass=3D"clBar";=0A= oM.barBorderX=3D0; oM.barBorderY=3D0;=0A= oM.level[0]=3Dnew = cm_makeLevel(130,20,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);=0A= oM.level[1]=3Dnew = cm_makeLevel(135,20,"clS","clSover",1,1,"clB",0,"right",0,0,"/images/menu= _arrow.gif",10,10);=0A= oM.level[2]=3Dnew cm_makeLevel(165,20,"clS","clSover");=0A= oM.level[3]=3Dnew cm_makeLevel(160,20);=0A= =0A= oM.makeMenu('m1','','  Home','/');=0A= oM.makeMenu('m2','','  About Us','/aboutUs/');=0A= oM.makeMenu('m3','','  Who Are You?','#','',150);=0A= oM.makeMenu('m4','','  PATH Site','#');=0A= oM.makeMenu('m7','','  News Room','#','',100);=0A= oM.makeMenu('m6','','  Getting Started = Guide','/newsletter/','',150);=0A= oM.makeMenu('m8','','  Contact Us','/contactUs/','',90);=0A= oM.makeMenu('m9','m3','Health Professionals','#');=0A= oM.makeMenu('m10','m3','Educators','#');=0A= oM.makeMenu('m11','m3','Parents','#');=0A= oM.makeMenu('m12','m3','Teens','#');=0A= oM.makeMenu('m13','m3','Policymakers','#');=0A= oM.makeMenu('m14','m3','Media','#');=0A= oM.makeMenu('m15','m4','About PATH','http://www.pathnow.org')=0A= oM.makeMenu('m16','m4','Petition Sign = Up','http://www.pathnow.org/petition/')=0A= oM.makeMenu('m17','m9','National Advisory = Council','/resources/advisory.html')=0A= oM.makeMenu('m18','m9','Suicide & Depression = Facts','/teenScreen/tsf.html')=0A= oM.makeMenu('m19','m9','Suicide & Substance = Abuse','/resources/ssu.html')=0A= oM.makeMenu('m20','m9','Research to = Initiative','/teenScreen/research.html')=0A= oM.makeMenu('m21','m9','Newsletters','/resources/pub.html')=0A= oM.makeMenu('m22','m9','Liability','/teenScreen/liability.html')=0A= oM.makeMenu('m23','m9','Research References','/resources/bib.html')=0A= oM.makeMenu('m24','m10','National Advisory = Council','/resources/advisory.html')=0A= oM.makeMenu('m25','m10','Suicide & Depression = Facts','/teenScreen/tsf.html')=0A= oM.makeMenu('m26','m10','Focus on = Schools','/teenScreen/program.html#TSParaLinkA')=0A= oM.makeMenu('m27','m10','Parents Poll','/resources/poll.html')=0A= oM.makeMenu('m28','m10','Newsletters','/resources/pub.html')=0A= oM.makeMenu('m29','m10','Liability','/teenScreen/liability.html')=0A= oM.makeMenu('m30','m10','Research References','/resources/bib.html')=0A= oM.makeMenu('m31','m11','Parental = Consent','/teenScreen/program.html#TSParaLinkB')=0A= oM.makeMenu('m32','m11','Confidentiality','/teenScreen/program.html#TSPar= aLinkC')=0A= oM.makeMenu('m33','m11','National Advisory = Council','/resources/advisory.html')=0A= oM.makeMenu('m34','m11','Parents Poll','/resources/poll.html')=0A= oM.makeMenu('m35','m11','What People Are = Saying','/resources/peopleSay.html')=0A= oM.makeMenu('m36','m11','Suicide & Substance = Abuse','/resources/ssu.html')=0A= oM.makeMenu('m37','m11','Suicide & Depression = Facts','/teenScreen/tsf.html')=0A= oM.makeMenu('m38','m12','Confidentiality','/teenScreen/program.html#TSPar= aLinkC')=0A= oM.makeMenu('m39','m12','Parental = Consent','/teenScreen/program.html#TSParaLinkB')=0A= oM.makeMenu('m40','m12','Rosa´s = Story','/teenScreen/program.html#TSParaLinkD')=0A= oM.makeMenu('m41','m12','What People Are Saying = ','/resources/peopleSay.html')=0A= oM.makeMenu('m42','m13','National Advisory = Council','/resources/advisory.html')=0A= oM.makeMenu('m43','m13','Suicide & Depression = Facts','/teenScreen/tsf.html')=0A= oM.makeMenu('m44','m13','H.R. 5613','/resources/publicP.html#RParaLinkA')=0A= oM.makeMenu('m45','m13','President´s = Commission','/resources/publicP.html#RParaLikB')=0A= oM.makeMenu('m46','m13','State = Policy','/resources/publicP.html#RParaLinkC')=0A= oM.makeMenu('m47','m13','Parents Poll ','/resources/poll.html')=0A= oM.makeMenu('m48','m14','National Advisory = Council','/resources/advisory.html')=0A= oM.makeMenu('m49','m14','Suicide & Depression = Facts','/teenScreen/tsf.html')=0A= oM.makeMenu('m50','m14','Press Releases','/resources/pub.html')=0A= oM.makeMenu('m51','m14','Parents Poll ','/resources/poll.html')=0A= oM.makeMenu('m52','m14','Suicide & Substance = Abuse','/resources/ssu.html')=0A= =0A= oM.makeMenu('m52','m7','Contacts','/newsroom/contacts.html','',160)=0A= oM.makeMenu('m53','m7','Media = Resources','/newsroom/mediaRes.html','',160)=0A= oM.makeMenu('m54','m7','Press Releases','/newsroom/pressRel.html','',160)=0A= oM.makeMenu('m55','m7','Polls, Surveys & = Reports','/newsroom/poolSurv.html','',160)=0A= oM.makeMenu('m56','m7','Legislative = Alerts','/newsroom/legAlerts.html','',160)=0A= oM.makeMenu('m57','m7','News Clips & = Video','/newsroom/newsClip.html','',160)=0A= oM.makeMenu('m58','m7','TeenScreen = Sites','/newsroom/teenSites.html','',160)=0A= oM.makeMenu('m59','m7','Facts & = Information','/newsroom/factsInfo.html','',160)=0A= oM.makeMenu('m60','m7','Newsletters','/newsroom/newsletters.html','',160)=0A= =0A= oM.menuPlacement=3Dnew Array(30,90,170,270,350,440,585)=0A= oM.construct()=0A= =0A= /* menu 2 */=0A= oM2=3Dnew makeCM("oM2"); oM2.offlineRoot=3D""; oM2.resizeCheck=3D1; = oM2.rows=3D1; oM2.onlineRoot=3D""; oM2.pxBetween =3D0; =0A= oM2.fillImg=3D"/images/cm_fill.gif"; oM2.fromTop=3D5; = oM2.fromLeft=3D155; oM2.wait=3D300; oM2.zIndex=3D410;=0A= oM2.useBar=3D0; oM2.barWidth=3D"100"; oM2.barHeight=3D"menu"; = oM2.barX=3D0;oM2.barY=3D"menu"; oM2.barClass=3D"clBar";=0A= oM2.barBorderX=3D0; oM2.barBorderY=3D0;=0A= oM2.level[0]=3Dnew = cm_makeLevel(130,20,"clT","clTover",1,1,"clB",0,"bottom",0,0,0,0,0);=0A= oM2.level[1]=3Dnew = cm_makeLevel(145,20,"clS","clSover",1,1,"clB",0,"left",0,0,"/images/menu_= arrow.gif",10,10);=0A= oM.level[2]=3Dnew cm_makeLevel(105,20,"clS","clSover");=0A= =0A= oM2.makeMenu('m1','',' Resources','#','',75);=0A= oM2.makeMenu('m2','',' TeenScreen® Program','#','',145);=0A= oM2.makeMenu('m3','m1','FAQ´s','/resources/faqs.html','',170);=0A= oM2.makeMenu('m4','m1','What People Are = Saying','/resources/peopleSay.html','',170);=0A= oM2.makeMenu('m5','m1','National Advisory = Council','/resources/advisory.html','',170);=0A= oM2.makeMenu('m6','m1','National = Endorsements','/resources/endorsers.html','',170);=0A= oM2.makeMenu('m7','m1','Research = References','/resources/bib.html','',170);=0A= oM2.makeMenu('m8','m1','Publications','/resources/pub.html','',170);=0A= oM2.makeMenu('m9','m1','Suicide & Substance = Abuse','/resources/ssu.html','',170);=0A= oM2.makeMenu('m10','m1','National Parents Poll = 2003','/resources/poll.html','',170);=0A= oM2.makeMenu('m11','m1','Public = Policy','/resources/publicP.html','',170);=0A= oM2.makeMenu('m12','m1','Links','/resources/links.html','',170);=0A= oM2.makeMenu('m13','m2','Program = Overview','/teenScreen/program.html','',153);=0A= oM2.makeMenu('m14','m2','Teen Suicide = Facts','/teenScreen/tsf.html','',153);=0A= oM2.makeMenu('m15','m2','Research to = Initiative','/teenScreen/research.html','',153);=0A= oM2.makeMenu('m16','m2','Screening = Instruments','/teenScreen/screening.html','',153);=0A= oM2.makeMenu('m17','m2','Liability','/teenScreen/liability.html','',153);=0A= oM2.makeMenu('m18','m2','TeenScreen® = Video','http://www.teenscreen.org/movie/COL-LARGE.MPG','',153);=0A= =0A= oM2.menuPlacement=3Dnew Array(519,595)=0A= oM2.construct() ------=_NextPart_000_002B_01C45ADE.50DCBE60--