//'----------------------------------------------------------------------------
//' %MODULE:
//'   ConfigScroll.js
//' 
//' %DESCRIPTION: 
//'   Common JavaScript to configure lines, direction, and speed for the scroll 
//'   lines.
//'
//'----------------------------------------------------------------------------
<!--
/* **********************************************************************************
    * This code was created by Jim Young of www.requestcode.com .  http://www.requestcode.com/misc4.html               *
    * You may use this code at no charge.  All I ask is that you give me             *
    * credit.  Please visit my site for more scripts like this one.                          *
    **********************************************************************************
    Enter your links or text in the array below that you want to scroll.  Make sure that you use single quotes within
    the double quotes
*/

// Compose your lines of messages...
var msg=new Array()
msg[0]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/Pfizer Pharmaceuticals EN.asp'     onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">1. Pfizer Pharmaceuticals (Unicode)</A></B></FONT>"
msg[1]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/Printer & Accessories EN.asp'      onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">2. Printer & Accessories (Unicode)</A></B></FONT>"
msg[2]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/Notice of Privacy Practice EN.asp' onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">3. Notice of Privacy Practice (VPS fonts)</A></B></FONT>"
msg[3]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/Hepatitis EN.asp'                  onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">4. Hepatitis (Unicode)</A></B></FONT>"
msg[4]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/OSHA Regulations EN.asp'           onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">5. OSHA Regulations (Unicode)</A></B></FONT>"
msg[5]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/California Ballot EN.asp'          onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">6. California Ballot Candidate (VNI fonts)</A></B></FONT>"
msg[6]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/Paint Inspection EN.asp'           onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">7. Paint Inspection (Unicode)</A></B></FONT>"
msg[7]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/Legal EN.asp'                      onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">8. Legal (Unicode)</A></B></FONT>"
msg[8]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/Informed Consent EN.asp'           onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">9. Informed Consent (VNI fonts)</A></B></FONT>"
msg[9]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/Oil Exploration EN.asp'            onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">10. Oil Exploration (Unicode)</A></B></FONT>"
msg[10]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/Insurance EN.asp'                 onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">11. Insurance (Unicode)</A></B></FONT>"
msg[11]="<FONT FACE='Verdana' SIZE='-2'><B><A HREF='/Translate/Samples/TCVN VN.asp'                      onmouseover=\"style.color='red';speed=slow;return true;\" onmouseout=\"style.color='black';speed=fast;return true;\">12. Vietnamese Standard (Unicode)</A></B></FONT>"



/* The variables below are the ones you want to change  */
fast     = 60      	// Sets the speed in milliseconds at which the link or text scrolls (smaller=faster!)
slow     = 5000
speed    = fast
var divwidth  = 300     // Sets the width of the div or layer in pixels.  You will have to play with this to get it set correctly.
var divheight = 45      // Sets the height of the div or layer in pixels.  Same as above.

/* The variables divincbt, divinctb, divincrl and divinclr set the increment in pixels that the div that contains the text
   or links is moved.  Which one is used is determined by the direction that you pick in the variable whichscroll.
   The variable divinctb would be used if you set whichscroll to 1, divinctb if you set whichscroll to 2, divincrl if
   you set whichscroll to 3 and divinclr if you set whichscroll to 4.  You can change these variables to speed up
   or slow down the movement of the scroll.
*/

var divincbt =   1
var divinctb =  -1
var divincrl =  10
var divinclr = -10

var divpause = 900     		// Sets how long to pause in milliseconds before scrolling the next link or text.

var divtop   = "5"      	// divtop and divleft set the top and left positions of the container div or layer in pixels.
var divleft  = "10"

var divcolor = "white"  	// Sets the background color of the div or layer

var divname1 = "scroll2"  	// Sets the name of your div or layer for the first link or text that is displayed
var divname2 = "scroll3"  	// Sets the name of your div or layer for the next link or text to be displayed

/*  The variable whichscroll is used to set the direction of the scrolling.  It is currently set to 1.
    1 = Bottom to Top
    2 = Top to Bottom
    3 = Right to Left
    4 = Left to Right
*/
var whichscroll = "1"	 	// 1=down to up; 2=up to down; 3=right to left; 4=left to right

/* END OF CONFIGURATION VARIABLES */
// --> 


