

                            <!-- 
                            function solveBAC(form) {
                            var message;
                            var ounces = eval(form.ounces.value);
                            var percent = eval(form.percent.value);
                            var weight = eval(form.weight.value);
                            var hours = eval(form.hours.value);

                            var result = (ounces * percent * 0.075 / weight) - (hours * 0.015);
                            if (result < 0) {
                            message = "There is a negligible amount of alcohol in your system.  You are not legally intoxicated.";
                            result = "-- neglible amount --";
                            }
                            else {
                            if (result > 0.35)
                              message = "Call the hospital if this is your alcohol level. You are probably close to a coma or death.";
                                else if (result > 0.08)
                                  message = "In MOST and possibly ALL states you would be considered intoxicated and arrested for DUI if driving.";
                                    else if (result < 0.08)
                                    message = "You are below the legal limit of most states.  However, you can still be charged with DUI / DWI if your driving is impaired at this alcohol level.";
                            else message = "Enter all information before calculating.";
                                   }
                            form.message.value = message;
                            form.bacamount.value = result + " %";
                            }
							
							
			

// =======================================
// set the following variables
// =======================================

// Set slideShowSpeed (milliseconds)
var slideShowSpeed = 2000

// Duration of crossfade (seconds)
var crossFadeDuration = 3

// Specify the image files
var Pic = new Array() // don't touch this
// to add more images, just continue
// the pattern, adding to the array below

Pic[0] = 'assets/pic_Mobilepic_1.jpg'
Pic[1] = 'assets/pic_Mobilepic_2.jpg'
Pic[2] = 'assets/pic_Mobilepic_3.jpg'
Pic[3] = 'assets/pic_Mobilepic_4.jpg'
Pic[4] = 'assets/pic_Mobilepic_5.jpg'
Pic[5] = 'assets/pic_Mobilepic_6.jpg'
Pic[6] = 'assets/pic_Mobilepic_7.jpg'
Pic[7] = 'assets/pic_Mobilepic_8.jpg'
Pic[8] = 'assets/pic_Mobilepic_9.jpg'
Pic[9] = 'assets/pic_Mobilepic_10.jpg'
Pic[10] = 'assets/pic_Mobilepic_11.jpg'
Pic[11] = 'assets/pic_Mobilepic_12.jpg'
Pic[12] = 'assets/pic_Mobilepic_13.jpg'


// =======================================
// do not edit anything below this line
// =======================================

var t
var j = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=2)"
      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[j].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   j = j + 1
   if (j > (p-1)) j=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}
                            //  -->
                            
							
							