function openYouTube(w,h,url) {
   var W = screen.availWidth * w;
   var H = screen.availHeight * h;
   var opts = 'scrollbars=yes,' +
              'menubar=no,' +
              'width=' + W + ',' +
              'height=' + H + ',' +
              'resizable=yes,' +
              'toolbar=no,' +
              'location=no,' +
              'status=no,' +
              'top=2,' +
              'left=2'
   window.open( url,
                '',
                opts );
}
function openYouTube_fixed(w,h,url) {
   var W = w;
   var H = h;
   var opts = 'scrollbars=yes,' +
              'menubar=no,' +
              'width=' + W + ',' +
              'height=' + H + ',' +
              'resizable=yes,' +
              'toolbar=no,' +
              'location=no,' +
              'status=no,' +
              'top=2,' +
              'left=2'
   window.open( url,
                '',
                opts );
}
function openGoogleMap() {
   var opts = 'scrollbars=yes,' +
              'menubar=no,' +
              'width=600,' +
              'height=500,' +
              'resizable=yes,' +
              'toolbar=no,' +
              'location=no,' +
              'status=no,' +
              'top=4,' +
              'left=4'
   window.open( '/rogers_google_map.html',
                '',
                opts );
}
function openLXEDemo() {
   var opts = 'scrollbars=yes,' +
              'menubar=no,' +
              'width=300,' +
              'height=375,' +
              'resizable=no,' +
              'toolbar=no,' +
              'location=no,' +
              'status=no,' +
              'top=4,' +
              'left=4'
   window.open( '/openLXEDemo.html',
                '',
                opts );
}
function toggleArrowOver(el) {
   if (document.getElementById) {
      el.background = 'url(/images/test123/expanded.gif)';
   }
}

function toggleArrowOut(el) {
   if (document.getElementById) {
      el.background = 'url(/images/test123/expand.gif)';
   }
}

// (C) 2002 www.CodeLifter.com
// http://www.codelifter.com
// Free for all users, but leave in this header.
// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 5000;
// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 3;
var Picture = new Array();
var Caption = new Array();
// =====================================
// Do not edit anything below this line!
// =====================================
var tss;
var iss;
var jss = 1;
var pss;
var preLoad = new Array();

function setUpSlideShow(P, C) {
   Picture = P;
   Caption = C;
   pss = Picture.length - 1;
   for ( iss = 1; iss < pss + 1; iss++ ) {
      preLoad[iss] = new Image();
      preLoad[iss].src = Picture[iss];
   }
}

function runSlideShow() {
   if (document.all) {
      document.images.PictureBox.style.filter="blendTrans(duration=2)";
      document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
      document.images.PictureBox.filters.blendTrans.Apply();
   }
   document.images.PictureBox.src = preLoad[jss].src;
   if (document.getElementById)
      document.getElementById("CaptionBox").innerHTML= Caption[jss];
   if (document.all)
      document.images.PictureBox.filters.blendTrans.Play();
   jss = jss + 1;
   if (jss > (pss))
      jss=1;
   tss = setTimeout('runSlideShow()', SlideShowSpeed);
}
// END www.CodeLifter.com

var ammo_notice =
"<table class='rogers_ammo_warn'>\n" +
"   <tr>\n" +
"      <th>Ammunition Notice!</th>\n" +
"   </tr>\n" +
"   <tr>\n" +
"      <td>You must be 18 or older to purchase ammunition. All ammunition will be shipped via UPS Ground. Continental United States only. For safety reasons, we do not accept returns on ammunition. Always make sure you use the correct ammunition for your specific firearm. If you have any questions about our ammunition working for your firearm feel free to call us, (816) 781-9026.</td>\n" +
"   </tr>\n" +
"</table>";
var ammo_warning =
"<table class='rogers_ammo_warn'>\n" +
"   <tr>\n" +
"      <th>Warning!</th>\n" +
"   </tr>\n" +
"   <tr>\n" +
"      <td>Use of this ammunition with the 'Patternmaster' (22-2085) choke tube is not recommended. (The reverse-flair of the wad design is not compatible with the design of the choke)</td>\n" +
"   </tr>\n" +
"</table>";

function getAmmoNotice() {
   return ammo_notice;
}
function getAmmoWarning() {
   return ammo_warning;
}
