// Use Freely as long as following disclaimer is intact ::
//---------------------------------------------------------------
// Cross Browser Multi-Directional Scroller v1.1 18th January 2005
// This script written by Rik Comery. www.ricom.co.uk
// For support, visit the "Resources" section at www.ricom.co.uk
// All rights reserved.
Article = new Array;
i=0;
/* DEFINE SCROLLER ELEMENTS
Define new scroller elements here in the following format.
Article[i] = new Array ("display text", "URL", "frame target to load link in");i++
Note: If you do not want the item to be a link, change the URL value to "none".
*/
Article[i] = new Array ("Welcome to Real Apparel", "none", "_blank");i++
Article[i] = new Array ("Upcoming Events:", "none", "_blank");i++
Article[i] = new Array ("...click here for more news...", "http://www.realapparelusa.com/news-and-press.htm", "_top");i++
/*
Article[i] = new Array ("Download various JavaScript resources", "http://ricom.co.uk/resources.php", "_blank");i++
Article[i] = new Array ("Visit our Contacts Page", "http://ricom.co.uk/contacts.php", "_blank");i++
*/
////// SCROLLER CONFIGURATION ///////////////////////////////////////////////////////////////////
orientation = "horizontal" // Orientation of scroller (Horizontal or vertical)
scrollerWidth = "370" // Width of entire scroller.
scrollerHeight = "22" // Height of Scroller.
borderWidth = 0 // Width of border. (use 0 for no border).
borderColour = "#006600" // Colour of scroller border. (Use either hexadecimal or text values. e.g. "#FF0000" or "Red")
backColour = "#ffffff" // Colour of scroller background. (Use either hexadecimal or text values. e.g. "#FF0000" or "Red")
staticColour = "#333333" // Colour of scroller items that are NOT a link. (including scrollerDivider characters)
stopScroll = 1 // Pause the scroller on mouseOver. (use 0 for no.)
textAlignment="center" // Alignment of each scroller item. Only really makes a difference on vertical scroller
// (center, left, right, justify)
// Scroller Links
linkFont = "arial" // Font of scroller links;
linkWeight = "normal" // Weight of scroller links;
linkColour = "#990033" // Colour of scroller links
linkSize = "10" // Size of links (in points)
linkDecoration = "none" // Decoration of links. (underline, overline, none)
// Scroller Links On MouseOver
slinkFont = "arial" // Font of scroller links;
slinkWeight = "normal" // Weight of scroller links;
slinkColour = "#999999" // Colour of scroller links
slinkSize = "10" // Size of links (in points)
slinkDecoration = "underline" // Decoration of links. (underline, overline, none)
scrollerDivider = " " // Character to place between each scroller item.
//
tags can be used if an image is required.
// Use "0" for nothing. For Vertical scrollers, it is best to use "
"
/*
Because Netscape version 4 does not support this scroller, configure the values below so NS4 users do not see an error.
In the scroller's place will be a static title which can be a link if require. The appearance of the static text (colour, scroller border etc)
will be exactly the same as for the working version in other browsers.
*/
ns4Text = "Click here to view our top stories"; // Alternative text to display in Netscape 4.
ns4URL = "http://www.realapparelusa.com/news.php"; // URL of link in NS4. If no URL is required, enter "none"
ns4Target = "_top"; // Frame target for link in NS4
////// DO NOT EDIT BELOW THIS LINE ///////////////////////////////////////////////////////////////////
//Browser Sniffer
var isIE = (document.getElementById && document.all)?true:false;
var isNS4 = (document.layers)?true:false;
var isNS6 = (document.getElementById && !document.all)?true:false;
var isLoaded=false;
style='