';
if ( $( '#DocumentsDiv' ).size() == 0 ) {
$( "div:contains('Click on photo for gallery')" ).parent( 'td' ).append( '
' );
if ( isResponsiveMode ) {
$( "#DocumentsDiv_responsive" ).append( '
Documents :
' );
$( '#DocumentsDiv' ).append( '
' + _html + '
' );
}
} else {
if ( isResponsiveMode ) {
$( '#DocumentsDiv .row' ).append( _html );
} else {
$( '#DocumentsDiv .row' ).append( '
' + ShortFileName + '' );
}
}
} )
// Hide Image section for Retnal views
setInterval( function () {
if ( ( "normal" === "responsive1_normal_rental1" || "normal" === "responsive1_vertical_rental1" ) && 0 === 0 ) {
$( '.HideWhenRental' ).hide();
$( '.rightContainer' ).css( {
width: '100%'
} );
}
if ( window.compParmes.show_backbutton_title != undefined && window.compParmes.show_backbutton_title != 1 ) {
$( '.show_backbutton_title' ).hide();
}
if ( window.compParmes.show_backbutton != undefined && window.compParmes.show_backbutton != 1 ) {
$( "[onclick*='backTo']" ).hide();
}
}, 500 );
$( '#PreferredStartDate' ).datepicker();
$( 'a[href*="#"]:not([href="#"])' ).click( function () {
if ( location.pathname.replace( /^\//, '' ) == this.pathname.replace( /^\//, '' ) && location.hostname == this.hostname ) {
var target = $( this.hash );
target = target.length ? target : $( '[name=' + this.hash.slice( 1 ) + ']' );
if ( target.length ) {
$( 'html, body' ).animate( {
scrollTop: target.offset().top
}, 1000 );
return false;
}
}
} );
} );
function CalcRightHeights() {
if ( 'normal' === "responsive1_vertical" || 'normal' === "responsive1_vertical_escComp" || 'normal'.indexOf('2017') != -1 ) {
return 400;
}
var l = $( '.leftContainer' ).height();
var r = $( '.rightContainer' ).height();
var temp1 = l - r;
var readMoreHeight = $( '. 100_readmore_limit_notallowed read-more ' ).height();
var temp2 = temp1 + readMoreHeight + 7;
return temp2 > 250 ? temp2 : 250;
}
setInterval( function () {
if ( window.self !== window.top ) {
$( '#fancybox-wrap:visible' ).css( 'top', '110px' );
//console.log('here');
}
}, 1000 );
/* setTimeout( function () {
//console.log('here2');
if ( $( '. 100_readmore_limit_notallowed read-more ' ).length ) {
var oldHeight = 0;
$( '. 100_readmore_limit_notallowed read-more ' ).readmore( {
speed: 250,
heightMargin: 20,
collapsedHeight: CalcRightHeights(),
moreLink: '
Read more ...',
lessLink: '
Read less',
beforeToggle: function () {
$.fn.matchHeight._update();
},
afterToggle: function () {
$.fn.matchHeight._update();
}
} );
}
}, 2000 );*/
$(document).ready(function() {
$("#lightSlider").lightSlider();
});
Stock #
225814
Kimpex HD HD Starter Relay Solenoid Switch Fits Yamaha - 225814