We hear it all the time–buying or leasing a car is HARD!! Deciding which new or used vehicle to buy can be overwhelming and confusing.

We’re here to help, so here are some must-have safety features to help narrow down your list. After the must-have safety features, we discuss the crash test ratings by the Insurance Institute for Highway Safety as well as the National Highway Traffic Safety Administration.

Top 6 Safety Features

In our opinion, these 6 are the non-negotiables (i.e. if the vehicle doesn’t have it, we wouldn’t buy it).

  1. Crash avoidance systems, specifically
      • Front crash prevention with autobrake,
      • Electronic stabilization control,
      • Rear crash and backover prevention/Rear cross traffic alert
  2. Side impact airbags for front and rear passengers
  3. Enough tether anchors
  4. Adequate trunk and cargo space
  5. Sufficient size and weight to your vehicle
  6. Good head restraints in all positions

1. Crash Avoidance Systems

Driver Assist Systems (Automatic Systems)

These systems assist the driver by slowing or stopping the vehicle, not just warning the driver to take action. The first three of these are our priorities and should be non-negotiable. The other systems are important too and are sometimes offered in a package with the autobrake and rear cross traffic alert systems. Be attentive when shopping — look at the various vehicle packages carefully as sometimes manufacturers pick and choose which of these safety features comes on a particular model. You definitely want the first three, but also as many of the others as is possible! 

Front Crash Prevention with Autobrake (must-have feature)

Let’s cut to the chase. If it’s within your budget to get a vehicle with Front Crash Prevention (Autobrake) / Automatic Emergency Braking – and in particular one that earns a superior rating from the Insurance Institute for Highway Safety – this may be the best health insurance you can buy for yourself and your family. Since car crashes are a leading cause of preventable death and injury for children and adults, and frontal crashes are the most common type of crash resulting in death, you want a vehicle that can help prevent you from getting into a frontal crash. When preventing the crash isn’t possible, front crash prevention technology can lessen the crash’s severity by decreasing the speed at which the crash happens.

This system is often called Automatic Emergency Braking, and it means the vehicle will help prevent a crash from occurring by slamming on the brakes by itself, without you needing to. In cases where this can’t prevent the crash, it decreases the speed at which the crash occurs, thereby decreasing the risk of injury.

How do you know if a vehicle has this feature? If you go to the IIHS ratings page for a specific vehicle you’ll see a list of features, including a section called “Crash avoidance and mitigation” which will tell you if the vehicle offers this technology, and if so whether it’s optional or standard. If you click on the link you’ll see the package name so that you’ll know exactly what to ask for at the dealership.

Note that some vehicles have a system called Forward Collision Warning (FCW) which is like the above system but WITHOUT the autobrake feature. A warning like a flashing light, beep, vibration, etc, will alert you to an imminent head-on crash. This technology is effective but not nearly as effective as when it comes with Autobrake, because sometimes the warning comes too late, and you won’t have enough time to react and brake before the crash. Autobrake can activate the brakes much faster than a human can.

Forward Collision Warning with Autobrake reduces front to rear crashes by 50%.

Electronic Stabilization Control (ESC) (must-have feature)

ESC is a computerized technology that makes a vehicle more stable by detecting and then reducing skidding, which prevents many single-vehicle crashes and especially rollovers. Essentially, it helps drivers maintain control on curves and slippery roads. ESC is expected to save more lives than seat belts, because it prevents a crash from happening in the first place! If all vehicles on the road were equipped with this technology, as many as 10,000 fatal crashes could be avoided each year in the US. ESC cuts in half the risk of a fatal single-vehicle crash. It reduces the risk of fatal single-vehicle rollovers by about 75% for SUV’s and cars and it’s estimated to prevent 40 to 56% of large truck rollovers and 14% of loss-of-control crashes.

ESC has been required on all but the heaviest vehicles since model year 2012 and as of model year 2019 is also required on large trucks. Its safety benefits are so tremendous that it should be a non-negotiable when you’re shopping for a pre-owned vehicle. It’s marketed under various names such as dynamic stability control, vehicle stability control, dynamic stability, and traction control, among others.

How does it work? ESC looks for differences between the direction of the steering wheel (meaning the direction the driver wants the vehicle to travel) and the actual direction the vehicle is headed. When there’s a difference between these two directions, ESC makes the necessary corrections, by controlling the braking of individual wheels and the cars speed, to match the vehicle’s direction of travel with the direction the driver wanted.

ESC prevents both oversteering and understeering. Oversteer is when the car turns farther than the driver wanted, causing the rear wheels to slide and the car to spin. Understeer is when the front wheels don’t have enough traction and the car continues straight ahead instead of turning. During emergency maneuvers, ESC can help a driver maintain control and prevent the sideways skidding and loss of control that can lead to a rollover, and can prevent running off the road on a sharp curve by reducing the vehicle’s speed.

Rear Crash and Backover Prevention, Rear Cross Traffic Alert (must-have feature)

As of 2018, all vehicles must come with backup cameras, which help prevent backover crashes. Children are the most frequent victims of these crashes. Some vehicles also come with autonomous braking for rear crashes, where the car will automatically apply the brakes if it detects an object behind you while you are backing up. Others will not apply the brakes but will sound a warning alarm to alert you to the object. Rear cross traffic detection can alert you and on some models, will apply the brakes, if it detects a vehicle approaching yours while you are backing up. These rear crash prevention systems are fantastic as they, like the technology above, help prevent a crash from happening in the first place, and specifically a type of crash that disproportionately affects very young children.

Adaptive Cruise Control (runner-up–get it if you can)

This is a smarter cruise control that represents one of the beginning steps in autonomous driving. Adaptive Cruise Control (ACC) allows you to set your desired speed and following distance, and then your car will automatically slow down or speed up to maintain these. So ACC not only maintains your set speed, but if the traffic in front of you slows down, ACC will slow your car down to maintain your desired gap. Once the ACC detects that there is sufficient space between you and the car in front, your car will accelerate up to your set speed.

ACC systems vary in several important ways. Some will provide partial braking, while others will bring the car to a complete stop when necessary. Many versions work only at set speeds above 25 to 35 mph, meaning they won’t work for driving around town. Many also shut off when the car goes below a certain speed, meaning they may shut off in stop and go traffic. ACC that works at highway speeds in increasingly common, but ACC that works down to a full stand-still, called ACC with Stop and Go, is a next important step in managing bumper to bumper traffic.

ACC is great for everyone, but especially for those who do lots of highway driving and those who are prone to motion sickness. Those who get motion sick will be the first to tell you that some drivers make them feel much sicker than others, particularly due to how the driver accelerates and brakes. ACC is the most gentle driver of all, since the car can accelerate and brake much more smoothly than a human can, so you are less likely to feel motion sick.

Adaptive Headlights (runner up–get it if you can)

Headlights matter! If you can’t see an obstacle, how are you supposed to avoid it? Glare from other drivers headlights can also affect your ability to see. Effective headlights need to illuminate the road well enough to give a driver enough time to stop even at high speeds without blinding other drivers. 

Curve-adaptive headlights rotate based on steering wheel movement to light up the road ahead, which is particularly useful for visibility on a dark and windy road. Studies indicate that curve adaptive headlights increase visibility, allowing a driver more time to react, perhaps avoiding a crash altogether. These headlights can lessen the severity of the crash if it does occur, by giving the driver more time to slow down, so that the eventual crash occurs at a lower speed.

High beam assist headlights use a camera to detect other vehicles and turn on and off the high beams based on the other vehicles’ locations. Using high beams greatly increases visibility, again giving a driver more time to react.

Pedestrian and Bicycle Detection with Autobrake

Pedestrians account for at least 1/6th of all fatalities on our roads. In 2015, 5,376 pedestrians were killed and at least 70,000 were injured in motor vehicle crashes on public roadways in the US.

Pedestrians can get hit in 2 different ways: by a frontal crash, or by being backed over. Pedestrian detection systems can prevent both types of crashes.

To prevent a frontal crash, the pedestrian detection system looks for pedestrians in front of the vehicle and warns the driver if a crash is likely. Some systems (autobrake) will also apply the brakes as well. An IIHS analysis of 2005-2009 crash data “estimated that such pedestrian detection systems could potentially mitigate or prevent up to 65 percent of single-vehicle crashes with pedestrians in the three most common crash configurations and 58 percent of pedestrian deaths in these crashes.”

The majority of pedestrian deaths happen at high speeds in low light situations. Unfortunately, some of these detection systems are designed to operate only at low speeds with good lighting, which obviously reduces their effectiveness.

Rear-view cameras and park assist systems can help prevent backover crashes by letting the driver see what is behind the car, which they couldn’t see by using just the rear-view mirror or side mirrors. The best technology is park assist with autobrake, which applies the brakes if the driver is backing up into something (a pole, a car, or a person).

Lane Keeping Assist

If your vehicle detects you are veering outside of your lane and you do not respond in time, it will automatically steer you back in the right direction, helping to avoid a crash. This is an advanced version of Lane Departure Warning, discussed below.

Driver Warning Systems

These features help avoid a crash by warning the driver of a problem. They don’t stop or steer the vehicle; they only alert the driver, who must then take action.

Blind Spot Detection

This feature will warn you with an icon, usually a lighted symbol in your side mirror or windshield frame, that a vehicle is in your blind spot. It may also warn you more vigorously with a sound or vibration if you put on your turn signal while the other vehicle is in your blind spot. This technology has been proven effective in both preventing lane-change crashes and decreasing injury when the crash was not preventable.

Lane Departure Warning

This system warns the driver when their car is veering out of their lane. The warning is usually a flashing light, a beep, a vibration, or a tightening of the seat belt. It may be augmented by Lane Keep Assist in some newer models.

Drowsy Driver Detection

Drowsy driving kills thousands and injures tens of thousands in the US every year. The NHTSA estimates that drowsy driving was responsible for 72,000 crashes, 44,000 injuries, and 800 deaths in the USA in 2013. However, these numbers are underestimated and up to 6,000 fatal crashes each year may be caused by drowsy drivers. Do your part to ensure you aren’t driving drowsy: look for a vehicle that might be able to warn you if you’re losing attention due to fatigue.

Drowsy driver detection systems do exactly what they sound like they do — they detect and warn a drowsy driver. Some systems borrow from lane departure warning systems and monitor how much a driver is drifting out of their lane, since its assumed that an alert driver will stay in their lane. Other systems learn your driving patterns while you’re fully alert and then warn you if they sense your driving is slower or erratic. Other systems use facial recognition technology to detect eyelid droop and head bobs to tell if you’re starting to fall asleep.

Early studies suggest that the drowsy driver detection technology will help prevent crashes, but this kind of warning is only as effective as the driver’s response to it. Specifically, does the driver find a safe place to pull over and take a nap, or does the driver ignore the warning and continue driving?

Parking Sensors

Parking sensors alert you to the position of objects around your vehicle as you park, using cameras, sensors, and/or tones. Some even include lines that appear in your back-up camera. These sensors can help you avoid objects that are both in front of and behind your vehicle.

Automatic parallel parking helps find a viable spot by making sure there is enough room for your vehicle to fit bet

For more information on these technologies: see IIHS’s fantastic explanations

2. Side Impact Air Bags (SABs) that offer head and chest protection to front AND back passengers

While surprisingly not government-required in the US, side air bags are now standard equipment in nearly all passenger vehicles since 2008, at least for the driver and front passenger. Side air bags try to keep you from hitting the inside of the vehicle and things outside the vehicle in a side crash. Since the head is the part of the body most likely to be injured in a crash, and the part we don’t know how to fix, side air bags are a critical safety feature. Side air bags also help by spreading crash forces over a larger area of your body. Side air bags that protect the head reduce a car driver’s risk of death in driver-side crashes by 37 percent and an SUV driver’s risk by 52 percent. 

The IIHS vehicle ratings database tells you if a particular vehicle has side airbags as optional or standard equipment – and will tell you whether the side air bags offer head and/or chest protection, and to which rows of seats this protection extends. 

For example, in an SUV with a 3rd row, it may have head and chest protection SABs for the front seat, just head protection SABs for the 2nd row, and no SABs at all for the 3rd row (making the 3rd row not the best place for your kids… even though you were buying the vehicle to put kids back there).

Are side airbags safe for kids?

Short answer: yes. Click here for lots more info you’ll want to read.

3 Types of Side Air Bags (SABs)

There are 3 types of side air bags – Head, Chest, and Combination. Click here to read more about the 3 types to understand which ones you’ll want to look for in your new car.

3. Enough Tether Anchors

The tether is the MOST IMPORTANT part of EVERY forward-facing car seat. Unfortunately, the government only requires cars 2003 and newer to have 3 tether anchors. If you’re buying a sedan, you have 3 seats in back, and you’ll have a tether anchor for each of these seats. If you’re buying a vehicle with a 3rd row – such as a minivan or SUV – chances are you will NOT have tether anchors in all of the positions. Shocking, right! Therefore, before buying a vehicle with a 3rd row, make sure that any of the positions where you might want to put a forward-facing child have a tether anchor… see here for a comprehensive list of vehicle tether anchor positions.

4. Sufficient Size and Weight

Vehicle size and weight matter.  We’re not suggesting that you buy the biggest, heaviest, behemoth of a vehicle you can find… but we want you to realize that smaller, lighter vehicles generally offer less protection than larger, heavier ones. Smaller vehicles have less structure to absorb crash energy, making deaths and injuries more likely.  When struck by heavier vehicles, people in lighter vehicles also experience higher crash forces.

According to the Insurance Institute for Highway Safety, “If safety is a major consideration, pass up very small, light vehicles.” The IIHS is quick to add that this doesn’t mean that drivers have to choose the heaviest vehicles on the road to get good protection. Crash tests show that midsize cars afford a lot more protection than minicars from the same manufacturer. For example, the 2014 Chevrolet Spark (2,300 pounds – a minicar) and the 2014 Kia Optima (3,300 pounds – a midsize car) are both IIHS Top Safety Picks; the Optima would likely be safer than the Spark given its extra weight and size. It would NOT be recommended to buy a vehicle with a lower safety rating simply for its increased size – look for sufficient size AND safety ratings.  For more about this topic, see the IIHS’s Status Report.

5. Adequate Trunk and Cargo Space

Cargo in the passenger area just isn’t safe.  Things (objects, people, etc) become very heavy in a crash and will weigh their usual weight TIMES the G’s in the crash (G’s are the force of gravity).  A 30mph crash may have 20-25G’s. For example, a 10 lb baby in a 20G crash will weigh approximately 200 lbs! Unrestrained people and objects will fly around in a crash, becoming missiles that can injure the other passengers in the car.

Make sure your car has enough trunk space so that cargo stays out of the passenger area. If you’re buying a vehicle with a 3rd row, it’s ideal to keep the third row up (as if people were riding in the 3rd row) to act as a barrier between the cargo and the kids in the 2nd row.

If you’re planning to put someone in the 3rd row, please know that it is NOT SAFE to have part of the 3rd row folded down while someone’s sitting back there. Doing this makes it such that the person in the 3rd row is in essence riding in the trunk. All the cargo next to them can fly on top of them in a crash.

Note: Many SUVs with a 3rd row will have insufficient trunk space for even everyday use, like stowing groceries and strollers, when the 3rd row is being used. Check carefully before purchasing! For those needing to use the 3rd row for seating, a minivan will typically offer much more cargo space than an SUV.

6. Good Head Restraints in Every Position

Whiplash is the most frequently reported injury in U.S. auto insurance claims. In 2007, the cost of claims in which neck pain was the most serious injury was about $8.8 billion, or 25 percent of the total payout for crash injuries. You should care about preventing whiplash! A good head restraint can help prevent whiplash!

Kids in backless boosters, in some high back boosters, and older kids and adults in seat belts all need the vehicle’s head restraint to come up to AT LEAST the top of their ears for good whiplash protection. Therefore, if a vehicle you’re considering doesn’t have an adequate head restraint in a particular seating position, consider that adults and kids in backless boosters/some highbacked boosters will not be able to sit in that particular position safely!

Kids in rear and forward-facing car seats don’t need to worry about the vehicle’s head restraint in terms of whiplash prevention, but head restraints can still pose major problems regarding car seat compatibility. Some vehicle head restraints tilt forward and this can interfere with the proper positioning of a forward-facing car seat or high back booster. HR’s that are fixed and non-removable – those that look like a solid chunk that simply comes up from the back of the vehicle seat – not only can interfere with car seats and high back boosters, but also can lessen the effectiveness of straight tether straps. Vehicles with removable head restraints will increase your chances of getting a car seat or high back booster to fit in that position and will avoid the tether issue. 

Screen Shot 2015-12-30 at 3.21.38 PMIf your vehicle has a fixed, non-removable HR in a position where you are installing a forward-facing car seat, we suggest using a car seat with a V-shaped tether strap – like found on Britax seats & the IMMI Go, because the V will go around the HR. Side impact testing research has shown that straight tethers slide off the top of these head restraints, which leaves the tether loose when you most need it to be tight.

**Please always read the vehicle owner’s manual as there are some vehicles with fixed head restraints that recommend routing a straight tether to the side of, rather than over, the fixed head restraint (e.g. Tesla Model X).

Crash Test Ratings

Two separate organizations – one governmental (NHTSA – National Highway Traffic Safety Administration) and one independent (IIHS – Insurance Institute for Highway Safety) offer crash test ratings for new and older vehicles. Both the IIHS & NHTSA evaluate the crashworthiness of the vehicle, meaning how well the vehicle will protect its occupants in a crash. While both the IIHS & NHTSA now focus attention on crash avoidance and mitigation technologies that can prevent a crash or lessen its severity, the IIHS has been more proactive by factoring this technology into their most recent ratings.  These technologies are not part of the current NHTSA 5 star ratings.

Other differences in the ratings: IIHS factors in head restraint and whiplash protection, while NHTSA does not; NHTSA factors in rollover resistance, while IIHS does not per se, although ESC was part of their ratings for many years before it became a standard feature, and ESC decreases the risk of a rollover. More info on how IIHS tests.  More info on how NHTSA tests.

Since 2013, IIHS offers 2 levels of recommended vehicles – Top Safety Pick (TSP) and Top Safety Pick + (TSP+). Please note that criteria for earning a TSP and TSP+ get more difficult every year – to encourage manufacturers to keep enhancing their vehicles to make them as safe as possible. 

Please keep in mind that some vehicles which received a high rating in previous years may receive a lower rating in subsequent years.  This does not mean that the older vehicle is unsafe.  Due to more vigorous testing and requirements to achieve a certain rating, a vehicle that once received an excellent rating may receive a lower score in a subsequent year even if no changes have been made to the model.  The IIHS consistently adds additional requirements to the minimum needed to earn a Top Safety Pick, with the goal of pushing the development and availability of additional safety features.

Informed For Life, an independent organization, aggregates the crash test ratings from both the IIHS and NHTSA and then adds in their own calculation as to how the weight of the vehicle will affect crash performance.

Still overwhelmed?

We suggest scanning through the IIHS’s list of vehicles that make their Top Safety Pick +.  If you find a vehicle in that list that meets your family’s needs (budget, passenger capacity, fuel efficiency, etc)… go with it and enjoy your new car.  If you need some more options, take a look at those earning the Top Safety Pick.  Compare with NHTSA’s 5 star rating to get a fuller picture of the safety of the vehicle.  Please note, from our experience when it comes to crash avoidance technologies, the information on the NHTSA page may not be accurate as to what is available in that vehicle.  We recommend googling the vehicle and the specific crash avoidance technologies you’re interested in to see which are available and which are not (since vehicle manufacturers love to give these technologies unique names, we found that just looking on the vehicle’s website was sometimes a confusing way of trying to figure out which technologies were offered.  We had more luck starting with a google search).

How to Buy a Safer Vehicle

Deciding which new or used vehicle to buy can be overwhelming, but here are some must-have safety features to help narrow down your list. In our opinion, these 6 are the non-negotiables (i.e. if the vehicle doesn’t have it, we wouldn’t buy it).

After the must-have safety features, we discuss the crash test ratings by the Insurance Institute for Highway Safety as well as the National Highway Traffic Safety Administration.

Must Have Safety Features

Click the pink names below to learn more about each.

 

Vehicle Design Features that can be Problematic for Car Seats

Crash Test Ratings

Two separate organizations – one governmental (NHTSA – National Highway Traffic Safety Administration) and one independent (IIHS – Insurance Institute for Highway Safety) offer crash test ratings for new and older vehicles. Both the IIHS & NHTSA evaluate the crashworthiness of the vehicle, meaning how well the vehicle will protect its occupants in a crash. While both the IIHS & NHTSA now focus attention on crash avoidance and mitigation technologies that can prevent a crash or lessen its severity, the IIHS has been more proactive by factoring this technology into their most recent ratings.  These technologies are not part of the current NHTSA 5 star ratings.

Other differences in the ratings: IIHS factors in head restraint and whiplash protection, while NHTSA does not; NHTSA factors in rollover resistance, while IIHS does not per se, although ESC was part of their ratings for many years before it became a standard feature, and ESC decreases the risk of a rollover. More info on how IIHS tests.  More info on how NHTSA tests.

Since 2013, IIHS offers 2 levels of recommended vehicles – Top Safety Pick (TSP) and Top Safety Pick + (TSP+). Please note that criteria for earning a TSP and TSP+ get more difficult every year – to encourage manufacturers to keep enhancing their vehicles to make them as safe as possible. 

Please keep in mind that some vehicles which received a high rating in previous years may receive a lower rating in subsequent years.  This does not mean that the older vehicle is unsafe.  Due to more vigorous testing and requirements to achieve a certain rating, a vehicle that once received an excellent rating may receive a lower score in a subsequent year even if no changes have been made to the model.  The IIHS consistently adds additional requirements to the minimum needed to earn a Top Safety Pick, with the goal of pushing the development and availability of additional safety features.

Informed For Life, an independent organization, aggregates the crash test ratings from both the IIHS and NHTSA and then adds in their own calculation as to how the weight of the vehicle will affect crash performance.

Still overwhelmed?

We suggest scanning through the IIHS’s list of vehicles that make their Top Safety Pick +.  If you find a vehicle in that list that meets your family’s needs (budget, passenger capacity, fuel efficiency, etc)… go with it and enjoy your new car.  If you need some more options, take a look at those earning the Top Safety Pick.  Compare with NHTSA’s 5 star rating to get a fuller picture of the safety of the vehicle.  Please note, from our experience when it comes to crash avoidance technologies, the information on the NHTSA page may not be accurate as to what is available in that vehicle.  We recommend googling the vehicle and the specific crash avoidance technologies you’re interested in to see which are available and which are not (since vehicle manufacturers love to give these technologies unique names, we found that just looking on the vehicle’s website was sometimes a confusing way of trying to figure out which technologies were offered.  We had more luck starting with a google search).

Advanced Driver Assistance Systems

Newer vehicles are coming with a variety of Advanced Driver Assistance Systems (ADAS) all with the goal of helping the driver avoid a crash. There are 3 categories of ADAS – those that aid the driver, those that warn the driver, and those that assist the driver. The assist ones are the most helpful in avoiding a crash.

Advanced Driver ASSIST Systems

Key Take Away Points: Adaptive Cruise Control (ACC) is a smarter cruise control that represents one of the beginning steps in autonomous driving. ACC is where you set your desired speed and following distance and the car will slow down or speed up to maintain these. ACC systems vary in several important ways. Some will provide partial braking, while others will bring the car to a complete stop when necessary. ACC that works at highway speeds is increasingly common, but ACC that works down to a full standstill – called ACC with Stop and Go – is an next important step in managing bumper-to-bumper traffic. ACC is great for everyone – but especially those who do lots of highway driving and those who are prone to motion sickness.


Adaptive Cruise Control

https://youtu.be/hefNqVVEn-w

The video above shows a Volkswagen Golf with Adaptive Cruise Control with Stop & Go (for traffic jams).

Adaptive Cruise Control (ACC) is available on a growing number of newer cars (starting around 2014) and is one of the early steps towards autonomous driving. Just like regular cruise control, with ACC you set the speed you want to maintain. The difference is that with ACC you also set your following distance – or the gap between you and the car in front. This lets the car know how aggressive of a driver you want it to be. ACC not only maintains your set speed, but if traffic in front of you slows down, ACC will slow your car down to maintain your desired gap. Once the ACC detects that there is sufficient space between you and the car in front, your car will accelerate up to your set speed. 

Those who get motion sick will be the first to tell you that some drivers make them feel much sicker than others – particularly due to how the driver accelerates and brakes. ACC is the most gentle driver of all – as the car can accelerate and brake much smoother than a human can. And a gentle ride is a ride where you are less likely to feel sick. 

All car manufacturers’ ACC works a little differently. Many versions of ACC only work at set speeds above 25-35mph. This means that many will NOT work for driving around town where speed limits are typically under 35mph. Many versions also shut off when the car goes below a certain speed – meaning that if you are on the highway and find yourself in stop and go traffic, the ACC won’t work. Some versions have ACC with Stop and Go – which means that the ACC will continue to work even in bumper-to-bumper traffic, bringing you to a full stop and then accelerating when the car ahead moves within a given timeframe. 

Ever felt like losing your lunch in stop and go traffic – with all the constant lurching forward and back as the driver speeds up and slows down every few seconds? We can’t get you out of a traffic jam, but ACC with Stop and Go can decrease the lurching your body experiences in stop and go traffic because the car is a much smoother driver than a human. With Stop and Go ACC, the driver only has to steer the car while stuck in a traffic jam on the highway. ACC with Stop and Go can be a godsend for those who get motion sick – and for those who have commutes that involve a lot of bumper-to-bumper traffic.

Click here to learn more about Adaptive Cruise Control. 

Brake Assist

Traffic Jam Assist

Key Take Away Point: Electronic stability control (ESC) is a computerized technology that makes the vehicle more stable by detecting and then reducing skidding which prevents many single-vehicle crashes and especially rollovers. ESC is expected to save more lives than seat belts – because ESC prevents certain crashes from ever happening. It is standard on most vehicles since 2012 in the US and available on some older vehicles. 


Electronic Stability Control (ESC) is a critical safety feature as it reduces the number and severity of crashes. ESC was first introduced in the mid-90’s and is now required on all but the heaviest vehicles in the US since the 2012 model year. By 2019, all vehicles – including large truck tractors – will have ESC. The safety benefits of ESC are so tremendous that it should be a non-negotiable. 

How does ESC work?

ESC is looking for differences between the direction of the steering wheel (meaning the direction the driver wants the vehicle to travel) and the actual direction the vehicle is headed. When there is a difference between these two directions, ESC makes the necessary corrections  – by controlling the braking of individual wheels and the car’s speed – to match the vehicle’s direction of travel with the direction the driver wanted. 

ESC helps prevent both over and understeering. Oversteer is when the car turns farther than the driver wanted, causing the rear wheels to slide and the car to spin. Understeer is the opposite of oversteer and it happens when the front wheels don’t have enough traction and the car continues straight ahead rather than turning.

During emergency maneuvers, ESC can help a driver maintain control and prevent the sideways skidding and loss of control that can lead to a rollover. ESC can also prevent running off the road on a sharp curve by reducing the vehicle’s speed.  

How effective is ESC in preventing crashes?

If all vehicles were equipped with ESC, as many as 10,000 fatal crashes could be avoided each year in the US. ESC reduces fatal single-vehicle crash risk by half for cars & SUVs. ESC is particularly effective at preventing rollover crashes; it reduces the risk of fatal single-vehicle rollovers by about 75% for SUVs and cars.1 Federal studies also show large benefits. NHTSA estimates that ESC on large trucks could prevent 40 to 56 percent of rollovers and 14 percent of loss-of-control crashes.2 ESC is required on all large trucks by 2019.

Watch & Learn more about Electronic Stability Control

Key Take Away Point: Automatic Parallel and/or Perpendicular Parking can help you find a spot and prevent you from hitting other cars while it helps you pull into the spot.


Automatic Parallel Parking helps find a viable spot by making sure there is enough room for your vehicle to fit between the two cars. Automatic Parallel Parking helps guide you into a spot by steering the car – but you must brake, shift gears, and keep a close eye on your surroundings while it steers the car. This feature can help prevent you from hitting other cars while parallel parking. 

Watch & Learn more about Automatic Parallel and/or Perpendicular Parking Assist

Advanced Driver WARNING Systems

Key Take Away Point: You want a vehicle with Forward Collision Warning + Autobrake as this technology is the best thing we have for preventing your car from crashing head-on into something (car, tree, etc).


Forward collision warning (FCW) is exactly what it sounds like – it is a warning when you are about to crash head-on into something. The type of warning varies – it can be a flashing light, a beep, a vibration of the steering wheel, a visual display on the instrument panel, or even a vibration or tightening of your seat belt.

Forward Collision Warning (without Autobrake)

↓27% Front-to-rear crashes

↓20% Front-to-rear crashes with injuries

↓7% Claim rates for damage to other vehicles

↓14% Claim rates for injuries to people in other vehicles

The above data is from IIHS. It shows that forward collision warning is effective in reducing the number of crashes that occur as well as in preventing injuries when the crash wasn’t avoidable. But FCW will never eliminate all front-to-rear crashes because sometimes the warning comes too late – and you don’t have enough time to react and brake to avoid the crash. That’s why many new vehicles have FCW + autobrake – also called automatic emergency braking, or AEB.

Forward Collision Warning + Autobrake

↓50% Front-to-rear crashes

↓56% Front-to-rear crashes with injuries

↓13% Claim rates for damage to other vehicles

↓21% Claim rates for injuries to people in other vehicles

Autobrake, also called automatic emergency braking, is also like it sounds. Autobrake is where the vehicle automatically brakes in an emergency situation. Cars with FCW + Autobrake will not only warn you that you are about to crash head-on into something, but the vehicle will take over and apply the brakes for you to help prevent the crash from occurring. Not all crashes are preventable – as it can take 170 feet for a car going 55mph to stop – but autobrake will reduce the speed at which the crash occurs (when the crash wasn’t preventable) which thereby decreases the risk of injury in that crash.

Watch & learn more about FCW & Autobrake

Forward Collision Warning (FCW)– With Rick & Scout
Automatic Emergency Braking - Move your mouse & your head to see automatic braking in 360
Front crash prevention
Automatic Emergency Braking (AEB) - With Rick & Dan
Crash Prevention - Automatic Emergency Braking

Key Take Away Point: You want a vehicle with Blind Spot Detection as it is proven effective in both preventing lane-change crashes and decreasing injury when the crash was not preventable.


Blind spot detection

↓14% Lane-change crashes

↓23% Lane-change crashes with injuries

↓9% Claim rates for damage to other vehicles

↓12% Claim rates for injuries to people in other vehicles

As you can see from the above IIHS data, blind spot detection is an effective safety feature at reducing the number of crashes and injuries within the crashes that still occur.

Watch & Learn more about Blind Spot Detection

Blind Spot Monitoring - Just move your head or your mouse to see traffic on all sides
Blind Spot Monitoring and Sideview Camera – With Rick & Scout
Blind Spot Monitor (BSM) - Quick Guide Animation
Sideview Camera - Quick Guide Animation
Blind spot detection

Key Take Away Point: You want a vehicle with Lane Departure Warning as it is proven effective in both preventing crashes and decreasing injury when the crash was not preventable.


Lane Departure Warning (LDW) is exactly what it sounds like - it is the car warning you when you are veering out of your lane. The type of warning varies - it can be a flashing light, a beep, a vibration of the steering wheel, a visual display on the instrument panel, or even a vibration or tightening of your seat belt.

Lane Departure Warning

↓11% Single-vehicle, sideswipe and head-on crashes

↓21% Injury crashes of the same types

Lane Departure Warning, as shown from the IIHS data above, has proven itself effective in reducing the number of crashes that occur as well as in preventing injuries when the crash wasn't avoidable.

Watch & Learn More about Lane Departure Warning, Lane Keep Assist, and Lane Centering

Lane Departure Warning & Lane Keeping Assist - Test Drive in VR 360
Are lane departure warning systems effective?
Lane departure warning and prevention
Lane Departure Warning and Lane Keeping  Assist - With Rick & Scout
Lane Departure Warning (LDW) - Quick Guide Animation
Lane Keeping Assist (LKA)- Quick Guide Animation

Key Take Away Point: Rear Cross-Traffic Alert systems are effective at reducing crashes that occur while backing up.


Rear Cross-Traffic Alert systems can detect cars that might be crossing as you back up - but may not detect pedestrians or cars behind you when parking spaces are angled. These alerts have been shown to reduce backing crashes by 22%. Rear Cross-Traffic Alert is an enhanced feature found in some back-up cameras.

Watch & Learn more about Rear Cross-Traffic Alert

Rear Cross Traffic Alert - Quick Guide Animation
Back-up Camera, Back-up Warning & more with Rick & Scout
Back-up Camera – Quick Guide
Back-up Warning - Quick Guide Animation
An Extra Set of Eyes!  Backup Cameras may help save lives.

Rear Cross-Traffic Alert - at MyCarDoesWhat.org Deeper Learning about Rear Cross Traffic Alerts

Parking sensors alert you to the position of objects around your car as you park - using cameras, sensors, and/or tones. Some even include lines that appear in your back-up camera. These sensors can help you avoid objects that are both in front of and behind your vehicle.

Watch & Learn more about Parking Sensors

Parking Sensors - at MyCarDoesWhat.org

Key Take Away Point: Drowsy driving kills thousands and injures tens of thousands in the US every year. Do your part to ensure you aren't driving drowsy - and look for a vehicle that might be able to warn you if you are losing attention due to fatigue. The National Highway Traffic Safety Administration estimates that drowsy driving was responsible for 72,000 crashes, 44,000 injuries, and 800 deaths in 2013. However, these numbers are underestimated and up to 6,000 fatal crashes each year may be caused by drowsy drivers.


Drowsy Driver Detection systems do exactly what they sound like - they detect when the driver is drowsy and offer a warning.

How does it sense drowsiness? Some systems borrow from lane departure warning systems and monitor how much you are drifting out of your lane - as it is assumed that an alert driver will stay in their lane. Other systems learn your driving patterns while fully alert and then warn you if they sense that your driving is slower or erratic. Other systems use facial recognition technology to detect the eyelid droop & head bobs to tell if you are starting to fall asleep.  

Early studies suggest that drowsy driver detection technology will help prevent crashes - but a warning is only as effective as the driver's response to it. Specifically - does the driver find a spot to pull over and take a nap or change drivers - or does the driver ignore the warning and continue driving drowsy?

Learn the warning signs of drowsy driving

  • Yawning or blinking frequently
  • Difficulty remembering the past few miles driven
  • Missing your exit
  • Drifting from your lane
  • Hitting a rumble strip on the side of the road
If you experience any of these warnings signs, pull over to rest or change drivers. Opening the window or turning up the radio are not effective ways to keep you alert. For more warning signs visit American Academy of Sleep Medicine.

Watch & Learn more about Drowsy Driver Detection

Drowsiness Alert - Does my car really know if I'm drowsy? Take a VR 360 test drive.
CNET On Cars - Smarter driver: Drowsy-driving tech
Drowsiness Alert - With Rick and Scout
Drowsiness Alert - Quick Guide Animation

Drowsy Driver Detection - on MyCarDoesWhat.org

Key Take Away Point: Pedestrians account for at least 1/6th of all fatalities on our roads - and they die because vehicles drive head on into them, or backover them. Technology in vehicles that enhances the driver's view (like back-up cameras) and brakes for the driver (autobrake) can help prevent these tragedies.


In 2015, 5,376 pedestrians were killed and at least 70,000 injured in motor vehicle crashes on public roadways in the United States. Pedestrians can get hit in 2 different ways - the front of the car crashes into them, or the car backs into or over them.

Frontal crashes: Pedestrian detection systems look for pedestrians in front of the car and warn the driver if a crash is likely. Some systems will also apply the brakes to further help prevent hitting the pedestrian. The majority of pedestrian deaths happen at high speeds or in low light situations - and some pedestrian detection systems are only for low speeds and require good lighting, which obviously reduces the system's effectiveness. An IIHS analysis of 2005-2009 crash data "estimated that such pedestrian detection systems could potentially mitigate or prevent up to 65 percent of single-vehicle crashes with pedestrians in the three most common crash configurations and 58 percent of pedestrian deaths in these crashes.7"

Backover crashes: There are several technologies that can help prevent back-over crashes - which is where the driver backs into (and worst case scenario runs over) a pedestrian. Rearview cameras and park assist systems can help prevent backover crashes by letting the driver see what is behind the car that can't be seen in the rear or side mirrors. The best technology is rear autobrake which applies the brakes if the driver is backing up into something - a pole, a car, or a person.

Watch & Learn more about Pedestrian & Bicycle Detection

Your Car is Talking, Are You Listening? Pedestrian & Bicycle Detection - With Rick & Scout
Backup Camera Monitoring - in VR 360 - move your head or your mouse to see your surroundings.
An Extra Set of Eyes!  Backup Cameras may help save lives.

Forward Collision Warning

Key Take Away Point: You want a vehicle with Forward Collision Warning + Autobrake as this technology is the best thing we have for preventing your car from crashing head-on into something (car, tree, etc).

Forward collision warning (FCW) is exactly what it sounds like - it is a warning when you are about to crash head-on into something.

The type of warning varies - it can be a flashing light, a beep, a vibration of the steering wheel, a visual display on the instrument panel, or even a vibration or tightening of your seat belt.

Forward Collision Warning

↓27% Front-to-rear crashes

↓20% Front-to-rear crashes with injuries

↓7% Claim rates for damage to other vehicles

↓14% Claim rates for injuries to people in other vehicles

Forward collision warning, as shown from the IIHS data above, has proven itself effective in reducing the number of crashes that occur as well as in preventing injuries when the crash wasn't avoidable.

But FCW will never eliminate all front-to-rear crashes because sometimes the warning comes too late - and you don't have enough time to react and brake to avoid the crash. That's why many new vehicles have FCW + autobrake - also called automatic emergency braking, or AEB.

Forward Collision Warning + Autobrake

↓50% Front-to-rear crashes

