$(document).ready(function(){$('.rollover1').click(function(){location.href="#";});$('.rollover2').click(function(){location.href="#";});$('.rollover3').click(function(){location.href="#";});$('.rollover4').click(function(){location.href="http://base.chiromatrix.com/3d_spine/nerve_chart/index.htm";});$('.rollover5').click(function(){location.href="#";});$('.rollover6').click(function(){location.href="/links.html";});$('.rollover7').click(function(){location.href="/home.html";});var locate=location.href;if(locate.search('patient')=='-1'){$('.image_one').hoverIntent(hover1,out1);}
function hover1(){$('.rollover1').fadeIn('fast');$('#dropdown3').slideDown('fast');}
function out1(){$('.rollover1').fadeOut('fast');$('#dropdown3').slideUp('fast');}
if(locate.search('testimonials')=='-1'){$('.image_two').hoverIntent(hover2,out2);}
function hover2(){$('.rollover2').fadeIn('fast');$('#dropdown2').slideDown('fast');}
function out2(){$('.rollover2').fadeOut('fast');$('#dropdown2').slideUp('fast');}
if(locate.search('conditions')=='-1'){$('.image_three').hoverIntent(hover3,out3);}
function hover3(){$('.rollover3').fadeIn('fast');$('#dropdown').slideDown('fast');}
function out3(){$('.rollover3').fadeOut('fast');$('#dropdown').slideUp('fast');}
if(locate.search('golf')=='-1'){$('.image_four').hoverIntent(hover4,out4);}
function hover4(){$('.rollover4').fadeIn('fast');}
function out4(){$('.rollover4').fadeOut('fast');}
if(locate.search('wld')=='-1'){$('.image_five').hoverIntent(hover5,out5);}
function hover5(){$('.rollover5').fadeIn('fast');$('#dropdown4').slideDown('fast');}
function out5(){$('.rollover5').fadeOut('fast');$('#dropdown4').slideUp('fast');}
if(locate.search('links')=='-1'){$('.image_six').hoverIntent(hover6,out6);}
function hover6(){$('.rollover6').fadeIn('fast');}
function out6(){$('.rollover6').fadeOut('fast');}
if(locate.search('links')=='-1'){$('.image_seven').hoverIntent(hover7,out7);}
function hover7(){$('.rollover7').fadeIn('fast');}
function out7(){$('.rollover7').fadeOut('fast');}
if(locate.search('patient')>-1){$('.rollover1').fadeIn();}else if(locate.search('testimonials')>-1){$('.rollover2').fadeIn();}else if(locate.search('conditions')>-1){$('.rollover3').fadeIn();}else if(locate.search('golf')>-1){$('.rollover4').fadeIn();}else if(locate.search('wld')>-1){$('.rollover5').fadeIn();}else if(locate.search('links')>-1){$('.rollover6').fadeIn();}else if(locate.search('home')>-1){$('.rollover7').fadeIn();}}); 
