THE WESTSIDE BISTRO

var lightbox_transition = ‘elastic’;
var lightbox_speed = 800;
var lightbox_fadeOut = 300;
var lightbox_title = false;
var lightbox_scalePhotos = true;
var lightbox_scrolling = false;
var lightbox_opacity = 0.201;
var lightbox_open = false;
var lightbox_returnFocus = true;
var lightbox_trapFocus = true;
var lightbox_fastIframe = true;
var lightbox_preloading = true;
var lightbox_overlayClose = true;
var lightbox_escKey = false;
var lightbox_arrowKey = false;
var lightbox_loop = true;
var lightbox_closeButton = true;
var lightbox_previous = “previous”;
var lightbox_next = “next”;
var lightbox_close = “close”;
var lightbox_html = false;
var lightbox_photo = false;
var lightbox_width = ”;
var lightbox_height = ”;
var lightbox_innerWidth = ‘false’;
var lightbox_innerHeight = ‘false’;
var lightbox_initialWidth = ‘300’;
var lightbox_initialHeight = ‘100’;

var maxwidth=jQuery(window).width();
if(maxwidth>900){maxwidth=900;}
var lightbox_maxWidth = maxwidth;
var lightbox_maxHeight = 700;

var lightbox_slideshow = false;
var lightbox_slideshowSpeed = 2500;
var lightbox_slideshowAuto = true;
var lightbox_slideshowStart = “start slideshow”;
var lightbox_slideshowStop = “stop slideshow”;
var lightbox_fixed = true;
jQuery(document).ready(function(){
jQuery(‘.huge_it_gallery_like_cont_6220 .huge_it_like_count’).each(function(){
if(jQuery(this).text()3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){
jQuery(this).text(function (_,txt)
{
return txt.slice(0, -9)+’b’
});
}
})
jQuery(‘.huge_it_gallery_like_cont_6220 .huge_it_dislike_count’).each(function(){
if(jQuery(this).text()3||jQuery(this).text().length>4||jQuery(this).text().length>5)&&jQuery(this).text().length6||jQuery(this).text().length>7||jQuery(this).text().length>8)&&jQuery(this).text().length9||jQuery(this).text().length>10||jQuery(this).text().length>11){
jQuery(this).text(function (_,txt)
{
return txt.slice(0, -9)+’b’
});
}
})
var thumbLike;
jQuery(‘.huge_it_gallery_like_cont_6220 .huge_it_like_thumb’).each(function(){
thumbLike=jQuery(this).attr(‘data-status’);
if(thumbLike==’liked’){
jQuery(this).parent().find(‘.like_thumb_up’).addClass(‘like_thumb_active’);
jQuery(this).parent().addClass(‘like_font_active’);
}

})
var thumbDislike;
jQuery(‘.huge_it_gallery_like_cont_6220 .huge_it_dislike_thumb’).each(function(){
thumbDislike=jQuery(this).attr(‘data-status’);
if(thumbDislike==’disliked’){
jQuery(this).parent().find(‘.dislike_thumb_down’).addClass(‘like_thumb_active’);
jQuery(this).parent().addClass(‘like_font_active’);
}

})
function randomString(length, chars) {
var result = ”;
for (var i = length; i > 0; –i) result += chars[Math.round(Math.random() * (chars.length – 1))];
return result;
}
jQuery(document).on(“click tap”,”.huge_it_gallery_like_cont_6220 .huge_it_gallery_like_wrapper”,function(){
var image_id=jQuery(this).parent().find(‘.huge_it_like_count’).attr(‘id’);
var status=jQuery(“span.huge_it_like_thumb[id='”+image_id+”‘]”).attr(‘data-status’);
function setCookie(name, value, expires, path, domain, secure) {
document.cookie = name + “=” + escape(value) +
((expires) ? “; expires=” + expires : “”) +
((path) ? “; path=” + path : “”) +
((domain) ? “; domain=” + domain : “”) +
((secure) ? “; secure” : “”);
}
function getCookie(name) {
var cookie = ” ” + document.cookie;
var search = ” ” + name + “=”;
var setStr = null;
var offset = 0;
var end = 0;
if (cookie.length > 0) {
offset = cookie.indexOf(search);
if (offset != -1) {
offset += search.length;
end = cookie.indexOf(“;”, offset)
if (end == -1) {
end = cookie.length;
}
setStr = unescape(cookie.substring(offset, end));
}
}
return(setStr);
}
function delCookie(name) {
document.cookie = name + “=” + “; expires=Thu, 01 Jan 1970 00:00:01 GMT”;
}
var resStatus=jQuery(this).parent().find(“span.huge_it_like_thumb[id='”+image_id+”‘]”).attr(‘data-status’);
var resStatus2=jQuery(“.huge_it_dislike_thumb[id='”+image_id+”‘]”).attr(‘data-status’);
//alert(resStatus2);
/////////////////////////////
if(resStatus2==undefined){
if(resStatus==’unliked’){
date = new Date();
date.setHours(date.getFullYear() + 1);
var cookie=setCookie(‘Like_’+image_id, randomString(10, ‘0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ’), date.toUTCString());

}else if(resStatus==’liked’){
var cookie=getCookie(‘Like_’+image_id);
}
}else{
if(resStatus==’unliked’&&resStatus2==’unliked’){
date = new Date();
date.setHours(date.getFullYear() + 1);
var cookie=setCookie(‘Like_’+image_id, randomString(10, ‘0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ’), date.toUTCString());

}else if(resStatus==’unliked’&&resStatus2==’disliked’){
date = new Date();
date.setHours(date.getFullYear() + 1);
var newCookie=getCookie(‘Dislike_’+image_id);
var cookie=setCookie(‘Like_’+image_id, newCookie , date.toUTCString());
delCookie(‘Dislike_’+image_id);
}else if(resStatus==’liked’){
var cookie=getCookie(‘Like_’+image_id);
}
}

var data={

action:’huge_it_video_gallery_ajax’,

task:’like’,

image_id:image_id,

cook:getCookie(‘Like_’+image_id),
status:status

}

jQuery.post(‘http://sacc.com.my/wp-admin/admin-ajax.php’,data,function(response){

if(response){

response=JSON.parse(response);
if(response.like){
var likeNumber=response.like;
if((likeNumber.length>3||likeNumber.length>4||likeNumber.length>5)&&likeNumber.length6||likeNumber.length>7||likeNumber.length>8)&&likeNumber.length9||likeNumber.length>10||likeNumber.length>11){

likeNumber=likeNumber.slice(0, -9)+’b’;

}
response.like=likeNumber;
}
if(response.dislike){
var dislikeNumber=response.dislike;
if((dislikeNumber.length>3||dislikeNumber.length>4||dislikeNumber.length>5)&&dislikeNumber.length6||dislikeNumber.length>7||dislikeNumber.length>8)&&dislikeNumber.length9||dislikeNumber.length>10||dislikeNumber.length>11){

dislikeNumber=dislikeNumber.slice(0, -9)+’b’;

}
response.dislike=dislikeNumber;
}

if(response.like<0)response.like=0;
jQuery("span.huge_it_like_count[id='"+image_id+"']").text(response.like);
jQuery("span.huge_it_dislike_count[id='"+image_id+"']").text(response.dislike);
if(response.dislike 0) {
offset = cookie.indexOf(search);
if (offset != -1) {
offset += search.length;
end = cookie.indexOf(“;”, offset)
if (end == -1) {
end = cookie.length;
}
setStr = unescape(cookie.substring(offset, end));
}
}
return(setStr);
}
function delCookie(name) {
document.cookie = name + “=” + “; expires=Thu, 01 Jan 1970 00:00:01 GMT”;
}
var resStatus=jQuery(this).parent().find(“span.huge_it_dislike_thumb[id='”+image_id+”‘]”).attr(‘data-status’);
var resStatus2=jQuery(“.huge_it_like_thumb[id='”+image_id+”‘]”).attr(‘data-status’);

if(resStatus==’unliked’ && resStatus2==’unliked’){
date = new Date();
date.setHours(date.getFullYear() + 1);
var cook=setCookie(‘Dislike_’+image_id, randomString(10, ‘0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ’), date.toUTCString());

}else if(resStatus==’unliked’ && resStatus2==’liked’){
date = new Date();
date.setHours(date.getFullYear() + 1);
var newCookie=getCookie(‘Like_’+image_id);
var cook=setCookie(‘Dislike_’+image_id, newCookie , date.toUTCString());
delCookie(‘Like_’+image_id);
}else if(resStatus==’disliked’){
var cook=getCookie(‘Dislike_’+image_id);
}

var data={

action:’huge_it_video_gallery_ajax’,

task:’dislike’,

image_id:image_id,
cook:getCookie(‘Dislike_’+image_id)

}

jQuery.post(‘http://sacc.com.my/wp-admin/admin-ajax.php’,data,function(response){

if(response){

response=JSON.parse(response);
if(response.like){
var likeNumber=response.like;
if((likeNumber.length>3||likeNumber.length>4||likeNumber.length>5)&&likeNumber.length6||likeNumber.length>7||likeNumber.length>8)&&likeNumber.length9||likeNumber.length>10||likeNumber.length>11){

likeNumber=likeNumber.slice(0, -9)+’b’;

}
response.like=likeNumber;
}
if(response.dislike){
var dislikeNumber=response.dislike;
if((dislikeNumber.length>3||dislikeNumber.length>4||dislikeNumber.length>5)&&dislikeNumber.length6||dislikeNumber.length>7||dislikeNumber.length>8)&&dislikeNumber.length9||dislikeNumber.length>10||dislikeNumber.length>11){

dislikeNumber=dislikeNumber.slice(0, -9)+’b’;

}
response.dislike=dislikeNumber;
}
if(response.like<0)response.like=0;
jQuery("span.huge_it_like_count[id='"+image_id+"']").text(response.like);
if(response.dislike<0)response.dislike=0;
jQuery("span.huge_it_dislike_count[id='"+image_id+"']").text(response.dislike);
if(response.statLike=='Liked'){
jQuery("span.huge_it_like_thumb[id='"+image_id+"']").parent().find('.like_thumb_up').addClass('like_thumb_active');
jQuery("span.huge_it_like_thumb[id='"+image_id+"']").parent().addClass('like_font_active');
jQuery("span.huge_it_like_thumb[id='"+image_id+"']").attr('data-status','liked')
}else if(response.statLike=='Like'){
jQuery("span.huge_it_like_thumb[id='"+image_id+"']").parent().find('.like_thumb_up').removeClass('like_thumb_active').addClass('like_thumb_up');
jQuery("span.huge_it_like_thumb[id='"+image_id+"']").parent().removeClass('like_font_active');
jQuery("span.huge_it_like_thumb[id='"+image_id+"']").attr('data-status','unliked')
delCookie('Like_'+image_id);
}
if(response.statDislike=='Disliked'){
jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").parent().find('.dislike_thumb_down').addClass('like_thumb_active');
jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").parent().addClass('like_font_active');
jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").attr('data-status','disliked');
}else if(response.statDislike=='Dislike'){
jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").parent().find('.dislike_thumb_down').removeClass('like_thumb_active').addClass('dislike_thumb_down');
jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").parent().removeClass('like_font_active');
jQuery("span.huge_it_dislike_thumb[id='"+image_id+"']").attr('data-status','unliked');
delCookie('Dislike_'+image_id);
}

}

})

return false;

})

});

var lightbox_top = false;
var lightbox_bottom = false;
var lightbox_left = false;
var lightbox_right = false;

var lightbox_reposition = false;
var lightbox_retinaImage = true;
var lightbox_retinaUrl = false;
var lightbox_retinaSuffix = "@2x.$1";

jQuery(document).ready(function(){
jQuery("#huge_it_gallery_content_6 a[href$='.jpg'], #huge_it_gallery_content_6 a[href$='.jpeg'], #huge_it_gallery_content_6 a[href$='.png'], #huge_it_gallery_content_6 a[href$='.gif']").addClass('gallery_group6');

jQuery(".gallery_group6").gicolorbox({rel:'gallery_group6'});
jQuery(".youtube").gicolorbox({iframe:true, innerWidth:640, innerHeight:390});
jQuery(".vimeo").gicolorbox({iframe:true, innerWidth:640, innerHeight:390});
jQuery(".iframe").gicolorbox({iframe:true, width:"80%", height:"80%"});
jQuery(".inline").gicolorbox({inline:true, width:"50%"});
jQuery(".callbacks").gicolorbox({
onOpen:function(){ alert('onOpen: gicolorbox is about to open'); },
onLoad:function(){ alert('onLoad: gicolorbox has started to load the targeted content'); },
onComplete:function(){ alert('onComplete: gicolorbox has displayed the loaded content'); },
onCleanup:function(){ alert('onCleanup: gicolorbox has begun the close process'); },
onClosed:function(){ alert('onClosed: gicolorbox has completely closed'); }
});

/******************Clone bug update***************************/
var groups = 6;
var group_count_slider = 0;
var i = 1;
var group_count_slider_clone = 0;

jQuery(".slider-content").each(function(){
group_count_slider++;
});

jQuery(".gallery_group"+i).gicolorbox({rel:'gallery_group'+i});
//jQuery(".group1").gicolorbox({rel:'group1'});
for(var i = 1; i <= group_count_slider; i++){
jQuery(".gallery_group_"+groups+"_"+i).gicolorbox({rel:'gallery_group_'+groups+"_"+i});
jQuery("#main-slider_6 .clone a").removeClass();
}
/*************************************************************/

jQuery('.non-retina').gicolorbox({rel:'group5', transition:'none'})
jQuery('.retina').gicolorbox({rel:'group5', transition:'none', retinaImage:true, retinaUrl:true});

jQuery("#click").click(function(){
jQuery('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
return false;
});
});


<!–

<script src="”>

<script src="”>
–>

var video_is_playing_gallery_6=false;

var data_gallery_6 = [];
var event_stack_gallery_6 = [];
data_gallery_6[“0”]=[];data_gallery_6[“0”][“id”]=”0″;data_gallery_6[“0”][“image_url”]=”http://sacc.com.my/wp-content/uploads/2015/07/westside-slider-01.jpg”;data_gallery_6[“0”][“description”]=””;data_gallery_6[“0”][“alt”]=””;data_gallery_6[“1”]=[];data_gallery_6[“1”][“id”]=”1″;data_gallery_6[“1”][“image_url”]=”http://sacc.com.my/wp-content/uploads/2015/09/DYT_6323E-e1442202637348.jpg”;data_gallery_6[“1”][“description”]=””;data_gallery_6[“1”][“alt”]=””;data_gallery_6[“2”]=[];data_gallery_6[“2”][“id”]=”2″;data_gallery_6[“2”][“image_url”]=”http://sacc.com.my/wp-content/uploads/2015/09/DYT_6177E-e1442202458379.jpg”;data_gallery_6[“2”][“description”]=””;data_gallery_6[“2”][“alt”]=””;

var huge_it_trans_in_progress_gallery_6 = false;
var huge_it_transition_duration_gallery_6 = 1000;
var huge_it_playInterval_gallery_6;
// Stop autoplay.
window.clearInterval(huge_it_playInterval_gallery_6);
// alert(‘huge_it_current_key_gallery_6’);
var huge_it_current_key_gallery_6 = ”;
function huge_it_move_dots_gallery_6() {
var image_left = jQuery(“.huge_it_slideshow_dots_active_gallery_6”).position().left;
var image_right = jQuery(“.huge_it_slideshow_dots_active_gallery_6”).position().left + jQuery(“.huge_it_slideshow_dots_active_gallery_6″).outerWidth(true);

}
function huge_it_testBrowser_cssTransitions_gallery_6() {
return huge_it_testDom_gallery_6(‘Transition’);
}
function huge_it_testBrowser_cssTransforms3d_gallery_6() {
return huge_it_testDom_gallery_6(‘Perspective’);
}
function huge_it_testDom_gallery_6(prop) {
// Browser vendor CSS prefixes.
var browserVendors = [”, ‘-webkit-‘, ‘-moz-‘, ‘-ms-‘, ‘-o-‘, ‘-khtml-‘];
// Browser vendor DOM prefixes.
var domPrefixes = [”, ‘Webkit’, ‘Moz’, ‘ms’, ‘O’, ‘Khtml’];
var i = domPrefixes.length;
while (i–) {
if (typeof document.body.style[domPrefixes[i] + prop] !== ‘undefined’) {
return true;
}
}
return false;
}
function huge_it_cube_gallery_6(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) {
/* If browser does not support 3d transforms/CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_6()) {
jQuery(“.huge_it_slideshow_dots_gallery_6”).removeClass(“huge_it_slideshow_dots_active_gallery_6”).addClass(“huge_it_slideshow_dots_deactive_gallery_6”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_6 + “_gallery_6”).removeClass(“huge_it_slideshow_dots_deactive_gallery_6”).addClass(“huge_it_slideshow_dots_active_gallery_6”);
return huge_it_fallback_gallery_6(current_image_class, next_image_class, direction);
}
if (!huge_it_testBrowser_cssTransforms3d_gallery_6()) {
return huge_it_fallback3d_gallery_6(current_image_class, next_image_class, direction);
}
huge_it_trans_in_progress_gallery_6 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_6”).removeClass(“huge_it_slideshow_dots_active_gallery_6”).addClass(“huge_it_slideshow_dots_deactive_gallery_6”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_6 + “_gallery_6”).removeClass(“huge_it_slideshow_dots_deactive_gallery_6”).addClass(“huge_it_slideshow_dots_active_gallery_6”);
jQuery(“.huge_it_slide_bg_gallery_6”).css(‘perspective’, 1000);
jQuery(current_image_class).css({
transform : ‘translateZ(‘ + tz + ‘px)’,
backfaceVisibility : ‘hidden’
});

jQuery(“.huge_it_slideshow_image_wrap_gallery_6,.huge_it_slide_bg_gallery_6,.huge_it_slideshow_image_item_gallery_6,.huge_it_slideshow_image_second_item_gallery_6 “).css(‘overflow’, ‘visible’);

jQuery(next_image_class).css({
opacity : 1,
filter: ‘Alpha(opacity=100)’,
backfaceVisibility : ‘hidden’,
transform : ‘translateY(‘ + nty + ‘px) translateX(‘ + ntx + ‘px) rotateY(‘+ nry +’deg) rotateX(‘+ nrx +’deg)’
});
jQuery(“.huge_it_slider_gallery_6”).css({
transform: ‘translateZ(-‘ + tz + ‘px)’,
transformStyle: ‘preserve-3d’
});
/* Execution steps.*/
setTimeout(function () {
jQuery(“.huge_it_slider_gallery_6”).css({
transition: ‘all ‘ + huge_it_transition_duration_gallery_6 + ‘ms ease-in-out’,
transform: ‘translateZ(-‘ + tz + ‘px) rotateX(‘+ wrx +’deg) rotateY(‘+ wry +’deg)’
});
}, 20);
/* After transition.*/
jQuery(“.huge_it_slider_gallery_6”).one(‘webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend’, jQuery.proxy(huge_it_after_trans));
function huge_it_after_trans() {
/*if (huge_it_from_focus_gallery_6) {
huge_it_from_focus_gallery_6 = false;
return;
}*/
jQuery(“.huge_it_slide_bg_gallery_6,.huge_it_slideshow_image_item_gallery_6,.huge_it_slideshow_image_second_item_gallery_6 “).css(‘overflow’, ‘hidden’);
jQuery(“.huge_it_slide_bg_gallery_6”).removeAttr(‘style’);
jQuery(current_image_class).removeAttr(‘style’);
jQuery(next_image_class).removeAttr(‘style’);
jQuery(“.huge_it_slider_gallery_6”).removeAttr(‘style’);
jQuery(current_image_class).css({‘opacity’ : 0, filter: ‘Alpha(opacity=0)’, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, filter: ‘Alpha(opacity=100)’, ‘z-index’ : 2});
// huge_it_change_watermark_container_gallery_6();
huge_it_trans_in_progress_gallery_6 = false;
if (typeof event_stack_gallery_6 !== ‘undefined’ && event_stack_gallery_6.length > 0) {
key = event_stack_gallery_6[0].split(“-“);
event_stack_gallery_6.shift();
huge_it_change_image_gallery_6(key[0], key[1], data_gallery_6, true,false);
}
}
}
function huge_it_cubeH_gallery_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’) {
huge_it_cube_gallery_6(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_6(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction);
}
}
function huge_it_cubeV_gallery_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’) {
huge_it_cube_gallery_6(dimension, 0, -dimension, 90, 0, -90, 0, current_image_class, next_image_class, direction);
}
else if (direction == ‘left’) {
huge_it_cube_gallery_6(dimension, 0, dimension, -90, 0, 90, 0, current_image_class, next_image_class, direction);
}
}
/* For browsers that does not support transitions.*/
function huge_it_fallback_gallery_6(current_image_class, next_image_class, direction) {
huge_it_fade_gallery_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 huge_it_fallback3d_gallery_6(current_image_class, next_image_class, direction) {
huge_it_sliceV_gallery_6(current_image_class, next_image_class, direction);
}
function huge_it_none_gallery_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});

/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_6”).removeClass(“huge_it_slideshow_dots_active_gallery_6”).addClass(“huge_it_slideshow_dots_deactive_gallery_6”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_6 + “_gallery_6”).removeClass(“huge_it_slideshow_dots_deactive_gallery_6”).addClass(“huge_it_slideshow_dots_active_gallery_6”);
}
function huge_it_fade_gallery_6(current_image_class, next_image_class, direction) {
if (huge_it_testBrowser_cssTransitions_gallery_6()) {
jQuery(next_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_6 + ‘ms linear’);
jQuery(current_image_class).css(‘transition’, ‘opacity ‘ + huge_it_transition_duration_gallery_6 + ‘ms linear’);
jQuery(current_image_class).css({‘opacity’ : 0, ‘z-index’: 1});
jQuery(next_image_class).css({‘opacity’ : 1, ‘z-index’ : 2});
}
else {
jQuery(current_image_class).animate({‘opacity’ : 0, ‘z-index’ : 1}, huge_it_transition_duration_gallery_6);
jQuery(next_image_class).animate({
‘opacity’ : 1,
‘z-index’: 2
}, {
duration: huge_it_transition_duration_gallery_6,
complete: function () {return false;}
});
// For IE.
jQuery(current_image_class).fadeTo(huge_it_transition_duration_gallery_6, 0);
jQuery(next_image_class).fadeTo(huge_it_transition_duration_gallery_6, 1);
}

jQuery(“.huge_it_slideshow_dots_gallery_6”).removeClass(“huge_it_slideshow_dots_active_gallery_6”).addClass(“huge_it_slideshow_dots_deactive_gallery_6”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_6 + “_gallery_6”).removeClass(“huge_it_slideshow_dots_deactive_gallery_6”).addClass(“huge_it_slideshow_dots_active_gallery_6”);
}
function huge_it_grid_gallery_6(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) {
/* If browser does not support CSS transitions.*/
if (!huge_it_testBrowser_cssTransitions_gallery_6()) {
jQuery(“.huge_it_slideshow_dots_gallery_6”).removeClass(“huge_it_slideshow_dots_active_gallery_6”).addClass(“huge_it_slideshow_dots_deactive_gallery_6”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_6 + “_gallery_6”).removeClass(“huge_it_slideshow_dots_deactive_gallery_6”).addClass(“huge_it_slideshow_dots_active_gallery_6”);
return huge_it_fallback_gallery_6(current_image_class, next_image_class, direction);

}
huge_it_trans_in_progress_gallery_6 = true;
/* Set active thumbnail.*/
jQuery(“.huge_it_slideshow_dots_gallery_6”).removeClass(“huge_it_slideshow_dots_active_gallery_6”).addClass(“huge_it_slideshow_dots_deactive_gallery_6”);
jQuery(“#huge_it_dots_” + huge_it_current_key_gallery_6 + “_gallery_6”).removeClass(“huge_it_slideshow_dots_deactive_gallery_6”).addClass(“huge_it_slideshow_dots_active_gallery_6”);
/* The time (in ms) added to/subtracted from the delay total for each new gridlet.*/
var count = (huge_it_transition_duration_gallery_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 huge_it_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(‘