↓56% Front-to-rear crashes with injuries

↓13% Claim rates for damage to other vehicles

↓21% Claim rates for injuries to people in other vehicles

Autobrake, also called automatic emergency braking, is also like it sounds - it is where the vehicle automatically brakes in an emergency situation. Cars with FCW + Autobrake will not only warn you that you are about to crash head-on into something, but the vehicle will take over and apply the brakes for you to help prevent the crash from occurring. Not all crashes are preventable - as it can take 170 feet for a car going 55mph to stop - but autobrake will reduce the speed at which the crash occurs (when the crash wasn't preventable) which thereby decreases the risk of injury in that crash.

Watch & learn more about FCW & Autobrake

#bwg_container1_6 { visibility: hidden; } #bwg_container1_6 * { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_image_wrap_6 * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; /*backface-visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;*/ } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_image_wrap_6 { background-color: #000000; border-collapse: collapse; display: table; position: relative; text-align: center; width: 800px; height: 700px; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_image_6 { padding: 0 !important; margin: 0 !important; float: none !important; max-width: 800px; max-height: 610px; vertical-align: middle; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_embed_6 { padding: 0 !important; margin: 0 !important; float: none !important; width: 800px; height: 610px; vertical-align: middle; display: inline-block; text-align: center; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_watermark_6 { position: relative; z-index: 15; } #bwg_container1_6 #bwg_container2_6 #bwg_slideshow_play_pause_6 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 0; cursor: pointer; display: table; height: inherit; outline: medium none; position: absolute; width: 30%; left: 35%; z-index: 13; } #bwg_container1_6 #bwg_container2_6 #bwg_slideshow_play_pause_6:hover #bwg_slideshow_play_pause-ico_6 { display: inline-block !important; } #bwg_container1_6 #bwg_container2_6 #bwg_slideshow_play_pause_6:hover span { position: relative; z-index: 13; } #bwg_container1_6 #bwg_container2_6 #bwg_slideshow_play_pause_6 span { display: table-cell; text-align: center; vertical-align: middle; } #bwg_container1_6 #bwg_container2_6 #bwg_slideshow_play_pause-ico_6 { display: none !important; color: #FFFFFF; font-size: 60px; cursor: pointer; position: relative; z-index: 13; } #bwg_container1_6 #bwg_container2_6 #bwg_slideshow_play_pause-ico_6:hover { color: #DBDBDB; display: inline-block; position: relative; z-index: 13; } #bwg_container1_6 #bwg_container2_6 #spider_slideshow_left_6, #bwg_container1_6 #bwg_container2_6 #spider_slideshow_right_6 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 35%; cursor: pointer; display: inline; height: 30%; outline: medium none; position: absolute; width: 35%; /*z-index: 10130;*/ z-index: 13; } #bwg_container1_6 #bwg_container2_6 #spider_slideshow_left_6 { left: 0; } #bwg_container1_6 #bwg_container2_6 #spider_slideshow_right_6 { right: 0; } #bwg_container1_6 #bwg_container2_6 #spider_slideshow_left_6:hover, #bwg_container1_6 #bwg_container2_6 #spider_slideshow_right_6:hover { visibility: visible; } #bwg_container1_6 #bwg_container2_6 #spider_slideshow_left_6:hover span { left: 20px; } #bwg_container1_6 #bwg_container2_6 #spider_slideshow_right_6:hover span { left: auto; right: 20px; } #bwg_container1_6 #bwg_container2_6 #spider_slideshow_left-ico_6 span, #bwg_container1_6 #bwg_container2_6 #spider_slideshow_right-ico_6 span { display: table-cell; text-align: center; vertical-align: middle; z-index: 13; } #bwg_container1_6 #bwg_container2_6 #spider_slideshow_left-ico_6, #bwg_container1_6 #bwg_container2_6 #spider_slideshow_right-ico_6 { background-color: #000000; border-radius: 20px; border: 0px none #FFFFFF; box-shadow: ; color: #FFFFFF; height: 40px; font-size: 20px; width: 40px; z-index: 13; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; display: table; line-height: 0; margin-top: -15px; position: absolute; top: 50%; /*z-index: 10135;*/ opacity: 1.00; filter: Alpha(opacity=100); } #bwg_container1_6 #bwg_container2_6 #spider_slideshow_left-ico_6:hover, #bwg_container1_6 #bwg_container2_6 #spider_slideshow_right-ico_6:hover { color: #DBDBDB; cursor: pointer; } #spider_slideshow_left-ico_6{ left: 20px; } #spider_slideshow_right-ico_6{ left: auto; right: 20px; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_image_container_6 { display: table; position: absolute; text-align: center; bottom: 90px; vertical-align: middle; width: 800px; height: 700px; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_filmstrip_container_6 { display: table; height: 90px; position: absolute; width: 800px; /*z-index: 10105;*/ bottom: 0; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_filmstrip_6 { left: 20px; overflow: hidden; position: absolute; width: 760px; /*z-index: 10106;*/ } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_filmstrip_thumbnails_6 { height: 90px; left: 0px; margin: 0 auto; overflow: hidden; position: relative; width: 610px; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_filmstrip_thumbnail_6 { position: relative; background: none; border: 1px none #000000; border-radius: 0; cursor: pointer; float: left; height: 90px; margin: 0 1px; width: 120px; overflow: hidden; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_thumb_active_6 { opacity: 1; filter: Alpha(opacity=100); border: 0px solid #FFFFFF; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_thumb_deactive_6 { opacity: 0.80; filter: Alpha(opacity=80); } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_filmstrip_thumbnail_img_6 { display: block; opacity: 1; filter: Alpha(opacity=100); padding: 0 !important; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_filmstrip_left_6 { background-color: #303030; cursor: pointer; display: table-cell; vertical-align: middle; width: 20px; /*z-index: 10106;*/ left: 0; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_filmstrip_right_6 { background-color: #303030; cursor: pointer; right: 0; width: 20px; display: table-cell; vertical-align: middle; /*z-index: 10106;*/ } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_filmstrip_left_6 i, #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_filmstrip_right_6 i { color: #FFFFFF; font-size: 20px; } #bwg_container1_6 #bwg_container2_6 .bwg_none_selectable_6 { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_watermark_container_6 { display: table-cell; margin: 0 auto; position: relative; vertical-align: middle; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_watermark_spun_6 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_title_spun_6 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: top; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_description_spun_6 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_watermark_image_6 { padding: 0 !important; float: none !important; margin: 4px !important; max-height: 90px; max-width: 90px; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_watermark_text_6, #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_watermark_text_6:hover { text-decoration: none; margin: 4px; font-size: 12px; font-family: Arial; color: #FFFFFF !important; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_title_text_6 { text-decoration: none; font-size: 16px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 11; border-radius: 5px; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_description_text_6 { text-decoration: none; font-size: 14px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 15; border-radius: 0; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_description_text_6 * { text-decoration: none; color: #FFFFFF !important; } #bwg_container1_6 #bwg_container2_6 .bwg_slide_container_6 { display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; } #bwg_container1_6 #bwg_container2_6 .bwg_slide_bg_6 { margin: 0 auto; width: inherit; height: inherit; } #bwg_container1_6 #bwg_container2_6 .bwg_slider_6 { height: inherit; width: inherit; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_image_spun_6 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_image_second_spun_6 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; } #bwg_container1_6 #bwg_container2_6 .bwg_grid_6 { display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; } #bwg_container1_6 #bwg_container2_6 .bwg_gridlet_6 { opacity: 1; filter: Alpha(opacity=100); position: absolute; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_dots_6 { display: inline-block; position: relative; width: 10px; height: 10px; border-radius: 10px; background: #292929; margin: 1px; cursor: pointer; overflow: hidden; z-index: 17; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_dots_container_6 { display: block; overflow: hidden; position: absolute; width: 800px; bottom: 0; z-index: 17; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_dots_thumbnails_6 { left: 0px; font-size: 0; margin: 0 auto; overflow: hidden; position: relative; height: 12px; width: 60px; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_dots_active_6 { background: #292929; opacity: 1; filter: Alpha(opacity=100); border: 2px solid #FFC933; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_dots_deactive_6 { } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_image_spun1_6 { display: table; width: inherit; height: inherit; } #bwg_container1_6 #bwg_container2_6 .bwg_slideshow_image_spun2_6 { display: table-cell; vertical-align: middle; text-align: center; } #bwg_container1_6 #bwg_container2_6 #spider_popup_overlay_6 { background-color: #000000; opacity: 0.70; filter: Alpha(opacity=70); } var data_6 = []; var event_stack_6 = []; data_6["0"] = []; data_6["0"]["id"] = "448"; data_6["0"]["alt"] = "Forward Collision Warning (FCW)– With Rick & Scout"; data_6["0"]["description"] = "Forward Collision Warning (FCW)– With Rick & Scout<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_6["0"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_6["0"]["filename"] = "Qk9A3OM5Y3Y"; data_6["0"]["image_url"] = "https://youtu.be/Qk9A3OM5Y3Y"; data_6["0"]["thumb_url"] = "https://i.ytimg.com/vi/Qk9A3OM5Y3Y/hqdefault.jpg"; data_6["0"]["redirect_url"] = ""; data_6["0"]["date"] = "14 March 2018, 13:15"; data_6["0"]["is_embed"] = "1"; data_6["0"]["is_embed_video"] = "1"; data_6["1"] = []; data_6["1"]["id"] = "446"; data_6["1"]["alt"] = "Automatic Emergency Braking - Move your mouse & your head to see automatic braking in 360"; data_6["1"]["description"] = "Automatic Emergency Braking - Move your mouse & your head to see automatic braking in 360<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_6["1"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_6["1"]["filename"] = "zY4aG9qw88E"; data_6["1"]["image_url"] = "https://youtu.be/zY4aG9qw88E"; data_6["1"]["thumb_url"] = "https://i.ytimg.com/vi/zY4aG9qw88E/hqdefault.jpg"; data_6["1"]["redirect_url"] = ""; data_6["1"]["date"] = "14 March 2018, 13:14"; data_6["1"]["is_embed"] = "1"; data_6["1"]["is_embed_video"] = "1"; data_6["2"] = []; data_6["2"]["id"] = "456"; data_6["2"]["alt"] = "Front crash prevention"; data_6["2"]["description"] = "Front crash prevention<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_6["2"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_6["2"]["filename"] = "iRM22oXXn8k"; data_6["2"]["image_url"] = "https://youtu.be/iRM22oXXn8k"; data_6["2"]["thumb_url"] = "https://i.ytimg.com/vi/iRM22oXXn8k/hqdefault.jpg"; data_6["2"]["redirect_url"] = ""; data_6["2"]["date"] = "14 March 2018, 13:42"; data_6["2"]["is_embed"] = "1"; data_6["2"]["is_embed_video"] = "1"; data_6["3"] = []; data_6["3"]["id"] = "447"; data_6["3"]["alt"] = "Automatic Emergency Braking (AEB) - With Rick & Dan"; data_6["3"]["description"] = "Automatic Emergency Braking (AEB) - With Rick & Dan<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_6["3"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_6["3"]["filename"] = "2WPGhoHkgE8"; data_6["3"]["image_url"] = "https://youtu.be/2WPGhoHkgE8"; data_6["3"]["thumb_url"] = "https://i.ytimg.com/vi/2WPGhoHkgE8/hqdefault.jpg"; data_6["3"]["redirect_url"] = ""; data_6["3"]["date"] = "14 March 2018, 13:14"; data_6["3"]["is_embed"] = "1"; data_6["3"]["is_embed_video"] = "1"; data_6["4"] = []; data_6["4"]["id"] = "449"; data_6["4"]["alt"] = "Crash Prevention - Automatic Emergency Braking"; data_6["4"]["description"] = "Crash Prevention - Automatic Emergency Braking<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_6["4"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_6["4"]["filename"] = "DeJuwJwNncg"; data_6["4"]["image_url"] = "https://www.youtube.com/watch?v=DeJuwJwNncg"; data_6["4"]["thumb_url"] = "https://i.ytimg.com/vi/DeJuwJwNncg/hqdefault.jpg"; data_6["4"]["redirect_url"] = ""; data_6["4"]["date"] = "14 March 2018, 13:17"; data_6["4"]["is_embed"] = "1"; data_6["4"]["is_embed_video"] = "1";

Forward Collision Warning (FCW)– With Rick & Scout
Automatic Emergency Braking - Move your mouse & your head to see automatic braking in 360
Front crash prevention
Automatic Emergency Braking (AEB) - With Rick & Dan
Crash Prevention - Automatic Emergency Braking
var bwg_trans_in_progress_6 = false; var bwg_transition_duration_6 = 1000; var bwg_playInterval_6; /* Stop autoplay.*/ window.clearInterval(bwg_playInterval_6); /* Set watermark container size.*/ function bwg_change_watermark_container_6() { jQuery(".bwg_slider_6").children().each(function() { if (jQuery(this).css("zIndex") == 2) { /* For images.*/ var bwg_current_image_span = jQuery(this).find("img"); if (bwg_current_image_span.length) { if (bwg_current_image_span.prop('complete')) { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_6(width, height); } else { bwg_current_image_span.on("load", function () { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_6(width, height); }); } } else { /* For embeds and videos.*/ bwg_current_image_span = jQuery(this).find("iframe"); if (!bwg_current_image_span.length) { bwg_current_image_span = jQuery(this).find("video"); } var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_6(width, height); } } }); } /* Set each watermark container size.*/ function bwg_change_each_watermark_container_6(width, height) { jQuery(".bwg_slideshow_watermark_spun_6").width(width); jQuery(".bwg_slideshow_watermark_spun_6").height(height); jQuery(".bwg_slideshow_title_spun_6").width(width); jQuery(".bwg_slideshow_title_spun_6").height(height); jQuery(".bwg_slideshow_description_spun_6").width(width); jQuery(".bwg_slideshow_description_spun_6").height(height); jQuery(".bwg_slideshow_watermark_6").css({display: ''}); if (jQuery.trim(jQuery(".bwg_slideshow_title_text_6").text())) { jQuery(".bwg_slideshow_title_text_6").css({display: ''}); } if (jQuery.trim(jQuery(".bwg_slideshow_description_text_6").text())) { jQuery(".bwg_slideshow_description_text_6").css({display: ''}); } } var bwg_current_key_6 = '0'; var bwg_current_filmstrip_pos_6 = 0; /* Set filmstrip initial position.*/ function bwg_set_filmstrip_pos_6(filmStripWidth) { var selectedImagePos = -bwg_current_filmstrip_pos_6 - (jQuery(".bwg_slideshow_filmstrip_thumbnail_6").width() + 2) / 2; var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".bwg_slideshow_filmstrip_thumbnails_6").width(), selectedImagePos + filmStripWidth / 2)); jQuery(".bwg_slideshow_filmstrip_thumbnails_6").animate({ left: imagesContainerLeft }, { duration: 500, complete: function () { bwg_filmstrip_arrows_6(); } }); } function bwg_move_filmstrip_6() { var image_left = jQuery(".bwg_slideshow_thumb_active_6").position().left; var image_right = jQuery(".bwg_slideshow_thumb_active_6").position().left + jQuery(".bwg_slideshow_thumb_active_6").outerWidth(true); var bwg_filmstrip_width = jQuery(".bwg_slideshow_filmstrip_6").outerWidth(true); var bwg_filmstrip_thumbnails_width = jQuery(".bwg_slideshow_filmstrip_thumbnails_6").outerWidth(true); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_filmstrip_thumbnails_6").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_filmstrip_thumbnails_6").position().left) + bwg_filmstrip_width; if (bwg_filmstrip_width > bwg_filmstrip_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_filmstrip_thumbnails_6").animate({ left: -(image_right - bwg_filmstrip_width) }, { duration: 500, complete: function () { bwg_filmstrip_arrows_6(); } }); } } function bwg_move_dots_6() { var image_left = jQuery(".bwg_slideshow_dots_active_6").position().left; var image_right = jQuery(".bwg_slideshow_dots_active_6").position().left + jQuery(".bwg_slideshow_dots_active_6").outerWidth(true); var bwg_dots_width = jQuery(".bwg_slideshow_dots_container_6").outerWidth(true); var bwg_dots_thumbnails_width = jQuery(".bwg_slideshow_dots_thumbnails_6").outerWidth(false); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_dots_thumbnails_6").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_dots_thumbnails_6").position().left) + bwg_dots_width; if (bwg_dots_width > bwg_dots_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_dots_thumbnails_6").animate({ left: -(image_right - bwg_dots_width) }, { duration: 500, complete: function () { } }); } } /* Show/hide filmstrip arrows.*/ function bwg_filmstrip_arrows_6() { if (jQuery(".bwg_slideshow_filmstrip_thumbnails_6").width() 0) { key = event_stack_6[0].split("-"); event_stack_6.shift(); bwg_change_image_6(key[0], key[1], data_6, true); } } } } function bwg_cubeH_6(current_image_class, next_image_class, direction) { /* Set to half of image width.*/ var dimension = jQuery(current_image_class).width() / 2; if (direction == 'right') { bwg_cube_6(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_6(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction); } } function bwg_cubeV_6(current_image_class, next_image_class, direction) { /* Set to half of image height.*/ var dimension = jQuery(current_image_class).height() / 2; /* If next slide.*/ if (direction == 'right') { bwg_cube_6(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_6(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction); } } /* For browsers that does not support transitions.*/ function bwg_fallback_6(current_image_class, next_image_class, direction) { bwg_fade_6(current_image_class, next_image_class, direction); } /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/ function bwg_fallback3d_6(current_image_class, next_image_class, direction) { bwg_sliceV_6(current_image_class, next_image_class, direction); } function bwg_none_6(current_image_class, next_image_class, direction) { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_6(); /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_6").removeClass("bwg_slideshow_thumb_active_6").addClass("bwg_slideshow_thumb_deactive_6"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_6 + "_6").removeClass("bwg_slideshow_thumb_deactive_6").addClass("bwg_slideshow_thumb_active_6"); jQuery(".bwg_slideshow_dots_6").removeClass("bwg_slideshow_dots_active_6").addClass("bwg_slideshow_dots_deactive_6"); jQuery("#bwg_dots_" + bwg_current_key_6 + "_6").removeClass("bwg_slideshow_dots_deactive_6").addClass("bwg_slideshow_dots_active_6"); } function bwg_fade_6(current_image_class, next_image_class, direction) { /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_6").removeClass("bwg_slideshow_thumb_active_6").addClass("bwg_slideshow_thumb_deactive_6"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_6 + "_6").removeClass("bwg_slideshow_thumb_deactive_6").addClass("bwg_slideshow_thumb_active_6"); jQuery(".bwg_slideshow_dots_6").removeClass("bwg_slideshow_dots_active_6").addClass("bwg_slideshow_dots_deactive_6"); jQuery("#bwg_dots_" + bwg_current_key_6 + "_6").removeClass("bwg_slideshow_dots_deactive_6").addClass("bwg_slideshow_dots_active_6"); if (bwg_testBrowser_cssTransitions_6()) { jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_6 + 'ms linear'); jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_6(); } else { jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, bwg_transition_duration_6); jQuery(next_image_class).animate({ 'opacity' : 1, 'z-index': 2 }, { duration: bwg_transition_duration_6, complete: function () { bwg_change_watermark_container_6(); } }); /* For IE.*/ jQuery(current_image_class).fadeTo(bwg_transition_duration_6, 0); jQuery(next_image_class).fadeTo(bwg_transition_duration_6, 1); } } function bwg_grid_6(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) { /* If browser does not support CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_6()) { return bwg_fallback_6(current_image_class, next_image_class, direction); } bwg_trans_in_progress_6 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_6").removeClass("bwg_slideshow_thumb_active_6").addClass("bwg_slideshow_thumb_deactive_6"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_6 + "_6").removeClass("bwg_slideshow_thumb_deactive_6").addClass("bwg_slideshow_thumb_active_6"); jQuery(".bwg_slideshow_dots_6").removeClass("bwg_slideshow_dots_active_6").addClass("bwg_slideshow_dots_deactive_6"); jQuery("#bwg_dots_" + bwg_current_key_6 + "_6").removeClass("bwg_slideshow_dots_deactive_6").addClass("bwg_slideshow_dots_active_6"); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (bwg_transition_duration_6) / (cols + rows); /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/ function bwg_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) { var delay = (c + r) * count; /* Return a gridlet elem with styles for specific transition.*/ return jQuery('').css({ display : "block", width : width, height : height, top : top, left : left, backgroundImage : 'url("' + src + '")', backgroundColor: jQuery(".bwg_slideshow_image_wrap_6").css("background-color"), /*backgroundColor: rgba(0, 0, 0, 0),*/ backgroundRepeat: 'no-repeat', backgroundPosition : img_left + 'px ' + img_top + 'px', backgroundSize : imgWidth + 'px ' + imgHeight + 'px', transition : 'all ' + bwg_transition_duration_6 + 'ms ease-in-out ' + delay + 'ms', transform : 'none' }); } /* Get the current slide's image.*/ var cur_img = jQuery(current_image_class).find('img'); /* Create a grid to hold the gridlets.*/ var grid = jQuery('').addClass('bwg_grid_6'); /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/ jQuery(current_image_class).prepend(grid); /* vars to calculate positioning/size of gridlets*/ var cont = jQuery(".bwg_slide_bg_6"); var imgWidth = cur_img.width(); var imgHeight = cur_img.height(); var contWidth = cont.width(), contHeight = cont.height(), imgSrc = cur_img.attr('src'),/*.replace('/thumb', ''),*/ colWidth = Math.floor(contWidth / cols), rowHeight = Math.floor(contHeight / rows), colRemainder = contWidth - (cols * colWidth), colAdd = Math.ceil(colRemainder / cols), rowRemainder = contHeight - (rows * rowHeight), rowAdd = Math.ceil(rowRemainder / rows), leftDist = 0, img_leftDist = (jQuery(".bwg_slide_bg_6").width() - cur_img.width()) / 2; /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/ tx = tx === 'auto' ? contWidth : tx; tx = tx === 'min-auto' ? - contWidth : tx; ty = ty === 'auto' ? contHeight : ty; ty = ty === 'min-auto' ? - contHeight : ty; /* Loop through cols*/ for (var i = 0; i 0) { var add = colRemainder >= colAdd ? colAdd : colRemainder; newColWidth += add; colRemainder -= add; } /* Nested loop to create row gridlets for each col.*/ for (var j = 0; j 0) { add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder; newRowHeight += add; newRowRemainder -= add; } /* Create & append gridlet to grid.*/ grid.append(bwg_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j)); topDist += newRowHeight; img_topDst -= newRowHeight; } img_leftDist -= newColWidth; leftDist += newColWidth; } /* Set event listener on last gridlet to finish transitioning.*/ var last_gridlet = grid.children().last(); /* Show grid & hide the image it replaces.*/ grid.show(); cur_img.css('opacity', 0); /* Add identifying classes to corner gridlets (useful if applying border radius).*/ grid.children().first().addClass('rs-top-left'); grid.children().last().addClass('rs-bottom-right'); grid.children().eq(rows - 1).addClass('rs-bottom-left'); grid.children().eq(- rows).addClass('rs-top-right'); /* Execution steps.*/ setTimeout(function () { grid.children().css({ opacity: op, transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')' }); }, 1); jQuery(next_image_class).css('opacity', 1); /* After transition.*/ jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); cur_img.css('opacity', 1); bwg_change_watermark_container_6(); grid.remove(); bwg_trans_in_progress_6 = false; if (typeof event_stack_6 !== 'undefined') { if (event_stack_6.length > 0) { key = event_stack_6[0].split("-"); event_stack_6.shift(); bwg_change_image_6(key[0], key[1], data_6, true); } } } } function bwg_sliceH_6(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_6(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_sliceV_6(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'min-auto'; } else if (direction == 'left') { var translateY = 'auto'; } bwg_grid_6(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction); } function bwg_slideV_6(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'auto'; } else if (direction == 'left') { var translateY = 'min-auto'; } bwg_grid_6(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction); } function bwg_slideH_6(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_6(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction); } function bwg_scaleOut_6(current_image_class, next_image_class, direction) { bwg_grid_6(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction); } function bwg_scaleIn_6(current_image_class, next_image_class, direction) { bwg_grid_6(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction); } function bwg_blockScale_6(current_image_class, next_image_class, direction) { bwg_grid_6(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction); } function bwg_kaleidoscope_6(current_image_class, next_image_class, direction) { bwg_grid_6(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_fan_6(current_image_class, next_image_class, direction) { if (direction == 'right') { var rotate = 45; var translateX = 100; } else if (direction == 'left') { var rotate = -45; var translateX = -100; } bwg_grid_6(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_blindV_6(current_image_class, next_image_class, direction) { bwg_grid_6(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_blindH_6(current_image_class, next_image_class, direction) { bwg_grid_6(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_random_6(current_image_class, next_image_class, direction) { var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV']; /* Pick a random transition from the anims array.*/ this["bwg_" + anims[Math.floor(Math.random() * anims.length)] + "_6"](current_image_class, next_image_class, direction); } function bwg_iterator_6() { var iterator = 1; if (0) { iterator = Math.floor((data_6.length - 1) * Math.random() + 1); } return iterator; } function bwg_change_image_6(current_key, key, data_6, from_effect) { /* Pause videos.*/ jQuery("#bwg_slideshow_image_container_6").find("iframe").each(function () { jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*"); jQuery(this)[0].contentWindow.postMessage('pause', '*'); }); /* Pause videos facebook video.*/ jQuery('#image_id_6_' + data_6[current_key]["id"]).find('.bwg_fb_video').each(function () { jQuery(this).attr('src', jQuery(this).attr('src')); }); if (data_6[key]) { if (jQuery('.bwg_ctrl_btn_6').hasClass('fa-pause')) { bwg_play_6(); } if (!from_effect) { /* Change image key.*/ jQuery("#bwg_current_image_key_6").val(key); if (current_key == '-1') { /* Filmstrip.*/ current_key = jQuery(".bwg_slideshow_thumb_active_6").children("img").attr("image_key"); } else if (current_key == '-2') { /* Dots.*/ current_key = jQuery(".bwg_slideshow_dots_active_6").attr("image_key"); } } if (bwg_trans_in_progress_6) { event_stack_6.push(current_key + '-' + key); return; } var direction = 'right'; if (bwg_current_key_6 > key) { var direction = 'left'; } else if (bwg_current_key_6 == key) { return; } jQuery(".bwg_slideshow_watermark_6").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_6").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_6").css({display: 'none'}); /* Set active thumbnail position.*/ bwg_current_filmstrip_pos_6 = key * (jQuery(".bwg_slideshow_filmstrip_thumbnail_6").width() + 2 + 2 * 1); bwg_current_key_6 = key; /* Change image id, title, description.*/ jQuery("#bwg_slideshow_image_6").attr('image_id', data_6[key]["id"]); jQuery(".bwg_slideshow_title_text_6").html(jQuery('').html(data_6[key]["alt"]).text()); jQuery(".bwg_slideshow_description_text_6").html(jQuery('').html(data_6[key]["description"]).text()); var current_image_class = jQuery(".bwg_slideshow_image_spun_6").css("zIndex") == 2 ? ".bwg_slideshow_image_spun_6" : ".bwg_slideshow_image_second_spun_6"; var next_image_class = current_image_class == ".bwg_slideshow_image_second_spun_6" ? ".bwg_slideshow_image_spun_6" : ".bwg_slideshow_image_second_spun_6"; var is_embed = data_6[key]['filetype'].indexOf("EMBED_") > -1 ? true : false; var is_embed_instagram_post = data_6[key]['filetype'].indexOf('INSTAGRAM_POST') > -1 ? true :false; var is_embed_instagram_video = data_6[key]['filetype'].indexOf('INSTAGRAM_VIDEO') > -1 ? true :false; var cur_height = jQuery(current_image_class).height(); var cur_width = jQuery(current_image_class).width(); var innhtml = ''; if (!is_embed) { innhtml += ''; innhtml += '<img style="max-height: ' + cur_height + 'px !important; max-width: ' + cur_width + 'px !important;display:inline-block;" class="bwg_slideshow_image_6" id="bwg_slideshow_image_6" src="https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_6[key]["image_url"]).text() + '" alt="' + data_6[key]["alt"] + '" image_id="' + data_6[key]["id"] + '" />'; } else { /*is_embed*/ innhtml += '' + (is_embed_instagram_video ? '
' : ' '); if (is_embed_instagram_post) { var post_width = 0; var post_height = 0; if (cur_height < cur_width + 88) { post_height = cur_height; post_width = post_height - 88; } else { post_width = cur_width; post_height = post_width + 88; } innhtml += spider_display_embed(data_6[key]['filetype'], data_6[key]['image_url'], data_6[key]['filename'], {class:"bwg_embed_frame", 'data-width': data_6[key]['image_width'], 'data-height': data_6[key]['image_height'], frameborder: "0", allowfullscreen: "allowfullscreen", style: "width:" + post_width + "px; height:" + post_height + "px; vertical-align:middle; display:inline-block; position:relative;"}); } else { innhtml += spider_display_embed(data_6[key]['filetype'], data_6[key]['image_url'], data_6[key]['filename'], {class:"bwg_embed_frame", frameborder:"0", allowfullscreen:"allowfullscreen", style:"width:inherit; height:inherit; vertical-align:middle; display:table-cell;" }); } innhtml += "
"; } innhtml += '
'; jQuery(next_image_class).html(innhtml); if ('open_lightbox' == 'open_lightbox' || 0) { bwg_document_ready_6(); } bwg_none_6(current_image_class, next_image_class, direction); bwg_move_filmstrip_6(); if (data_6[key]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_6").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_6").css({display: ''}); } } } function bwg_preload_images_6(key) { count = 5; var count_all = data_6.length; if (count_all < 10) { count = 0; } if (count != 0) { for (var i = key - count; i -1 ? true : false; if (typeof data_6[index] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_6[index]["image_url"]).text()); } } } } else { for (var i = 0; i -1 ? true : false; if (typeof data_6[i] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_6[i]["image_url"]).text()); } } } } } function bwg_popup_resize_6() { var parent_width = jQuery(".bwg_slideshow_image_wrap_6").parent().width(); if (parent_width >= 800) { jQuery(".bwg_slideshow_image_wrap_6").css({width: 800}); jQuery(".bwg_slideshow_image_wrap_6").css({height: 700}); jQuery(".bwg_slideshow_image_container_6").css({width: 800}); jQuery(".bwg_slideshow_image_container_6").css({height: (610)}); jQuery(".bwg_slideshow_image_6").css({ cssText: "max-width: 800px !important; max-height: 610px !important;" }); jQuery(".bwg_slideshow_embed_6").css({ cssText: "width: 800px !important; height: 610px !important;" }); bwg_resize_instagram_post_6(); /* Set watermark container size.*/ bwg_change_watermark_container_6(); jQuery(".bwg_slideshow_filmstrip_container_6").css({width: 800}); jQuery(".bwg_slideshow_filmstrip_6").css({width: 760}); jQuery(".bwg_slideshow_dots_container_6").css({width: 800}); jQuery("#bwg_slideshow_play_pause-ico_6").css({fontSize: (60)}); jQuery(".bwg_slideshow_watermark_image_6").css({maxWidth: 90, maxHeight: 90}); jQuery(".bwg_slideshow_watermark_text_6, .bwg_slideshow_watermark_text_6:hover").css({fontSize: (12)}); jQuery(".bwg_slideshow_title_text_6").css({fontSize: (32)}); jQuery(".bwg_slideshow_description_text_6").css({fontSize: (28)}); } else { jQuery(".bwg_slideshow_image_wrap_6").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_wrap_6").css({height: ((parent_width) * 0.875)}); jQuery(".bwg_slideshow_image_container_6").css({width: (parent_width - 0)}); jQuery(".bwg_slideshow_image_container_6").css({height: ((parent_width) * 0.875 - 90)}); jQuery(".bwg_slideshow_image_6").css({ cssText: "max-width: " + (parent_width - 0) + "px !important; max-height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); jQuery(".bwg_slideshow_embed_6").css({ cssText: "width: " + (parent_width - 0) + "px !important; height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); bwg_resize_instagram_post_6(); /* Set watermark container size.*/ bwg_change_watermark_container_6(); jQuery(".bwg_slideshow_filmstrip_container_6").css({width: (parent_width)}); jQuery(".bwg_slideshow_filmstrip_6").css({width: (parent_width - 40)}); jQuery(".bwg_slideshow_dots_container_6").css({width: (parent_width)}); jQuery("#bwg_slideshow_play_pause-ico_6").css({fontSize: ((parent_width) * 0.075)}); jQuery(".bwg_slideshow_watermark_image_6").css({maxWidth: ((parent_width) * 0.1125), maxHeight: ((parent_width) * 0.1125)}); jQuery(".bwg_slideshow_watermark_text_6, .bwg_slideshow_watermark_text_6:hover").css({fontSize: ((parent_width) * 0.015)}); jQuery(".bwg_slideshow_title_text_6").css({fontSize: ((parent_width) * 0.04)}); jQuery(".bwg_slideshow_description_text_6").css({fontSize: ((parent_width) * 0.035)}); jQuery(".bwg_slideshow_image_6").css({'display':'inline-block'}); } if (data_6[parseInt(jQuery("#bwg_current_image_key_6").val())]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_6").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_6").css({display: ''}); } } jQuery(window).resize(function() { bwg_popup_resize_6(); }); jQuery(document).ready(function () { jQuery('#ajax_loading_6').hide(); if (typeof jQuery().swiperight !== 'undefined') { if (jQuery.isFunction(jQuery().swiperight)) { jQuery('#bwg_container1_6').swiperight(function () { bwg_change_image_6(parseInt(jQuery('#bwg_current_image_key_6').val()), (parseInt(jQuery('#bwg_current_image_key_6').val()) - bwg_iterator_6()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_6').val()) - bwg_iterator_6()) % data_6.length : data_6.length - 1, data_6); return false; }); } } if (typeof jQuery().swipeleft !== 'undefined') { if (jQuery.isFunction(jQuery().swipeleft)) { jQuery('#bwg_container1_6').swipeleft(function () { bwg_change_image_6(parseInt(jQuery('#bwg_current_image_key_6').val()), (parseInt(jQuery('#bwg_current_image_key_6').val()) + bwg_iterator_6()) % data_6.length, data_6); return false; }); } } var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); var bwg_click = isMobile ? 'touchend' : 'click'; bwg_popup_resize_6(); jQuery("#bwg_container1_6").css({visibility: 'visible'}); jQuery(".bwg_slideshow_watermark_6").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_6").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_6").css({display: 'none'}); setTimeout(function () { bwg_change_watermark_container_6(); }, 500); /* Set image container height.*/ jQuery(".bwg_slideshow_image_container_6").height(jQuery(".bwg_slideshow_image_wrap_6").height() - 90); var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */ jQuery('.bwg_slideshow_filmstrip_6').bind(mousewheelevt, function(e) { var evt = window.event || e; /* Equalize event object.*/ evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/ var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/ if (delta > 0) { /* Scroll up.*/ jQuery(".bwg_slideshow_filmstrip_left_6").trigger("click"); } else { /* Scroll down.*/ jQuery(".bwg_slideshow_filmstrip_right_6").trigger("click"); } return false; }); jQuery(".bwg_slideshow_filmstrip_right_6").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_6" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_6").position().left >= -(jQuery(".bwg_slideshow_filmstrip_thumbnails_6").width() - jQuery(".bwg_slideshow_filmstrip_6").width())) { jQuery(".bwg_slideshow_filmstrip_left_6").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_6").position().left < -(jQuery(".bwg_slideshow_filmstrip_thumbnails_6").width() - jQuery(".bwg_slideshow_filmstrip_6").width() - 122)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_6").animate({left: -(jQuery(".bwg_slideshow_filmstrip_thumbnails_6").width() - jQuery(".bwg_slideshow_filmstrip_6").width())}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_6").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_6").position().left - 122)}, 500, 'linear'); } } /* Disable right arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_6").position().left == -(jQuery(".bwg_slideshow_filmstrip_thumbnails_6").width() - jQuery(".bwg_slideshow_filmstrip_6").width())) { jQuery(".bwg_slideshow_filmstrip_right_6").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); jQuery(".bwg_slideshow_filmstrip_left_6").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_6" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_6").position().left - 122) { jQuery(".bwg_slideshow_filmstrip_thumbnails_6").animate({left: 0}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_6").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_6").position().left + 122)}, 500, 'linear'); } } /* Disable left arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_6").position().left == 0) { jQuery(".bwg_slideshow_filmstrip_left_6").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); /* Set filmstrip initial position.*/ bwg_set_filmstrip_pos_6(jQuery(".bwg_slideshow_filmstrip_6").width()); /* Play/pause.*/ jQuery("#bwg_slideshow_play_pause_6").on(bwg_click, function () { if (jQuery(".bwg_ctrl_btn_6").hasClass("fa-play")) { bwg_play_6(); jQuery(".bwg_slideshow_play_pause_6").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_6").attr("class", "bwg_ctrl_btn_6 bwg_slideshow_play_pause_6 fa fa-pause"); if (0) { document.getElementById("bwg_audio_6").play(); } } else { /* Pause.*/ window.clearInterval(bwg_playInterval_6); jQuery(".bwg_slideshow_play_pause_6").attr("title", "Play"); jQuery(".bwg_slideshow_play_pause_6").attr("class", "bwg_ctrl_btn_6 bwg_slideshow_play_pause_6 fa fa-play"); if (0) { document.getElementById("bwg_audio_6").pause(); } } }); if (0) { bwg_play_6(); jQuery(".bwg_slideshow_play_pause_6").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_6").attr("class", "bwg_ctrl_btn_6 bwg_slideshow_play_pause_6 fa fa-pause"); if (0) { document.getElementById("bwg_audio_6").play(); } } jQuery(".bwg_slideshow_image_6").removeAttr("width"); jQuery(".bwg_slideshow_image_6").removeAttr("height"); }); function bwg_resize_instagram_post_6() { if (jQuery('.inner_instagram_iframe_bwg_embed_frame_6').length) { var post_width = jQuery('.bwg_slideshow_embed_6').width(); var post_height = jQuery('.bwg_slideshow_embed_6').height(); jQuery('.inner_instagram_iframe_bwg_embed_frame_6').each(function() { var parent_container = jQuery(this).parent(); if (post_height / (parseInt(parent_container.attr('data-height')) + 96) < post_width / parseInt(parent_container.attr('data-width'))) { parent_container.height(post_height); parent_container.width((parent_container.height() - 96) * parent_container.attr('data-width') / parent_container.attr('data-height') + 16); } else { parent_container.width(post_width); parent_container.height((parent_container.width() - 16) * parent_container.attr('data-height') / parent_container.attr('data-width') + 96); } }); } bwg_change_watermark_container_6(); } function bwg_play_6() { window.clearInterval(bwg_playInterval_6); /* Play.*/ bwg_playInterval_6 = setInterval(function () { var iterator = 1; if (0) { iterator = Math.floor((data_6.length - 1) * Math.random() + 1); } bwg_change_image_6(parseInt(jQuery('#bwg_current_image_key_6').val()), (parseInt(jQuery('#bwg_current_image_key_6').val()) + iterator) % data_6.length, data_6) }, '5000'); } jQuery(window).focus(function() { if (!jQuery(".bwg_ctrl_btn_6").hasClass("fa-play")) { bwg_play_6(); } var i_6 = 0; jQuery(".bwg_slider_6").children("span").each(function () { if (jQuery(this).css('opacity') == 1) { jQuery("#bwg_current_image_key_6").val(i_6); } i_6++; }); }); jQuery(window).blur(function() { event_stack_6 = []; window.clearInterval(bwg_playInterval_6); }); function bwg_gallery_box_6(image_id, openEcommerce) { if (typeof openEcommerce == undefined) { openEcommerce = false; } var ecommerce = openEcommerce == true ? "&open_ecommerce=1" : ""; var filterTags = jQuery("#bwg_tags_id_bwg_standart_thumbnails_6").val() ? jQuery("#bwg_tags_id_bwg_standart_thumbnails_6").val() : 0; var filtersearchname = jQuery("#bwg_search_input_6").val() ? "&filter_search_name_6=" + jQuery("#bwg_search_input_6").val() : ''; spider_createpopup('https://thecarseatlady.com/wp-admin/admin-ajax.php?action=GalleryBox&current_view=6&gallery_id=21&theme_id=2&open_with_fullscreen=1&open_with_autoplay=0&image_width=800&image_height=500&image_effect=none&wd_sor=order&wd_ord=asc&enable_image_filmstrip=1&image_filmstrip_height=70&enable_image_ctrl_btn=1&enable_image_fullscreen=1&popup_enable_info=1&popup_info_always_show=0&popup_info_full_width=0&popup_hit_counter=0&popup_enable_rate=0&slideshow_interval=5&enable_comment_social=0&enable_image_facebook=0&enable_image_twitter=0&enable_image_google=0&enable_image_ecommerce=undefined&enable_image_pinterest=0&enable_image_tumblr=0&watermark_type=none&slideshow_effect_duration=1&tags=0&current_url=https%3A%2F%2Fthecarseatlady.com%2Fbuying-a-safer-car%2F&thumb_width=120&thumb_height=90&image_id=' + image_id + "&filter_tag_6=" + filterTags + ecommerce + filtersearchname, '6', '800', '500', 1, 'testpopup', 5, "bottom"); } var bwg_hash = window.location.hash.substring(1); if (bwg_hash) { if (bwg_hash.indexOf("bwg") != "-1") { bwg_hash_array = bwg_hash.replace("bwg", "").split("/"); if(bwg_hash_array[0] == "21"){ bwg_gallery_box_6(bwg_hash_array[1]); } } } function bwg_document_ready_6() { var bwg_touch_flag = false; jQuery(".bwg_lightbox_6").on("click", function () { if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); bwg_gallery_box_6(jQuery(this).attr("data-image-id")); return false; } }); jQuery(".bwg_lightbox_6 .bwg_ecommerce").on("click", function (event) { event.stopPropagation(); if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); var image_id = jQuery(this).closest(".bwg_lightbox_6").attr("data-image-id"); bwg_gallery_box_6(image_id, true); return false; } }); } jQuery(document).ready(function () { bwg_document_ready_6(); });

Lane Departure Warning

Key Take Away Point: You want a vehicle with Lane Departure Warning as it is proven effective in both preventing crashes and decreasing injury when the crash was not preventable.

Lane Departure Warning (LDW) is exactly what it sounds like - it is the car warning you when you are veering out of your lane.

 

The type of warning varies - it can be a flashing light, a beep, a vibration of the steering wheel, a visual display on the instrument panel, or even a vibration or tightening of your seat belt.

Lane Departure Warning

↓11% Single-vehicle, sideswipe and head-on crashes

↓21% Injury crashes of the same types

Lane Departure Warning, as shown from the IIHS data above, has proven itself effective in reducing the number of crashes that occur as well as in preventing injuries when the crash wasn't avoidable.

Watch & Learn More about Lane Departure Warning, Lane Keep Assist, and Lane Centering

#bwg_container1_7 { visibility: hidden; } #bwg_container1_7 * { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_image_wrap_7 * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; /*backface-visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;*/ } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_image_wrap_7 { background-color: #000000; border-collapse: collapse; display: table; position: relative; text-align: center; width: 800px; height: 700px; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_image_7 { padding: 0 !important; margin: 0 !important; float: none !important; max-width: 800px; max-height: 610px; vertical-align: middle; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_embed_7 { padding: 0 !important; margin: 0 !important; float: none !important; width: 800px; height: 610px; vertical-align: middle; display: inline-block; text-align: center; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_watermark_7 { position: relative; z-index: 15; } #bwg_container1_7 #bwg_container2_7 #bwg_slideshow_play_pause_7 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 0; cursor: pointer; display: table; height: inherit; outline: medium none; position: absolute; width: 30%; left: 35%; z-index: 13; } #bwg_container1_7 #bwg_container2_7 #bwg_slideshow_play_pause_7:hover #bwg_slideshow_play_pause-ico_7 { display: inline-block !important; } #bwg_container1_7 #bwg_container2_7 #bwg_slideshow_play_pause_7:hover span { position: relative; z-index: 13; } #bwg_container1_7 #bwg_container2_7 #bwg_slideshow_play_pause_7 span { display: table-cell; text-align: center; vertical-align: middle; } #bwg_container1_7 #bwg_container2_7 #bwg_slideshow_play_pause-ico_7 { display: none !important; color: #FFFFFF; font-size: 60px; cursor: pointer; position: relative; z-index: 13; } #bwg_container1_7 #bwg_container2_7 #bwg_slideshow_play_pause-ico_7:hover { color: #DBDBDB; display: inline-block; position: relative; z-index: 13; } #bwg_container1_7 #bwg_container2_7 #spider_slideshow_left_7, #bwg_container1_7 #bwg_container2_7 #spider_slideshow_right_7 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 35%; cursor: pointer; display: inline; height: 30%; outline: medium none; position: absolute; width: 35%; /*z-index: 10130;*/ z-index: 13; } #bwg_container1_7 #bwg_container2_7 #spider_slideshow_left_7 { left: 0; } #bwg_container1_7 #bwg_container2_7 #spider_slideshow_right_7 { right: 0; } #bwg_container1_7 #bwg_container2_7 #spider_slideshow_left_7:hover, #bwg_container1_7 #bwg_container2_7 #spider_slideshow_right_7:hover { visibility: visible; } #bwg_container1_7 #bwg_container2_7 #spider_slideshow_left_7:hover span { left: 20px; } #bwg_container1_7 #bwg_container2_7 #spider_slideshow_right_7:hover span { left: auto; right: 20px; } #bwg_container1_7 #bwg_container2_7 #spider_slideshow_left-ico_7 span, #bwg_container1_7 #bwg_container2_7 #spider_slideshow_right-ico_7 span { display: table-cell; text-align: center; vertical-align: middle; z-index: 13; } #bwg_container1_7 #bwg_container2_7 #spider_slideshow_left-ico_7, #bwg_container1_7 #bwg_container2_7 #spider_slideshow_right-ico_7 { background-color: #000000; border-radius: 20px; border: 0px none #FFFFFF; box-shadow: ; color: #FFFFFF; height: 40px; font-size: 20px; width: 40px; z-index: 13; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; display: table; line-height: 0; margin-top: -15px; position: absolute; top: 50%; /*z-index: 10135;*/ opacity: 1.00; filter: Alpha(opacity=100); } #bwg_container1_7 #bwg_container2_7 #spider_slideshow_left-ico_7:hover, #bwg_container1_7 #bwg_container2_7 #spider_slideshow_right-ico_7:hover { color: #DBDBDB; cursor: pointer; } #spider_slideshow_left-ico_7{ left: 20px; } #spider_slideshow_right-ico_7{ left: auto; right: 20px; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_image_container_7 { display: table; position: absolute; text-align: center; bottom: 90px; vertical-align: middle; width: 800px; height: 700px; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_filmstrip_container_7 { display: table; height: 90px; position: absolute; width: 800px; /*z-index: 10105;*/ bottom: 0; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_filmstrip_7 { left: 20px; overflow: hidden; position: absolute; width: 760px; /*z-index: 10106;*/ } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_filmstrip_thumbnails_7 { height: 90px; left: 0px; margin: 0 auto; overflow: hidden; position: relative; width: 732px; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_filmstrip_thumbnail_7 { position: relative; background: none; border: 1px none #000000; border-radius: 0; cursor: pointer; float: left; height: 90px; margin: 0 1px; width: 120px; overflow: hidden; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_thumb_active_7 { opacity: 1; filter: Alpha(opacity=100); border: 0px solid #FFFFFF; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_thumb_deactive_7 { opacity: 0.80; filter: Alpha(opacity=80); } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_filmstrip_thumbnail_img_7 { display: block; opacity: 1; filter: Alpha(opacity=100); padding: 0 !important; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_filmstrip_left_7 { background-color: #303030; cursor: pointer; display: table-cell; vertical-align: middle; width: 20px; /*z-index: 10106;*/ left: 0; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_filmstrip_right_7 { background-color: #303030; cursor: pointer; right: 0; width: 20px; display: table-cell; vertical-align: middle; /*z-index: 10106;*/ } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_filmstrip_left_7 i, #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_filmstrip_right_7 i { color: #FFFFFF; font-size: 20px; } #bwg_container1_7 #bwg_container2_7 .bwg_none_selectable_7 { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_watermark_container_7 { display: table-cell; margin: 0 auto; position: relative; vertical-align: middle; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_watermark_spun_7 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_title_spun_7 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: top; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_description_spun_7 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_watermark_image_7 { padding: 0 !important; float: none !important; margin: 4px !important; max-height: 90px; max-width: 90px; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_watermark_text_7, #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_watermark_text_7:hover { text-decoration: none; margin: 4px; font-size: 12px; font-family: Arial; color: #FFFFFF !important; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_title_text_7 { text-decoration: none; font-size: 16px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 11; border-radius: 5px; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_description_text_7 { text-decoration: none; font-size: 14px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 15; border-radius: 0; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_description_text_7 * { text-decoration: none; color: #FFFFFF !important; } #bwg_container1_7 #bwg_container2_7 .bwg_slide_container_7 { display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; } #bwg_container1_7 #bwg_container2_7 .bwg_slide_bg_7 { margin: 0 auto; width: inherit; height: inherit; } #bwg_container1_7 #bwg_container2_7 .bwg_slider_7 { height: inherit; width: inherit; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_image_spun_7 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_image_second_spun_7 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; } #bwg_container1_7 #bwg_container2_7 .bwg_grid_7 { display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; } #bwg_container1_7 #bwg_container2_7 .bwg_gridlet_7 { opacity: 1; filter: Alpha(opacity=100); position: absolute; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_dots_7 { display: inline-block; position: relative; width: 10px; height: 10px; border-radius: 10px; background: #292929; margin: 1px; cursor: pointer; overflow: hidden; z-index: 17; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_dots_container_7 { display: block; overflow: hidden; position: absolute; width: 800px; bottom: 0; z-index: 17; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_dots_thumbnails_7 { left: 0px; font-size: 0; margin: 0 auto; overflow: hidden; position: relative; height: 12px; width: 72px; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_dots_active_7 { background: #292929; opacity: 1; filter: Alpha(opacity=100); border: 2px solid #FFC933; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_dots_deactive_7 { } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_image_spun1_7 { display: table; width: inherit; height: inherit; } #bwg_container1_7 #bwg_container2_7 .bwg_slideshow_image_spun2_7 { display: table-cell; vertical-align: middle; text-align: center; } #bwg_container1_7 #bwg_container2_7 #spider_popup_overlay_7 { background-color: #000000; opacity: 0.70; filter: Alpha(opacity=70); } var data_7 = []; var event_stack_7 = []; data_7["0"] = []; data_7["0"]["id"] = "452"; data_7["0"]["alt"] = "Lane Departure Warning & Lane Keeping Assist - Test Drive in VR 360"; data_7["0"]["description"] = "Lane Departure Warning & Lane Keeping Assist - Test Drive in VR 360<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_7["0"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_7["0"]["filename"] = "OkvkZDu0zP0"; data_7["0"]["image_url"] = "https://www.youtube.com/watch?v=OkvkZDu0zP0"; data_7["0"]["thumb_url"] = "https://i.ytimg.com/vi/OkvkZDu0zP0/hqdefault.jpg"; data_7["0"]["redirect_url"] = ""; data_7["0"]["date"] = "14 March 2018, 13:25"; data_7["0"]["is_embed"] = "1"; data_7["0"]["is_embed_video"] = "1"; data_7["1"] = []; data_7["1"]["id"] = "458"; data_7["1"]["alt"] = "Are lane departure warning systems effective?"; data_7["1"]["description"] = "Are lane departure warning systems effective?<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_7["1"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_7["1"]["filename"] = "SwbVaEmL97E"; data_7["1"]["image_url"] = "https://youtu.be/SwbVaEmL97E"; data_7["1"]["thumb_url"] = "https://i.ytimg.com/vi/SwbVaEmL97E/hqdefault.jpg"; data_7["1"]["redirect_url"] = ""; data_7["1"]["date"] = "14 March 2018, 13:45"; data_7["1"]["is_embed"] = "1"; data_7["1"]["is_embed_video"] = "1"; data_7["2"] = []; data_7["2"]["id"] = "457"; data_7["2"]["alt"] = "Lane departure warning and prevention"; data_7["2"]["description"] = "Lane departure warning and prevention<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_7["2"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_7["2"]["filename"] = "xdX6J5KQXS0"; data_7["2"]["image_url"] = "https://youtu.be/xdX6J5KQXS0"; data_7["2"]["thumb_url"] = "https://i.ytimg.com/vi/xdX6J5KQXS0/hqdefault.jpg"; data_7["2"]["redirect_url"] = ""; data_7["2"]["date"] = "14 March 2018, 13:45"; data_7["2"]["is_embed"] = "1"; data_7["2"]["is_embed_video"] = "1"; data_7["3"] = []; data_7["3"]["id"] = "454"; data_7["3"]["alt"] = "Lane Departure Warning and Lane Keeping Assist - With Rick & Scout"; data_7["3"]["description"] = "Lane Departure Warning and Lane Keeping Assist - With Rick & Scout<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_7["3"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_7["3"]["filename"] = "PapY5MOtW_0"; data_7["3"]["image_url"] = "https://www.youtube.com/watch?v=PapY5MOtW_0"; data_7["3"]["thumb_url"] = "https://i.ytimg.com/vi/PapY5MOtW_0/hqdefault.jpg"; data_7["3"]["redirect_url"] = ""; data_7["3"]["date"] = "14 March 2018, 13:26"; data_7["3"]["is_embed"] = "1"; data_7["3"]["is_embed_video"] = "1"; data_7["4"] = []; data_7["4"]["id"] = "453"; data_7["4"]["alt"] = "Lane Departure Warning (LDW) - Quick Guide Animation"; data_7["4"]["description"] = "Lane Departure Warning (LDW) - Quick Guide Animation<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_7["4"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_7["4"]["filename"] = "M6FublubIsc"; data_7["4"]["image_url"] = "https://www.youtube.com/watch?v=M6FublubIsc"; data_7["4"]["thumb_url"] = "https://i.ytimg.com/vi/M6FublubIsc/hqdefault.jpg"; data_7["4"]["redirect_url"] = ""; data_7["4"]["date"] = "14 March 2018, 13:26"; data_7["4"]["is_embed"] = "1"; data_7["4"]["is_embed_video"] = "1"; data_7["5"] = []; data_7["5"]["id"] = "455"; data_7["5"]["alt"] = "Lane Keeping Assist (LKA)- Quick Guide Animation"; data_7["5"]["description"] = "Lane Keeping Assist (LKA)- Quick Guide Animation<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_7["5"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_7["5"]["filename"] = "fLvJ_4ehPTk"; data_7["5"]["image_url"] = "https://www.youtube.com/watch?v=fLvJ_4ehPTk"; data_7["5"]["thumb_url"] = "https://i.ytimg.com/vi/fLvJ_4ehPTk/hqdefault.jpg"; data_7["5"]["redirect_url"] = ""; data_7["5"]["date"] = "14 March 2018, 13:27"; data_7["5"]["is_embed"] = "1"; data_7["5"]["is_embed_video"] = "1";

Lane Departure Warning & Lane Keeping Assist - Test Drive in VR 360
Are lane departure warning systems effective?
Lane departure warning and prevention
Lane Departure Warning and Lane Keeping  Assist - With Rick & Scout
Lane Departure Warning (LDW) - Quick Guide Animation
Lane Keeping Assist (LKA)- Quick Guide Animation
var bwg_trans_in_progress_7 = false; var bwg_transition_duration_7 = 1000; var bwg_playInterval_7; /* Stop autoplay.*/ window.clearInterval(bwg_playInterval_7); /* Set watermark container size.*/ function bwg_change_watermark_container_7() { jQuery(".bwg_slider_7").children().each(function() { if (jQuery(this).css("zIndex") == 2) { /* For images.*/ var bwg_current_image_span = jQuery(this).find("img"); if (bwg_current_image_span.length) { if (bwg_current_image_span.prop('complete')) { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_7(width, height); } else { bwg_current_image_span.on("load", function () { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_7(width, height); }); } } else { /* For embeds and videos.*/ bwg_current_image_span = jQuery(this).find("iframe"); if (!bwg_current_image_span.length) { bwg_current_image_span = jQuery(this).find("video"); } var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_7(width, height); } } }); } /* Set each watermark container size.*/ function bwg_change_each_watermark_container_7(width, height) { jQuery(".bwg_slideshow_watermark_spun_7").width(width); jQuery(".bwg_slideshow_watermark_spun_7").height(height); jQuery(".bwg_slideshow_title_spun_7").width(width); jQuery(".bwg_slideshow_title_spun_7").height(height); jQuery(".bwg_slideshow_description_spun_7").width(width); jQuery(".bwg_slideshow_description_spun_7").height(height); jQuery(".bwg_slideshow_watermark_7").css({display: ''}); if (jQuery.trim(jQuery(".bwg_slideshow_title_text_7").text())) { jQuery(".bwg_slideshow_title_text_7").css({display: ''}); } if (jQuery.trim(jQuery(".bwg_slideshow_description_text_7").text())) { jQuery(".bwg_slideshow_description_text_7").css({display: ''}); } } var bwg_current_key_7 = '0'; var bwg_current_filmstrip_pos_7 = 0; /* Set filmstrip initial position.*/ function bwg_set_filmstrip_pos_7(filmStripWidth) { var selectedImagePos = -bwg_current_filmstrip_pos_7 - (jQuery(".bwg_slideshow_filmstrip_thumbnail_7").width() + 2) / 2; var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".bwg_slideshow_filmstrip_thumbnails_7").width(), selectedImagePos + filmStripWidth / 2)); jQuery(".bwg_slideshow_filmstrip_thumbnails_7").animate({ left: imagesContainerLeft }, { duration: 500, complete: function () { bwg_filmstrip_arrows_7(); } }); } function bwg_move_filmstrip_7() { var image_left = jQuery(".bwg_slideshow_thumb_active_7").position().left; var image_right = jQuery(".bwg_slideshow_thumb_active_7").position().left + jQuery(".bwg_slideshow_thumb_active_7").outerWidth(true); var bwg_filmstrip_width = jQuery(".bwg_slideshow_filmstrip_7").outerWidth(true); var bwg_filmstrip_thumbnails_width = jQuery(".bwg_slideshow_filmstrip_thumbnails_7").outerWidth(true); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_filmstrip_thumbnails_7").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_filmstrip_thumbnails_7").position().left) + bwg_filmstrip_width; if (bwg_filmstrip_width > bwg_filmstrip_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_filmstrip_thumbnails_7").animate({ left: -(image_right - bwg_filmstrip_width) }, { duration: 500, complete: function () { bwg_filmstrip_arrows_7(); } }); } } function bwg_move_dots_7() { var image_left = jQuery(".bwg_slideshow_dots_active_7").position().left; var image_right = jQuery(".bwg_slideshow_dots_active_7").position().left + jQuery(".bwg_slideshow_dots_active_7").outerWidth(true); var bwg_dots_width = jQuery(".bwg_slideshow_dots_container_7").outerWidth(true); var bwg_dots_thumbnails_width = jQuery(".bwg_slideshow_dots_thumbnails_7").outerWidth(false); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_dots_thumbnails_7").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_dots_thumbnails_7").position().left) + bwg_dots_width; if (bwg_dots_width > bwg_dots_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_dots_thumbnails_7").animate({ left: -(image_right - bwg_dots_width) }, { duration: 500, complete: function () { } }); } } /* Show/hide filmstrip arrows.*/ function bwg_filmstrip_arrows_7() { if (jQuery(".bwg_slideshow_filmstrip_thumbnails_7").width() 0) { key = event_stack_7[0].split("-"); event_stack_7.shift(); bwg_change_image_7(key[0], key[1], data_7, true); } } } } function bwg_cubeH_7(current_image_class, next_image_class, direction) { /* Set to half of image width.*/ var dimension = jQuery(current_image_class).width() / 2; if (direction == 'right') { bwg_cube_7(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_7(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction); } } function bwg_cubeV_7(current_image_class, next_image_class, direction) { /* Set to half of image height.*/ var dimension = jQuery(current_image_class).height() / 2; /* If next slide.*/ if (direction == 'right') { bwg_cube_7(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_7(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction); } } /* For browsers that does not support transitions.*/ function bwg_fallback_7(current_image_class, next_image_class, direction) { bwg_fade_7(current_image_class, next_image_class, direction); } /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/ function bwg_fallback3d_7(current_image_class, next_image_class, direction) { bwg_sliceV_7(current_image_class, next_image_class, direction); } function bwg_none_7(current_image_class, next_image_class, direction) { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_7(); /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_7").removeClass("bwg_slideshow_thumb_active_7").addClass("bwg_slideshow_thumb_deactive_7"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_7 + "_7").removeClass("bwg_slideshow_thumb_deactive_7").addClass("bwg_slideshow_thumb_active_7"); jQuery(".bwg_slideshow_dots_7").removeClass("bwg_slideshow_dots_active_7").addClass("bwg_slideshow_dots_deactive_7"); jQuery("#bwg_dots_" + bwg_current_key_7 + "_7").removeClass("bwg_slideshow_dots_deactive_7").addClass("bwg_slideshow_dots_active_7"); } function bwg_fade_7(current_image_class, next_image_class, direction) { /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_7").removeClass("bwg_slideshow_thumb_active_7").addClass("bwg_slideshow_thumb_deactive_7"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_7 + "_7").removeClass("bwg_slideshow_thumb_deactive_7").addClass("bwg_slideshow_thumb_active_7"); jQuery(".bwg_slideshow_dots_7").removeClass("bwg_slideshow_dots_active_7").addClass("bwg_slideshow_dots_deactive_7"); jQuery("#bwg_dots_" + bwg_current_key_7 + "_7").removeClass("bwg_slideshow_dots_deactive_7").addClass("bwg_slideshow_dots_active_7"); if (bwg_testBrowser_cssTransitions_7()) { jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_7 + 'ms linear'); jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_7(); } else { jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, bwg_transition_duration_7); jQuery(next_image_class).animate({ 'opacity' : 1, 'z-index': 2 }, { duration: bwg_transition_duration_7, complete: function () { bwg_change_watermark_container_7(); } }); /* For IE.*/ jQuery(current_image_class).fadeTo(bwg_transition_duration_7, 0); jQuery(next_image_class).fadeTo(bwg_transition_duration_7, 1); } } function bwg_grid_7(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) { /* If browser does not support CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_7()) { return bwg_fallback_7(current_image_class, next_image_class, direction); } bwg_trans_in_progress_7 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_7").removeClass("bwg_slideshow_thumb_active_7").addClass("bwg_slideshow_thumb_deactive_7"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_7 + "_7").removeClass("bwg_slideshow_thumb_deactive_7").addClass("bwg_slideshow_thumb_active_7"); jQuery(".bwg_slideshow_dots_7").removeClass("bwg_slideshow_dots_active_7").addClass("bwg_slideshow_dots_deactive_7"); jQuery("#bwg_dots_" + bwg_current_key_7 + "_7").removeClass("bwg_slideshow_dots_deactive_7").addClass("bwg_slideshow_dots_active_7"); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (bwg_transition_duration_7) / (cols + rows); /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/ function bwg_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) { var delay = (c + r) * count; /* Return a gridlet elem with styles for specific transition.*/ return jQuery('').css({ display : "block", width : width, height : height, top : top, left : left, backgroundImage : 'url("' + src + '")', backgroundColor: jQuery(".bwg_slideshow_image_wrap_7").css("background-color"), /*backgroundColor: rgba(0, 0, 0, 0),*/ backgroundRepeat: 'no-repeat', backgroundPosition : img_left + 'px ' + img_top + 'px', backgroundSize : imgWidth + 'px ' + imgHeight + 'px', transition : 'all ' + bwg_transition_duration_7 + 'ms ease-in-out ' + delay + 'ms', transform : 'none' }); } /* Get the current slide's image.*/ var cur_img = jQuery(current_image_class).find('img'); /* Create a grid to hold the gridlets.*/ var grid = jQuery('').addClass('bwg_grid_7'); /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/ jQuery(current_image_class).prepend(grid); /* vars to calculate positioning/size of gridlets*/ var cont = jQuery(".bwg_slide_bg_7"); var imgWidth = cur_img.width(); var imgHeight = cur_img.height(); var contWidth = cont.width(), contHeight = cont.height(), imgSrc = cur_img.attr('src'),/*.replace('/thumb', ''),*/ colWidth = Math.floor(contWidth / cols), rowHeight = Math.floor(contHeight / rows), colRemainder = contWidth - (cols * colWidth), colAdd = Math.ceil(colRemainder / cols), rowRemainder = contHeight - (rows * rowHeight), rowAdd = Math.ceil(rowRemainder / rows), leftDist = 0, img_leftDist = (jQuery(".bwg_slide_bg_7").width() - cur_img.width()) / 2; /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/ tx = tx === 'auto' ? contWidth : tx; tx = tx === 'min-auto' ? - contWidth : tx; ty = ty === 'auto' ? contHeight : ty; ty = ty === 'min-auto' ? - contHeight : ty; /* Loop through cols*/ for (var i = 0; i 0) { var add = colRemainder >= colAdd ? colAdd : colRemainder; newColWidth += add; colRemainder -= add; } /* Nested loop to create row gridlets for each col.*/ for (var j = 0; j 0) { add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder; newRowHeight += add; newRowRemainder -= add; } /* Create & append gridlet to grid.*/ grid.append(bwg_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j)); topDist += newRowHeight; img_topDst -= newRowHeight; } img_leftDist -= newColWidth; leftDist += newColWidth; } /* Set event listener on last gridlet to finish transitioning.*/ var last_gridlet = grid.children().last(); /* Show grid & hide the image it replaces.*/ grid.show(); cur_img.css('opacity', 0); /* Add identifying classes to corner gridlets (useful if applying border radius).*/ grid.children().first().addClass('rs-top-left'); grid.children().last().addClass('rs-bottom-right'); grid.children().eq(rows - 1).addClass('rs-bottom-left'); grid.children().eq(- rows).addClass('rs-top-right'); /* Execution steps.*/ setTimeout(function () { grid.children().css({ opacity: op, transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')' }); }, 1); jQuery(next_image_class).css('opacity', 1); /* After transition.*/ jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); cur_img.css('opacity', 1); bwg_change_watermark_container_7(); grid.remove(); bwg_trans_in_progress_7 = false; if (typeof event_stack_7 !== 'undefined') { if (event_stack_7.length > 0) { key = event_stack_7[0].split("-"); event_stack_7.shift(); bwg_change_image_7(key[0], key[1], data_7, true); } } } } function bwg_sliceH_7(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_7(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_sliceV_7(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'min-auto'; } else if (direction == 'left') { var translateY = 'auto'; } bwg_grid_7(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction); } function bwg_slideV_7(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'auto'; } else if (direction == 'left') { var translateY = 'min-auto'; } bwg_grid_7(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction); } function bwg_slideH_7(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_7(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction); } function bwg_scaleOut_7(current_image_class, next_image_class, direction) { bwg_grid_7(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction); } function bwg_scaleIn_7(current_image_class, next_image_class, direction) { bwg_grid_7(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction); } function bwg_blockScale_7(current_image_class, next_image_class, direction) { bwg_grid_7(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction); } function bwg_kaleidoscope_7(current_image_class, next_image_class, direction) { bwg_grid_7(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_fan_7(current_image_class, next_image_class, direction) { if (direction == 'right') { var rotate = 45; var translateX = 100; } else if (direction == 'left') { var rotate = -45; var translateX = -100; } bwg_grid_7(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_blindV_7(current_image_class, next_image_class, direction) { bwg_grid_7(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_blindH_7(current_image_class, next_image_class, direction) { bwg_grid_7(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_random_7(current_image_class, next_image_class, direction) { var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV']; /* Pick a random transition from the anims array.*/ this["bwg_" + anims[Math.floor(Math.random() * anims.length)] + "_7"](current_image_class, next_image_class, direction); } function bwg_iterator_7() { var iterator = 1; if (0) { iterator = Math.floor((data_7.length - 1) * Math.random() + 1); } return iterator; } function bwg_change_image_7(current_key, key, data_7, from_effect) { /* Pause videos.*/ jQuery("#bwg_slideshow_image_container_7").find("iframe").each(function () { jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*"); jQuery(this)[0].contentWindow.postMessage('pause', '*'); }); /* Pause videos facebook video.*/ jQuery('#image_id_7_' + data_7[current_key]["id"]).find('.bwg_fb_video').each(function () { jQuery(this).attr('src', jQuery(this).attr('src')); }); if (data_7[key]) { if (jQuery('.bwg_ctrl_btn_7').hasClass('fa-pause')) { bwg_play_7(); } if (!from_effect) { /* Change image key.*/ jQuery("#bwg_current_image_key_7").val(key); if (current_key == '-1') { /* Filmstrip.*/ current_key = jQuery(".bwg_slideshow_thumb_active_7").children("img").attr("image_key"); } else if (current_key == '-2') { /* Dots.*/ current_key = jQuery(".bwg_slideshow_dots_active_7").attr("image_key"); } } if (bwg_trans_in_progress_7) { event_stack_7.push(current_key + '-' + key); return; } var direction = 'right'; if (bwg_current_key_7 > key) { var direction = 'left'; } else if (bwg_current_key_7 == key) { return; } jQuery(".bwg_slideshow_watermark_7").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_7").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_7").css({display: 'none'}); /* Set active thumbnail position.*/ bwg_current_filmstrip_pos_7 = key * (jQuery(".bwg_slideshow_filmstrip_thumbnail_7").width() + 2 + 2 * 1); bwg_current_key_7 = key; /* Change image id, title, description.*/ jQuery("#bwg_slideshow_image_7").attr('image_id', data_7[key]["id"]); jQuery(".bwg_slideshow_title_text_7").html(jQuery('').html(data_7[key]["alt"]).text()); jQuery(".bwg_slideshow_description_text_7").html(jQuery('').html(data_7[key]["description"]).text()); var current_image_class = jQuery(".bwg_slideshow_image_spun_7").css("zIndex") == 2 ? ".bwg_slideshow_image_spun_7" : ".bwg_slideshow_image_second_spun_7"; var next_image_class = current_image_class == ".bwg_slideshow_image_second_spun_7" ? ".bwg_slideshow_image_spun_7" : ".bwg_slideshow_image_second_spun_7"; var is_embed = data_7[key]['filetype'].indexOf("EMBED_") > -1 ? true : false; var is_embed_instagram_post = data_7[key]['filetype'].indexOf('INSTAGRAM_POST') > -1 ? true :false; var is_embed_instagram_video = data_7[key]['filetype'].indexOf('INSTAGRAM_VIDEO') > -1 ? true :false; var cur_height = jQuery(current_image_class).height(); var cur_width = jQuery(current_image_class).width(); var innhtml = ''; if (!is_embed) { innhtml += ''; innhtml += '<img style="max-height: ' + cur_height + 'px !important; max-width: ' + cur_width + 'px !important;display:inline-block;" class="bwg_slideshow_image_7" id="bwg_slideshow_image_7" src="https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_7[key]["image_url"]).text() + '" alt="' + data_7[key]["alt"] + '" image_id="' + data_7[key]["id"] + '" />'; } else { /*is_embed*/ innhtml += '' + (is_embed_instagram_video ? '
' : ' '); if (is_embed_instagram_post) { var post_width = 0; var post_height = 0; if (cur_height < cur_width + 88) { post_height = cur_height; post_width = post_height - 88; } else { post_width = cur_width; post_height = post_width + 88; } innhtml += spider_display_embed(data_7[key]['filetype'], data_7[key]['image_url'], data_7[key]['filename'], {class:"bwg_embed_frame", 'data-width': data_7[key]['image_width'], 'data-height': data_7[key]['image_height'], frameborder: "0", allowfullscreen: "allowfullscreen", style: "width:" + post_width + "px; height:" + post_height + "px; vertical-align:middle; display:inline-block; position:relative;"}); } else { innhtml += spider_display_embed(data_7[key]['filetype'], data_7[key]['image_url'], data_7[key]['filename'], {class:"bwg_embed_frame", frameborder:"0", allowfullscreen:"allowfullscreen", style:"width:inherit; height:inherit; vertical-align:middle; display:table-cell;" }); } innhtml += "
"; } innhtml += '
'; jQuery(next_image_class).html(innhtml); if ('open_lightbox' == 'open_lightbox' || 0) { bwg_document_ready_7(); } bwg_none_7(current_image_class, next_image_class, direction); bwg_move_filmstrip_7(); if (data_7[key]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_7").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_7").css({display: ''}); } } } function bwg_preload_images_7(key) { count = 5; var count_all = data_7.length; if (count_all < 10) { count = 0; } if (count != 0) { for (var i = key - count; i -1 ? true : false; if (typeof data_7[index] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_7[index]["image_url"]).text()); } } } } else { for (var i = 0; i -1 ? true : false; if (typeof data_7[i] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_7[i]["image_url"]).text()); } } } } } function bwg_popup_resize_7() { var parent_width = jQuery(".bwg_slideshow_image_wrap_7").parent().width(); if (parent_width >= 800) { jQuery(".bwg_slideshow_image_wrap_7").css({width: 800}); jQuery(".bwg_slideshow_image_wrap_7").css({height: 700}); jQuery(".bwg_slideshow_image_container_7").css({width: 800}); jQuery(".bwg_slideshow_image_container_7").css({height: (610)}); jQuery(".bwg_slideshow_image_7").css({ cssText: "max-width: 800px !important; max-height: 610px !important;" }); jQuery(".bwg_slideshow_embed_7").css({ cssText: "width: 800px !important; height: 610px !important;" }); bwg_resize_instagram_post_7(); /* Set watermark container size.*/ bwg_change_watermark_container_7(); jQuery(".bwg_slideshow_filmstrip_container_7").css({width: 800}); jQuery(".bwg_slideshow_filmstrip_7").css({width: 760}); jQuery(".bwg_slideshow_dots_container_7").css({width: 800}); jQuery("#bwg_slideshow_play_pause-ico_7").css({fontSize: (60)}); jQuery(".bwg_slideshow_watermark_image_7").css({maxWidth: 90, maxHeight: 90}); jQuery(".bwg_slideshow_watermark_text_7, .bwg_slideshow_watermark_text_7:hover").css({fontSize: (12)}); jQuery(".bwg_slideshow_title_text_7").css({fontSize: (32)}); jQuery(".bwg_slideshow_description_text_7").css({fontSize: (28)}); } else { jQuery(".bwg_slideshow_image_wrap_7").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_wrap_7").css({height: ((parent_width) * 0.875)}); jQuery(".bwg_slideshow_image_container_7").css({width: (parent_width - 0)}); jQuery(".bwg_slideshow_image_container_7").css({height: ((parent_width) * 0.875 - 90)}); jQuery(".bwg_slideshow_image_7").css({ cssText: "max-width: " + (parent_width - 0) + "px !important; max-height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); jQuery(".bwg_slideshow_embed_7").css({ cssText: "width: " + (parent_width - 0) + "px !important; height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); bwg_resize_instagram_post_7(); /* Set watermark container size.*/ bwg_change_watermark_container_7(); jQuery(".bwg_slideshow_filmstrip_container_7").css({width: (parent_width)}); jQuery(".bwg_slideshow_filmstrip_7").css({width: (parent_width - 40)}); jQuery(".bwg_slideshow_dots_container_7").css({width: (parent_width)}); jQuery("#bwg_slideshow_play_pause-ico_7").css({fontSize: ((parent_width) * 0.075)}); jQuery(".bwg_slideshow_watermark_image_7").css({maxWidth: ((parent_width) * 0.1125), maxHeight: ((parent_width) * 0.1125)}); jQuery(".bwg_slideshow_watermark_text_7, .bwg_slideshow_watermark_text_7:hover").css({fontSize: ((parent_width) * 0.015)}); jQuery(".bwg_slideshow_title_text_7").css({fontSize: ((parent_width) * 0.04)}); jQuery(".bwg_slideshow_description_text_7").css({fontSize: ((parent_width) * 0.035)}); jQuery(".bwg_slideshow_image_7").css({'display':'inline-block'}); } if (data_7[parseInt(jQuery("#bwg_current_image_key_7").val())]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_7").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_7").css({display: ''}); } } jQuery(window).resize(function() { bwg_popup_resize_7(); }); jQuery(document).ready(function () { jQuery('#ajax_loading_7').hide(); if (typeof jQuery().swiperight !== 'undefined') { if (jQuery.isFunction(jQuery().swiperight)) { jQuery('#bwg_container1_7').swiperight(function () { bwg_change_image_7(parseInt(jQuery('#bwg_current_image_key_7').val()), (parseInt(jQuery('#bwg_current_image_key_7').val()) - bwg_iterator_7()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_7').val()) - bwg_iterator_7()) % data_7.length : data_7.length - 1, data_7); return false; }); } } if (typeof jQuery().swipeleft !== 'undefined') { if (jQuery.isFunction(jQuery().swipeleft)) { jQuery('#bwg_container1_7').swipeleft(function () { bwg_change_image_7(parseInt(jQuery('#bwg_current_image_key_7').val()), (parseInt(jQuery('#bwg_current_image_key_7').val()) + bwg_iterator_7()) % data_7.length, data_7); return false; }); } } var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); var bwg_click = isMobile ? 'touchend' : 'click'; bwg_popup_resize_7(); jQuery("#bwg_container1_7").css({visibility: 'visible'}); jQuery(".bwg_slideshow_watermark_7").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_7").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_7").css({display: 'none'}); setTimeout(function () { bwg_change_watermark_container_7(); }, 500); /* Set image container height.*/ jQuery(".bwg_slideshow_image_container_7").height(jQuery(".bwg_slideshow_image_wrap_7").height() - 90); var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */ jQuery('.bwg_slideshow_filmstrip_7').bind(mousewheelevt, function(e) { var evt = window.event || e; /* Equalize event object.*/ evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/ var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/ if (delta > 0) { /* Scroll up.*/ jQuery(".bwg_slideshow_filmstrip_left_7").trigger("click"); } else { /* Scroll down.*/ jQuery(".bwg_slideshow_filmstrip_right_7").trigger("click"); } return false; }); jQuery(".bwg_slideshow_filmstrip_right_7").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_7" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_7").position().left >= -(jQuery(".bwg_slideshow_filmstrip_thumbnails_7").width() - jQuery(".bwg_slideshow_filmstrip_7").width())) { jQuery(".bwg_slideshow_filmstrip_left_7").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_7").position().left < -(jQuery(".bwg_slideshow_filmstrip_thumbnails_7").width() - jQuery(".bwg_slideshow_filmstrip_7").width() - 122)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_7").animate({left: -(jQuery(".bwg_slideshow_filmstrip_thumbnails_7").width() - jQuery(".bwg_slideshow_filmstrip_7").width())}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_7").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_7").position().left - 122)}, 500, 'linear'); } } /* Disable right arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_7").position().left == -(jQuery(".bwg_slideshow_filmstrip_thumbnails_7").width() - jQuery(".bwg_slideshow_filmstrip_7").width())) { jQuery(".bwg_slideshow_filmstrip_right_7").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); jQuery(".bwg_slideshow_filmstrip_left_7").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_7" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_7").position().left - 122) { jQuery(".bwg_slideshow_filmstrip_thumbnails_7").animate({left: 0}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_7").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_7").position().left + 122)}, 500, 'linear'); } } /* Disable left arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_7").position().left == 0) { jQuery(".bwg_slideshow_filmstrip_left_7").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); /* Set filmstrip initial position.*/ bwg_set_filmstrip_pos_7(jQuery(".bwg_slideshow_filmstrip_7").width()); /* Play/pause.*/ jQuery("#bwg_slideshow_play_pause_7").on(bwg_click, function () { if (jQuery(".bwg_ctrl_btn_7").hasClass("fa-play")) { bwg_play_7(); jQuery(".bwg_slideshow_play_pause_7").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_7").attr("class", "bwg_ctrl_btn_7 bwg_slideshow_play_pause_7 fa fa-pause"); if (0) { document.getElementById("bwg_audio_7").play(); } } else { /* Pause.*/ window.clearInterval(bwg_playInterval_7); jQuery(".bwg_slideshow_play_pause_7").attr("title", "Play"); jQuery(".bwg_slideshow_play_pause_7").attr("class", "bwg_ctrl_btn_7 bwg_slideshow_play_pause_7 fa fa-play"); if (0) { document.getElementById("bwg_audio_7").pause(); } } }); if (0) { bwg_play_7(); jQuery(".bwg_slideshow_play_pause_7").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_7").attr("class", "bwg_ctrl_btn_7 bwg_slideshow_play_pause_7 fa fa-pause"); if (0) { document.getElementById("bwg_audio_7").play(); } } jQuery(".bwg_slideshow_image_7").removeAttr("width"); jQuery(".bwg_slideshow_image_7").removeAttr("height"); }); function bwg_resize_instagram_post_7() { if (jQuery('.inner_instagram_iframe_bwg_embed_frame_7').length) { var post_width = jQuery('.bwg_slideshow_embed_7').width(); var post_height = jQuery('.bwg_slideshow_embed_7').height(); jQuery('.inner_instagram_iframe_bwg_embed_frame_7').each(function() { var parent_container = jQuery(this).parent(); if (post_height / (parseInt(parent_container.attr('data-height')) + 96) < post_width / parseInt(parent_container.attr('data-width'))) { parent_container.height(post_height); parent_container.width((parent_container.height() - 96) * parent_container.attr('data-width') / parent_container.attr('data-height') + 16); } else { parent_container.width(post_width); parent_container.height((parent_container.width() - 16) * parent_container.attr('data-height') / parent_container.attr('data-width') + 96); } }); } bwg_change_watermark_container_7(); } function bwg_play_7() { window.clearInterval(bwg_playInterval_7); /* Play.*/ bwg_playInterval_7 = setInterval(function () { var iterator = 1; if (0) { iterator = Math.floor((data_7.length - 1) * Math.random() + 1); } bwg_change_image_7(parseInt(jQuery('#bwg_current_image_key_7').val()), (parseInt(jQuery('#bwg_current_image_key_7').val()) + iterator) % data_7.length, data_7) }, '5000'); } jQuery(window).focus(function() { if (!jQuery(".bwg_ctrl_btn_7").hasClass("fa-play")) { bwg_play_7(); } var i_7 = 0; jQuery(".bwg_slider_7").children("span").each(function () { if (jQuery(this).css('opacity') == 1) { jQuery("#bwg_current_image_key_7").val(i_7); } i_7++; }); }); jQuery(window).blur(function() { event_stack_7 = []; window.clearInterval(bwg_playInterval_7); }); function bwg_gallery_box_7(image_id, openEcommerce) { if (typeof openEcommerce == undefined) { openEcommerce = false; } var ecommerce = openEcommerce == true ? "&open_ecommerce=1" : ""; var filterTags = jQuery("#bwg_tags_id_bwg_standart_thumbnails_7").val() ? jQuery("#bwg_tags_id_bwg_standart_thumbnails_7").val() : 0; var filtersearchname = jQuery("#bwg_search_input_7").val() ? "&filter_search_name_7=" + jQuery("#bwg_search_input_7").val() : ''; spider_createpopup('https://thecarseatlady.com/wp-admin/admin-ajax.php?action=GalleryBox&current_view=7&gallery_id=22&theme_id=2&open_with_fullscreen=1&open_with_autoplay=0&image_width=800&image_height=500&image_effect=none&wd_sor=order&wd_ord=asc&enable_image_filmstrip=1&image_filmstrip_height=70&enable_image_ctrl_btn=1&enable_image_fullscreen=1&popup_enable_info=1&popup_info_always_show=0&popup_info_full_width=0&popup_hit_counter=0&popup_enable_rate=0&slideshow_interval=5&enable_comment_social=0&enable_image_facebook=0&enable_image_twitter=0&enable_image_google=0&enable_image_ecommerce=undefined&enable_image_pinterest=0&enable_image_tumblr=0&watermark_type=none&slideshow_effect_duration=1&tags=0&current_url=https%3A%2F%2Fthecarseatlady.com%2Fbuying-a-safer-car%2F&thumb_width=120&thumb_height=90&image_id=' + image_id + "&filter_tag_7=" + filterTags + ecommerce + filtersearchname, '7', '800', '500', 1, 'testpopup', 5, "bottom"); } var bwg_hash = window.location.hash.substring(1); if (bwg_hash) { if (bwg_hash.indexOf("bwg") != "-1") { bwg_hash_array = bwg_hash.replace("bwg", "").split("/"); if(bwg_hash_array[0] == "22"){ bwg_gallery_box_7(bwg_hash_array[1]); } } } function bwg_document_ready_7() { var bwg_touch_flag = false; jQuery(".bwg_lightbox_7").on("click", function () { if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); bwg_gallery_box_7(jQuery(this).attr("data-image-id")); return false; } }); jQuery(".bwg_lightbox_7 .bwg_ecommerce").on("click", function (event) { event.stopPropagation(); if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); var image_id = jQuery(this).closest(".bwg_lightbox_7").attr("data-image-id"); bwg_gallery_box_7(image_id, true); return false; } }); } jQuery(document).ready(function () { bwg_document_ready_7(); });

Blind Spot Detection

Key Take Away Point: You want a vehicle with Blind Spot Detection as it is proven effective in both preventing lane-change crashes and decreasing injury when the crash was not preventable.

Blind spot detection

↓14% Lane-change crashes

↓23% Lane-change crashes with injuries

↓9% Claim rates for damage to other vehicles

↓12% Claim rates for injuries to people in other vehicles

As you can see from the above IIHS data, blind spot detection is an effective safety feature at reducing the number of crashes and injuries within the crashes that still occur.

Watch & Learn more about Blind Spot Detection

#bwg_container1_8 { visibility: hidden; } #bwg_container1_8 * { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_image_wrap_8 * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; /*backface-visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;*/ } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_image_wrap_8 { background-color: #000000; border-collapse: collapse; display: table; position: relative; text-align: center; width: 800px; height: 700px; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_image_8 { padding: 0 !important; margin: 0 !important; float: none !important; max-width: 800px; max-height: 610px; vertical-align: middle; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_embed_8 { padding: 0 !important; margin: 0 !important; float: none !important; width: 800px; height: 610px; vertical-align: middle; display: inline-block; text-align: center; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_watermark_8 { position: relative; z-index: 15; } #bwg_container1_8 #bwg_container2_8 #bwg_slideshow_play_pause_8 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 0; cursor: pointer; display: table; height: inherit; outline: medium none; position: absolute; width: 30%; left: 35%; z-index: 13; } #bwg_container1_8 #bwg_container2_8 #bwg_slideshow_play_pause_8:hover #bwg_slideshow_play_pause-ico_8 { display: inline-block !important; } #bwg_container1_8 #bwg_container2_8 #bwg_slideshow_play_pause_8:hover span { position: relative; z-index: 13; } #bwg_container1_8 #bwg_container2_8 #bwg_slideshow_play_pause_8 span { display: table-cell; text-align: center; vertical-align: middle; } #bwg_container1_8 #bwg_container2_8 #bwg_slideshow_play_pause-ico_8 { display: none !important; color: #FFFFFF; font-size: 60px; cursor: pointer; position: relative; z-index: 13; } #bwg_container1_8 #bwg_container2_8 #bwg_slideshow_play_pause-ico_8:hover { color: #DBDBDB; display: inline-block; position: relative; z-index: 13; } #bwg_container1_8 #bwg_container2_8 #spider_slideshow_left_8, #bwg_container1_8 #bwg_container2_8 #spider_slideshow_right_8 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 35%; cursor: pointer; display: inline; height: 30%; outline: medium none; position: absolute; width: 35%; /*z-index: 10130;*/ z-index: 13; } #bwg_container1_8 #bwg_container2_8 #spider_slideshow_left_8 { left: 0; } #bwg_container1_8 #bwg_container2_8 #spider_slideshow_right_8 { right: 0; } #bwg_container1_8 #bwg_container2_8 #spider_slideshow_left_8:hover, #bwg_container1_8 #bwg_container2_8 #spider_slideshow_right_8:hover { visibility: visible; } #bwg_container1_8 #bwg_container2_8 #spider_slideshow_left_8:hover span { left: 20px; } #bwg_container1_8 #bwg_container2_8 #spider_slideshow_right_8:hover span { left: auto; right: 20px; } #bwg_container1_8 #bwg_container2_8 #spider_slideshow_left-ico_8 span, #bwg_container1_8 #bwg_container2_8 #spider_slideshow_right-ico_8 span { display: table-cell; text-align: center; vertical-align: middle; z-index: 13; } #bwg_container1_8 #bwg_container2_8 #spider_slideshow_left-ico_8, #bwg_container1_8 #bwg_container2_8 #spider_slideshow_right-ico_8 { background-color: #000000; border-radius: 20px; border: 0px none #FFFFFF; box-shadow: ; color: #FFFFFF; height: 40px; font-size: 20px; width: 40px; z-index: 13; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; display: table; line-height: 0; margin-top: -15px; position: absolute; top: 50%; /*z-index: 10135;*/ opacity: 1.00; filter: Alpha(opacity=100); } #bwg_container1_8 #bwg_container2_8 #spider_slideshow_left-ico_8:hover, #bwg_container1_8 #bwg_container2_8 #spider_slideshow_right-ico_8:hover { color: #DBDBDB; cursor: pointer; } #spider_slideshow_left-ico_8{ left: 20px; } #spider_slideshow_right-ico_8{ left: auto; right: 20px; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_image_container_8 { display: table; position: absolute; text-align: center; bottom: 90px; vertical-align: middle; width: 800px; height: 700px; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_filmstrip_container_8 { display: table; height: 90px; position: absolute; width: 800px; /*z-index: 10105;*/ bottom: 0; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_filmstrip_8 { left: 20px; overflow: hidden; position: absolute; width: 760px; /*z-index: 10106;*/ } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_filmstrip_thumbnails_8 { height: 90px; left: 0px; margin: 0 auto; overflow: hidden; position: relative; width: 610px; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_filmstrip_thumbnail_8 { position: relative; background: none; border: 1px none #000000; border-radius: 0; cursor: pointer; float: left; height: 90px; margin: 0 1px; width: 120px; overflow: hidden; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_thumb_active_8 { opacity: 1; filter: Alpha(opacity=100); border: 0px solid #FFFFFF; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_thumb_deactive_8 { opacity: 0.80; filter: Alpha(opacity=80); } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_filmstrip_thumbnail_img_8 { display: block; opacity: 1; filter: Alpha(opacity=100); padding: 0 !important; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_filmstrip_left_8 { background-color: #303030; cursor: pointer; display: table-cell; vertical-align: middle; width: 20px; /*z-index: 10106;*/ left: 0; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_filmstrip_right_8 { background-color: #303030; cursor: pointer; right: 0; width: 20px; display: table-cell; vertical-align: middle; /*z-index: 10106;*/ } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_filmstrip_left_8 i, #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_filmstrip_right_8 i { color: #FFFFFF; font-size: 20px; } #bwg_container1_8 #bwg_container2_8 .bwg_none_selectable_8 { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_watermark_container_8 { display: table-cell; margin: 0 auto; position: relative; vertical-align: middle; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_watermark_spun_8 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_title_spun_8 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: top; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_description_spun_8 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_watermark_image_8 { padding: 0 !important; float: none !important; margin: 4px !important; max-height: 90px; max-width: 90px; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_watermark_text_8, #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_watermark_text_8:hover { text-decoration: none; margin: 4px; font-size: 12px; font-family: Arial; color: #FFFFFF !important; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_title_text_8 { text-decoration: none; font-size: 16px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 11; border-radius: 5px; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_description_text_8 { text-decoration: none; font-size: 14px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 15; border-radius: 0; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_description_text_8 * { text-decoration: none; color: #FFFFFF !important; } #bwg_container1_8 #bwg_container2_8 .bwg_slide_container_8 { display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; } #bwg_container1_8 #bwg_container2_8 .bwg_slide_bg_8 { margin: 0 auto; width: inherit; height: inherit; } #bwg_container1_8 #bwg_container2_8 .bwg_slider_8 { height: inherit; width: inherit; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_image_spun_8 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_image_second_spun_8 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; } #bwg_container1_8 #bwg_container2_8 .bwg_grid_8 { display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; } #bwg_container1_8 #bwg_container2_8 .bwg_gridlet_8 { opacity: 1; filter: Alpha(opacity=100); position: absolute; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_dots_8 { display: inline-block; position: relative; width: 10px; height: 10px; border-radius: 10px; background: #292929; margin: 1px; cursor: pointer; overflow: hidden; z-index: 17; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_dots_container_8 { display: block; overflow: hidden; position: absolute; width: 800px; bottom: 0; z-index: 17; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_dots_thumbnails_8 { left: 0px; font-size: 0; margin: 0 auto; overflow: hidden; position: relative; height: 12px; width: 60px; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_dots_active_8 { background: #292929; opacity: 1; filter: Alpha(opacity=100); border: 2px solid #FFC933; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_dots_deactive_8 { } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_image_spun1_8 { display: table; width: inherit; height: inherit; } #bwg_container1_8 #bwg_container2_8 .bwg_slideshow_image_spun2_8 { display: table-cell; vertical-align: middle; text-align: center; } #bwg_container1_8 #bwg_container2_8 #spider_popup_overlay_8 { background-color: #000000; opacity: 0.70; filter: Alpha(opacity=70); } var data_8 = []; var event_stack_8 = []; data_8["0"] = []; data_8["0"]["id"] = "460"; data_8["0"]["alt"] = "Blind Spot Monitoring - Just move your head or your mouse to see traffic on all sides"; data_8["0"]["description"] = "Blind Spot Monitoring - Just move your head or your mouse to see traffic on all sides<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_8["0"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_8["0"]["filename"] = "l2EyPlkbWZ8"; data_8["0"]["image_url"] = "https://www.youtube.com/watch?v=l2EyPlkbWZ8"; data_8["0"]["thumb_url"] = "https://i.ytimg.com/vi/l2EyPlkbWZ8/hqdefault.jpg"; data_8["0"]["redirect_url"] = ""; data_8["0"]["date"] = "14 March 2018, 13:56"; data_8["0"]["is_embed"] = "1"; data_8["0"]["is_embed_video"] = "1"; data_8["1"] = []; data_8["1"]["id"] = "462"; data_8["1"]["alt"] = "Blind Spot Monitoring and Sideview Camera – With Rick & Scout"; data_8["1"]["description"] = "Blind Spot Monitoring and Sideview Camera – With Rick & Scout<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_8["1"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_8["1"]["filename"] = "ebznxX7kwv0"; data_8["1"]["image_url"] = "https://www.youtube.com/watch?v=ebznxX7kwv0"; data_8["1"]["thumb_url"] = "https://i.ytimg.com/vi/ebznxX7kwv0/hqdefault.jpg"; data_8["1"]["redirect_url"] = ""; data_8["1"]["date"] = "14 March 2018, 13:57"; data_8["1"]["is_embed"] = "1"; data_8["1"]["is_embed_video"] = "1"; data_8["2"] = []; data_8["2"]["id"] = "461"; data_8["2"]["alt"] = "Blind Spot Monitor (BSM) - Quick Guide Animation"; data_8["2"]["description"] = "Blind Spot Monitor (BSM) - Quick Guide Animation<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_8["2"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_8["2"]["filename"] = "FAVfqQ4Tna4"; data_8["2"]["image_url"] = "https://www.youtube.com/watch?v=FAVfqQ4Tna4"; data_8["2"]["thumb_url"] = "https://i.ytimg.com/vi/FAVfqQ4Tna4/hqdefault.jpg"; data_8["2"]["redirect_url"] = ""; data_8["2"]["date"] = "14 March 2018, 13:56"; data_8["2"]["is_embed"] = "1"; data_8["2"]["is_embed_video"] = "1"; data_8["3"] = []; data_8["3"]["id"] = "463"; data_8["3"]["alt"] = "Sideview Camera - Quick Guide Animation"; data_8["3"]["description"] = "Sideview Camera - Quick Guide Animation<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_8["3"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_8["3"]["filename"] = "4A-hRLfr9DQ"; data_8["3"]["image_url"] = "https://www.youtube.com/watch?v=4A-hRLfr9DQ"; data_8["3"]["thumb_url"] = "https://i.ytimg.com/vi/4A-hRLfr9DQ/hqdefault.jpg"; data_8["3"]["redirect_url"] = ""; data_8["3"]["date"] = "14 March 2018, 13:57"; data_8["3"]["is_embed"] = "1"; data_8["3"]["is_embed_video"] = "1"; data_8["4"] = []; data_8["4"]["id"] = "459"; data_8["4"]["alt"] = "Blind spot detection"; data_8["4"]["description"] = "Blind spot detection<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_8["4"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_8["4"]["filename"] = "B93tfG4ZydY"; data_8["4"]["image_url"] = "https://www.youtube.com/watch?v=B93tfG4ZydY"; data_8["4"]["thumb_url"] = "https://i.ytimg.com/vi/B93tfG4ZydY/hqdefault.jpg"; data_8["4"]["redirect_url"] = ""; data_8["4"]["date"] = "14 March 2018, 13:52"; data_8["4"]["is_embed"] = "1"; data_8["4"]["is_embed_video"] = "1";

Blind Spot Monitoring - Just move your head or your mouse to see traffic on all sides
Blind Spot Monitoring and Sideview Camera – With Rick & Scout
Blind Spot Monitor (BSM) - Quick Guide Animation
Sideview Camera - Quick Guide Animation
Blind spot detection
var bwg_trans_in_progress_8 = false; var bwg_transition_duration_8 = 1000; var bwg_playInterval_8; /* Stop autoplay.*/ window.clearInterval(bwg_playInterval_8); /* Set watermark container size.*/ function bwg_change_watermark_container_8() { jQuery(".bwg_slider_8").children().each(function() { if (jQuery(this).css("zIndex") == 2) { /* For images.*/ var bwg_current_image_span = jQuery(this).find("img"); if (bwg_current_image_span.length) { if (bwg_current_image_span.prop('complete')) { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_8(width, height); } else { bwg_current_image_span.on("load", function () { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_8(width, height); }); } } else { /* For embeds and videos.*/ bwg_current_image_span = jQuery(this).find("iframe"); if (!bwg_current_image_span.length) { bwg_current_image_span = jQuery(this).find("video"); } var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_8(width, height); } } }); } /* Set each watermark container size.*/ function bwg_change_each_watermark_container_8(width, height) { jQuery(".bwg_slideshow_watermark_spun_8").width(width); jQuery(".bwg_slideshow_watermark_spun_8").height(height); jQuery(".bwg_slideshow_title_spun_8").width(width); jQuery(".bwg_slideshow_title_spun_8").height(height); jQuery(".bwg_slideshow_description_spun_8").width(width); jQuery(".bwg_slideshow_description_spun_8").height(height); jQuery(".bwg_slideshow_watermark_8").css({display: ''}); if (jQuery.trim(jQuery(".bwg_slideshow_title_text_8").text())) { jQuery(".bwg_slideshow_title_text_8").css({display: ''}); } if (jQuery.trim(jQuery(".bwg_slideshow_description_text_8").text())) { jQuery(".bwg_slideshow_description_text_8").css({display: ''}); } } var bwg_current_key_8 = '0'; var bwg_current_filmstrip_pos_8 = 0; /* Set filmstrip initial position.*/ function bwg_set_filmstrip_pos_8(filmStripWidth) { var selectedImagePos = -bwg_current_filmstrip_pos_8 - (jQuery(".bwg_slideshow_filmstrip_thumbnail_8").width() + 2) / 2; var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".bwg_slideshow_filmstrip_thumbnails_8").width(), selectedImagePos + filmStripWidth / 2)); jQuery(".bwg_slideshow_filmstrip_thumbnails_8").animate({ left: imagesContainerLeft }, { duration: 500, complete: function () { bwg_filmstrip_arrows_8(); } }); } function bwg_move_filmstrip_8() { var image_left = jQuery(".bwg_slideshow_thumb_active_8").position().left; var image_right = jQuery(".bwg_slideshow_thumb_active_8").position().left + jQuery(".bwg_slideshow_thumb_active_8").outerWidth(true); var bwg_filmstrip_width = jQuery(".bwg_slideshow_filmstrip_8").outerWidth(true); var bwg_filmstrip_thumbnails_width = jQuery(".bwg_slideshow_filmstrip_thumbnails_8").outerWidth(true); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_filmstrip_thumbnails_8").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_filmstrip_thumbnails_8").position().left) + bwg_filmstrip_width; if (bwg_filmstrip_width > bwg_filmstrip_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_filmstrip_thumbnails_8").animate({ left: -(image_right - bwg_filmstrip_width) }, { duration: 500, complete: function () { bwg_filmstrip_arrows_8(); } }); } } function bwg_move_dots_8() { var image_left = jQuery(".bwg_slideshow_dots_active_8").position().left; var image_right = jQuery(".bwg_slideshow_dots_active_8").position().left + jQuery(".bwg_slideshow_dots_active_8").outerWidth(true); var bwg_dots_width = jQuery(".bwg_slideshow_dots_container_8").outerWidth(true); var bwg_dots_thumbnails_width = jQuery(".bwg_slideshow_dots_thumbnails_8").outerWidth(false); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_dots_thumbnails_8").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_dots_thumbnails_8").position().left) + bwg_dots_width; if (bwg_dots_width > bwg_dots_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_dots_thumbnails_8").animate({ left: -(image_right - bwg_dots_width) }, { duration: 500, complete: function () { } }); } } /* Show/hide filmstrip arrows.*/ function bwg_filmstrip_arrows_8() { if (jQuery(".bwg_slideshow_filmstrip_thumbnails_8").width() 0) { key = event_stack_8[0].split("-"); event_stack_8.shift(); bwg_change_image_8(key[0], key[1], data_8, true); } } } } function bwg_cubeH_8(current_image_class, next_image_class, direction) { /* Set to half of image width.*/ var dimension = jQuery(current_image_class).width() / 2; if (direction == 'right') { bwg_cube_8(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_8(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction); } } function bwg_cubeV_8(current_image_class, next_image_class, direction) { /* Set to half of image height.*/ var dimension = jQuery(current_image_class).height() / 2; /* If next slide.*/ if (direction == 'right') { bwg_cube_8(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_8(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction); } } /* For browsers that does not support transitions.*/ function bwg_fallback_8(current_image_class, next_image_class, direction) { bwg_fade_8(current_image_class, next_image_class, direction); } /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/ function bwg_fallback3d_8(current_image_class, next_image_class, direction) { bwg_sliceV_8(current_image_class, next_image_class, direction); } function bwg_none_8(current_image_class, next_image_class, direction) { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_8(); /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_8").removeClass("bwg_slideshow_thumb_active_8").addClass("bwg_slideshow_thumb_deactive_8"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_8 + "_8").removeClass("bwg_slideshow_thumb_deactive_8").addClass("bwg_slideshow_thumb_active_8"); jQuery(".bwg_slideshow_dots_8").removeClass("bwg_slideshow_dots_active_8").addClass("bwg_slideshow_dots_deactive_8"); jQuery("#bwg_dots_" + bwg_current_key_8 + "_8").removeClass("bwg_slideshow_dots_deactive_8").addClass("bwg_slideshow_dots_active_8"); } function bwg_fade_8(current_image_class, next_image_class, direction) { /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_8").removeClass("bwg_slideshow_thumb_active_8").addClass("bwg_slideshow_thumb_deactive_8"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_8 + "_8").removeClass("bwg_slideshow_thumb_deactive_8").addClass("bwg_slideshow_thumb_active_8"); jQuery(".bwg_slideshow_dots_8").removeClass("bwg_slideshow_dots_active_8").addClass("bwg_slideshow_dots_deactive_8"); jQuery("#bwg_dots_" + bwg_current_key_8 + "_8").removeClass("bwg_slideshow_dots_deactive_8").addClass("bwg_slideshow_dots_active_8"); if (bwg_testBrowser_cssTransitions_8()) { jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_8 + 'ms linear'); jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_8(); } else { jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, bwg_transition_duration_8); jQuery(next_image_class).animate({ 'opacity' : 1, 'z-index': 2 }, { duration: bwg_transition_duration_8, complete: function () { bwg_change_watermark_container_8(); } }); /* For IE.*/ jQuery(current_image_class).fadeTo(bwg_transition_duration_8, 0); jQuery(next_image_class).fadeTo(bwg_transition_duration_8, 1); } } function bwg_grid_8(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) { /* If browser does not support CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_8()) { return bwg_fallback_8(current_image_class, next_image_class, direction); } bwg_trans_in_progress_8 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_8").removeClass("bwg_slideshow_thumb_active_8").addClass("bwg_slideshow_thumb_deactive_8"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_8 + "_8").removeClass("bwg_slideshow_thumb_deactive_8").addClass("bwg_slideshow_thumb_active_8"); jQuery(".bwg_slideshow_dots_8").removeClass("bwg_slideshow_dots_active_8").addClass("bwg_slideshow_dots_deactive_8"); jQuery("#bwg_dots_" + bwg_current_key_8 + "_8").removeClass("bwg_slideshow_dots_deactive_8").addClass("bwg_slideshow_dots_active_8"); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (bwg_transition_duration_8) / (cols + rows); /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/ function bwg_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) { var delay = (c + r) * count; /* Return a gridlet elem with styles for specific transition.*/ return jQuery('').css({ display : "block", width : width, height : height, top : top, left : left, backgroundImage : 'url("' + src + '")', backgroundColor: jQuery(".bwg_slideshow_image_wrap_8").css("background-color"), /*backgroundColor: rgba(0, 0, 0, 0),*/ backgroundRepeat: 'no-repeat', backgroundPosition : img_left + 'px ' + img_top + 'px', backgroundSize : imgWidth + 'px ' + imgHeight + 'px', transition : 'all ' + bwg_transition_duration_8 + 'ms ease-in-out ' + delay + 'ms', transform : 'none' }); } /* Get the current slide's image.*/ var cur_img = jQuery(current_image_class).find('img'); /* Create a grid to hold the gridlets.*/ var grid = jQuery('').addClass('bwg_grid_8'); /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/ jQuery(current_image_class).prepend(grid); /* vars to calculate positioning/size of gridlets*/ var cont = jQuery(".bwg_slide_bg_8"); var imgWidth = cur_img.width(); var imgHeight = cur_img.height(); var contWidth = cont.width(), contHeight = cont.height(), imgSrc = cur_img.attr('src'),/*.replace('/thumb', ''),*/ colWidth = Math.floor(contWidth / cols), rowHeight = Math.floor(contHeight / rows), colRemainder = contWidth - (cols * colWidth), colAdd = Math.ceil(colRemainder / cols), rowRemainder = contHeight - (rows * rowHeight), rowAdd = Math.ceil(rowRemainder / rows), leftDist = 0, img_leftDist = (jQuery(".bwg_slide_bg_8").width() - cur_img.width()) / 2; /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/ tx = tx === 'auto' ? contWidth : tx; tx = tx === 'min-auto' ? - contWidth : tx; ty = ty === 'auto' ? contHeight : ty; ty = ty === 'min-auto' ? - contHeight : ty; /* Loop through cols*/ for (var i = 0; i 0) { var add = colRemainder >= colAdd ? colAdd : colRemainder; newColWidth += add; colRemainder -= add; } /* Nested loop to create row gridlets for each col.*/ for (var j = 0; j 0) { add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder; newRowHeight += add; newRowRemainder -= add; } /* Create & append gridlet to grid.*/ grid.append(bwg_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j)); topDist += newRowHeight; img_topDst -= newRowHeight; } img_leftDist -= newColWidth; leftDist += newColWidth; } /* Set event listener on last gridlet to finish transitioning.*/ var last_gridlet = grid.children().last(); /* Show grid & hide the image it replaces.*/ grid.show(); cur_img.css('opacity', 0); /* Add identifying classes to corner gridlets (useful if applying border radius).*/ grid.children().first().addClass('rs-top-left'); grid.children().last().addClass('rs-bottom-right'); grid.children().eq(rows - 1).addClass('rs-bottom-left'); grid.children().eq(- rows).addClass('rs-top-right'); /* Execution steps.*/ setTimeout(function () { grid.children().css({ opacity: op, transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')' }); }, 1); jQuery(next_image_class).css('opacity', 1); /* After transition.*/ jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); cur_img.css('opacity', 1); bwg_change_watermark_container_8(); grid.remove(); bwg_trans_in_progress_8 = false; if (typeof event_stack_8 !== 'undefined') { if (event_stack_8.length > 0) { key = event_stack_8[0].split("-"); event_stack_8.shift(); bwg_change_image_8(key[0], key[1], data_8, true); } } } } function bwg_sliceH_8(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_8(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_sliceV_8(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'min-auto'; } else if (direction == 'left') { var translateY = 'auto'; } bwg_grid_8(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction); } function bwg_slideV_8(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'auto'; } else if (direction == 'left') { var translateY = 'min-auto'; } bwg_grid_8(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction); } function bwg_slideH_8(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_8(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction); } function bwg_scaleOut_8(current_image_class, next_image_class, direction) { bwg_grid_8(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction); } function bwg_scaleIn_8(current_image_class, next_image_class, direction) { bwg_grid_8(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction); } function bwg_blockScale_8(current_image_class, next_image_class, direction) { bwg_grid_8(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction); } function bwg_kaleidoscope_8(current_image_class, next_image_class, direction) { bwg_grid_8(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_fan_8(current_image_class, next_image_class, direction) { if (direction == 'right') { var rotate = 45; var translateX = 100; } else if (direction == 'left') { var rotate = -45; var translateX = -100; } bwg_grid_8(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_blindV_8(current_image_class, next_image_class, direction) { bwg_grid_8(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_blindH_8(current_image_class, next_image_class, direction) { bwg_grid_8(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_random_8(current_image_class, next_image_class, direction) { var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV']; /* Pick a random transition from the anims array.*/ this["bwg_" + anims[Math.floor(Math.random() * anims.length)] + "_8"](current_image_class, next_image_class, direction); } function bwg_iterator_8() { var iterator = 1; if (0) { iterator = Math.floor((data_8.length - 1) * Math.random() + 1); } return iterator; } function bwg_change_image_8(current_key, key, data_8, from_effect) { /* Pause videos.*/ jQuery("#bwg_slideshow_image_container_8").find("iframe").each(function () { jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*"); jQuery(this)[0].contentWindow.postMessage('pause', '*'); }); /* Pause videos facebook video.*/ jQuery('#image_id_8_' + data_8[current_key]["id"]).find('.bwg_fb_video').each(function () { jQuery(this).attr('src', jQuery(this).attr('src')); }); if (data_8[key]) { if (jQuery('.bwg_ctrl_btn_8').hasClass('fa-pause')) { bwg_play_8(); } if (!from_effect) { /* Change image key.*/ jQuery("#bwg_current_image_key_8").val(key); if (current_key == '-1') { /* Filmstrip.*/ current_key = jQuery(".bwg_slideshow_thumb_active_8").children("img").attr("image_key"); } else if (current_key == '-2') { /* Dots.*/ current_key = jQuery(".bwg_slideshow_dots_active_8").attr("image_key"); } } if (bwg_trans_in_progress_8) { event_stack_8.push(current_key + '-' + key); return; } var direction = 'right'; if (bwg_current_key_8 > key) { var direction = 'left'; } else if (bwg_current_key_8 == key) { return; } jQuery(".bwg_slideshow_watermark_8").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_8").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_8").css({display: 'none'}); /* Set active thumbnail position.*/ bwg_current_filmstrip_pos_8 = key * (jQuery(".bwg_slideshow_filmstrip_thumbnail_8").width() + 2 + 2 * 1); bwg_current_key_8 = key; /* Change image id, title, description.*/ jQuery("#bwg_slideshow_image_8").attr('image_id', data_8[key]["id"]); jQuery(".bwg_slideshow_title_text_8").html(jQuery('').html(data_8[key]["alt"]).text()); jQuery(".bwg_slideshow_description_text_8").html(jQuery('').html(data_8[key]["description"]).text()); var current_image_class = jQuery(".bwg_slideshow_image_spun_8").css("zIndex") == 2 ? ".bwg_slideshow_image_spun_8" : ".bwg_slideshow_image_second_spun_8"; var next_image_class = current_image_class == ".bwg_slideshow_image_second_spun_8" ? ".bwg_slideshow_image_spun_8" : ".bwg_slideshow_image_second_spun_8"; var is_embed = data_8[key]['filetype'].indexOf("EMBED_") > -1 ? true : false; var is_embed_instagram_post = data_8[key]['filetype'].indexOf('INSTAGRAM_POST') > -1 ? true :false; var is_embed_instagram_video = data_8[key]['filetype'].indexOf('INSTAGRAM_VIDEO') > -1 ? true :false; var cur_height = jQuery(current_image_class).height(); var cur_width = jQuery(current_image_class).width(); var innhtml = ''; if (!is_embed) { innhtml += ''; innhtml += '<img style="max-height: ' + cur_height + 'px !important; max-width: ' + cur_width + 'px !important;display:inline-block;" class="bwg_slideshow_image_8" id="bwg_slideshow_image_8" src="https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_8[key]["image_url"]).text() + '" alt="' + data_8[key]["alt"] + '" image_id="' + data_8[key]["id"] + '" />'; } else { /*is_embed*/ innhtml += '' + (is_embed_instagram_video ? '
' : ' '); if (is_embed_instagram_post) { var post_width = 0; var post_height = 0; if (cur_height < cur_width + 88) { post_height = cur_height; post_width = post_height - 88; } else { post_width = cur_width; post_height = post_width + 88; } innhtml += spider_display_embed(data_8[key]['filetype'], data_8[key]['image_url'], data_8[key]['filename'], {class:"bwg_embed_frame", 'data-width': data_8[key]['image_width'], 'data-height': data_8[key]['image_height'], frameborder: "0", allowfullscreen: "allowfullscreen", style: "width:" + post_width + "px; height:" + post_height + "px; vertical-align:middle; display:inline-block; position:relative;"}); } else { innhtml += spider_display_embed(data_8[key]['filetype'], data_8[key]['image_url'], data_8[key]['filename'], {class:"bwg_embed_frame", frameborder:"0", allowfullscreen:"allowfullscreen", style:"width:inherit; height:inherit; vertical-align:middle; display:table-cell;" }); } innhtml += "
"; } innhtml += '
'; jQuery(next_image_class).html(innhtml); if ('open_lightbox' == 'open_lightbox' || 0) { bwg_document_ready_8(); } bwg_none_8(current_image_class, next_image_class, direction); bwg_move_filmstrip_8(); if (data_8[key]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_8").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_8").css({display: ''}); } } } function bwg_preload_images_8(key) { count = 5; var count_all = data_8.length; if (count_all < 10) { count = 0; } if (count != 0) { for (var i = key - count; i -1 ? true : false; if (typeof data_8[index] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_8[index]["image_url"]).text()); } } } } else { for (var i = 0; i -1 ? true : false; if (typeof data_8[i] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_8[i]["image_url"]).text()); } } } } } function bwg_popup_resize_8() { var parent_width = jQuery(".bwg_slideshow_image_wrap_8").parent().width(); if (parent_width >= 800) { jQuery(".bwg_slideshow_image_wrap_8").css({width: 800}); jQuery(".bwg_slideshow_image_wrap_8").css({height: 700}); jQuery(".bwg_slideshow_image_container_8").css({width: 800}); jQuery(".bwg_slideshow_image_container_8").css({height: (610)}); jQuery(".bwg_slideshow_image_8").css({ cssText: "max-width: 800px !important; max-height: 610px !important;" }); jQuery(".bwg_slideshow_embed_8").css({ cssText: "width: 800px !important; height: 610px !important;" }); bwg_resize_instagram_post_8(); /* Set watermark container size.*/ bwg_change_watermark_container_8(); jQuery(".bwg_slideshow_filmstrip_container_8").css({width: 800}); jQuery(".bwg_slideshow_filmstrip_8").css({width: 760}); jQuery(".bwg_slideshow_dots_container_8").css({width: 800}); jQuery("#bwg_slideshow_play_pause-ico_8").css({fontSize: (60)}); jQuery(".bwg_slideshow_watermark_image_8").css({maxWidth: 90, maxHeight: 90}); jQuery(".bwg_slideshow_watermark_text_8, .bwg_slideshow_watermark_text_8:hover").css({fontSize: (12)}); jQuery(".bwg_slideshow_title_text_8").css({fontSize: (32)}); jQuery(".bwg_slideshow_description_text_8").css({fontSize: (28)}); } else { jQuery(".bwg_slideshow_image_wrap_8").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_wrap_8").css({height: ((parent_width) * 0.875)}); jQuery(".bwg_slideshow_image_container_8").css({width: (parent_width - 0)}); jQuery(".bwg_slideshow_image_container_8").css({height: ((parent_width) * 0.875 - 90)}); jQuery(".bwg_slideshow_image_8").css({ cssText: "max-width: " + (parent_width - 0) + "px !important; max-height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); jQuery(".bwg_slideshow_embed_8").css({ cssText: "width: " + (parent_width - 0) + "px !important; height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); bwg_resize_instagram_post_8(); /* Set watermark container size.*/ bwg_change_watermark_container_8(); jQuery(".bwg_slideshow_filmstrip_container_8").css({width: (parent_width)}); jQuery(".bwg_slideshow_filmstrip_8").css({width: (parent_width - 40)}); jQuery(".bwg_slideshow_dots_container_8").css({width: (parent_width)}); jQuery("#bwg_slideshow_play_pause-ico_8").css({fontSize: ((parent_width) * 0.075)}); jQuery(".bwg_slideshow_watermark_image_8").css({maxWidth: ((parent_width) * 0.1125), maxHeight: ((parent_width) * 0.1125)}); jQuery(".bwg_slideshow_watermark_text_8, .bwg_slideshow_watermark_text_8:hover").css({fontSize: ((parent_width) * 0.015)}); jQuery(".bwg_slideshow_title_text_8").css({fontSize: ((parent_width) * 0.04)}); jQuery(".bwg_slideshow_description_text_8").css({fontSize: ((parent_width) * 0.035)}); jQuery(".bwg_slideshow_image_8").css({'display':'inline-block'}); } if (data_8[parseInt(jQuery("#bwg_current_image_key_8").val())]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_8").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_8").css({display: ''}); } } jQuery(window).resize(function() { bwg_popup_resize_8(); }); jQuery(document).ready(function () { jQuery('#ajax_loading_8').hide(); if (typeof jQuery().swiperight !== 'undefined') { if (jQuery.isFunction(jQuery().swiperight)) { jQuery('#bwg_container1_8').swiperight(function () { bwg_change_image_8(parseInt(jQuery('#bwg_current_image_key_8').val()), (parseInt(jQuery('#bwg_current_image_key_8').val()) - bwg_iterator_8()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_8').val()) - bwg_iterator_8()) % data_8.length : data_8.length - 1, data_8); return false; }); } } if (typeof jQuery().swipeleft !== 'undefined') { if (jQuery.isFunction(jQuery().swipeleft)) { jQuery('#bwg_container1_8').swipeleft(function () { bwg_change_image_8(parseInt(jQuery('#bwg_current_image_key_8').val()), (parseInt(jQuery('#bwg_current_image_key_8').val()) + bwg_iterator_8()) % data_8.length, data_8); return false; }); } } var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); var bwg_click = isMobile ? 'touchend' : 'click'; bwg_popup_resize_8(); jQuery("#bwg_container1_8").css({visibility: 'visible'}); jQuery(".bwg_slideshow_watermark_8").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_8").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_8").css({display: 'none'}); setTimeout(function () { bwg_change_watermark_container_8(); }, 500); /* Set image container height.*/ jQuery(".bwg_slideshow_image_container_8").height(jQuery(".bwg_slideshow_image_wrap_8").height() - 90); var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */ jQuery('.bwg_slideshow_filmstrip_8').bind(mousewheelevt, function(e) { var evt = window.event || e; /* Equalize event object.*/ evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/ var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/ if (delta > 0) { /* Scroll up.*/ jQuery(".bwg_slideshow_filmstrip_left_8").trigger("click"); } else { /* Scroll down.*/ jQuery(".bwg_slideshow_filmstrip_right_8").trigger("click"); } return false; }); jQuery(".bwg_slideshow_filmstrip_right_8").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_8" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_8").position().left >= -(jQuery(".bwg_slideshow_filmstrip_thumbnails_8").width() - jQuery(".bwg_slideshow_filmstrip_8").width())) { jQuery(".bwg_slideshow_filmstrip_left_8").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_8").position().left < -(jQuery(".bwg_slideshow_filmstrip_thumbnails_8").width() - jQuery(".bwg_slideshow_filmstrip_8").width() - 122)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_8").animate({left: -(jQuery(".bwg_slideshow_filmstrip_thumbnails_8").width() - jQuery(".bwg_slideshow_filmstrip_8").width())}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_8").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_8").position().left - 122)}, 500, 'linear'); } } /* Disable right arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_8").position().left == -(jQuery(".bwg_slideshow_filmstrip_thumbnails_8").width() - jQuery(".bwg_slideshow_filmstrip_8").width())) { jQuery(".bwg_slideshow_filmstrip_right_8").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); jQuery(".bwg_slideshow_filmstrip_left_8").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_8" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_8").position().left - 122) { jQuery(".bwg_slideshow_filmstrip_thumbnails_8").animate({left: 0}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_8").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_8").position().left + 122)}, 500, 'linear'); } } /* Disable left arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_8").position().left == 0) { jQuery(".bwg_slideshow_filmstrip_left_8").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); /* Set filmstrip initial position.*/ bwg_set_filmstrip_pos_8(jQuery(".bwg_slideshow_filmstrip_8").width()); /* Play/pause.*/ jQuery("#bwg_slideshow_play_pause_8").on(bwg_click, function () { if (jQuery(".bwg_ctrl_btn_8").hasClass("fa-play")) { bwg_play_8(); jQuery(".bwg_slideshow_play_pause_8").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_8").attr("class", "bwg_ctrl_btn_8 bwg_slideshow_play_pause_8 fa fa-pause"); if (0) { document.getElementById("bwg_audio_8").play(); } } else { /* Pause.*/ window.clearInterval(bwg_playInterval_8); jQuery(".bwg_slideshow_play_pause_8").attr("title", "Play"); jQuery(".bwg_slideshow_play_pause_8").attr("class", "bwg_ctrl_btn_8 bwg_slideshow_play_pause_8 fa fa-play"); if (0) { document.getElementById("bwg_audio_8").pause(); } } }); if (0) { bwg_play_8(); jQuery(".bwg_slideshow_play_pause_8").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_8").attr("class", "bwg_ctrl_btn_8 bwg_slideshow_play_pause_8 fa fa-pause"); if (0) { document.getElementById("bwg_audio_8").play(); } } jQuery(".bwg_slideshow_image_8").removeAttr("width"); jQuery(".bwg_slideshow_image_8").removeAttr("height"); }); function bwg_resize_instagram_post_8() { if (jQuery('.inner_instagram_iframe_bwg_embed_frame_8').length) { var post_width = jQuery('.bwg_slideshow_embed_8').width(); var post_height = jQuery('.bwg_slideshow_embed_8').height(); jQuery('.inner_instagram_iframe_bwg_embed_frame_8').each(function() { var parent_container = jQuery(this).parent(); if (post_height / (parseInt(parent_container.attr('data-height')) + 96) < post_width / parseInt(parent_container.attr('data-width'))) { parent_container.height(post_height); parent_container.width((parent_container.height() - 96) * parent_container.attr('data-width') / parent_container.attr('data-height') + 16); } else { parent_container.width(post_width); parent_container.height((parent_container.width() - 16) * parent_container.attr('data-height') / parent_container.attr('data-width') + 96); } }); } bwg_change_watermark_container_8(); } function bwg_play_8() { window.clearInterval(bwg_playInterval_8); /* Play.*/ bwg_playInterval_8 = setInterval(function () { var iterator = 1; if (0) { iterator = Math.floor((data_8.length - 1) * Math.random() + 1); } bwg_change_image_8(parseInt(jQuery('#bwg_current_image_key_8').val()), (parseInt(jQuery('#bwg_current_image_key_8').val()) + iterator) % data_8.length, data_8) }, '5000'); } jQuery(window).focus(function() { if (!jQuery(".bwg_ctrl_btn_8").hasClass("fa-play")) { bwg_play_8(); } var i_8 = 0; jQuery(".bwg_slider_8").children("span").each(function () { if (jQuery(this).css('opacity') == 1) { jQuery("#bwg_current_image_key_8").val(i_8); } i_8++; }); }); jQuery(window).blur(function() { event_stack_8 = []; window.clearInterval(bwg_playInterval_8); }); function bwg_gallery_box_8(image_id, openEcommerce) { if (typeof openEcommerce == undefined) { openEcommerce = false; } var ecommerce = openEcommerce == true ? "&open_ecommerce=1" : ""; var filterTags = jQuery("#bwg_tags_id_bwg_standart_thumbnails_8").val() ? jQuery("#bwg_tags_id_bwg_standart_thumbnails_8").val() : 0; var filtersearchname = jQuery("#bwg_search_input_8").val() ? "&filter_search_name_8=" + jQuery("#bwg_search_input_8").val() : ''; spider_createpopup('https://thecarseatlady.com/wp-admin/admin-ajax.php?action=GalleryBox&current_view=8&gallery_id=23&theme_id=2&open_with_fullscreen=1&open_with_autoplay=0&image_width=800&image_height=500&image_effect=none&wd_sor=order&wd_ord=asc&enable_image_filmstrip=1&image_filmstrip_height=70&enable_image_ctrl_btn=1&enable_image_fullscreen=1&popup_enable_info=0&popup_info_always_show=0&popup_info_full_width=0&popup_hit_counter=0&popup_enable_rate=0&slideshow_interval=5&enable_comment_social=0&enable_image_facebook=0&enable_image_twitter=0&enable_image_google=0&enable_image_ecommerce=undefined&enable_image_pinterest=0&enable_image_tumblr=0&watermark_type=none&slideshow_effect_duration=1&tags=0&current_url=https%3A%2F%2Fthecarseatlady.com%2Fbuying-a-safer-car%2F&thumb_width=120&thumb_height=90&image_id=' + image_id + "&filter_tag_8=" + filterTags + ecommerce + filtersearchname, '8', '800', '500', 1, 'testpopup', 5, "bottom"); } var bwg_hash = window.location.hash.substring(1); if (bwg_hash) { if (bwg_hash.indexOf("bwg") != "-1") { bwg_hash_array = bwg_hash.replace("bwg", "").split("/"); if(bwg_hash_array[0] == "23"){ bwg_gallery_box_8(bwg_hash_array[1]); } } } function bwg_document_ready_8() { var bwg_touch_flag = false; jQuery(".bwg_lightbox_8").on("click", function () { if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); bwg_gallery_box_8(jQuery(this).attr("data-image-id")); return false; } }); jQuery(".bwg_lightbox_8 .bwg_ecommerce").on("click", function (event) { event.stopPropagation(); if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); var image_id = jQuery(this).closest(".bwg_lightbox_8").attr("data-image-id"); bwg_gallery_box_8(image_id, true); return false; } }); } jQuery(document).ready(function () { bwg_document_ready_8(); });

Drowsy Driver Detection

Key Take Away Point: Drowsy driving kills thousands and injures tens of thousands in the US every year. Do your part to ensure you aren't driving drowsy - and look for a vehicle that might be able to warn you if you are losing attention due to fatigue.

The National Highway Traffic Safety Administration estimates that drowsy driving was responsible for 72,000 crashes, 44,000 injuries, and 800 deaths in 2013. However, these numbers are underestimated and up to 6,000 fatal crashes each year may be caused by drowsy drivers.

Drowsy Driver Detection systems do exactly what they sound like - they detect when the driver is drowsy and then offer a warning. How does it sense drowsiness? Some systems borrow from lane departure warning systems and monitor how much you are drifting out of your lane - as it is assumed that an alert driver will stay in their lane. Other systems learn your driving patterns while fully alert and then warn you if they sense that your driving is slower or erratic. Other systems use facial recognition technology to detect the eyelid droop & head bobs to tell if you are starting to fall asleep.  Early studies suggest that drowsy driver detection technology will help prevent crashes - but a warning is only as effective as the driver's response to it. Specifically - does the driver find a spot to pull over and take a nap or change drivers - or does the driver ignore the warning and continue driving drowsy?

Learn the warning signs of drowsy driving

  • Yawning or blinking frequently
  • Difficulty remembering the past few miles driven
  • Missing your exit
  • Drifting from your lane
  • Hitting a rumble strip on the side of the road

If you experience any of these warnings signs, pull over to rest or change drivers. Opening the window or turning up the radio are not effective ways to keep you alert. For more warning signs visit American Academy of Sleep Medicine.

Watch & Learn more about Drowsy Driver Detection

#bwg_container1_9 { visibility: hidden; } #bwg_container1_9 * { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_image_wrap_9 * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; /*backface-visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;*/ } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_image_wrap_9 { background-color: #000000; border-collapse: collapse; display: table; position: relative; text-align: center; width: 800px; height: 700px; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_image_9 { padding: 0 !important; margin: 0 !important; float: none !important; max-width: 800px; max-height: 610px; vertical-align: middle; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_embed_9 { padding: 0 !important; margin: 0 !important; float: none !important; width: 800px; height: 610px; vertical-align: middle; display: inline-block; text-align: center; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_watermark_9 { position: relative; z-index: 15; } #bwg_container1_9 #bwg_container2_9 #bwg_slideshow_play_pause_9 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 0; cursor: pointer; display: table; height: inherit; outline: medium none; position: absolute; width: 30%; left: 35%; z-index: 13; } #bwg_container1_9 #bwg_container2_9 #bwg_slideshow_play_pause_9:hover #bwg_slideshow_play_pause-ico_9 { display: inline-block !important; } #bwg_container1_9 #bwg_container2_9 #bwg_slideshow_play_pause_9:hover span { position: relative; z-index: 13; } #bwg_container1_9 #bwg_container2_9 #bwg_slideshow_play_pause_9 span { display: table-cell; text-align: center; vertical-align: middle; } #bwg_container1_9 #bwg_container2_9 #bwg_slideshow_play_pause-ico_9 { display: none !important; color: #FFFFFF; font-size: 60px; cursor: pointer; position: relative; z-index: 13; } #bwg_container1_9 #bwg_container2_9 #bwg_slideshow_play_pause-ico_9:hover { color: #DBDBDB; display: inline-block; position: relative; z-index: 13; } #bwg_container1_9 #bwg_container2_9 #spider_slideshow_left_9, #bwg_container1_9 #bwg_container2_9 #spider_slideshow_right_9 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 35%; cursor: pointer; display: inline; height: 30%; outline: medium none; position: absolute; width: 35%; /*z-index: 10130;*/ z-index: 13; } #bwg_container1_9 #bwg_container2_9 #spider_slideshow_left_9 { left: 0; } #bwg_container1_9 #bwg_container2_9 #spider_slideshow_right_9 { right: 0; } #bwg_container1_9 #bwg_container2_9 #spider_slideshow_left_9:hover, #bwg_container1_9 #bwg_container2_9 #spider_slideshow_right_9:hover { visibility: visible; } #bwg_container1_9 #bwg_container2_9 #spider_slideshow_left_9:hover span { left: 20px; } #bwg_container1_9 #bwg_container2_9 #spider_slideshow_right_9:hover span { left: auto; right: 20px; } #bwg_container1_9 #bwg_container2_9 #spider_slideshow_left-ico_9 span, #bwg_container1_9 #bwg_container2_9 #spider_slideshow_right-ico_9 span { display: table-cell; text-align: center; vertical-align: middle; z-index: 13; } #bwg_container1_9 #bwg_container2_9 #spider_slideshow_left-ico_9, #bwg_container1_9 #bwg_container2_9 #spider_slideshow_right-ico_9 { background-color: #000000; border-radius: 20px; border: 0px none #FFFFFF; box-shadow: ; color: #FFFFFF; height: 40px; font-size: 20px; width: 40px; z-index: 13; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; display: table; line-height: 0; margin-top: -15px; position: absolute; top: 50%; /*z-index: 10135;*/ opacity: 1.00; filter: Alpha(opacity=100); } #bwg_container1_9 #bwg_container2_9 #spider_slideshow_left-ico_9:hover, #bwg_container1_9 #bwg_container2_9 #spider_slideshow_right-ico_9:hover { color: #DBDBDB; cursor: pointer; } #spider_slideshow_left-ico_9{ left: 20px; } #spider_slideshow_right-ico_9{ left: auto; right: 20px; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_image_container_9 { display: table; position: absolute; text-align: center; bottom: 90px; vertical-align: middle; width: 800px; height: 700px; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_filmstrip_container_9 { display: table; height: 90px; position: absolute; width: 800px; /*z-index: 10105;*/ bottom: 0; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_filmstrip_9 { left: 20px; overflow: hidden; position: absolute; width: 760px; /*z-index: 10106;*/ } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_filmstrip_thumbnails_9 { height: 90px; left: 0px; margin: 0 auto; overflow: hidden; position: relative; width: 488px; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_filmstrip_thumbnail_9 { position: relative; background: none; border: 1px none #000000; border-radius: 0; cursor: pointer; float: left; height: 90px; margin: 0 1px; width: 120px; overflow: hidden; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_thumb_active_9 { opacity: 1; filter: Alpha(opacity=100); border: 0px solid #FFFFFF; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_thumb_deactive_9 { opacity: 0.80; filter: Alpha(opacity=80); } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_filmstrip_thumbnail_img_9 { display: block; opacity: 1; filter: Alpha(opacity=100); padding: 0 !important; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_filmstrip_left_9 { background-color: #303030; cursor: pointer; display: table-cell; vertical-align: middle; width: 20px; /*z-index: 10106;*/ left: 0; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_filmstrip_right_9 { background-color: #303030; cursor: pointer; right: 0; width: 20px; display: table-cell; vertical-align: middle; /*z-index: 10106;*/ } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_filmstrip_left_9 i, #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_filmstrip_right_9 i { color: #FFFFFF; font-size: 20px; } #bwg_container1_9 #bwg_container2_9 .bwg_none_selectable_9 { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_watermark_container_9 { display: table-cell; margin: 0 auto; position: relative; vertical-align: middle; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_watermark_spun_9 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_title_spun_9 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: top; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_description_spun_9 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_watermark_image_9 { padding: 0 !important; float: none !important; margin: 4px !important; max-height: 90px; max-width: 90px; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_watermark_text_9, #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_watermark_text_9:hover { text-decoration: none; margin: 4px; font-size: 12px; font-family: Arial; color: #FFFFFF !important; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_title_text_9 { text-decoration: none; font-size: 16px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 11; border-radius: 5px; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_description_text_9 { text-decoration: none; font-size: 14px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 15; border-radius: 0; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_description_text_9 * { text-decoration: none; color: #FFFFFF !important; } #bwg_container1_9 #bwg_container2_9 .bwg_slide_container_9 { display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; } #bwg_container1_9 #bwg_container2_9 .bwg_slide_bg_9 { margin: 0 auto; width: inherit; height: inherit; } #bwg_container1_9 #bwg_container2_9 .bwg_slider_9 { height: inherit; width: inherit; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_image_spun_9 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_image_second_spun_9 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; } #bwg_container1_9 #bwg_container2_9 .bwg_grid_9 { display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; } #bwg_container1_9 #bwg_container2_9 .bwg_gridlet_9 { opacity: 1; filter: Alpha(opacity=100); position: absolute; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_dots_9 { display: inline-block; position: relative; width: 10px; height: 10px; border-radius: 10px; background: #292929; margin: 1px; cursor: pointer; overflow: hidden; z-index: 17; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_dots_container_9 { display: block; overflow: hidden; position: absolute; width: 800px; bottom: 0; z-index: 17; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_dots_thumbnails_9 { left: 0px; font-size: 0; margin: 0 auto; overflow: hidden; position: relative; height: 12px; width: 48px; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_dots_active_9 { background: #292929; opacity: 1; filter: Alpha(opacity=100); border: 2px solid #FFC933; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_dots_deactive_9 { } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_image_spun1_9 { display: table; width: inherit; height: inherit; } #bwg_container1_9 #bwg_container2_9 .bwg_slideshow_image_spun2_9 { display: table-cell; vertical-align: middle; text-align: center; } #bwg_container1_9 #bwg_container2_9 #spider_popup_overlay_9 { background-color: #000000; opacity: 0.70; filter: Alpha(opacity=70); } var data_9 = []; var event_stack_9 = []; data_9["0"] = []; data_9["0"]["id"] = "464"; data_9["0"]["alt"] = "Drowsiness Alert - Does my car really know if I'm drowsy? Take a VR 360 test drive."; data_9["0"]["description"] = "Drowsiness Alert - Does my car really know if I'm drowsy? Take a VR 360 test drive.<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_9["0"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_9["0"]["filename"] = "BnTdlCmG4Bg"; data_9["0"]["image_url"] = "https://www.youtube.com/watch?v=BnTdlCmG4Bg"; data_9["0"]["thumb_url"] = "https://i.ytimg.com/vi/BnTdlCmG4Bg/hqdefault.jpg"; data_9["0"]["redirect_url"] = ""; data_9["0"]["date"] = "14 March 2018, 14:01"; data_9["0"]["is_embed"] = "1"; data_9["0"]["is_embed_video"] = "1"; data_9["1"] = []; data_9["1"]["id"] = "467"; data_9["1"]["alt"] = "CNET On Cars - Smarter driver: Drowsy-driving tech"; data_9["1"]["description"] = "CNET On Cars - Smarter driver: Drowsy-driving tech<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_9["1"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_9["1"]["filename"] = "2XLcg2tWimU"; data_9["1"]["image_url"] = "https://youtu.be/2XLcg2tWimU"; data_9["1"]["thumb_url"] = "https://i.ytimg.com/vi/2XLcg2tWimU/hqdefault.jpg"; data_9["1"]["redirect_url"] = ""; data_9["1"]["date"] = "14 March 2018, 14:12"; data_9["1"]["is_embed"] = "1"; data_9["1"]["is_embed_video"] = "1"; data_9["2"] = []; data_9["2"]["id"] = "466"; data_9["2"]["alt"] = "Drowsiness Alert - With Rick and Scout"; data_9["2"]["description"] = "Drowsiness Alert - With Rick and Scout<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_9["2"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_9["2"]["filename"] = "0SZPKW5QdGY"; data_9["2"]["image_url"] = "https://www.youtube.com/watch?v=0SZPKW5QdGY"; data_9["2"]["thumb_url"] = "https://i.ytimg.com/vi/0SZPKW5QdGY/hqdefault.jpg"; data_9["2"]["redirect_url"] = ""; data_9["2"]["date"] = "14 March 2018, 14:02"; data_9["2"]["is_embed"] = "1"; data_9["2"]["is_embed_video"] = "1"; data_9["3"] = []; data_9["3"]["id"] = "465"; data_9["3"]["alt"] = "Drowsiness Alert - Quick Guide Animation"; data_9["3"]["description"] = "Drowsiness Alert - Quick Guide Animation<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_9["3"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_9["3"]["filename"] = "sODd8mN_fow"; data_9["3"]["image_url"] = "https://www.youtube.com/watch?v=sODd8mN_fow"; data_9["3"]["thumb_url"] = "https://i.ytimg.com/vi/sODd8mN_fow/hqdefault.jpg"; data_9["3"]["redirect_url"] = ""; data_9["3"]["date"] = "14 March 2018, 14:02"; data_9["3"]["is_embed"] = "1"; data_9["3"]["is_embed_video"] = "1";

Drowsiness Alert - Does my car really know if I'm drowsy? Take a VR 360 test drive.
CNET On Cars - Smarter driver: Drowsy-driving tech
Drowsiness Alert - With Rick and Scout
Drowsiness Alert - Quick Guide Animation
var bwg_trans_in_progress_9 = false; var bwg_transition_duration_9 = 1000; var bwg_playInterval_9; /* Stop autoplay.*/ window.clearInterval(bwg_playInterval_9); /* Set watermark container size.*/ function bwg_change_watermark_container_9() { jQuery(".bwg_slider_9").children().each(function() { if (jQuery(this).css("zIndex") == 2) { /* For images.*/ var bwg_current_image_span = jQuery(this).find("img"); if (bwg_current_image_span.length) { if (bwg_current_image_span.prop('complete')) { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_9(width, height); } else { bwg_current_image_span.on("load", function () { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_9(width, height); }); } } else { /* For embeds and videos.*/ bwg_current_image_span = jQuery(this).find("iframe"); if (!bwg_current_image_span.length) { bwg_current_image_span = jQuery(this).find("video"); } var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_9(width, height); } } }); } /* Set each watermark container size.*/ function bwg_change_each_watermark_container_9(width, height) { jQuery(".bwg_slideshow_watermark_spun_9").width(width); jQuery(".bwg_slideshow_watermark_spun_9").height(height); jQuery(".bwg_slideshow_title_spun_9").width(width); jQuery(".bwg_slideshow_title_spun_9").height(height); jQuery(".bwg_slideshow_description_spun_9").width(width); jQuery(".bwg_slideshow_description_spun_9").height(height); jQuery(".bwg_slideshow_watermark_9").css({display: ''}); if (jQuery.trim(jQuery(".bwg_slideshow_title_text_9").text())) { jQuery(".bwg_slideshow_title_text_9").css({display: ''}); } if (jQuery.trim(jQuery(".bwg_slideshow_description_text_9").text())) { jQuery(".bwg_slideshow_description_text_9").css({display: ''}); } } var bwg_current_key_9 = '0'; var bwg_current_filmstrip_pos_9 = 0; /* Set filmstrip initial position.*/ function bwg_set_filmstrip_pos_9(filmStripWidth) { var selectedImagePos = -bwg_current_filmstrip_pos_9 - (jQuery(".bwg_slideshow_filmstrip_thumbnail_9").width() + 2) / 2; var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".bwg_slideshow_filmstrip_thumbnails_9").width(), selectedImagePos + filmStripWidth / 2)); jQuery(".bwg_slideshow_filmstrip_thumbnails_9").animate({ left: imagesContainerLeft }, { duration: 500, complete: function () { bwg_filmstrip_arrows_9(); } }); } function bwg_move_filmstrip_9() { var image_left = jQuery(".bwg_slideshow_thumb_active_9").position().left; var image_right = jQuery(".bwg_slideshow_thumb_active_9").position().left + jQuery(".bwg_slideshow_thumb_active_9").outerWidth(true); var bwg_filmstrip_width = jQuery(".bwg_slideshow_filmstrip_9").outerWidth(true); var bwg_filmstrip_thumbnails_width = jQuery(".bwg_slideshow_filmstrip_thumbnails_9").outerWidth(true); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_filmstrip_thumbnails_9").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_filmstrip_thumbnails_9").position().left) + bwg_filmstrip_width; if (bwg_filmstrip_width > bwg_filmstrip_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_filmstrip_thumbnails_9").animate({ left: -(image_right - bwg_filmstrip_width) }, { duration: 500, complete: function () { bwg_filmstrip_arrows_9(); } }); } } function bwg_move_dots_9() { var image_left = jQuery(".bwg_slideshow_dots_active_9").position().left; var image_right = jQuery(".bwg_slideshow_dots_active_9").position().left + jQuery(".bwg_slideshow_dots_active_9").outerWidth(true); var bwg_dots_width = jQuery(".bwg_slideshow_dots_container_9").outerWidth(true); var bwg_dots_thumbnails_width = jQuery(".bwg_slideshow_dots_thumbnails_9").outerWidth(false); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_dots_thumbnails_9").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_dots_thumbnails_9").position().left) + bwg_dots_width; if (bwg_dots_width > bwg_dots_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_dots_thumbnails_9").animate({ left: -(image_right - bwg_dots_width) }, { duration: 500, complete: function () { } }); } } /* Show/hide filmstrip arrows.*/ function bwg_filmstrip_arrows_9() { if (jQuery(".bwg_slideshow_filmstrip_thumbnails_9").width() 0) { key = event_stack_9[0].split("-"); event_stack_9.shift(); bwg_change_image_9(key[0], key[1], data_9, true); } } } } function bwg_cubeH_9(current_image_class, next_image_class, direction) { /* Set to half of image width.*/ var dimension = jQuery(current_image_class).width() / 2; if (direction == 'right') { bwg_cube_9(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_9(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction); } } function bwg_cubeV_9(current_image_class, next_image_class, direction) { /* Set to half of image height.*/ var dimension = jQuery(current_image_class).height() / 2; /* If next slide.*/ if (direction == 'right') { bwg_cube_9(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_9(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction); } } /* For browsers that does not support transitions.*/ function bwg_fallback_9(current_image_class, next_image_class, direction) { bwg_fade_9(current_image_class, next_image_class, direction); } /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/ function bwg_fallback3d_9(current_image_class, next_image_class, direction) { bwg_sliceV_9(current_image_class, next_image_class, direction); } function bwg_none_9(current_image_class, next_image_class, direction) { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_9(); /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_9").removeClass("bwg_slideshow_thumb_active_9").addClass("bwg_slideshow_thumb_deactive_9"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_9 + "_9").removeClass("bwg_slideshow_thumb_deactive_9").addClass("bwg_slideshow_thumb_active_9"); jQuery(".bwg_slideshow_dots_9").removeClass("bwg_slideshow_dots_active_9").addClass("bwg_slideshow_dots_deactive_9"); jQuery("#bwg_dots_" + bwg_current_key_9 + "_9").removeClass("bwg_slideshow_dots_deactive_9").addClass("bwg_slideshow_dots_active_9"); } function bwg_fade_9(current_image_class, next_image_class, direction) { /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_9").removeClass("bwg_slideshow_thumb_active_9").addClass("bwg_slideshow_thumb_deactive_9"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_9 + "_9").removeClass("bwg_slideshow_thumb_deactive_9").addClass("bwg_slideshow_thumb_active_9"); jQuery(".bwg_slideshow_dots_9").removeClass("bwg_slideshow_dots_active_9").addClass("bwg_slideshow_dots_deactive_9"); jQuery("#bwg_dots_" + bwg_current_key_9 + "_9").removeClass("bwg_slideshow_dots_deactive_9").addClass("bwg_slideshow_dots_active_9"); if (bwg_testBrowser_cssTransitions_9()) { jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_9 + 'ms linear'); jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_9(); } else { jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, bwg_transition_duration_9); jQuery(next_image_class).animate({ 'opacity' : 1, 'z-index': 2 }, { duration: bwg_transition_duration_9, complete: function () { bwg_change_watermark_container_9(); } }); /* For IE.*/ jQuery(current_image_class).fadeTo(bwg_transition_duration_9, 0); jQuery(next_image_class).fadeTo(bwg_transition_duration_9, 1); } } function bwg_grid_9(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) { /* If browser does not support CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_9()) { return bwg_fallback_9(current_image_class, next_image_class, direction); } bwg_trans_in_progress_9 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_9").removeClass("bwg_slideshow_thumb_active_9").addClass("bwg_slideshow_thumb_deactive_9"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_9 + "_9").removeClass("bwg_slideshow_thumb_deactive_9").addClass("bwg_slideshow_thumb_active_9"); jQuery(".bwg_slideshow_dots_9").removeClass("bwg_slideshow_dots_active_9").addClass("bwg_slideshow_dots_deactive_9"); jQuery("#bwg_dots_" + bwg_current_key_9 + "_9").removeClass("bwg_slideshow_dots_deactive_9").addClass("bwg_slideshow_dots_active_9"); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (bwg_transition_duration_9) / (cols + rows); /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/ function bwg_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) { var delay = (c + r) * count; /* Return a gridlet elem with styles for specific transition.*/ return jQuery('').css({ display : "block", width : width, height : height, top : top, left : left, backgroundImage : 'url("' + src + '")', backgroundColor: jQuery(".bwg_slideshow_image_wrap_9").css("background-color"), /*backgroundColor: rgba(0, 0, 0, 0),*/ backgroundRepeat: 'no-repeat', backgroundPosition : img_left + 'px ' + img_top + 'px', backgroundSize : imgWidth + 'px ' + imgHeight + 'px', transition : 'all ' + bwg_transition_duration_9 + 'ms ease-in-out ' + delay + 'ms', transform : 'none' }); } /* Get the current slide's image.*/ var cur_img = jQuery(current_image_class).find('img'); /* Create a grid to hold the gridlets.*/ var grid = jQuery('').addClass('bwg_grid_9'); /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/ jQuery(current_image_class).prepend(grid); /* vars to calculate positioning/size of gridlets*/ var cont = jQuery(".bwg_slide_bg_9"); var imgWidth = cur_img.width(); var imgHeight = cur_img.height(); var contWidth = cont.width(), contHeight = cont.height(), imgSrc = cur_img.attr('src'),/*.replace('/thumb', ''),*/ colWidth = Math.floor(contWidth / cols), rowHeight = Math.floor(contHeight / rows), colRemainder = contWidth - (cols * colWidth), colAdd = Math.ceil(colRemainder / cols), rowRemainder = contHeight - (rows * rowHeight), rowAdd = Math.ceil(rowRemainder / rows), leftDist = 0, img_leftDist = (jQuery(".bwg_slide_bg_9").width() - cur_img.width()) / 2; /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/ tx = tx === 'auto' ? contWidth : tx; tx = tx === 'min-auto' ? - contWidth : tx; ty = ty === 'auto' ? contHeight : ty; ty = ty === 'min-auto' ? - contHeight : ty; /* Loop through cols*/ for (var i = 0; i 0) { var add = colRemainder >= colAdd ? colAdd : colRemainder; newColWidth += add; colRemainder -= add; } /* Nested loop to create row gridlets for each col.*/ for (var j = 0; j 0) { add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder; newRowHeight += add; newRowRemainder -= add; } /* Create & append gridlet to grid.*/ grid.append(bwg_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j)); topDist += newRowHeight; img_topDst -= newRowHeight; } img_leftDist -= newColWidth; leftDist += newColWidth; } /* Set event listener on last gridlet to finish transitioning.*/ var last_gridlet = grid.children().last(); /* Show grid & hide the image it replaces.*/ grid.show(); cur_img.css('opacity', 0); /* Add identifying classes to corner gridlets (useful if applying border radius).*/ grid.children().first().addClass('rs-top-left'); grid.children().last().addClass('rs-bottom-right'); grid.children().eq(rows - 1).addClass('rs-bottom-left'); grid.children().eq(- rows).addClass('rs-top-right'); /* Execution steps.*/ setTimeout(function () { grid.children().css({ opacity: op, transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')' }); }, 1); jQuery(next_image_class).css('opacity', 1); /* After transition.*/ jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); cur_img.css('opacity', 1); bwg_change_watermark_container_9(); grid.remove(); bwg_trans_in_progress_9 = false; if (typeof event_stack_9 !== 'undefined') { if (event_stack_9.length > 0) { key = event_stack_9[0].split("-"); event_stack_9.shift(); bwg_change_image_9(key[0], key[1], data_9, true); } } } } function bwg_sliceH_9(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_9(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_sliceV_9(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'min-auto'; } else if (direction == 'left') { var translateY = 'auto'; } bwg_grid_9(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction); } function bwg_slideV_9(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'auto'; } else if (direction == 'left') { var translateY = 'min-auto'; } bwg_grid_9(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction); } function bwg_slideH_9(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_9(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction); } function bwg_scaleOut_9(current_image_class, next_image_class, direction) { bwg_grid_9(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction); } function bwg_scaleIn_9(current_image_class, next_image_class, direction) { bwg_grid_9(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction); } function bwg_blockScale_9(current_image_class, next_image_class, direction) { bwg_grid_9(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction); } function bwg_kaleidoscope_9(current_image_class, next_image_class, direction) { bwg_grid_9(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_fan_9(current_image_class, next_image_class, direction) { if (direction == 'right') { var rotate = 45; var translateX = 100; } else if (direction == 'left') { var rotate = -45; var translateX = -100; } bwg_grid_9(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_blindV_9(current_image_class, next_image_class, direction) { bwg_grid_9(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_blindH_9(current_image_class, next_image_class, direction) { bwg_grid_9(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_random_9(current_image_class, next_image_class, direction) { var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV']; /* Pick a random transition from the anims array.*/ this["bwg_" + anims[Math.floor(Math.random() * anims.length)] + "_9"](current_image_class, next_image_class, direction); } function bwg_iterator_9() { var iterator = 1; if (0) { iterator = Math.floor((data_9.length - 1) * Math.random() + 1); } return iterator; } function bwg_change_image_9(current_key, key, data_9, from_effect) { /* Pause videos.*/ jQuery("#bwg_slideshow_image_container_9").find("iframe").each(function () { jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*"); jQuery(this)[0].contentWindow.postMessage('pause', '*'); }); /* Pause videos facebook video.*/ jQuery('#image_id_9_' + data_9[current_key]["id"]).find('.bwg_fb_video').each(function () { jQuery(this).attr('src', jQuery(this).attr('src')); }); if (data_9[key]) { if (jQuery('.bwg_ctrl_btn_9').hasClass('fa-pause')) { bwg_play_9(); } if (!from_effect) { /* Change image key.*/ jQuery("#bwg_current_image_key_9").val(key); if (current_key == '-1') { /* Filmstrip.*/ current_key = jQuery(".bwg_slideshow_thumb_active_9").children("img").attr("image_key"); } else if (current_key == '-2') { /* Dots.*/ current_key = jQuery(".bwg_slideshow_dots_active_9").attr("image_key"); } } if (bwg_trans_in_progress_9) { event_stack_9.push(current_key + '-' + key); return; } var direction = 'right'; if (bwg_current_key_9 > key) { var direction = 'left'; } else if (bwg_current_key_9 == key) { return; } jQuery(".bwg_slideshow_watermark_9").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_9").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_9").css({display: 'none'}); /* Set active thumbnail position.*/ bwg_current_filmstrip_pos_9 = key * (jQuery(".bwg_slideshow_filmstrip_thumbnail_9").width() + 2 + 2 * 1); bwg_current_key_9 = key; /* Change image id, title, description.*/ jQuery("#bwg_slideshow_image_9").attr('image_id', data_9[key]["id"]); jQuery(".bwg_slideshow_title_text_9").html(jQuery('').html(data_9[key]["alt"]).text()); jQuery(".bwg_slideshow_description_text_9").html(jQuery('').html(data_9[key]["description"]).text()); var current_image_class = jQuery(".bwg_slideshow_image_spun_9").css("zIndex") == 2 ? ".bwg_slideshow_image_spun_9" : ".bwg_slideshow_image_second_spun_9"; var next_image_class = current_image_class == ".bwg_slideshow_image_second_spun_9" ? ".bwg_slideshow_image_spun_9" : ".bwg_slideshow_image_second_spun_9"; var is_embed = data_9[key]['filetype'].indexOf("EMBED_") > -1 ? true : false; var is_embed_instagram_post = data_9[key]['filetype'].indexOf('INSTAGRAM_POST') > -1 ? true :false; var is_embed_instagram_video = data_9[key]['filetype'].indexOf('INSTAGRAM_VIDEO') > -1 ? true :false; var cur_height = jQuery(current_image_class).height(); var cur_width = jQuery(current_image_class).width(); var innhtml = ''; if (!is_embed) { innhtml += ''; innhtml += '<img style="max-height: ' + cur_height + 'px !important; max-width: ' + cur_width + 'px !important;display:inline-block;" class="bwg_slideshow_image_9" id="bwg_slideshow_image_9" src="https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_9[key]["image_url"]).text() + '" alt="' + data_9[key]["alt"] + '" image_id="' + data_9[key]["id"] + '" />'; } else { /*is_embed*/ innhtml += '' + (is_embed_instagram_video ? '
' : ' '); if (is_embed_instagram_post) { var post_width = 0; var post_height = 0; if (cur_height < cur_width + 88) { post_height = cur_height; post_width = post_height - 88; } else { post_width = cur_width; post_height = post_width + 88; } innhtml += spider_display_embed(data_9[key]['filetype'], data_9[key]['image_url'], data_9[key]['filename'], {class:"bwg_embed_frame", 'data-width': data_9[key]['image_width'], 'data-height': data_9[key]['image_height'], frameborder: "0", allowfullscreen: "allowfullscreen", style: "width:" + post_width + "px; height:" + post_height + "px; vertical-align:middle; display:inline-block; position:relative;"}); } else { innhtml += spider_display_embed(data_9[key]['filetype'], data_9[key]['image_url'], data_9[key]['filename'], {class:"bwg_embed_frame", frameborder:"0", allowfullscreen:"allowfullscreen", style:"width:inherit; height:inherit; vertical-align:middle; display:table-cell;" }); } innhtml += "
"; } innhtml += '
'; jQuery(next_image_class).html(innhtml); if ('open_lightbox' == 'open_lightbox' || 0) { bwg_document_ready_9(); } bwg_none_9(current_image_class, next_image_class, direction); bwg_move_filmstrip_9(); if (data_9[key]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_9").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_9").css({display: ''}); } } } function bwg_preload_images_9(key) { count = 5; var count_all = data_9.length; if (count_all < 10) { count = 0; } if (count != 0) { for (var i = key - count; i -1 ? true : false; if (typeof data_9[index] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_9[index]["image_url"]).text()); } } } } else { for (var i = 0; i -1 ? true : false; if (typeof data_9[i] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_9[i]["image_url"]).text()); } } } } } function bwg_popup_resize_9() { var parent_width = jQuery(".bwg_slideshow_image_wrap_9").parent().width(); if (parent_width >= 800) { jQuery(".bwg_slideshow_image_wrap_9").css({width: 800}); jQuery(".bwg_slideshow_image_wrap_9").css({height: 700}); jQuery(".bwg_slideshow_image_container_9").css({width: 800}); jQuery(".bwg_slideshow_image_container_9").css({height: (610)}); jQuery(".bwg_slideshow_image_9").css({ cssText: "max-width: 800px !important; max-height: 610px !important;" }); jQuery(".bwg_slideshow_embed_9").css({ cssText: "width: 800px !important; height: 610px !important;" }); bwg_resize_instagram_post_9(); /* Set watermark container size.*/ bwg_change_watermark_container_9(); jQuery(".bwg_slideshow_filmstrip_container_9").css({width: 800}); jQuery(".bwg_slideshow_filmstrip_9").css({width: 760}); jQuery(".bwg_slideshow_dots_container_9").css({width: 800}); jQuery("#bwg_slideshow_play_pause-ico_9").css({fontSize: (60)}); jQuery(".bwg_slideshow_watermark_image_9").css({maxWidth: 90, maxHeight: 90}); jQuery(".bwg_slideshow_watermark_text_9, .bwg_slideshow_watermark_text_9:hover").css({fontSize: (12)}); jQuery(".bwg_slideshow_title_text_9").css({fontSize: (32)}); jQuery(".bwg_slideshow_description_text_9").css({fontSize: (28)}); } else { jQuery(".bwg_slideshow_image_wrap_9").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_wrap_9").css({height: ((parent_width) * 0.875)}); jQuery(".bwg_slideshow_image_container_9").css({width: (parent_width - 0)}); jQuery(".bwg_slideshow_image_container_9").css({height: ((parent_width) * 0.875 - 90)}); jQuery(".bwg_slideshow_image_9").css({ cssText: "max-width: " + (parent_width - 0) + "px !important; max-height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); jQuery(".bwg_slideshow_embed_9").css({ cssText: "width: " + (parent_width - 0) + "px !important; height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); bwg_resize_instagram_post_9(); /* Set watermark container size.*/ bwg_change_watermark_container_9(); jQuery(".bwg_slideshow_filmstrip_container_9").css({width: (parent_width)}); jQuery(".bwg_slideshow_filmstrip_9").css({width: (parent_width - 40)}); jQuery(".bwg_slideshow_dots_container_9").css({width: (parent_width)}); jQuery("#bwg_slideshow_play_pause-ico_9").css({fontSize: ((parent_width) * 0.075)}); jQuery(".bwg_slideshow_watermark_image_9").css({maxWidth: ((parent_width) * 0.1125), maxHeight: ((parent_width) * 0.1125)}); jQuery(".bwg_slideshow_watermark_text_9, .bwg_slideshow_watermark_text_9:hover").css({fontSize: ((parent_width) * 0.015)}); jQuery(".bwg_slideshow_title_text_9").css({fontSize: ((parent_width) * 0.04)}); jQuery(".bwg_slideshow_description_text_9").css({fontSize: ((parent_width) * 0.035)}); jQuery(".bwg_slideshow_image_9").css({'display':'inline-block'}); } if (data_9[parseInt(jQuery("#bwg_current_image_key_9").val())]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_9").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_9").css({display: ''}); } } jQuery(window).resize(function() { bwg_popup_resize_9(); }); jQuery(document).ready(function () { jQuery('#ajax_loading_9').hide(); if (typeof jQuery().swiperight !== 'undefined') { if (jQuery.isFunction(jQuery().swiperight)) { jQuery('#bwg_container1_9').swiperight(function () { bwg_change_image_9(parseInt(jQuery('#bwg_current_image_key_9').val()), (parseInt(jQuery('#bwg_current_image_key_9').val()) - bwg_iterator_9()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_9').val()) - bwg_iterator_9()) % data_9.length : data_9.length - 1, data_9); return false; }); } } if (typeof jQuery().swipeleft !== 'undefined') { if (jQuery.isFunction(jQuery().swipeleft)) { jQuery('#bwg_container1_9').swipeleft(function () { bwg_change_image_9(parseInt(jQuery('#bwg_current_image_key_9').val()), (parseInt(jQuery('#bwg_current_image_key_9').val()) + bwg_iterator_9()) % data_9.length, data_9); return false; }); } } var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); var bwg_click = isMobile ? 'touchend' : 'click'; bwg_popup_resize_9(); jQuery("#bwg_container1_9").css({visibility: 'visible'}); jQuery(".bwg_slideshow_watermark_9").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_9").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_9").css({display: 'none'}); setTimeout(function () { bwg_change_watermark_container_9(); }, 500); /* Set image container height.*/ jQuery(".bwg_slideshow_image_container_9").height(jQuery(".bwg_slideshow_image_wrap_9").height() - 90); var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */ jQuery('.bwg_slideshow_filmstrip_9').bind(mousewheelevt, function(e) { var evt = window.event || e; /* Equalize event object.*/ evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/ var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/ if (delta > 0) { /* Scroll up.*/ jQuery(".bwg_slideshow_filmstrip_left_9").trigger("click"); } else { /* Scroll down.*/ jQuery(".bwg_slideshow_filmstrip_right_9").trigger("click"); } return false; }); jQuery(".bwg_slideshow_filmstrip_right_9").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_9" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_9").position().left >= -(jQuery(".bwg_slideshow_filmstrip_thumbnails_9").width() - jQuery(".bwg_slideshow_filmstrip_9").width())) { jQuery(".bwg_slideshow_filmstrip_left_9").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_9").position().left < -(jQuery(".bwg_slideshow_filmstrip_thumbnails_9").width() - jQuery(".bwg_slideshow_filmstrip_9").width() - 122)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_9").animate({left: -(jQuery(".bwg_slideshow_filmstrip_thumbnails_9").width() - jQuery(".bwg_slideshow_filmstrip_9").width())}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_9").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_9").position().left - 122)}, 500, 'linear'); } } /* Disable right arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_9").position().left == -(jQuery(".bwg_slideshow_filmstrip_thumbnails_9").width() - jQuery(".bwg_slideshow_filmstrip_9").width())) { jQuery(".bwg_slideshow_filmstrip_right_9").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); jQuery(".bwg_slideshow_filmstrip_left_9").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_9" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_9").position().left - 122) { jQuery(".bwg_slideshow_filmstrip_thumbnails_9").animate({left: 0}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_9").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_9").position().left + 122)}, 500, 'linear'); } } /* Disable left arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_9").position().left == 0) { jQuery(".bwg_slideshow_filmstrip_left_9").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); /* Set filmstrip initial position.*/ bwg_set_filmstrip_pos_9(jQuery(".bwg_slideshow_filmstrip_9").width()); /* Play/pause.*/ jQuery("#bwg_slideshow_play_pause_9").on(bwg_click, function () { if (jQuery(".bwg_ctrl_btn_9").hasClass("fa-play")) { bwg_play_9(); jQuery(".bwg_slideshow_play_pause_9").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_9").attr("class", "bwg_ctrl_btn_9 bwg_slideshow_play_pause_9 fa fa-pause"); if (0) { document.getElementById("bwg_audio_9").play(); } } else { /* Pause.*/ window.clearInterval(bwg_playInterval_9); jQuery(".bwg_slideshow_play_pause_9").attr("title", "Play"); jQuery(".bwg_slideshow_play_pause_9").attr("class", "bwg_ctrl_btn_9 bwg_slideshow_play_pause_9 fa fa-play"); if (0) { document.getElementById("bwg_audio_9").pause(); } } }); if (0) { bwg_play_9(); jQuery(".bwg_slideshow_play_pause_9").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_9").attr("class", "bwg_ctrl_btn_9 bwg_slideshow_play_pause_9 fa fa-pause"); if (0) { document.getElementById("bwg_audio_9").play(); } } jQuery(".bwg_slideshow_image_9").removeAttr("width"); jQuery(".bwg_slideshow_image_9").removeAttr("height"); }); function bwg_resize_instagram_post_9() { if (jQuery('.inner_instagram_iframe_bwg_embed_frame_9').length) { var post_width = jQuery('.bwg_slideshow_embed_9').width(); var post_height = jQuery('.bwg_slideshow_embed_9').height(); jQuery('.inner_instagram_iframe_bwg_embed_frame_9').each(function() { var parent_container = jQuery(this).parent(); if (post_height / (parseInt(parent_container.attr('data-height')) + 96) < post_width / parseInt(parent_container.attr('data-width'))) { parent_container.height(post_height); parent_container.width((parent_container.height() - 96) * parent_container.attr('data-width') / parent_container.attr('data-height') + 16); } else { parent_container.width(post_width); parent_container.height((parent_container.width() - 16) * parent_container.attr('data-height') / parent_container.attr('data-width') + 96); } }); } bwg_change_watermark_container_9(); } function bwg_play_9() { window.clearInterval(bwg_playInterval_9); /* Play.*/ bwg_playInterval_9 = setInterval(function () { var iterator = 1; if (0) { iterator = Math.floor((data_9.length - 1) * Math.random() + 1); } bwg_change_image_9(parseInt(jQuery('#bwg_current_image_key_9').val()), (parseInt(jQuery('#bwg_current_image_key_9').val()) + iterator) % data_9.length, data_9) }, '5000'); } jQuery(window).focus(function() { if (!jQuery(".bwg_ctrl_btn_9").hasClass("fa-play")) { bwg_play_9(); } var i_9 = 0; jQuery(".bwg_slider_9").children("span").each(function () { if (jQuery(this).css('opacity') == 1) { jQuery("#bwg_current_image_key_9").val(i_9); } i_9++; }); }); jQuery(window).blur(function() { event_stack_9 = []; window.clearInterval(bwg_playInterval_9); }); function bwg_gallery_box_9(image_id, openEcommerce) { if (typeof openEcommerce == undefined) { openEcommerce = false; } var ecommerce = openEcommerce == true ? "&open_ecommerce=1" : ""; var filterTags = jQuery("#bwg_tags_id_bwg_standart_thumbnails_9").val() ? jQuery("#bwg_tags_id_bwg_standart_thumbnails_9").val() : 0; var filtersearchname = jQuery("#bwg_search_input_9").val() ? "&filter_search_name_9=" + jQuery("#bwg_search_input_9").val() : ''; spider_createpopup('https://thecarseatlady.com/wp-admin/admin-ajax.php?action=GalleryBox&current_view=9&gallery_id=24&theme_id=2&open_with_fullscreen=1&open_with_autoplay=0&image_width=800&image_height=500&image_effect=none&wd_sor=order&wd_ord=asc&enable_image_filmstrip=1&image_filmstrip_height=70&enable_image_ctrl_btn=1&enable_image_fullscreen=1&popup_enable_info=0&popup_info_always_show=0&popup_info_full_width=0&popup_hit_counter=0&popup_enable_rate=0&slideshow_interval=5&enable_comment_social=0&enable_image_facebook=0&enable_image_twitter=0&enable_image_google=0&enable_image_ecommerce=undefined&enable_image_pinterest=0&enable_image_tumblr=0&watermark_type=none&slideshow_effect_duration=1&tags=0&current_url=https%3A%2F%2Fthecarseatlady.com%2Fbuying-a-safer-car%2F&thumb_width=120&thumb_height=90&image_id=' + image_id + "&filter_tag_9=" + filterTags + ecommerce + filtersearchname, '9', '800', '500', 1, 'testpopup', 5, "bottom"); } var bwg_hash = window.location.hash.substring(1); if (bwg_hash) { if (bwg_hash.indexOf("bwg") != "-1") { bwg_hash_array = bwg_hash.replace("bwg", "").split("/"); if(bwg_hash_array[0] == "24"){ bwg_gallery_box_9(bwg_hash_array[1]); } } } function bwg_document_ready_9() { var bwg_touch_flag = false; jQuery(".bwg_lightbox_9").on("click", function () { if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); bwg_gallery_box_9(jQuery(this).attr("data-image-id")); return false; } }); jQuery(".bwg_lightbox_9 .bwg_ecommerce").on("click", function (event) { event.stopPropagation(); if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); var image_id = jQuery(this).closest(".bwg_lightbox_9").attr("data-image-id"); bwg_gallery_box_9(image_id, true); return false; } }); } jQuery(document).ready(function () { bwg_document_ready_9(); });

Drowsy Driver Detection - on MyCarDoesWhat.org

Pedestrian & Bicycle Detection

Key Take Away Point: Pedestrians account for at least 1/6th of all fatalities on our roads - and they die because vehicles drive head on into them, or backover them. Technology in vehicles that enhances the driver's view (like back-up cameras) and brakes for the driver (autobrake) can help prevent these tragedies.

In 2015, 5,376 pedestrians were killed and at least 70,000 injured in motor vehicle crashes on public roadways in the United States.

Pedestrians can get hit in 2 different ways - the front of the car crashes into them, or the car backs into or over them.

Frontal crashes: Pedestrian detection systems look for pedestrians in front of the car and warn the driver if a crash is likely. Some systems will also apply the brakes to further help prevent hitting the pedestrian. The majority of pedestrian deaths happen at high speeds or in low light situations - and some pedestrian detection systems are only for low speeds and require good lighting, which obviously reduces the system's effectiveness. An IIHS analysis of 2005-2009 crash data "estimated that such pedestrian detection systems could potentially mitigate or prevent up to 65 percent of single-vehicle crashes with pedestrians in the three most common crash configurations and 58 percent of pedestrian deaths in these crashes.7"

Backover crashes: There are several technologies that can help prevent back-over crashes - which is where the driver backs into (and worst case scenario runs over) a pedestrian. Rearview cameras and park assist systems can help prevent backover crashes by letting the driver see what is behind the car that can't be seen in the rear or side mirrors. The best technology is rear autobrake which applies the brakes if the driver is backing up into something - a pole, a car, or a person.

Watch & Learn more about Pedestrian & Bicycle Detection

#bwg_container1_10 { visibility: hidden; } #bwg_container1_10 * { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_image_wrap_10 * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; /*backface-visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;*/ } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_image_wrap_10 { background-color: #000000; border-collapse: collapse; display: table; position: relative; text-align: center; width: 800px; height: 700px; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_image_10 { padding: 0 !important; margin: 0 !important; float: none !important; max-width: 800px; max-height: 610px; vertical-align: middle; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_embed_10 { padding: 0 !important; margin: 0 !important; float: none !important; width: 800px; height: 610px; vertical-align: middle; display: inline-block; text-align: center; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_watermark_10 { position: relative; z-index: 15; } #bwg_container1_10 #bwg_container2_10 #bwg_slideshow_play_pause_10 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 0; cursor: pointer; display: table; height: inherit; outline: medium none; position: absolute; width: 30%; left: 35%; z-index: 13; } #bwg_container1_10 #bwg_container2_10 #bwg_slideshow_play_pause_10:hover #bwg_slideshow_play_pause-ico_10 { display: inline-block !important; } #bwg_container1_10 #bwg_container2_10 #bwg_slideshow_play_pause_10:hover span { position: relative; z-index: 13; } #bwg_container1_10 #bwg_container2_10 #bwg_slideshow_play_pause_10 span { display: table-cell; text-align: center; vertical-align: middle; } #bwg_container1_10 #bwg_container2_10 #bwg_slideshow_play_pause-ico_10 { display: none !important; color: #FFFFFF; font-size: 60px; cursor: pointer; position: relative; z-index: 13; } #bwg_container1_10 #bwg_container2_10 #bwg_slideshow_play_pause-ico_10:hover { color: #DBDBDB; display: inline-block; position: relative; z-index: 13; } #bwg_container1_10 #bwg_container2_10 #spider_slideshow_left_10, #bwg_container1_10 #bwg_container2_10 #spider_slideshow_right_10 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 35%; cursor: pointer; display: inline; height: 30%; outline: medium none; position: absolute; width: 35%; /*z-index: 10130;*/ z-index: 13; } #bwg_container1_10 #bwg_container2_10 #spider_slideshow_left_10 { left: 0; } #bwg_container1_10 #bwg_container2_10 #spider_slideshow_right_10 { right: 0; } #bwg_container1_10 #bwg_container2_10 #spider_slideshow_left_10:hover, #bwg_container1_10 #bwg_container2_10 #spider_slideshow_right_10:hover { visibility: visible; } #bwg_container1_10 #bwg_container2_10 #spider_slideshow_left_10:hover span { left: 20px; } #bwg_container1_10 #bwg_container2_10 #spider_slideshow_right_10:hover span { left: auto; right: 20px; } #bwg_container1_10 #bwg_container2_10 #spider_slideshow_left-ico_10 span, #bwg_container1_10 #bwg_container2_10 #spider_slideshow_right-ico_10 span { display: table-cell; text-align: center; vertical-align: middle; z-index: 13; } #bwg_container1_10 #bwg_container2_10 #spider_slideshow_left-ico_10, #bwg_container1_10 #bwg_container2_10 #spider_slideshow_right-ico_10 { background-color: #000000; border-radius: 20px; border: 0px none #FFFFFF; box-shadow: ; color: #FFFFFF; height: 40px; font-size: 20px; width: 40px; z-index: 13; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; display: table; line-height: 0; margin-top: -15px; position: absolute; top: 50%; /*z-index: 10135;*/ opacity: 1.00; filter: Alpha(opacity=100); } #bwg_container1_10 #bwg_container2_10 #spider_slideshow_left-ico_10:hover, #bwg_container1_10 #bwg_container2_10 #spider_slideshow_right-ico_10:hover { color: #DBDBDB; cursor: pointer; } #spider_slideshow_left-ico_10{ left: 20px; } #spider_slideshow_right-ico_10{ left: auto; right: 20px; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_image_container_10 { display: table; position: absolute; text-align: center; bottom: 90px; vertical-align: middle; width: 800px; height: 700px; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_filmstrip_container_10 { display: table; height: 90px; position: absolute; width: 800px; /*z-index: 10105;*/ bottom: 0; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_filmstrip_10 { left: 20px; overflow: hidden; position: absolute; width: 760px; /*z-index: 10106;*/ } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_filmstrip_thumbnails_10 { height: 90px; left: 0px; margin: 0 auto; overflow: hidden; position: relative; width: 366px; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_filmstrip_thumbnail_10 { position: relative; background: none; border: 1px none #000000; border-radius: 0; cursor: pointer; float: left; height: 90px; margin: 0 1px; width: 120px; overflow: hidden; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_thumb_active_10 { opacity: 1; filter: Alpha(opacity=100); border: 0px solid #FFFFFF; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_thumb_deactive_10 { opacity: 0.80; filter: Alpha(opacity=80); } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_filmstrip_thumbnail_img_10 { display: block; opacity: 1; filter: Alpha(opacity=100); padding: 0 !important; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_filmstrip_left_10 { background-color: #303030; cursor: pointer; display: table-cell; vertical-align: middle; width: 20px; /*z-index: 10106;*/ left: 0; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_filmstrip_right_10 { background-color: #303030; cursor: pointer; right: 0; width: 20px; display: table-cell; vertical-align: middle; /*z-index: 10106;*/ } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_filmstrip_left_10 i, #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_filmstrip_right_10 i { color: #FFFFFF; font-size: 20px; } #bwg_container1_10 #bwg_container2_10 .bwg_none_selectable_10 { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_watermark_container_10 { display: table-cell; margin: 0 auto; position: relative; vertical-align: middle; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_watermark_spun_10 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_title_spun_10 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: top; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_description_spun_10 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_watermark_image_10 { padding: 0 !important; float: none !important; margin: 4px !important; max-height: 90px; max-width: 90px; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_watermark_text_10, #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_watermark_text_10:hover { text-decoration: none; margin: 4px; font-size: 12px; font-family: Arial; color: #FFFFFF !important; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_title_text_10 { text-decoration: none; font-size: 16px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 11; border-radius: 5px; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_description_text_10 { text-decoration: none; font-size: 14px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 15; border-radius: 0; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_description_text_10 * { text-decoration: none; color: #FFFFFF !important; } #bwg_container1_10 #bwg_container2_10 .bwg_slide_container_10 { display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; } #bwg_container1_10 #bwg_container2_10 .bwg_slide_bg_10 { margin: 0 auto; width: inherit; height: inherit; } #bwg_container1_10 #bwg_container2_10 .bwg_slider_10 { height: inherit; width: inherit; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_image_spun_10 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_image_second_spun_10 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; } #bwg_container1_10 #bwg_container2_10 .bwg_grid_10 { display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; } #bwg_container1_10 #bwg_container2_10 .bwg_gridlet_10 { opacity: 1; filter: Alpha(opacity=100); position: absolute; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_dots_10 { display: inline-block; position: relative; width: 10px; height: 10px; border-radius: 10px; background: #292929; margin: 1px; cursor: pointer; overflow: hidden; z-index: 17; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_dots_container_10 { display: block; overflow: hidden; position: absolute; width: 800px; bottom: 0; z-index: 17; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_dots_thumbnails_10 { left: 0px; font-size: 0; margin: 0 auto; overflow: hidden; position: relative; height: 12px; width: 36px; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_dots_active_10 { background: #292929; opacity: 1; filter: Alpha(opacity=100); border: 2px solid #FFC933; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_dots_deactive_10 { } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_image_spun1_10 { display: table; width: inherit; height: inherit; } #bwg_container1_10 #bwg_container2_10 .bwg_slideshow_image_spun2_10 { display: table-cell; vertical-align: middle; text-align: center; } #bwg_container1_10 #bwg_container2_10 #spider_popup_overlay_10 { background-color: #000000; opacity: 0.70; filter: Alpha(opacity=70); } var data_10 = []; var event_stack_10 = []; data_10["0"] = []; data_10["0"]["id"] = "468"; data_10["0"]["alt"] = "Your Car is Talking, Are You Listening? Pedestrian & Bicycle Detection - With Rick & Scout"; data_10["0"]["description"] = "Your Car is Talking, Are You Listening? Pedestrian & Bicycle Detection - With Rick & Scout<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_10["0"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_10["0"]["filename"] = "l_B8_72e7_k"; data_10["0"]["image_url"] = "https://www.youtube.com/watch?v=l_B8_72e7_k"; data_10["0"]["thumb_url"] = "https://i.ytimg.com/vi/l_B8_72e7_k/hqdefault.jpg"; data_10["0"]["redirect_url"] = ""; data_10["0"]["date"] = "14 March 2018, 14:58"; data_10["0"]["is_embed"] = "1"; data_10["0"]["is_embed_video"] = "1"; data_10["1"] = []; data_10["1"]["id"] = "470"; data_10["1"]["alt"] = "Backup Camera Monitoring - in VR 360 - move your head or your mouse to see your surroundings."; data_10["1"]["description"] = "Backup Camera Monitoring - in VR 360 - move your head or your mouse to see your surroundings.<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_10["1"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_10["1"]["filename"] = "c3wETo5tbhM"; data_10["1"]["image_url"] = "https://www.youtube.com/watch?v=c3wETo5tbhM"; data_10["1"]["thumb_url"] = "https://i.ytimg.com/vi/c3wETo5tbhM/hqdefault.jpg"; data_10["1"]["redirect_url"] = ""; data_10["1"]["date"] = "15 March 2018, 00:39"; data_10["1"]["is_embed"] = "1"; data_10["1"]["is_embed_video"] = "1"; data_10["2"] = []; data_10["2"]["id"] = "469"; data_10["2"]["alt"] = "An Extra Set of Eyes! Backup Cameras may help save lives."; data_10["2"]["description"] = "An Extra Set of Eyes! Backup Cameras may help save lives.<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_10["2"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_10["2"]["filename"] = "7c4hzHTawYA"; data_10["2"]["image_url"] = "https://www.youtube.com/watch?v=7c4hzHTawYA"; data_10["2"]["thumb_url"] = "https://i.ytimg.com/vi/7c4hzHTawYA/hqdefault.jpg"; data_10["2"]["redirect_url"] = ""; data_10["2"]["date"] = "15 March 2018, 00:39"; data_10["2"]["is_embed"] = "1"; data_10["2"]["is_embed_video"] = "1";

Your Car is Talking, Are You Listening? Pedestrian & Bicycle Detection - With Rick & Scout
Backup Camera Monitoring - in VR 360 - move your head or your mouse to see your surroundings.
An Extra Set of Eyes!  Backup Cameras may help save lives.
var bwg_trans_in_progress_10 = false; var bwg_transition_duration_10 = 1000; var bwg_playInterval_10; /* Stop autoplay.*/ window.clearInterval(bwg_playInterval_10); /* Set watermark container size.*/ function bwg_change_watermark_container_10() { jQuery(".bwg_slider_10").children().each(function() { if (jQuery(this).css("zIndex") == 2) { /* For images.*/ var bwg_current_image_span = jQuery(this).find("img"); if (bwg_current_image_span.length) { if (bwg_current_image_span.prop('complete')) { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_10(width, height); } else { bwg_current_image_span.on("load", function () { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_10(width, height); }); } } else { /* For embeds and videos.*/ bwg_current_image_span = jQuery(this).find("iframe"); if (!bwg_current_image_span.length) { bwg_current_image_span = jQuery(this).find("video"); } var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_10(width, height); } } }); } /* Set each watermark container size.*/ function bwg_change_each_watermark_container_10(width, height) { jQuery(".bwg_slideshow_watermark_spun_10").width(width); jQuery(".bwg_slideshow_watermark_spun_10").height(height); jQuery(".bwg_slideshow_title_spun_10").width(width); jQuery(".bwg_slideshow_title_spun_10").height(height); jQuery(".bwg_slideshow_description_spun_10").width(width); jQuery(".bwg_slideshow_description_spun_10").height(height); jQuery(".bwg_slideshow_watermark_10").css({display: ''}); if (jQuery.trim(jQuery(".bwg_slideshow_title_text_10").text())) { jQuery(".bwg_slideshow_title_text_10").css({display: ''}); } if (jQuery.trim(jQuery(".bwg_slideshow_description_text_10").text())) { jQuery(".bwg_slideshow_description_text_10").css({display: ''}); } } var bwg_current_key_10 = '0'; var bwg_current_filmstrip_pos_10 = 0; /* Set filmstrip initial position.*/ function bwg_set_filmstrip_pos_10(filmStripWidth) { var selectedImagePos = -bwg_current_filmstrip_pos_10 - (jQuery(".bwg_slideshow_filmstrip_thumbnail_10").width() + 2) / 2; var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".bwg_slideshow_filmstrip_thumbnails_10").width(), selectedImagePos + filmStripWidth / 2)); jQuery(".bwg_slideshow_filmstrip_thumbnails_10").animate({ left: imagesContainerLeft }, { duration: 500, complete: function () { bwg_filmstrip_arrows_10(); } }); } function bwg_move_filmstrip_10() { var image_left = jQuery(".bwg_slideshow_thumb_active_10").position().left; var image_right = jQuery(".bwg_slideshow_thumb_active_10").position().left + jQuery(".bwg_slideshow_thumb_active_10").outerWidth(true); var bwg_filmstrip_width = jQuery(".bwg_slideshow_filmstrip_10").outerWidth(true); var bwg_filmstrip_thumbnails_width = jQuery(".bwg_slideshow_filmstrip_thumbnails_10").outerWidth(true); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_filmstrip_thumbnails_10").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_filmstrip_thumbnails_10").position().left) + bwg_filmstrip_width; if (bwg_filmstrip_width > bwg_filmstrip_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_filmstrip_thumbnails_10").animate({ left: -(image_right - bwg_filmstrip_width) }, { duration: 500, complete: function () { bwg_filmstrip_arrows_10(); } }); } } function bwg_move_dots_10() { var image_left = jQuery(".bwg_slideshow_dots_active_10").position().left; var image_right = jQuery(".bwg_slideshow_dots_active_10").position().left + jQuery(".bwg_slideshow_dots_active_10").outerWidth(true); var bwg_dots_width = jQuery(".bwg_slideshow_dots_container_10").outerWidth(true); var bwg_dots_thumbnails_width = jQuery(".bwg_slideshow_dots_thumbnails_10").outerWidth(false); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_dots_thumbnails_10").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_dots_thumbnails_10").position().left) + bwg_dots_width; if (bwg_dots_width > bwg_dots_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_dots_thumbnails_10").animate({ left: -(image_right - bwg_dots_width) }, { duration: 500, complete: function () { } }); } } /* Show/hide filmstrip arrows.*/ function bwg_filmstrip_arrows_10() { if (jQuery(".bwg_slideshow_filmstrip_thumbnails_10").width() 0) { key = event_stack_10[0].split("-"); event_stack_10.shift(); bwg_change_image_10(key[0], key[1], data_10, true); } } } } function bwg_cubeH_10(current_image_class, next_image_class, direction) { /* Set to half of image width.*/ var dimension = jQuery(current_image_class).width() / 2; if (direction == 'right') { bwg_cube_10(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_10(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction); } } function bwg_cubeV_10(current_image_class, next_image_class, direction) { /* Set to half of image height.*/ var dimension = jQuery(current_image_class).height() / 2; /* If next slide.*/ if (direction == 'right') { bwg_cube_10(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_10(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction); } } /* For browsers that does not support transitions.*/ function bwg_fallback_10(current_image_class, next_image_class, direction) { bwg_fade_10(current_image_class, next_image_class, direction); } /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/ function bwg_fallback3d_10(current_image_class, next_image_class, direction) { bwg_sliceV_10(current_image_class, next_image_class, direction); } function bwg_none_10(current_image_class, next_image_class, direction) { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_10(); /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_10").removeClass("bwg_slideshow_thumb_active_10").addClass("bwg_slideshow_thumb_deactive_10"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_10 + "_10").removeClass("bwg_slideshow_thumb_deactive_10").addClass("bwg_slideshow_thumb_active_10"); jQuery(".bwg_slideshow_dots_10").removeClass("bwg_slideshow_dots_active_10").addClass("bwg_slideshow_dots_deactive_10"); jQuery("#bwg_dots_" + bwg_current_key_10 + "_10").removeClass("bwg_slideshow_dots_deactive_10").addClass("bwg_slideshow_dots_active_10"); } function bwg_fade_10(current_image_class, next_image_class, direction) { /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_10").removeClass("bwg_slideshow_thumb_active_10").addClass("bwg_slideshow_thumb_deactive_10"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_10 + "_10").removeClass("bwg_slideshow_thumb_deactive_10").addClass("bwg_slideshow_thumb_active_10"); jQuery(".bwg_slideshow_dots_10").removeClass("bwg_slideshow_dots_active_10").addClass("bwg_slideshow_dots_deactive_10"); jQuery("#bwg_dots_" + bwg_current_key_10 + "_10").removeClass("bwg_slideshow_dots_deactive_10").addClass("bwg_slideshow_dots_active_10"); if (bwg_testBrowser_cssTransitions_10()) { jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_10 + 'ms linear'); jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_10(); } else { jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, bwg_transition_duration_10); jQuery(next_image_class).animate({ 'opacity' : 1, 'z-index': 2 }, { duration: bwg_transition_duration_10, complete: function () { bwg_change_watermark_container_10(); } }); /* For IE.*/ jQuery(current_image_class).fadeTo(bwg_transition_duration_10, 0); jQuery(next_image_class).fadeTo(bwg_transition_duration_10, 1); } } function bwg_grid_10(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) { /* If browser does not support CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_10()) { return bwg_fallback_10(current_image_class, next_image_class, direction); } bwg_trans_in_progress_10 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_10").removeClass("bwg_slideshow_thumb_active_10").addClass("bwg_slideshow_thumb_deactive_10"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_10 + "_10").removeClass("bwg_slideshow_thumb_deactive_10").addClass("bwg_slideshow_thumb_active_10"); jQuery(".bwg_slideshow_dots_10").removeClass("bwg_slideshow_dots_active_10").addClass("bwg_slideshow_dots_deactive_10"); jQuery("#bwg_dots_" + bwg_current_key_10 + "_10").removeClass("bwg_slideshow_dots_deactive_10").addClass("bwg_slideshow_dots_active_10"); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (bwg_transition_duration_10) / (cols + rows); /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/ function bwg_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) { var delay = (c + r) * count; /* Return a gridlet elem with styles for specific transition.*/ return jQuery('').css({ display : "block", width : width, height : height, top : top, left : left, backgroundImage : 'url("' + src + '")', backgroundColor: jQuery(".bwg_slideshow_image_wrap_10").css("background-color"), /*backgroundColor: rgba(0, 0, 0, 0),*/ backgroundRepeat: 'no-repeat', backgroundPosition : img_left + 'px ' + img_top + 'px', backgroundSize : imgWidth + 'px ' + imgHeight + 'px', transition : 'all ' + bwg_transition_duration_10 + 'ms ease-in-out ' + delay + 'ms', transform : 'none' }); } /* Get the current slide's image.*/ var cur_img = jQuery(current_image_class).find('img'); /* Create a grid to hold the gridlets.*/ var grid = jQuery('').addClass('bwg_grid_10'); /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/ jQuery(current_image_class).prepend(grid); /* vars to calculate positioning/size of gridlets*/ var cont = jQuery(".bwg_slide_bg_10"); var imgWidth = cur_img.width(); var imgHeight = cur_img.height(); var contWidth = cont.width(), contHeight = cont.height(), imgSrc = cur_img.attr('src'),/*.replace('/thumb', ''),*/ colWidth = Math.floor(contWidth / cols), rowHeight = Math.floor(contHeight / rows), colRemainder = contWidth - (cols * colWidth), colAdd = Math.ceil(colRemainder / cols), rowRemainder = contHeight - (rows * rowHeight), rowAdd = Math.ceil(rowRemainder / rows), leftDist = 0, img_leftDist = (jQuery(".bwg_slide_bg_10").width() - cur_img.width()) / 2; /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/ tx = tx === 'auto' ? contWidth : tx; tx = tx === 'min-auto' ? - contWidth : tx; ty = ty === 'auto' ? contHeight : ty; ty = ty === 'min-auto' ? - contHeight : ty; /* Loop through cols*/ for (var i = 0; i 0) { var add = colRemainder >= colAdd ? colAdd : colRemainder; newColWidth += add; colRemainder -= add; } /* Nested loop to create row gridlets for each col.*/ for (var j = 0; j 0) { add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder; newRowHeight += add; newRowRemainder -= add; } /* Create & append gridlet to grid.*/ grid.append(bwg_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j)); topDist += newRowHeight; img_topDst -= newRowHeight; } img_leftDist -= newColWidth; leftDist += newColWidth; } /* Set event listener on last gridlet to finish transitioning.*/ var last_gridlet = grid.children().last(); /* Show grid & hide the image it replaces.*/ grid.show(); cur_img.css('opacity', 0); /* Add identifying classes to corner gridlets (useful if applying border radius).*/ grid.children().first().addClass('rs-top-left'); grid.children().last().addClass('rs-bottom-right'); grid.children().eq(rows - 1).addClass('rs-bottom-left'); grid.children().eq(- rows).addClass('rs-top-right'); /* Execution steps.*/ setTimeout(function () { grid.children().css({ opacity: op, transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')' }); }, 1); jQuery(next_image_class).css('opacity', 1); /* After transition.*/ jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); cur_img.css('opacity', 1); bwg_change_watermark_container_10(); grid.remove(); bwg_trans_in_progress_10 = false; if (typeof event_stack_10 !== 'undefined') { if (event_stack_10.length > 0) { key = event_stack_10[0].split("-"); event_stack_10.shift(); bwg_change_image_10(key[0], key[1], data_10, true); } } } } function bwg_sliceH_10(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_10(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_sliceV_10(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'min-auto'; } else if (direction == 'left') { var translateY = 'auto'; } bwg_grid_10(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction); } function bwg_slideV_10(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'auto'; } else if (direction == 'left') { var translateY = 'min-auto'; } bwg_grid_10(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction); } function bwg_slideH_10(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_10(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction); } function bwg_scaleOut_10(current_image_class, next_image_class, direction) { bwg_grid_10(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction); } function bwg_scaleIn_10(current_image_class, next_image_class, direction) { bwg_grid_10(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction); } function bwg_blockScale_10(current_image_class, next_image_class, direction) { bwg_grid_10(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction); } function bwg_kaleidoscope_10(current_image_class, next_image_class, direction) { bwg_grid_10(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_fan_10(current_image_class, next_image_class, direction) { if (direction == 'right') { var rotate = 45; var translateX = 100; } else if (direction == 'left') { var rotate = -45; var translateX = -100; } bwg_grid_10(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_blindV_10(current_image_class, next_image_class, direction) { bwg_grid_10(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_blindH_10(current_image_class, next_image_class, direction) { bwg_grid_10(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_random_10(current_image_class, next_image_class, direction) { var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV']; /* Pick a random transition from the anims array.*/ this["bwg_" + anims[Math.floor(Math.random() * anims.length)] + "_10"](current_image_class, next_image_class, direction); } function bwg_iterator_10() { var iterator = 1; if (0) { iterator = Math.floor((data_10.length - 1) * Math.random() + 1); } return iterator; } function bwg_change_image_10(current_key, key, data_10, from_effect) { /* Pause videos.*/ jQuery("#bwg_slideshow_image_container_10").find("iframe").each(function () { jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*"); jQuery(this)[0].contentWindow.postMessage('pause', '*'); }); /* Pause videos facebook video.*/ jQuery('#image_id_10_' + data_10[current_key]["id"]).find('.bwg_fb_video').each(function () { jQuery(this).attr('src', jQuery(this).attr('src')); }); if (data_10[key]) { if (jQuery('.bwg_ctrl_btn_10').hasClass('fa-pause')) { bwg_play_10(); } if (!from_effect) { /* Change image key.*/ jQuery("#bwg_current_image_key_10").val(key); if (current_key == '-1') { /* Filmstrip.*/ current_key = jQuery(".bwg_slideshow_thumb_active_10").children("img").attr("image_key"); } else if (current_key == '-2') { /* Dots.*/ current_key = jQuery(".bwg_slideshow_dots_active_10").attr("image_key"); } } if (bwg_trans_in_progress_10) { event_stack_10.push(current_key + '-' + key); return; } var direction = 'right'; if (bwg_current_key_10 > key) { var direction = 'left'; } else if (bwg_current_key_10 == key) { return; } jQuery(".bwg_slideshow_watermark_10").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_10").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_10").css({display: 'none'}); /* Set active thumbnail position.*/ bwg_current_filmstrip_pos_10 = key * (jQuery(".bwg_slideshow_filmstrip_thumbnail_10").width() + 2 + 2 * 1); bwg_current_key_10 = key; /* Change image id, title, description.*/ jQuery("#bwg_slideshow_image_10").attr('image_id', data_10[key]["id"]); jQuery(".bwg_slideshow_title_text_10").html(jQuery('').html(data_10[key]["alt"]).text()); jQuery(".bwg_slideshow_description_text_10").html(jQuery('').html(data_10[key]["description"]).text()); var current_image_class = jQuery(".bwg_slideshow_image_spun_10").css("zIndex") == 2 ? ".bwg_slideshow_image_spun_10" : ".bwg_slideshow_image_second_spun_10"; var next_image_class = current_image_class == ".bwg_slideshow_image_second_spun_10" ? ".bwg_slideshow_image_spun_10" : ".bwg_slideshow_image_second_spun_10"; var is_embed = data_10[key]['filetype'].indexOf("EMBED_") > -1 ? true : false; var is_embed_instagram_post = data_10[key]['filetype'].indexOf('INSTAGRAM_POST') > -1 ? true :false; var is_embed_instagram_video = data_10[key]['filetype'].indexOf('INSTAGRAM_VIDEO') > -1 ? true :false; var cur_height = jQuery(current_image_class).height(); var cur_width = jQuery(current_image_class).width(); var innhtml = ''; if (!is_embed) { innhtml += ''; innhtml += '<img style="max-height: ' + cur_height + 'px !important; max-width: ' + cur_width + 'px !important;display:inline-block;" class="bwg_slideshow_image_10" id="bwg_slideshow_image_10" src="https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_10[key]["image_url"]).text() + '" alt="' + data_10[key]["alt"] + '" image_id="' + data_10[key]["id"] + '" />'; } else { /*is_embed*/ innhtml += '' + (is_embed_instagram_video ? '
' : ' '); if (is_embed_instagram_post) { var post_width = 0; var post_height = 0; if (cur_height < cur_width + 88) { post_height = cur_height; post_width = post_height - 88; } else { post_width = cur_width; post_height = post_width + 88; } innhtml += spider_display_embed(data_10[key]['filetype'], data_10[key]['image_url'], data_10[key]['filename'], {class:"bwg_embed_frame", 'data-width': data_10[key]['image_width'], 'data-height': data_10[key]['image_height'], frameborder: "0", allowfullscreen: "allowfullscreen", style: "width:" + post_width + "px; height:" + post_height + "px; vertical-align:middle; display:inline-block; position:relative;"}); } else { innhtml += spider_display_embed(data_10[key]['filetype'], data_10[key]['image_url'], data_10[key]['filename'], {class:"bwg_embed_frame", frameborder:"0", allowfullscreen:"allowfullscreen", style:"width:inherit; height:inherit; vertical-align:middle; display:table-cell;" }); } innhtml += "
"; } innhtml += '
'; jQuery(next_image_class).html(innhtml); if ('open_lightbox' == 'open_lightbox' || 0) { bwg_document_ready_10(); } bwg_none_10(current_image_class, next_image_class, direction); bwg_move_filmstrip_10(); if (data_10[key]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_10").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_10").css({display: ''}); } } } function bwg_preload_images_10(key) { count = 5; var count_all = data_10.length; if (count_all < 10) { count = 0; } if (count != 0) { for (var i = key - count; i -1 ? true : false; if (typeof data_10[index] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_10[index]["image_url"]).text()); } } } } else { for (var i = 0; i -1 ? true : false; if (typeof data_10[i] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_10[i]["image_url"]).text()); } } } } } function bwg_popup_resize_10() { var parent_width = jQuery(".bwg_slideshow_image_wrap_10").parent().width(); if (parent_width >= 800) { jQuery(".bwg_slideshow_image_wrap_10").css({width: 800}); jQuery(".bwg_slideshow_image_wrap_10").css({height: 700}); jQuery(".bwg_slideshow_image_container_10").css({width: 800}); jQuery(".bwg_slideshow_image_container_10").css({height: (610)}); jQuery(".bwg_slideshow_image_10").css({ cssText: "max-width: 800px !important; max-height: 610px !important;" }); jQuery(".bwg_slideshow_embed_10").css({ cssText: "width: 800px !important; height: 610px !important;" }); bwg_resize_instagram_post_10(); /* Set watermark container size.*/ bwg_change_watermark_container_10(); jQuery(".bwg_slideshow_filmstrip_container_10").css({width: 800}); jQuery(".bwg_slideshow_filmstrip_10").css({width: 760}); jQuery(".bwg_slideshow_dots_container_10").css({width: 800}); jQuery("#bwg_slideshow_play_pause-ico_10").css({fontSize: (60)}); jQuery(".bwg_slideshow_watermark_image_10").css({maxWidth: 90, maxHeight: 90}); jQuery(".bwg_slideshow_watermark_text_10, .bwg_slideshow_watermark_text_10:hover").css({fontSize: (12)}); jQuery(".bwg_slideshow_title_text_10").css({fontSize: (32)}); jQuery(".bwg_slideshow_description_text_10").css({fontSize: (28)}); } else { jQuery(".bwg_slideshow_image_wrap_10").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_wrap_10").css({height: ((parent_width) * 0.875)}); jQuery(".bwg_slideshow_image_container_10").css({width: (parent_width - 0)}); jQuery(".bwg_slideshow_image_container_10").css({height: ((parent_width) * 0.875 - 90)}); jQuery(".bwg_slideshow_image_10").css({ cssText: "max-width: " + (parent_width - 0) + "px !important; max-height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); jQuery(".bwg_slideshow_embed_10").css({ cssText: "width: " + (parent_width - 0) + "px !important; height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); bwg_resize_instagram_post_10(); /* Set watermark container size.*/ bwg_change_watermark_container_10(); jQuery(".bwg_slideshow_filmstrip_container_10").css({width: (parent_width)}); jQuery(".bwg_slideshow_filmstrip_10").css({width: (parent_width - 40)}); jQuery(".bwg_slideshow_dots_container_10").css({width: (parent_width)}); jQuery("#bwg_slideshow_play_pause-ico_10").css({fontSize: ((parent_width) * 0.075)}); jQuery(".bwg_slideshow_watermark_image_10").css({maxWidth: ((parent_width) * 0.1125), maxHeight: ((parent_width) * 0.1125)}); jQuery(".bwg_slideshow_watermark_text_10, .bwg_slideshow_watermark_text_10:hover").css({fontSize: ((parent_width) * 0.015)}); jQuery(".bwg_slideshow_title_text_10").css({fontSize: ((parent_width) * 0.04)}); jQuery(".bwg_slideshow_description_text_10").css({fontSize: ((parent_width) * 0.035)}); jQuery(".bwg_slideshow_image_10").css({'display':'inline-block'}); } if (data_10[parseInt(jQuery("#bwg_current_image_key_10").val())]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_10").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_10").css({display: ''}); } } jQuery(window).resize(function() { bwg_popup_resize_10(); }); jQuery(document).ready(function () { jQuery('#ajax_loading_10').hide(); if (typeof jQuery().swiperight !== 'undefined') { if (jQuery.isFunction(jQuery().swiperight)) { jQuery('#bwg_container1_10').swiperight(function () { bwg_change_image_10(parseInt(jQuery('#bwg_current_image_key_10').val()), (parseInt(jQuery('#bwg_current_image_key_10').val()) - bwg_iterator_10()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_10').val()) - bwg_iterator_10()) % data_10.length : data_10.length - 1, data_10); return false; }); } } if (typeof jQuery().swipeleft !== 'undefined') { if (jQuery.isFunction(jQuery().swipeleft)) { jQuery('#bwg_container1_10').swipeleft(function () { bwg_change_image_10(parseInt(jQuery('#bwg_current_image_key_10').val()), (parseInt(jQuery('#bwg_current_image_key_10').val()) + bwg_iterator_10()) % data_10.length, data_10); return false; }); } } var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); var bwg_click = isMobile ? 'touchend' : 'click'; bwg_popup_resize_10(); jQuery("#bwg_container1_10").css({visibility: 'visible'}); jQuery(".bwg_slideshow_watermark_10").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_10").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_10").css({display: 'none'}); setTimeout(function () { bwg_change_watermark_container_10(); }, 500); /* Set image container height.*/ jQuery(".bwg_slideshow_image_container_10").height(jQuery(".bwg_slideshow_image_wrap_10").height() - 90); var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */ jQuery('.bwg_slideshow_filmstrip_10').bind(mousewheelevt, function(e) { var evt = window.event || e; /* Equalize event object.*/ evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/ var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/ if (delta > 0) { /* Scroll up.*/ jQuery(".bwg_slideshow_filmstrip_left_10").trigger("click"); } else { /* Scroll down.*/ jQuery(".bwg_slideshow_filmstrip_right_10").trigger("click"); } return false; }); jQuery(".bwg_slideshow_filmstrip_right_10").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_10" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_10").position().left >= -(jQuery(".bwg_slideshow_filmstrip_thumbnails_10").width() - jQuery(".bwg_slideshow_filmstrip_10").width())) { jQuery(".bwg_slideshow_filmstrip_left_10").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_10").position().left < -(jQuery(".bwg_slideshow_filmstrip_thumbnails_10").width() - jQuery(".bwg_slideshow_filmstrip_10").width() - 122)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_10").animate({left: -(jQuery(".bwg_slideshow_filmstrip_thumbnails_10").width() - jQuery(".bwg_slideshow_filmstrip_10").width())}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_10").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_10").position().left - 122)}, 500, 'linear'); } } /* Disable right arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_10").position().left == -(jQuery(".bwg_slideshow_filmstrip_thumbnails_10").width() - jQuery(".bwg_slideshow_filmstrip_10").width())) { jQuery(".bwg_slideshow_filmstrip_right_10").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); jQuery(".bwg_slideshow_filmstrip_left_10").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_10" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_10").position().left - 122) { jQuery(".bwg_slideshow_filmstrip_thumbnails_10").animate({left: 0}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_10").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_10").position().left + 122)}, 500, 'linear'); } } /* Disable left arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_10").position().left == 0) { jQuery(".bwg_slideshow_filmstrip_left_10").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); /* Set filmstrip initial position.*/ bwg_set_filmstrip_pos_10(jQuery(".bwg_slideshow_filmstrip_10").width()); /* Play/pause.*/ jQuery("#bwg_slideshow_play_pause_10").on(bwg_click, function () { if (jQuery(".bwg_ctrl_btn_10").hasClass("fa-play")) { bwg_play_10(); jQuery(".bwg_slideshow_play_pause_10").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_10").attr("class", "bwg_ctrl_btn_10 bwg_slideshow_play_pause_10 fa fa-pause"); if (0) { document.getElementById("bwg_audio_10").play(); } } else { /* Pause.*/ window.clearInterval(bwg_playInterval_10); jQuery(".bwg_slideshow_play_pause_10").attr("title", "Play"); jQuery(".bwg_slideshow_play_pause_10").attr("class", "bwg_ctrl_btn_10 bwg_slideshow_play_pause_10 fa fa-play"); if (0) { document.getElementById("bwg_audio_10").pause(); } } }); if (0) { bwg_play_10(); jQuery(".bwg_slideshow_play_pause_10").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_10").attr("class", "bwg_ctrl_btn_10 bwg_slideshow_play_pause_10 fa fa-pause"); if (0) { document.getElementById("bwg_audio_10").play(); } } jQuery(".bwg_slideshow_image_10").removeAttr("width"); jQuery(".bwg_slideshow_image_10").removeAttr("height"); }); function bwg_resize_instagram_post_10() { if (jQuery('.inner_instagram_iframe_bwg_embed_frame_10').length) { var post_width = jQuery('.bwg_slideshow_embed_10').width(); var post_height = jQuery('.bwg_slideshow_embed_10').height(); jQuery('.inner_instagram_iframe_bwg_embed_frame_10').each(function() { var parent_container = jQuery(this).parent(); if (post_height / (parseInt(parent_container.attr('data-height')) + 96) < post_width / parseInt(parent_container.attr('data-width'))) { parent_container.height(post_height); parent_container.width((parent_container.height() - 96) * parent_container.attr('data-width') / parent_container.attr('data-height') + 16); } else { parent_container.width(post_width); parent_container.height((parent_container.width() - 16) * parent_container.attr('data-height') / parent_container.attr('data-width') + 96); } }); } bwg_change_watermark_container_10(); } function bwg_play_10() { window.clearInterval(bwg_playInterval_10); /* Play.*/ bwg_playInterval_10 = setInterval(function () { var iterator = 1; if (0) { iterator = Math.floor((data_10.length - 1) * Math.random() + 1); } bwg_change_image_10(parseInt(jQuery('#bwg_current_image_key_10').val()), (parseInt(jQuery('#bwg_current_image_key_10').val()) + iterator) % data_10.length, data_10) }, '5000'); } jQuery(window).focus(function() { if (!jQuery(".bwg_ctrl_btn_10").hasClass("fa-play")) { bwg_play_10(); } var i_10 = 0; jQuery(".bwg_slider_10").children("span").each(function () { if (jQuery(this).css('opacity') == 1) { jQuery("#bwg_current_image_key_10").val(i_10); } i_10++; }); }); jQuery(window).blur(function() { event_stack_10 = []; window.clearInterval(bwg_playInterval_10); }); function bwg_gallery_box_10(image_id, openEcommerce) { if (typeof openEcommerce == undefined) { openEcommerce = false; } var ecommerce = openEcommerce == true ? "&open_ecommerce=1" : ""; var filterTags = jQuery("#bwg_tags_id_bwg_standart_thumbnails_10").val() ? jQuery("#bwg_tags_id_bwg_standart_thumbnails_10").val() : 0; var filtersearchname = jQuery("#bwg_search_input_10").val() ? "&filter_search_name_10=" + jQuery("#bwg_search_input_10").val() : ''; spider_createpopup('https://thecarseatlady.com/wp-admin/admin-ajax.php?action=GalleryBox&current_view=10&gallery_id=25&theme_id=2&open_with_fullscreen=1&open_with_autoplay=0&image_width=800&image_height=500&image_effect=none&wd_sor=order&wd_ord=asc&enable_image_filmstrip=1&image_filmstrip_height=70&enable_image_ctrl_btn=1&enable_image_fullscreen=1&popup_enable_info=1&popup_info_always_show=0&popup_info_full_width=0&popup_hit_counter=0&popup_enable_rate=0&slideshow_interval=5&enable_comment_social=0&enable_image_facebook=0&enable_image_twitter=0&enable_image_google=0&enable_image_ecommerce=undefined&enable_image_pinterest=0&enable_image_tumblr=0&watermark_type=none&slideshow_effect_duration=1&tags=0&current_url=https%3A%2F%2Fthecarseatlady.com%2Fbuying-a-safer-car%2F&thumb_width=120&thumb_height=90&image_id=' + image_id + "&filter_tag_10=" + filterTags + ecommerce + filtersearchname, '10', '800', '500', 1, 'testpopup', 5, "bottom"); } var bwg_hash = window.location.hash.substring(1); if (bwg_hash) { if (bwg_hash.indexOf("bwg") != "-1") { bwg_hash_array = bwg_hash.replace("bwg", "").split("/"); if(bwg_hash_array[0] == "25"){ bwg_gallery_box_10(bwg_hash_array[1]); } } } function bwg_document_ready_10() { var bwg_touch_flag = false; jQuery(".bwg_lightbox_10").on("click", function () { if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); bwg_gallery_box_10(jQuery(this).attr("data-image-id")); return false; } }); jQuery(".bwg_lightbox_10 .bwg_ecommerce").on("click", function (event) { event.stopPropagation(); if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); var image_id = jQuery(this).closest(".bwg_lightbox_10").attr("data-image-id"); bwg_gallery_box_10(image_id, true); return false; } }); } jQuery(document).ready(function () { bwg_document_ready_10(); });

Parking Sensors

Parking sensors alert you to the position of objects around your car as you park - using cameras, sensors, and/or tones. Some even include lines that appear in your back-up camera. These sensors can help you avoid objects that are both in front of and behind your vehicle.

Watch & Learn more about Parking Sensors

Parking Sensors - at MyCarDoesWhat.org

Rear Cross-Traffic Alert

Key Take Away Point: Rear Cross-Traffic Alert systems are effective at reducing crashes that occur while backing up.

Rear Cross-Traffic Alert systems can detect cars that might be crossing as you back up - but may not detect pedestrians or cars behind you when parking spaces are angled. These alerts have been shown to reduce backing crashes by 22%. Rear Cross-Traffic Alert is an enhanced feature found with some back-up camera systems.

Watch & Learn more about Rear Cross-Traffic Alert

#bwg_container1_11 { visibility: hidden; } #bwg_container1_11 * { -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_image_wrap_11 * { box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; /*backface-visibility: hidden; -webkit-backface-visibility: hidden; -moz-backface-visibility: hidden; -ms-backface-visibility: hidden;*/ } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_image_wrap_11 { background-color: #000000; border-collapse: collapse; display: table; position: relative; text-align: center; width: 800px; height: 700px; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_image_11 { padding: 0 !important; margin: 0 !important; float: none !important; max-width: 800px; max-height: 610px; vertical-align: middle; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_embed_11 { padding: 0 !important; margin: 0 !important; float: none !important; width: 800px; height: 610px; vertical-align: middle; display: inline-block; text-align: center; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_watermark_11 { position: relative; z-index: 15; } #bwg_container1_11 #bwg_container2_11 #bwg_slideshow_play_pause_11 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 0; cursor: pointer; display: table; height: inherit; outline: medium none; position: absolute; width: 30%; left: 35%; z-index: 13; } #bwg_container1_11 #bwg_container2_11 #bwg_slideshow_play_pause_11:hover #bwg_slideshow_play_pause-ico_11 { display: inline-block !important; } #bwg_container1_11 #bwg_container2_11 #bwg_slideshow_play_pause_11:hover span { position: relative; z-index: 13; } #bwg_container1_11 #bwg_container2_11 #bwg_slideshow_play_pause_11 span { display: table-cell; text-align: center; vertical-align: middle; } #bwg_container1_11 #bwg_container2_11 #bwg_slideshow_play_pause-ico_11 { display: none !important; color: #FFFFFF; font-size: 60px; cursor: pointer; position: relative; z-index: 13; } #bwg_container1_11 #bwg_container2_11 #bwg_slideshow_play_pause-ico_11:hover { color: #DBDBDB; display: inline-block; position: relative; z-index: 13; } #bwg_container1_11 #bwg_container2_11 #spider_slideshow_left_11, #bwg_container1_11 #bwg_container2_11 #spider_slideshow_right_11 { background: transparent url("https://thecarseatlady.com/wp-content/plugins/photo-gallery/images/blank.gif") repeat scroll 0 0; bottom: 35%; cursor: pointer; display: inline; height: 30%; outline: medium none; position: absolute; width: 35%; /*z-index: 10130;*/ z-index: 13; } #bwg_container1_11 #bwg_container2_11 #spider_slideshow_left_11 { left: 0; } #bwg_container1_11 #bwg_container2_11 #spider_slideshow_right_11 { right: 0; } #bwg_container1_11 #bwg_container2_11 #spider_slideshow_left_11:hover, #bwg_container1_11 #bwg_container2_11 #spider_slideshow_right_11:hover { visibility: visible; } #bwg_container1_11 #bwg_container2_11 #spider_slideshow_left_11:hover span { left: 20px; } #bwg_container1_11 #bwg_container2_11 #spider_slideshow_right_11:hover span { left: auto; right: 20px; } #bwg_container1_11 #bwg_container2_11 #spider_slideshow_left-ico_11 span, #bwg_container1_11 #bwg_container2_11 #spider_slideshow_right-ico_11 span { display: table-cell; text-align: center; vertical-align: middle; z-index: 13; } #bwg_container1_11 #bwg_container2_11 #spider_slideshow_left-ico_11, #bwg_container1_11 #bwg_container2_11 #spider_slideshow_right-ico_11 { background-color: #000000; border-radius: 20px; border: 0px none #FFFFFF; box-shadow: ; color: #FFFFFF; height: 40px; font-size: 20px; width: 40px; z-index: 13; -moz-box-sizing: content-box; box-sizing: content-box; cursor: pointer; display: table; line-height: 0; margin-top: -15px; position: absolute; top: 50%; /*z-index: 10135;*/ opacity: 1.00; filter: Alpha(opacity=100); } #bwg_container1_11 #bwg_container2_11 #spider_slideshow_left-ico_11:hover, #bwg_container1_11 #bwg_container2_11 #spider_slideshow_right-ico_11:hover { color: #DBDBDB; cursor: pointer; } #spider_slideshow_left-ico_11{ left: 20px; } #spider_slideshow_right-ico_11{ left: auto; right: 20px; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_image_container_11 { display: table; position: absolute; text-align: center; bottom: 90px; vertical-align: middle; width: 800px; height: 700px; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_filmstrip_container_11 { display: table; height: 90px; position: absolute; width: 800px; /*z-index: 10105;*/ bottom: 0; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_filmstrip_11 { left: 20px; overflow: hidden; position: absolute; width: 760px; /*z-index: 10106;*/ } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_filmstrip_thumbnails_11 { height: 90px; left: 0px; margin: 0 auto; overflow: hidden; position: relative; width: 610px; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_filmstrip_thumbnail_11 { position: relative; background: none; border: 1px none #000000; border-radius: 0; cursor: pointer; float: left; height: 90px; margin: 0 1px; width: 120px; overflow: hidden; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_thumb_active_11 { opacity: 1; filter: Alpha(opacity=100); border: 0px solid #FFFFFF; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_thumb_deactive_11 { opacity: 0.80; filter: Alpha(opacity=80); } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_filmstrip_thumbnail_img_11 { display: block; opacity: 1; filter: Alpha(opacity=100); padding: 0 !important; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_filmstrip_left_11 { background-color: #303030; cursor: pointer; display: table-cell; vertical-align: middle; width: 20px; /*z-index: 10106;*/ left: 0; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_filmstrip_right_11 { background-color: #303030; cursor: pointer; right: 0; width: 20px; display: table-cell; vertical-align: middle; /*z-index: 10106;*/ } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_filmstrip_left_11 i, #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_filmstrip_right_11 i { color: #FFFFFF; font-size: 20px; } #bwg_container1_11 #bwg_container2_11 .bwg_none_selectable_11 { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_watermark_container_11 { display: table-cell; margin: 0 auto; position: relative; vertical-align: middle; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_watermark_spun_11 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_title_spun_11 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: top; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_description_spun_11 { display: table-cell; overflow: hidden; position: relative; text-align: right; vertical-align: bottom; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_watermark_image_11 { padding: 0 !important; float: none !important; margin: 4px !important; max-height: 90px; max-width: 90px; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_watermark_text_11, #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_watermark_text_11:hover { text-decoration: none; margin: 4px; font-size: 12px; font-family: Arial; color: #FFFFFF !important; opacity: 0.30; filter: Alpha(opacity=30); position: relative; z-index: 15; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_title_text_11 { text-decoration: none; font-size: 16px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 11; border-radius: 5px; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_description_text_11 { text-decoration: none; font-size: 14px; font-family: segoe ui; color: #FFFFFF !important; opacity: 0.70; filter: Alpha(opacity=70); position: relative; z-index: 15; border-radius: 0; background-color: #000000; padding: 5px 10px 5px 10px; margin: 5px; display: inline-block; word-wrap: break-word; word-break: break-word; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_description_text_11 * { text-decoration: none; color: #FFFFFF !important; } #bwg_container1_11 #bwg_container2_11 .bwg_slide_container_11 { display: table-cell; margin: 0 auto; position: absolute; vertical-align: middle; width: 100%; height: 100%; } #bwg_container1_11 #bwg_container2_11 .bwg_slide_bg_11 { margin: 0 auto; width: inherit; height: inherit; } #bwg_container1_11 #bwg_container2_11 .bwg_slider_11 { height: inherit; width: inherit; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_image_spun_11 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=100); opacity: 1; position: absolute; vertical-align: middle; z-index: 2; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_image_second_spun_11 { width: inherit; height: inherit; display: table-cell; filter: Alpha(opacity=0); opacity: 0; position: absolute; vertical-align: middle; z-index: 1; } #bwg_container1_11 #bwg_container2_11 .bwg_grid_11 { display: none; height: 100%; overflow: hidden; position: absolute; width: 100%; } #bwg_container1_11 #bwg_container2_11 .bwg_gridlet_11 { opacity: 1; filter: Alpha(opacity=100); position: absolute; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_dots_11 { display: inline-block; position: relative; width: 10px; height: 10px; border-radius: 10px; background: #292929; margin: 1px; cursor: pointer; overflow: hidden; z-index: 17; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_dots_container_11 { display: block; overflow: hidden; position: absolute; width: 800px; bottom: 0; z-index: 17; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_dots_thumbnails_11 { left: 0px; font-size: 0; margin: 0 auto; overflow: hidden; position: relative; height: 12px; width: 60px; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_dots_active_11 { background: #292929; opacity: 1; filter: Alpha(opacity=100); border: 2px solid #FFC933; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_dots_deactive_11 { } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_image_spun1_11 { display: table; width: inherit; height: inherit; } #bwg_container1_11 #bwg_container2_11 .bwg_slideshow_image_spun2_11 { display: table-cell; vertical-align: middle; text-align: center; } #bwg_container1_11 #bwg_container2_11 #spider_popup_overlay_11 { background-color: #000000; opacity: 0.70; filter: Alpha(opacity=70); } var data_11 = []; var event_stack_11 = []; data_11["0"] = []; data_11["0"]["id"] = "474"; data_11["0"]["alt"] = "Rear Cross Traffic Alert - Quick Guide Animation"; data_11["0"]["description"] = "Rear Cross Traffic Alert - Quick Guide Animation<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_11["0"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_11["0"]["filename"] = "voaiDeuMXD0"; data_11["0"]["image_url"] = "https://www.youtube.com/watch?v=voaiDeuMXD0"; data_11["0"]["thumb_url"] = "https://i.ytimg.com/vi/voaiDeuMXD0/hqdefault.jpg"; data_11["0"]["redirect_url"] = ""; data_11["0"]["date"] = "15 March 2018, 00:42"; data_11["0"]["is_embed"] = "1"; data_11["0"]["is_embed_video"] = "1"; data_11["1"] = []; data_11["1"]["id"] = "471"; data_11["1"]["alt"] = "Back-up Camera, Back-up Warning & more with Rick & Scout"; data_11["1"]["description"] = "Back-up Camera, Back-up Warning & more with Rick & Scout<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_11["1"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_11["1"]["filename"] = "Z2DEanjr7ZE"; data_11["1"]["image_url"] = "https://www.youtube.com/watch?v=Z2DEanjr7ZE"; data_11["1"]["thumb_url"] = "https://i.ytimg.com/vi/Z2DEanjr7ZE/hqdefault.jpg"; data_11["1"]["redirect_url"] = ""; data_11["1"]["date"] = "15 March 2018, 00:41"; data_11["1"]["is_embed"] = "1"; data_11["1"]["is_embed_video"] = "1"; data_11["2"] = []; data_11["2"]["id"] = "473"; data_11["2"]["alt"] = "Back-up Camera – Quick Guide"; data_11["2"]["description"] = "Back-up Camera – Quick Guide<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_11["2"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_11["2"]["filename"] = "DO76iCibbjo"; data_11["2"]["image_url"] = "https://www.youtube.com/watch?v=DO76iCibbjo"; data_11["2"]["thumb_url"] = "https://i.ytimg.com/vi/DO76iCibbjo/hqdefault.jpg"; data_11["2"]["redirect_url"] = ""; data_11["2"]["date"] = "15 March 2018, 00:41"; data_11["2"]["is_embed"] = "1"; data_11["2"]["is_embed_video"] = "1"; data_11["3"] = []; data_11["3"]["id"] = "472"; data_11["3"]["alt"] = "Back-up Warning - Quick Guide Animation"; data_11["3"]["description"] = "Back-up Warning - Quick Guide Animation<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_11["3"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_11["3"]["filename"] = "qwvuxkKogaI"; data_11["3"]["image_url"] = "https://www.youtube.com/watch?v=qwvuxkKogaI"; data_11["3"]["thumb_url"] = "https://i.ytimg.com/vi/qwvuxkKogaI/hqdefault.jpg"; data_11["3"]["redirect_url"] = ""; data_11["3"]["date"] = "15 March 2018, 00:41"; data_11["3"]["is_embed"] = "1"; data_11["3"]["is_embed_video"] = "1"; data_11["4"] = []; data_11["4"]["id"] = "475"; data_11["4"]["alt"] = "An Extra Set of Eyes! Backup Cameras may help save lives."; data_11["4"]["description"] = "An Extra Set of Eyes! Backup Cameras may help save lives.<br />Aperture: undefined<br />Camera: undefined<br />Caption: undefined<br />Iso: undefined<br />Copyright: undefined<br />Orientation: undefined<br />"; data_11["4"]["filetype"] = "EMBED_OEMBED_YOUTUBE_VIDEO"; data_11["4"]["filename"] = "7c4hzHTawYA"; data_11["4"]["image_url"] = "https://www.youtube.com/watch?v=7c4hzHTawYA"; data_11["4"]["thumb_url"] = "https://i.ytimg.com/vi/7c4hzHTawYA/hqdefault.jpg"; data_11["4"]["redirect_url"] = ""; data_11["4"]["date"] = "15 March 2018, 00:43"; data_11["4"]["is_embed"] = "1"; data_11["4"]["is_embed_video"] = "1";

Rear Cross Traffic Alert - Quick Guide Animation
Back-up Camera, Back-up Warning & more with Rick & Scout
Back-up Camera – Quick Guide
Back-up Warning - Quick Guide Animation
An Extra Set of Eyes!  Backup Cameras may help save lives.
var bwg_trans_in_progress_11 = false; var bwg_transition_duration_11 = 1000; var bwg_playInterval_11; /* Stop autoplay.*/ window.clearInterval(bwg_playInterval_11); /* Set watermark container size.*/ function bwg_change_watermark_container_11() { jQuery(".bwg_slider_11").children().each(function() { if (jQuery(this).css("zIndex") == 2) { /* For images.*/ var bwg_current_image_span = jQuery(this).find("img"); if (bwg_current_image_span.length) { if (bwg_current_image_span.prop('complete')) { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_11(width, height); } else { bwg_current_image_span.on("load", function () { var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_11(width, height); }); } } else { /* For embeds and videos.*/ bwg_current_image_span = jQuery(this).find("iframe"); if (!bwg_current_image_span.length) { bwg_current_image_span = jQuery(this).find("video"); } var width = bwg_current_image_span.width(); var height = bwg_current_image_span.height(); bwg_change_each_watermark_container_11(width, height); } } }); } /* Set each watermark container size.*/ function bwg_change_each_watermark_container_11(width, height) { jQuery(".bwg_slideshow_watermark_spun_11").width(width); jQuery(".bwg_slideshow_watermark_spun_11").height(height); jQuery(".bwg_slideshow_title_spun_11").width(width); jQuery(".bwg_slideshow_title_spun_11").height(height); jQuery(".bwg_slideshow_description_spun_11").width(width); jQuery(".bwg_slideshow_description_spun_11").height(height); jQuery(".bwg_slideshow_watermark_11").css({display: ''}); if (jQuery.trim(jQuery(".bwg_slideshow_title_text_11").text())) { jQuery(".bwg_slideshow_title_text_11").css({display: ''}); } if (jQuery.trim(jQuery(".bwg_slideshow_description_text_11").text())) { jQuery(".bwg_slideshow_description_text_11").css({display: ''}); } } var bwg_current_key_11 = '0'; var bwg_current_filmstrip_pos_11 = 0; /* Set filmstrip initial position.*/ function bwg_set_filmstrip_pos_11(filmStripWidth) { var selectedImagePos = -bwg_current_filmstrip_pos_11 - (jQuery(".bwg_slideshow_filmstrip_thumbnail_11").width() + 2) / 2; var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(".bwg_slideshow_filmstrip_thumbnails_11").width(), selectedImagePos + filmStripWidth / 2)); jQuery(".bwg_slideshow_filmstrip_thumbnails_11").animate({ left: imagesContainerLeft }, { duration: 500, complete: function () { bwg_filmstrip_arrows_11(); } }); } function bwg_move_filmstrip_11() { var image_left = jQuery(".bwg_slideshow_thumb_active_11").position().left; var image_right = jQuery(".bwg_slideshow_thumb_active_11").position().left + jQuery(".bwg_slideshow_thumb_active_11").outerWidth(true); var bwg_filmstrip_width = jQuery(".bwg_slideshow_filmstrip_11").outerWidth(true); var bwg_filmstrip_thumbnails_width = jQuery(".bwg_slideshow_filmstrip_thumbnails_11").outerWidth(true); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_filmstrip_thumbnails_11").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_filmstrip_thumbnails_11").position().left) + bwg_filmstrip_width; if (bwg_filmstrip_width > bwg_filmstrip_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_filmstrip_thumbnails_11").animate({ left: -(image_right - bwg_filmstrip_width) }, { duration: 500, complete: function () { bwg_filmstrip_arrows_11(); } }); } } function bwg_move_dots_11() { var image_left = jQuery(".bwg_slideshow_dots_active_11").position().left; var image_right = jQuery(".bwg_slideshow_dots_active_11").position().left + jQuery(".bwg_slideshow_dots_active_11").outerWidth(true); var bwg_dots_width = jQuery(".bwg_slideshow_dots_container_11").outerWidth(true); var bwg_dots_thumbnails_width = jQuery(".bwg_slideshow_dots_thumbnails_11").outerWidth(false); var long_filmstrip_cont_left = jQuery(".bwg_slideshow_dots_thumbnails_11").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(".bwg_slideshow_dots_thumbnails_11").position().left) + bwg_dots_width; if (bwg_dots_width > bwg_dots_thumbnails_width) { return; } if (image_left long_filmstrip_cont_right) { jQuery(".bwg_slideshow_dots_thumbnails_11").animate({ left: -(image_right - bwg_dots_width) }, { duration: 500, complete: function () { } }); } } /* Show/hide filmstrip arrows.*/ function bwg_filmstrip_arrows_11() { if (jQuery(".bwg_slideshow_filmstrip_thumbnails_11").width() 0) { key = event_stack_11[0].split("-"); event_stack_11.shift(); bwg_change_image_11(key[0], key[1], data_11, true); } } } } function bwg_cubeH_11(current_image_class, next_image_class, direction) { /* Set to half of image width.*/ var dimension = jQuery(current_image_class).width() / 2; if (direction == 'right') { bwg_cube_11(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_11(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction); } } function bwg_cubeV_11(current_image_class, next_image_class, direction) { /* Set to half of image height.*/ var dimension = jQuery(current_image_class).height() / 2; /* If next slide.*/ if (direction == 'right') { bwg_cube_11(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction); } else if (direction == 'left') { bwg_cube_11(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction); } } /* For browsers that does not support transitions.*/ function bwg_fallback_11(current_image_class, next_image_class, direction) { bwg_fade_11(current_image_class, next_image_class, direction); } /* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*/ function bwg_fallback3d_11(current_image_class, next_image_class, direction) { bwg_sliceV_11(current_image_class, next_image_class, direction); } function bwg_none_11(current_image_class, next_image_class, direction) { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_11(); /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_11").removeClass("bwg_slideshow_thumb_active_11").addClass("bwg_slideshow_thumb_deactive_11"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_11 + "_11").removeClass("bwg_slideshow_thumb_deactive_11").addClass("bwg_slideshow_thumb_active_11"); jQuery(".bwg_slideshow_dots_11").removeClass("bwg_slideshow_dots_active_11").addClass("bwg_slideshow_dots_deactive_11"); jQuery("#bwg_dots_" + bwg_current_key_11 + "_11").removeClass("bwg_slideshow_dots_deactive_11").addClass("bwg_slideshow_dots_active_11"); } function bwg_fade_11(current_image_class, next_image_class, direction) { /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_11").removeClass("bwg_slideshow_thumb_active_11").addClass("bwg_slideshow_thumb_deactive_11"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_11 + "_11").removeClass("bwg_slideshow_thumb_deactive_11").addClass("bwg_slideshow_thumb_active_11"); jQuery(".bwg_slideshow_dots_11").removeClass("bwg_slideshow_dots_active_11").addClass("bwg_slideshow_dots_deactive_11"); jQuery("#bwg_dots_" + bwg_current_key_11 + "_11").removeClass("bwg_slideshow_dots_deactive_11").addClass("bwg_slideshow_dots_active_11"); if (bwg_testBrowser_cssTransitions_11()) { jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_11 + 'ms linear'); jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); bwg_change_watermark_container_11(); } else { jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, bwg_transition_duration_11); jQuery(next_image_class).animate({ 'opacity' : 1, 'z-index': 2 }, { duration: bwg_transition_duration_11, complete: function () { bwg_change_watermark_container_11(); } }); /* For IE.*/ jQuery(current_image_class).fadeTo(bwg_transition_duration_11, 0); jQuery(next_image_class).fadeTo(bwg_transition_duration_11, 1); } } function bwg_grid_11(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) { /* If browser does not support CSS transitions.*/ if (!bwg_testBrowser_cssTransitions_11()) { return bwg_fallback_11(current_image_class, next_image_class, direction); } bwg_trans_in_progress_11 = true; /* Set active thumbnail.*/ jQuery(".bwg_slideshow_filmstrip_thumbnail_11").removeClass("bwg_slideshow_thumb_active_11").addClass("bwg_slideshow_thumb_deactive_11"); jQuery("#bwg_filmstrip_thumbnail_" + bwg_current_key_11 + "_11").removeClass("bwg_slideshow_thumb_deactive_11").addClass("bwg_slideshow_thumb_active_11"); jQuery(".bwg_slideshow_dots_11").removeClass("bwg_slideshow_dots_active_11").addClass("bwg_slideshow_dots_deactive_11"); jQuery("#bwg_dots_" + bwg_current_key_11 + "_11").removeClass("bwg_slideshow_dots_deactive_11").addClass("bwg_slideshow_dots_active_11"); /* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/ var count = (bwg_transition_duration_11) / (cols + rows); /* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*/ function bwg_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) { var delay = (c + r) * count; /* Return a gridlet elem with styles for specific transition.*/ return jQuery('').css({ display : "block", width : width, height : height, top : top, left : left, backgroundImage : 'url("' + src + '")', backgroundColor: jQuery(".bwg_slideshow_image_wrap_11").css("background-color"), /*backgroundColor: rgba(0, 0, 0, 0),*/ backgroundRepeat: 'no-repeat', backgroundPosition : img_left + 'px ' + img_top + 'px', backgroundSize : imgWidth + 'px ' + imgHeight + 'px', transition : 'all ' + bwg_transition_duration_11 + 'ms ease-in-out ' + delay + 'ms', transform : 'none' }); } /* Get the current slide's image.*/ var cur_img = jQuery(current_image_class).find('img'); /* Create a grid to hold the gridlets.*/ var grid = jQuery('').addClass('bwg_grid_11'); /* Prepend the grid to the next slide (i.e. so it's above the slide image).*/ jQuery(current_image_class).prepend(grid); /* vars to calculate positioning/size of gridlets*/ var cont = jQuery(".bwg_slide_bg_11"); var imgWidth = cur_img.width(); var imgHeight = cur_img.height(); var contWidth = cont.width(), contHeight = cont.height(), imgSrc = cur_img.attr('src'),/*.replace('/thumb', ''),*/ colWidth = Math.floor(contWidth / cols), rowHeight = Math.floor(contHeight / rows), colRemainder = contWidth - (cols * colWidth), colAdd = Math.ceil(colRemainder / cols), rowRemainder = contHeight - (rows * rowHeight), rowAdd = Math.ceil(rowRemainder / rows), leftDist = 0, img_leftDist = (jQuery(".bwg_slide_bg_11").width() - cur_img.width()) / 2; /* tx/ty args can be passed as 'auto'/'min-auto' (meaning use slide width/height or negative slide width/height).*/ tx = tx === 'auto' ? contWidth : tx; tx = tx === 'min-auto' ? - contWidth : tx; ty = ty === 'auto' ? contHeight : ty; ty = ty === 'min-auto' ? - contHeight : ty; /* Loop through cols*/ for (var i = 0; i 0) { var add = colRemainder >= colAdd ? colAdd : colRemainder; newColWidth += add; colRemainder -= add; } /* Nested loop to create row gridlets for each col.*/ for (var j = 0; j 0) { add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder; newRowHeight += add; newRowRemainder -= add; } /* Create & append gridlet to grid.*/ grid.append(bwg_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j)); topDist += newRowHeight; img_topDst -= newRowHeight; } img_leftDist -= newColWidth; leftDist += newColWidth; } /* Set event listener on last gridlet to finish transitioning.*/ var last_gridlet = grid.children().last(); /* Show grid & hide the image it replaces.*/ grid.show(); cur_img.css('opacity', 0); /* Add identifying classes to corner gridlets (useful if applying border radius).*/ grid.children().first().addClass('rs-top-left'); grid.children().last().addClass('rs-bottom-right'); grid.children().eq(rows - 1).addClass('rs-bottom-left'); grid.children().eq(- rows).addClass('rs-top-right'); /* Execution steps.*/ setTimeout(function () { grid.children().css({ opacity: op, transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')' }); }, 1); jQuery(next_image_class).css('opacity', 1); /* After transition.*/ jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1}); jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2}); cur_img.css('opacity', 1); bwg_change_watermark_container_11(); grid.remove(); bwg_trans_in_progress_11 = false; if (typeof event_stack_11 !== 'undefined') { if (event_stack_11.length > 0) { key = event_stack_11[0].split("-"); event_stack_11.shift(); bwg_change_image_11(key[0], key[1], data_11, true); } } } } function bwg_sliceH_11(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_11(1, 8, 0, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_sliceV_11(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'min-auto'; } else if (direction == 'left') { var translateY = 'auto'; } bwg_grid_11(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction); } function bwg_slideV_11(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateY = 'auto'; } else if (direction == 'left') { var translateY = 'min-auto'; } bwg_grid_11(1, 1, 0, 0, translateY, 1, 1, current_image_class, next_image_class, direction); } function bwg_slideH_11(current_image_class, next_image_class, direction) { if (direction == 'right') { var translateX = 'min-auto'; } else if (direction == 'left') { var translateX = 'auto'; } bwg_grid_11(1, 1, 0, translateX, 0, 1, 1, current_image_class, next_image_class, direction); } function bwg_scaleOut_11(current_image_class, next_image_class, direction) { bwg_grid_11(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction); } function bwg_scaleIn_11(current_image_class, next_image_class, direction) { bwg_grid_11(1, 1, 0, 0, 0, 0.5, 0, current_image_class, next_image_class, direction); } function bwg_blockScale_11(current_image_class, next_image_class, direction) { bwg_grid_11(8, 6, 0, 0, 0, .6, 0, current_image_class, next_image_class, direction); } function bwg_kaleidoscope_11(current_image_class, next_image_class, direction) { bwg_grid_11(10, 8, 0, 0, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_fan_11(current_image_class, next_image_class, direction) { if (direction == 'right') { var rotate = 45; var translateX = 100; } else if (direction == 'left') { var rotate = -45; var translateX = -100; } bwg_grid_11(1, 10, rotate, translateX, 0, 1, 0, current_image_class, next_image_class, direction); } function bwg_blindV_11(current_image_class, next_image_class, direction) { bwg_grid_11(1, 8, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_blindH_11(current_image_class, next_image_class, direction) { bwg_grid_11(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class); } function bwg_random_11(current_image_class, next_image_class, direction) { var anims = ['sliceH', 'sliceV', 'slideH', 'slideV', 'scaleOut', 'scaleIn', 'blockScale', 'kaleidoscope', 'fan', 'blindH', 'blindV']; /* Pick a random transition from the anims array.*/ this["bwg_" + anims[Math.floor(Math.random() * anims.length)] + "_11"](current_image_class, next_image_class, direction); } function bwg_iterator_11() { var iterator = 1; if (0) { iterator = Math.floor((data_11.length - 1) * Math.random() + 1); } return iterator; } function bwg_change_image_11(current_key, key, data_11, from_effect) { /* Pause videos.*/ jQuery("#bwg_slideshow_image_container_11").find("iframe").each(function () { jQuery(this)[0].contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); jQuery(this)[0].contentWindow.postMessage('{ "method": "pause" }', "*"); jQuery(this)[0].contentWindow.postMessage('pause', '*'); }); /* Pause videos facebook video.*/ jQuery('#image_id_11_' + data_11[current_key]["id"]).find('.bwg_fb_video').each(function () { jQuery(this).attr('src', jQuery(this).attr('src')); }); if (data_11[key]) { if (jQuery('.bwg_ctrl_btn_11').hasClass('fa-pause')) { bwg_play_11(); } if (!from_effect) { /* Change image key.*/ jQuery("#bwg_current_image_key_11").val(key); if (current_key == '-1') { /* Filmstrip.*/ current_key = jQuery(".bwg_slideshow_thumb_active_11").children("img").attr("image_key"); } else if (current_key == '-2') { /* Dots.*/ current_key = jQuery(".bwg_slideshow_dots_active_11").attr("image_key"); } } if (bwg_trans_in_progress_11) { event_stack_11.push(current_key + '-' + key); return; } var direction = 'right'; if (bwg_current_key_11 > key) { var direction = 'left'; } else if (bwg_current_key_11 == key) { return; } jQuery(".bwg_slideshow_watermark_11").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_11").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_11").css({display: 'none'}); /* Set active thumbnail position.*/ bwg_current_filmstrip_pos_11 = key * (jQuery(".bwg_slideshow_filmstrip_thumbnail_11").width() + 2 + 2 * 1); bwg_current_key_11 = key; /* Change image id, title, description.*/ jQuery("#bwg_slideshow_image_11").attr('image_id', data_11[key]["id"]); jQuery(".bwg_slideshow_title_text_11").html(jQuery('').html(data_11[key]["alt"]).text()); jQuery(".bwg_slideshow_description_text_11").html(jQuery('').html(data_11[key]["description"]).text()); var current_image_class = jQuery(".bwg_slideshow_image_spun_11").css("zIndex") == 2 ? ".bwg_slideshow_image_spun_11" : ".bwg_slideshow_image_second_spun_11"; var next_image_class = current_image_class == ".bwg_slideshow_image_second_spun_11" ? ".bwg_slideshow_image_spun_11" : ".bwg_slideshow_image_second_spun_11"; var is_embed = data_11[key]['filetype'].indexOf("EMBED_") > -1 ? true : false; var is_embed_instagram_post = data_11[key]['filetype'].indexOf('INSTAGRAM_POST') > -1 ? true :false; var is_embed_instagram_video = data_11[key]['filetype'].indexOf('INSTAGRAM_VIDEO') > -1 ? true :false; var cur_height = jQuery(current_image_class).height(); var cur_width = jQuery(current_image_class).width(); var innhtml = ''; if (!is_embed) { innhtml += ''; innhtml += '<img style="max-height: ' + cur_height + 'px !important; max-width: ' + cur_width + 'px !important;display:inline-block;" class="bwg_slideshow_image_11" id="bwg_slideshow_image_11" src="https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_11[key]["image_url"]).text() + '" alt="' + data_11[key]["alt"] + '" image_id="' + data_11[key]["id"] + '" />'; } else { /*is_embed*/ innhtml += '' + (is_embed_instagram_video ? '
' : ' '); if (is_embed_instagram_post) { var post_width = 0; var post_height = 0; if (cur_height < cur_width + 88) { post_height = cur_height; post_width = post_height - 88; } else { post_width = cur_width; post_height = post_width + 88; } innhtml += spider_display_embed(data_11[key]['filetype'], data_11[key]['image_url'], data_11[key]['filename'], {class:"bwg_embed_frame", 'data-width': data_11[key]['image_width'], 'data-height': data_11[key]['image_height'], frameborder: "0", allowfullscreen: "allowfullscreen", style: "width:" + post_width + "px; height:" + post_height + "px; vertical-align:middle; display:inline-block; position:relative;"}); } else { innhtml += spider_display_embed(data_11[key]['filetype'], data_11[key]['image_url'], data_11[key]['filename'], {class:"bwg_embed_frame", frameborder:"0", allowfullscreen:"allowfullscreen", style:"width:inherit; height:inherit; vertical-align:middle; display:table-cell;" }); } innhtml += "
"; } innhtml += '
'; jQuery(next_image_class).html(innhtml); if ('open_lightbox' == 'open_lightbox' || 0) { bwg_document_ready_11(); } bwg_none_11(current_image_class, next_image_class, direction); bwg_move_filmstrip_11(); if (data_11[key]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_11").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_11").css({display: ''}); } } } function bwg_preload_images_11(key) { count = 5; var count_all = data_11.length; if (count_all < 10) { count = 0; } if (count != 0) { for (var i = key - count; i -1 ? true : false; if (typeof data_11[index] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_11[index]["image_url"]).text()); } } } } else { for (var i = 0; i -1 ? true : false; if (typeof data_11[i] != "undefined") { if (!is_embed) { jQuery("").attr("src", 'https://thecarseatlady.com/wp-content/uploads/photo-gallery' + jQuery('').html(data_11[i]["image_url"]).text()); } } } } } function bwg_popup_resize_11() { var parent_width = jQuery(".bwg_slideshow_image_wrap_11").parent().width(); if (parent_width >= 800) { jQuery(".bwg_slideshow_image_wrap_11").css({width: 800}); jQuery(".bwg_slideshow_image_wrap_11").css({height: 700}); jQuery(".bwg_slideshow_image_container_11").css({width: 800}); jQuery(".bwg_slideshow_image_container_11").css({height: (610)}); jQuery(".bwg_slideshow_image_11").css({ cssText: "max-width: 800px !important; max-height: 610px !important;" }); jQuery(".bwg_slideshow_embed_11").css({ cssText: "width: 800px !important; height: 610px !important;" }); bwg_resize_instagram_post_11(); /* Set watermark container size.*/ bwg_change_watermark_container_11(); jQuery(".bwg_slideshow_filmstrip_container_11").css({width: 800}); jQuery(".bwg_slideshow_filmstrip_11").css({width: 760}); jQuery(".bwg_slideshow_dots_container_11").css({width: 800}); jQuery("#bwg_slideshow_play_pause-ico_11").css({fontSize: (60)}); jQuery(".bwg_slideshow_watermark_image_11").css({maxWidth: 90, maxHeight: 90}); jQuery(".bwg_slideshow_watermark_text_11, .bwg_slideshow_watermark_text_11:hover").css({fontSize: (12)}); jQuery(".bwg_slideshow_title_text_11").css({fontSize: (32)}); jQuery(".bwg_slideshow_description_text_11").css({fontSize: (28)}); } else { jQuery(".bwg_slideshow_image_wrap_11").css({width: (parent_width)}); jQuery(".bwg_slideshow_image_wrap_11").css({height: ((parent_width) * 0.875)}); jQuery(".bwg_slideshow_image_container_11").css({width: (parent_width - 0)}); jQuery(".bwg_slideshow_image_container_11").css({height: ((parent_width) * 0.875 - 90)}); jQuery(".bwg_slideshow_image_11").css({ cssText: "max-width: " + (parent_width - 0) + "px !important; max-height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); jQuery(".bwg_slideshow_embed_11").css({ cssText: "width: " + (parent_width - 0) + "px !important; height: " + (parent_width * (0.875) - 90 - 1) + "px !important;" }); bwg_resize_instagram_post_11(); /* Set watermark container size.*/ bwg_change_watermark_container_11(); jQuery(".bwg_slideshow_filmstrip_container_11").css({width: (parent_width)}); jQuery(".bwg_slideshow_filmstrip_11").css({width: (parent_width - 40)}); jQuery(".bwg_slideshow_dots_container_11").css({width: (parent_width)}); jQuery("#bwg_slideshow_play_pause-ico_11").css({fontSize: ((parent_width) * 0.075)}); jQuery(".bwg_slideshow_watermark_image_11").css({maxWidth: ((parent_width) * 0.1125), maxHeight: ((parent_width) * 0.1125)}); jQuery(".bwg_slideshow_watermark_text_11, .bwg_slideshow_watermark_text_11:hover").css({fontSize: ((parent_width) * 0.015)}); jQuery(".bwg_slideshow_title_text_11").css({fontSize: ((parent_width) * 0.04)}); jQuery(".bwg_slideshow_description_text_11").css({fontSize: ((parent_width) * 0.035)}); jQuery(".bwg_slideshow_image_11").css({'display':'inline-block'}); } if (data_11[parseInt(jQuery("#bwg_current_image_key_11").val())]["is_embed_video"]) { jQuery("#bwg_slideshow_play_pause_11").css({display: 'none'}); } else { jQuery("#bwg_slideshow_play_pause_11").css({display: ''}); } } jQuery(window).resize(function() { bwg_popup_resize_11(); }); jQuery(document).ready(function () { jQuery('#ajax_loading_11').hide(); if (typeof jQuery().swiperight !== 'undefined') { if (jQuery.isFunction(jQuery().swiperight)) { jQuery('#bwg_container1_11').swiperight(function () { bwg_change_image_11(parseInt(jQuery('#bwg_current_image_key_11').val()), (parseInt(jQuery('#bwg_current_image_key_11').val()) - bwg_iterator_11()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_11').val()) - bwg_iterator_11()) % data_11.length : data_11.length - 1, data_11); return false; }); } } if (typeof jQuery().swipeleft !== 'undefined') { if (jQuery.isFunction(jQuery().swipeleft)) { jQuery('#bwg_container1_11').swipeleft(function () { bwg_change_image_11(parseInt(jQuery('#bwg_current_image_key_11').val()), (parseInt(jQuery('#bwg_current_image_key_11').val()) + bwg_iterator_11()) % data_11.length, data_11); return false; }); } } var isMobile = (/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase())); var bwg_click = isMobile ? 'touchend' : 'click'; bwg_popup_resize_11(); jQuery("#bwg_container1_11").css({visibility: 'visible'}); jQuery(".bwg_slideshow_watermark_11").css({display: 'none'}); jQuery(".bwg_slideshow_title_text_11").css({display: 'none'}); jQuery(".bwg_slideshow_description_text_11").css({display: 'none'}); setTimeout(function () { bwg_change_watermark_container_11(); }, 500); /* Set image container height.*/ jQuery(".bwg_slideshow_image_container_11").height(jQuery(".bwg_slideshow_image_wrap_11").height() - 90); var mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel"; /* FF doesn't recognize mousewheel as of FF3.x */ jQuery('.bwg_slideshow_filmstrip_11').bind(mousewheelevt, function(e) { var evt = window.event || e; /* Equalize event object.*/ evt = evt.originalEvent ? evt.originalEvent : evt; /* Convert to originalEvent if possible.*/ var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; /* Check for detail first, because it is used by Opera and FF.*/ if (delta > 0) { /* Scroll up.*/ jQuery(".bwg_slideshow_filmstrip_left_11").trigger("click"); } else { /* Scroll down.*/ jQuery(".bwg_slideshow_filmstrip_right_11").trigger("click"); } return false; }); jQuery(".bwg_slideshow_filmstrip_right_11").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_11" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_11").position().left >= -(jQuery(".bwg_slideshow_filmstrip_thumbnails_11").width() - jQuery(".bwg_slideshow_filmstrip_11").width())) { jQuery(".bwg_slideshow_filmstrip_left_11").css({opacity: 1, filter: "Alpha(opacity=100)"}); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_11").position().left < -(jQuery(".bwg_slideshow_filmstrip_thumbnails_11").width() - jQuery(".bwg_slideshow_filmstrip_11").width() - 122)) { jQuery(".bwg_slideshow_filmstrip_thumbnails_11").animate({left: -(jQuery(".bwg_slideshow_filmstrip_thumbnails_11").width() - jQuery(".bwg_slideshow_filmstrip_11").width())}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_11").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_11").position().left - 122)}, 500, 'linear'); } } /* Disable right arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_11").position().left == -(jQuery(".bwg_slideshow_filmstrip_thumbnails_11").width() - jQuery(".bwg_slideshow_filmstrip_11").width())) { jQuery(".bwg_slideshow_filmstrip_right_11").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); jQuery(".bwg_slideshow_filmstrip_left_11").on(bwg_click, function () { jQuery( ".bwg_slideshow_filmstrip_thumbnails_11" ).stop(true, false); if (jQuery(".bwg_slideshow_filmstrip_thumbnails_11").position().left - 122) { jQuery(".bwg_slideshow_filmstrip_thumbnails_11").animate({left: 0}, 500, 'linear'); } else { jQuery(".bwg_slideshow_filmstrip_thumbnails_11").animate({left: (jQuery(".bwg_slideshow_filmstrip_thumbnails_11").position().left + 122)}, 500, 'linear'); } } /* Disable left arrow.*/ window.setTimeout(function(){ if (jQuery(".bwg_slideshow_filmstrip_thumbnails_11").position().left == 0) { jQuery(".bwg_slideshow_filmstrip_left_11").css({opacity: 0.3, filter: "Alpha(opacity=30)"}); } }, 500); }); /* Set filmstrip initial position.*/ bwg_set_filmstrip_pos_11(jQuery(".bwg_slideshow_filmstrip_11").width()); /* Play/pause.*/ jQuery("#bwg_slideshow_play_pause_11").on(bwg_click, function () { if (jQuery(".bwg_ctrl_btn_11").hasClass("fa-play")) { bwg_play_11(); jQuery(".bwg_slideshow_play_pause_11").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_11").attr("class", "bwg_ctrl_btn_11 bwg_slideshow_play_pause_11 fa fa-pause"); if (0) { document.getElementById("bwg_audio_11").play(); } } else { /* Pause.*/ window.clearInterval(bwg_playInterval_11); jQuery(".bwg_slideshow_play_pause_11").attr("title", "Play"); jQuery(".bwg_slideshow_play_pause_11").attr("class", "bwg_ctrl_btn_11 bwg_slideshow_play_pause_11 fa fa-play"); if (0) { document.getElementById("bwg_audio_11").pause(); } } }); if (0) { bwg_play_11(); jQuery(".bwg_slideshow_play_pause_11").attr("title", "Pause"); jQuery(".bwg_slideshow_play_pause_11").attr("class", "bwg_ctrl_btn_11 bwg_slideshow_play_pause_11 fa fa-pause"); if (0) { document.getElementById("bwg_audio_11").play(); } } jQuery(".bwg_slideshow_image_11").removeAttr("width"); jQuery(".bwg_slideshow_image_11").removeAttr("height"); }); function bwg_resize_instagram_post_11() { if (jQuery('.inner_instagram_iframe_bwg_embed_frame_11').length) { var post_width = jQuery('.bwg_slideshow_embed_11').width(); var post_height = jQuery('.bwg_slideshow_embed_11').height(); jQuery('.inner_instagram_iframe_bwg_embed_frame_11').each(function() { var parent_container = jQuery(this).parent(); if (post_height / (parseInt(parent_container.attr('data-height')) + 96) < post_width / parseInt(parent_container.attr('data-width'))) { parent_container.height(post_height); parent_container.width((parent_container.height() - 96) * parent_container.attr('data-width') / parent_container.attr('data-height') + 16); } else { parent_container.width(post_width); parent_container.height((parent_container.width() - 16) * parent_container.attr('data-height') / parent_container.attr('data-width') + 96); } }); } bwg_change_watermark_container_11(); } function bwg_play_11() { window.clearInterval(bwg_playInterval_11); /* Play.*/ bwg_playInterval_11 = setInterval(function () { var iterator = 1; if (0) { iterator = Math.floor((data_11.length - 1) * Math.random() + 1); } bwg_change_image_11(parseInt(jQuery('#bwg_current_image_key_11').val()), (parseInt(jQuery('#bwg_current_image_key_11').val()) + iterator) % data_11.length, data_11) }, '5000'); } jQuery(window).focus(function() { if (!jQuery(".bwg_ctrl_btn_11").hasClass("fa-play")) { bwg_play_11(); } var i_11 = 0; jQuery(".bwg_slider_11").children("span").each(function () { if (jQuery(this).css('opacity') == 1) { jQuery("#bwg_current_image_key_11").val(i_11); } i_11++; }); }); jQuery(window).blur(function() { event_stack_11 = []; window.clearInterval(bwg_playInterval_11); }); function bwg_gallery_box_11(image_id, openEcommerce) { if (typeof openEcommerce == undefined) { openEcommerce = false; } var ecommerce = openEcommerce == true ? "&open_ecommerce=1" : ""; var filterTags = jQuery("#bwg_tags_id_bwg_standart_thumbnails_11").val() ? jQuery("#bwg_tags_id_bwg_standart_thumbnails_11").val() : 0; var filtersearchname = jQuery("#bwg_search_input_11").val() ? "&filter_search_name_11=" + jQuery("#bwg_search_input_11").val() : ''; spider_createpopup('https://thecarseatlady.com/wp-admin/admin-ajax.php?action=GalleryBox&current_view=11&gallery_id=26&theme_id=2&open_with_fullscreen=1&open_with_autoplay=0&image_width=800&image_height=500&image_effect=none&wd_sor=order&wd_ord=asc&enable_image_filmstrip=1&image_filmstrip_height=70&enable_image_ctrl_btn=1&enable_image_fullscreen=1&popup_enable_info=1&popup_info_always_show=0&popup_info_full_width=0&popup_hit_counter=0&popup_enable_rate=0&slideshow_interval=5&enable_comment_social=0&enable_image_facebook=0&enable_image_twitter=0&enable_image_google=0&enable_image_ecommerce=undefined&enable_image_pinterest=0&enable_image_tumblr=0&watermark_type=none&slideshow_effect_duration=1&tags=0&current_url=https%3A%2F%2Fthecarseatlady.com%2Fbuying-a-safer-car%2F&thumb_width=120&thumb_height=90&image_id=' + image_id + "&filter_tag_11=" + filterTags + ecommerce + filtersearchname, '11', '800', '500', 1, 'testpopup', 5, "bottom"); } var bwg_hash = window.location.hash.substring(1); if (bwg_hash) { if (bwg_hash.indexOf("bwg") != "-1") { bwg_hash_array = bwg_hash.replace("bwg", "").split("/"); if(bwg_hash_array[0] == "26"){ bwg_gallery_box_11(bwg_hash_array[1]); } } } function bwg_document_ready_11() { var bwg_touch_flag = false; jQuery(".bwg_lightbox_11").on("click", function () { if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); bwg_gallery_box_11(jQuery(this).attr("data-image-id")); return false; } }); jQuery(".bwg_lightbox_11 .bwg_ecommerce").on("click", function (event) { event.stopPropagation(); if (!bwg_touch_flag) { bwg_touch_flag = true; setTimeout(function(){ bwg_touch_flag = false; }, 100); var image_id = jQuery(this).closest(".bwg_lightbox_11").attr("data-image-id"); bwg_gallery_box_11(image_id, true); return false; } }); } jQuery(document).ready(function () { bwg_document_ready_11(); });

Rear Cross-Traffic Alert - at MyCarDoesWhat.org

Deeper Learning about Rear Cross Traffic Alerts

\"Forward
\"Automatic
\"Front
\"Automatic
\"Crash
\t "}},"2":{"@type":"Question","name":"Lane Departure Warning","acceptedAnswer":{"@type":"Answer","text":"Key Take Away Point: You want a vehicle with Lane Departure Warning as it is proven effective in both preventing crashes and decreasing injury when the crash was not preventable.Lane Departure Warning (LDW) is exactly what it sounds like - it is the car warning you when you are veering out of your lane. The type of warning varies - it can be a flashing light, a beep, a vibration of the steering wheel, a visual display on the instrument panel, or even a vibration or tightening of your seat belt.

Lane Departure Warning

↓11% Single-vehicle, sideswipe and head-on crashes

↓21% Injury crashes of the same types

Lane Departure Warning, as shown from the IIHS data above, has proven itself effective in reducing the number of crashes that occur as well as in preventing injuries when the crash wasn't avoidable.

Watch & Learn More about Lane Departure Warning, Lane Keep Assist, and Lane Centering

\"Lane
\"Are
\"Lane
\"Lane
\"Lane
\"Lane
\t "}},"3":{"@type":"Question","name":"Blind Spot Detection","acceptedAnswer":{"@type":"Answer","text":"Key Take Away Point: You want a vehicle with Blind Spot Detection as it is proven effective in both preventing lane-change crashes and decreasing injury when the crash was not preventable.

Blind spot detection

↓14% Lane-change crashes

↓23% Lane-change crashes with injuries

↓9% Claim rates for damage to other vehicles

↓12% Claim rates for injuries to people in other vehicles

As you can see from the above IIHS data, blind spot detection is an effective safety feature at reducing the number of crashes and injuries within the crashes that still occur.

Watch & Learn more about Blind Spot Detection

\"Blind
\"Blind
\"Blind
\"Sideview
\"Blind
\t "}},"4":{"@type":"Question","name":"Drowsy Driver Detection","acceptedAnswer":{"@type":"Answer","text":"Key Take Away Point: Drowsy driving kills thousands and injures tens of thousands in the US every year. Do your part to ensure you aren't driving drowsy - and look for a vehicle that might be able to warn you if you are losing attention due to fatigue.The National Highway Traffic Safety Administration estimates that drowsy driving was responsible for 72,000 crashes, 44,000 injuries, and 800 deaths in 2013. However, these numbers are underestimated and up to 6,000 fatal crashes each year may be caused by drowsy drivers.Drowsy Driver Detection systems do exactly what they sound like - they detect when the driver is drowsy and then offer a warning. How does it sense drowsiness? Some systems borrow from lane departure warning systems and monitor how much you are drifting out of your lane - as it is assumed that an alert driver will stay in their lane. Other systems learn your driving patterns while fully alert and then warn you if they sense that your driving is slower or erratic. Other systems use facial recognition technology to detect the eyelid droop & head bobs to tell if you are starting to fall asleep.  Early studies suggest that drowsy driver detection technology will help prevent crashes - but a warning is only as effective as the driver's response to it. Specifically - does the driver find a spot to pull over and take a nap or change drivers - or does the driver ignore the warning and continue driving drowsy?

Learn the warning signs of drowsy driving

If you experience any of these warnings signs, pull over to rest or change drivers. Opening the window or turning up the radio are not effective ways to keep you alert. For more warning signs visit American Academy of Sleep Medicine.

Watch & Learn more about Drowsy Driver Detection

\"Drowsiness
\"CNET
\"Drowsiness
\"Drowsiness
\t Drowsy Driver Detection - on MyCarDoesWhat.org"}},"5":{"@type":"Question","name":"Pedestrian & Bicycle Detection","acceptedAnswer":{"@type":"Answer","text":"Key Take Away Point: Pedestrians account for at least 1/6th of all fatalities on our roads - and they die because vehicles drive head on into them, or backover them. Technology in vehicles that enhances the driver's view (like back-up cameras) and brakes for the driver (autobrake) can help prevent these tragedies.In 2015, 5,376 pedestrians were killed and at least 70,000 injured in motor vehicle crashes on public roadways in the United States.Pedestrians can get hit in 2 different ways - the front of the car crashes into them, or the car backs into or over them.

Frontal crashes: Pedestrian detection systems look for pedestrians in front of the car and warn the driver if a crash is likely. Some systems will also apply the brakes to further help prevent hitting the pedestrian. The majority of pedestrian deaths happen at high speeds or in low light situations - and some pedestrian detection systems are only for low speeds and require good lighting, which obviously reduces the system's effectiveness. An IIHS analysis of 2005-2009 crash data \"estimated that such pedestrian detection systems could potentially mitigate or prevent up to 65 percent of single-vehicle crashes with pedestrians in the three most common crash configurations and 58 percent of pedestrian deaths in these crashes.7\"

Backover crashes: There are several technologies that can help prevent back-over crashes - which is where the driver backs into (and worst case scenario runs over) a pedestrian. Rearview cameras and park assist systems can help prevent backover crashes by letting the driver see what is behind the car that can't be seen in the rear or side mirrors. The best technology is rear autobrake which applies the brakes if the driver is backing up into something - a pole, a car, or a person.

Watch & Learn more about Pedestrian & Bicycle Detection

\"Your
\"Backup
\"An
\t "}},"6":{"@type":"Question","name":"Parking Sensors","acceptedAnswer":{"@type":"Answer","text":"Parking sensors alert you to the position of objects around your car as you park - using cameras, sensors, and/or tones. Some even include lines that appear in your back-up camera. These sensors can help you avoid objects that are both in front of and behind your vehicle.

Watch & Learn more about Parking Sensors

https://www.youtube.com/watch?v=fifh8SuIZKUParking Sensors - at MyCarDoesWhat.org"}},"7":{"@type":"Question","name":"Rear Cross-Traffic Alert","acceptedAnswer":{"@type":"Answer","text":"Key Take Away Point: Rear Cross-Traffic Alert systems are effective at reducing crashes that occur while backing up.Rear Cross-Traffic Alert systems can detect cars that might be crossing as you back up - but may not detect pedestrians or cars behind you when parking spaces are angled. These alerts have been shown to reduce backing crashes by 22%. Rear Cross-Traffic Alert is an enhanced feature found with some back-up camera systems.

Watch & Learn more about Rear Cross-Traffic Alert

\"Rear
\"Back-up
\"Back-up
\"Back-up
\"An
\t Rear Cross-Traffic Alert - at MyCarDoesWhat.orgDeeper Learning about Rear Cross Traffic Alerts"}}}