// JavaScript Document

//If using image buttons as controls, Set image buttons' image preload here true
//(use false for no preloading and for when using no image buttons as controls):
var preload_ctrl_images=true;

//And configure the image buttons' images here:
var previmg='assets/imgs/slideshow/left.gif';
var stopimg='assets/imgs/slideshow/stop.gif';
var playimg='assets/imgs/slideshow/play.gif';
var nextimg='assets/imgs/slideshow/right.gif';
var slides=[]; //register slideshow array variable

//configure the below images and descriptions to your own.
slides[0] = ["images/main_ads/mailing_ad.jpg", "4over Mailing"];
slides[1] = ["images/main_ads/conf_ad.jpg", "Outsource with Confidence"];
slides[2] = ["images/main_ads/jersey_ad.jpg", "4over is coming to New Jersey"];
slides[3] = ["images/main_ads/callback_ad.jpg", "New Mobile Web app for Call Back"];
slides[4] = ["images/main_ads/press_ad.jpg", "New Addition to the 4over Family"];
slides[5] = ["images/main_ads/chicago_ad.jpg", "4over, Coming Soon to Chicago"];
slides[6] = ["images/main_ads/enduro_ad.jpg", "Enduro Line - durable and waterproof products"];
slides[7] = ["images/main_ads/grand_ad.jpg", "Grand4Mat coming in January", "grand4mat.html"];

//optional properties for these images:
//slides.desc_prefix='<b>Description:<\/b> '; string prefix for image descriptions display
//slides.controls_top=1; use for top controls
//slides.counter=1; use to show image count
//slides.width=500; use to set width of widest image if dimensions vary
//slides.height=500; use to set height of tallest image if dimensions vary
//slides.no_auto=1; use to make show completely user operated (no play button, starts in stopped mode)
slides.use_alt=1; //use for descriptions as images alt attributes
slides.use_title=1; //use for descriptions as images title attributes
//slides.nofade=1; use for no fade-in, fade-out effect for this show
slides.no_descriptions=1; //use for no descriptions displayed
slides.pause=1; //use for pause onmouseover
slides.image_controls=1; //use images for controls
slides.button_highlight='#F60'; //onmouseover background-color for image buttons (requires image_controls=1)
slides.random=1; //set a random slide sequence on each page load
//slides.manual_start=1; start show in manual mode (stopped)

// EXTRAS
//slides.target = 'target'; will set a target for a slide group, will be overridden by slides[#][3], if present
//slides.specs='width=300, height=400'; will set new window specifications for a slide group, will be overridden by slides[#][4], if present
//slides.fadecolor='colorHEX_or_Name'; will set fading images background color, defaults to white
slides.no_controls=1; //will set a slide show with no controls
slides.delay=5000; //will set miliseconds delay between slides for a given show, may also be set in the call as the last parameter
//slides.jumpto=1; display added controls to jump to a particular image by its number
slides.no_added_linebreaks=1; //use for no added line breaks in formatting of texts and controls
//use below to create a customized onclick event for linked images in a given show:
//slides#.onclick="window.open(this.href,this.target,'top=0, left=0, width='+screen.availWidth+', height='+screen.availHeight);return false;"