//  These are the settings for the intro page including the Landshark Motorsports slogans.  

//  Guideline: When changing settings, do not change the format or synatax!  Follow the instrucitons!
//             Changing anything but the specified values will cause the intro page to FAIL


//-------------------------------------------------------------------------------
// START PAGE
//  This determines what page appears after the opening page.   The options are:
//    - maintenance.htm - if you need to keep customers out while working or updating
//    - main2.htm - if you are open for business
//  Also you can include a message for the Maintenance page in LSM font
var startPage = "main2.htm"
var maintMessage = "our WeB Site iS doWn For a quick pit Stop<br/>Sorry For the inconVenience!<br/>Back in FiVe"

//---------------------------------------------------------------------------------
//  These colors define the starting and ending color of the slogan, and the page background color.
//  If the starting color is the same as the page background, the slogan will appear to fade in.
//  All colors on a monitor are made up of varying amounts of three basic colors; Red, Green, Blue.
//  HERE colors are specified in RGB format, with a possible range of 0-255 for each color.
//       0,0,0 is black, 255,255,255 is white.
//  Some graphics programs will specify color in a hex format with a possible range of 00-FF for
//    each color.  000000 is black, FFFFFF is white.
//  To convert from hex to decimal:
//      1)  Hex is base 16 so you count {0,1,2,3,4,5,6,7,8,9,A(10),B(11),C(12),D(13),E(14),F(15)}
//      2)  To convert, multiply the second digit (on left) by 16, and add the first digit
//      3)  example - CE = (C * 16) + E) = 12*16 + 14 = 206 
var startColorR = 255
var startColorG = 255
var startColorB = 255
var endColorR = 160
var endColorG = 0
var endColorB = 0
var pageColorR = 255
var pageColorG = 255
var pageColorB = 255

//---------------------------------------------------------------------------
// Transitions and Timing
// The goal here is to get smooth results without overloading the processor. Lots of rapid 
//    transitions will overload the processor on slower machines resulting in poor performance.
//    To few transitions will result in jerky graphics.

// Number of color changes and timing (in milliseconds) for the slogan.  
//    Multiplying the two gives total fade time.
var sloganColorChanges = 15
var sloganColorChangeInterval = 150

// Number of moves and timing (in milliseconds) for the shark image.  
//    Multiplying the two gives total move time.
//    The shark image is programed to start offscreen left and then move to center
//    (dependent on browser window size).
var sharkMoves = 25
var sharkMoveInterval = 69

// Number of milliseconds between end of slogan fade and moving to main page
// Should by greater than or equal to sharkMoves * sharkMoveInterval
mainPageDelay = 1800

//---------------------------------------------------------------------------------
// The slogans
//  All of the slogans are trademarks and copywrited, and are set up to use the Mattisse font.
//  Note that all slogans are in quotes and all but last are followed by a comma.

var slogans = new Array()
var slogans = 
[
'cauSing Fear in eVery gear',
'Fear the BeSt, Beat the reSt',
'Fear the BeSt, eat the reSt',
'Fear Who you MuSt    LeaVe the reSt in the duSt',
'it’S Speeding tiMe',
'Fear thiS...',
'SWaLLoWing the coMpetition WhoLe',
'SoMe coMe to race   We coMe to Feed',
'Bite hard…cheW Fast…SaLt to taSte',
'cheWing up the coMpetition',
'Wet carniVore racing',
'eating our Way to the Winner’S circLe',
'driVe Like there’S priZe Money',
'driVe Like eVery Lap countS',
'driVe Like it’S the LaSt Lap',
'driVe Like eVery Lap is the LaSt Lap',
'Brakes are For gurLeyS',
'don’t Worry, your car ‘LL juSt giVe Me gas',
'don’t Worry, your car ‘d giVe Me gas',
'What are you gonna do Bleed on Me?',
'What you caLL racing We caLL Lunch',
'Second pLace iS juSt FaSt Food',
'What you caLL Second pLace We caLL FaSt Food',
'gLr  guppy League racing',
'iF i caLL you chuM it doeSn’t Mean you’re My Friend',
'We race   you LooSe',
'TiMe For a Feeding FrenZy',
'iF you go FaSt enough you’LL neVer get oLd'
];

//-------------------------------------------------------------------------
// Cookies - durration or reset.
// The index page uses 2 cookies to help interact with the user.
//   One cookie allows the user to skip the intro page.  Another increments the slogan
//   each time the page is accessed.  Occassionally you may want to reset these.  The
//   durration is how long they exist on the users computer (i.e. reset themselves).
// Changing the Reset to true will reset the users web page ONCE, it will not 
//   continually reset.  For reset to work again, the user must read a FALSE
//   setting for reset.  false resets the reset.

// Skip Intro cookie, reset is true or false, duration is in days
var skipIntroReset = false
var skipIntroDuration = 30

// Next Slogan cookie, reset is true or false, duration is in days
var nextSloganReset = false
var nextSloganDuration = 30
