{"id":604,"date":"2015-11-03T20:18:54","date_gmt":"2015-11-04T01:18:54","guid":{"rendered":"http:\/\/www.irandemocratic.org\/public_html\/news\/?p=604"},"modified":"2015-11-14T11:01:10","modified_gmt":"2015-11-14T16:01:10","slug":"toronto-november-02-demonstration-pictures","status":"publish","type":"post","link":"https:\/\/www.irandemocratic.org\/public_html\/news\/604\/","title":{"rendered":"Toronto November 02 Demonstration pictures"},"content":{"rendered":"<h3 class=\"widget-title\">Photo Gallery Slideshow<\/h3>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><script>\/\/ <![CDATA[\nvar data_0 = []; var event_stack_0 = []; data_0[\"0\"] = []; data_0[\"0\"][\"id\"] = \"55\"; data_0[\"0\"][\"alt\"] = \"DSC03051\"; data_0[\"0\"][\"description\"] = \"Aperture: 3.4&lt;br \/&gt;Camera: HDR-XR260V&lt;br \/&gt;Orientation: 1&lt;br \/&gt;\"; data_0[\"0\"][\"image_url\"] = \"\/Nov02image\/DSC03051.JPG\"; data_0[\"0\"][\"thumb_url\"] = \"\/Nov02image\/thumb\/DSC03051.JPG\"; data_0[\"0\"][\"date\"] = \"04 November 2015, 04:01\"; data_0[\"0\"][\"is_embed\"] = \"\"; data_0[\"0\"][\"is_embed_video\"] = \"\"; data_0[\"1\"] = []; data_0[\"1\"][\"id\"] = \"54\"; data_0[\"1\"][\"alt\"] = \"DSC03050\"; data_0[\"1\"][\"description\"] = \"Aperture: 3.4&lt;br \/&gt;Camera: HDR-XR260V&lt;br \/&gt;Orientation: 1&lt;br \/&gt;\"; data_0[\"1\"][\"image_url\"] = \"\/Nov02image\/DSC03050.JPG\"; data_0[\"1\"][\"thumb_url\"] = \"\/Nov02image\/thumb\/DSC03050.JPG\"; data_0[\"1\"][\"date\"] = \"04 November 2015, 04:00\"; data_0[\"1\"][\"is_embed\"] = \"\"; data_0[\"1\"][\"is_embed_video\"] = \"\"; data_0[\"2\"] = []; data_0[\"2\"][\"id\"] = \"53\"; data_0[\"2\"][\"alt\"] = \"DSC03048\"; data_0[\"2\"][\"description\"] = \"Aperture: 3.4&lt;br \/&gt;Camera: HDR-XR260V&lt;br \/&gt;Orientation: 1&lt;br \/&gt;\"; data_0[\"2\"][\"image_url\"] = \"\/Nov02image\/DSC03048.JPG\"; data_0[\"2\"][\"thumb_url\"] = \"\/Nov02image\/thumb\/DSC03048.JPG\"; data_0[\"2\"][\"date\"] = \"04 November 2015, 04:01\"; data_0[\"2\"][\"is_embed\"] = \"\"; data_0[\"2\"][\"is_embed_video\"] = \"\"; data_0[\"3\"] = []; data_0[\"3\"][\"id\"] = \"52\"; data_0[\"3\"][\"alt\"] = \"DSC03046\"; data_0[\"3\"][\"description\"] = \"Aperture: 3.4&lt;br \/&gt;Camera: HDR-XR260V&lt;br \/&gt;Orientation: 1&lt;br \/&gt;\"; data_0[\"3\"][\"image_url\"] = \"\/Nov02image\/DSC03046.JPG\"; data_0[\"3\"][\"thumb_url\"] = \"\/Nov02image\/thumb\/DSC03046.JPG\"; data_0[\"3\"][\"date\"] = \"04 November 2015, 04:01\"; data_0[\"3\"][\"is_embed\"] = \"\"; data_0[\"3\"][\"is_embed_video\"] = \"\";\n\/\/ ]]><\/script><\/p>\n<p><span id=\"image_id_0_55\" class=\"bwg_slideshow_image_spun_0\"><span class=\"bwg_slideshow_image_spun1_0\"><span class=\"bwg_slideshow_image_spun2_0\"><img decoding=\"async\" id=\"bwg_slideshow_image_0\" class=\"bwg_slideshow_image_0\" src=\"http:\/\/www.irandemocratic.org\/public_html\/news\/wp-content\/uploads\/photo-gallery\/Nov02image\/DSC03051.JPG\" alt=\"DSC03051\" \/><br \/>\n<\/span><\/span><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span id=\"image_id_0_55\" class=\"bwg_slideshow_image_spun_0\"><span class=\"bwg_slideshow_image_spun1_0\"><br \/>\n<\/span><\/span><span id=\"image_id_0_54\" class=\"bwg_slideshow_image_second_spun_0\"><span class=\"bwg_slideshow_image_spun1_0\"><span class=\"bwg_slideshow_image_spun2_0\"><br \/>\n<img decoding=\"async\" class=\"bwg_slideshow_image_0\" src=\"http:\/\/www.irandemocratic.org\/public_html\/news\/wp-content\/uploads\/photo-gallery\/Nov02image\/DSC03050.JPG\" alt=\"DSC03050\" \/><br \/>\n<\/span><br \/>\n<\/span><br \/>\n<\/span><br \/>\n<span id=\"image_id_0_53\" class=\"bwg_slideshow_image_second_spun_0\"><span class=\"bwg_slideshow_image_spun1_0\"><span class=\"bwg_slideshow_image_spun2_0\"><img decoding=\"async\" class=\"bwg_slideshow_image_0\" src=\"http:\/\/www.irandemocratic.org\/public_html\/news\/wp-content\/uploads\/photo-gallery\/Nov02image\/DSC03048.JPG\" alt=\"DSC03048\" \/><br \/>\n<\/span><\/span><\/span><\/p>\n<p>&nbsp;<br \/>\n<span id=\"image_id_0_52\" class=\"bwg_slideshow_image_second_spun_0\"><span class=\"bwg_slideshow_image_spun1_0\"><span class=\"bwg_slideshow_image_spun2_0\"><img decoding=\"async\" class=\"bwg_slideshow_image_0\" src=\"http:\/\/www.irandemocratic.org\/public_html\/news\/wp-content\/uploads\/photo-gallery\/Nov02image\/DSC03046.JPG\" alt=\"DSC03046\" \/><br \/>\n<\/span><br \/>\n<\/span><\/span><br \/>\n<a id=\"spider_slideshow_right_0\"><\/a><span id=\"spider_slideshow_right-ico_0\"><i class=\"bwg_slideshow_next_btn_0 fa fa-chevron-right\"><\/i><\/span><\/p>\n<p><script>\/\/ <![CDATA[\nvar bwg_trans_in_progress_0 = false; var bwg_transition_duration_0 = 750; var bwg_playInterval_0; \/* Stop autoplay.*\/ window.clearInterval(bwg_playInterval_0); \/* Set watermark container size.*\/ function bwg_change_watermark_container_0() { jQuery(\".bwg_slider_0\").children().each(function() { if (jQuery(this).css(\"zIndex\") == 2) { var bwg_current_image_span = jQuery(this).find(\"img\"); if (!bwg_current_image_span.length) { 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(); jQuery(\".bwg_slideshow_watermark_spun_0\").width(width); jQuery(\".bwg_slideshow_watermark_spun_0\").height(height); jQuery(\".bwg_slideshow_title_spun_0\").width(width); jQuery(\".bwg_slideshow_title_spun_0\").height(height); jQuery(\".bwg_slideshow_description_spun_0\").width(width); jQuery(\".bwg_slideshow_description_spun_0\").height(height); jQuery(\".bwg_slideshow_watermark_0\").css({display: ''}); if (jQuery.trim(jQuery(\".bwg_slideshow_title_text_0\").text())) { jQuery(\".bwg_slideshow_title_text_0\").css({display: ''}); } if (jQuery.trim(jQuery(\".bwg_slideshow_description_text_0\").text())) { jQuery(\".bwg_slideshow_description_text_0\").css({display: ''}); } } }); } var bwg_current_key_0 = '0'; var bwg_current_filmstrip_pos_0 = 0; \/* Set filmstrip initial position.*\/ function bwg_set_filmstrip_pos_0(filmStripWidth) { var selectedImagePos = -bwg_current_filmstrip_pos_0 - (jQuery(\".bwg_slideshow_filmstrip_thumbnail_0\").width() + 2) \/ 2; var imagesContainerLeft = Math.min(0, Math.max(filmStripWidth - jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").width(), selectedImagePos + filmStripWidth \/ 2)); jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").animate({ left: imagesContainerLeft }, { duration: 500, complete: function () { bwg_filmstrip_arrows_0(); } }); } function bwg_move_filmstrip_0() { var image_left = jQuery(\".bwg_slideshow_thumb_active_0\").position().left; var image_right = jQuery(\".bwg_slideshow_thumb_active_0\").position().left + jQuery(\".bwg_slideshow_thumb_active_0\").outerWidth(true); var bwg_filmstrip_width = jQuery(\".bwg_slideshow_filmstrip_0\").outerWidth(true); var bwg_filmstrip_thumbnails_width = jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").outerWidth(true); var long_filmstrip_cont_left = jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left; var long_filmstrip_cont_right = Math.abs(jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left) + bwg_filmstrip_width; if (bwg_filmstrip_width > bwg_filmstrip_thumbnails_width) {\n          return;\n        }\n        if (image_left < Math.abs(long_filmstrip_cont_left)) { jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").animate({ left: -image_left }, { duration: 500, complete: function () { bwg_filmstrip_arrows_0(); } }); } else if (image_right > long_filmstrip_cont_right) {\n          jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").animate({\n            left: -(image_right - bwg_filmstrip_width)\n          }, {\n            duration: 500,\n            complete: function () { bwg_filmstrip_arrows_0(); }\n          });\n        }\n      }\n      function bwg_move_dots_0() {\n        var image_left = jQuery(\".bwg_slideshow_dots_active_0\").position().left;\n        var image_right = jQuery(\".bwg_slideshow_dots_active_0\").position().left + jQuery(\".bwg_slideshow_dots_active_0\").outerWidth(true);\n        var bwg_dots_width = jQuery(\".bwg_slideshow_dots_container_0\").outerWidth(true);\n        var bwg_dots_thumbnails_width = jQuery(\".bwg_slideshow_dots_thumbnails_0\").outerWidth(false);\n        var long_filmstrip_cont_left = jQuery(\".bwg_slideshow_dots_thumbnails_0\").position().left;\n        var long_filmstrip_cont_right = Math.abs(jQuery(\".bwg_slideshow_dots_thumbnails_0\").position().left) + bwg_dots_width;\n        if (bwg_dots_width > bwg_dots_thumbnails_width) {\n          return;\n        }\n        if (image_left < Math.abs(long_filmstrip_cont_left)) { jQuery(\".bwg_slideshow_dots_thumbnails_0\").animate({ left: -image_left }, { duration: 500, complete: function () { } }); } else if (image_right > long_filmstrip_cont_right) {\n          jQuery(\".bwg_slideshow_dots_thumbnails_0\").animate({\n            left: -(image_right - bwg_dots_width)\n          }, {\n            duration: 500,\n            complete: function () {  }\n          });\n        }\n      }\n      \/* Show\/hide filmstrip arrows.*\/\n      function bwg_filmstrip_arrows_0() {\n        if (jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").width() < jQuery(\".bwg_slideshow_filmstrip_0\").width()) { jQuery(\".bwg_slideshow_filmstrip_left_0\").hide(); jQuery(\".bwg_slideshow_filmstrip_right_0\").hide(); } else { jQuery(\".bwg_slideshow_filmstrip_left_0\").show(); jQuery(\".bwg_slideshow_filmstrip_right_0\").show(); } } function bwg_testBrowser_cssTransitions_0() { return bwg_testDom_0('Transition'); } function bwg_testBrowser_cssTransforms3d_0() { return bwg_testDom_0('Perspective'); } function bwg_testDom_0(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 bwg_cube_0(tz, ntx, nty, nrx, nry, wrx, wry, current_image_class, next_image_class, direction) { \/* If browser does not support 3d transforms\/CSS transitions.*\/ if (!bwg_testBrowser_cssTransitions_0()) { return bwg_fallback_0(current_image_class, next_image_class, direction); } if (!bwg_testBrowser_cssTransforms3d_0()) { return bwg_fallback3d_0(current_image_class, next_image_class, direction); } bwg_trans_in_progress_0 = true; \/* Set active thumbnail.*\/ jQuery(\".bwg_slideshow_filmstrip_thumbnail_0\").removeClass(\"bwg_slideshow_thumb_active_0\").addClass(\"bwg_slideshow_thumb_deactive_0\"); jQuery(\"#bwg_filmstrip_thumbnail_\" + bwg_current_key_0 + \"_0\").removeClass(\"bwg_slideshow_thumb_deactive_0\").addClass(\"bwg_slideshow_thumb_active_0\"); jQuery(\".bwg_slideshow_dots_0\").removeClass(\"bwg_slideshow_dots_active_0\").addClass(\"bwg_slideshow_dots_deactive_0\"); jQuery(\"#bwg_dots_\" + bwg_current_key_0 + \"_0\").removeClass(\"bwg_slideshow_dots_deactive_0\").addClass(\"bwg_slideshow_dots_active_0\"); jQuery(\".bwg_slide_bg_0\").css('perspective', 1000); jQuery(current_image_class).css({ transform : 'translateZ(' + tz + 'px)', backfaceVisibility : 'hidden' }); jQuery(next_image_class).css({ opacity : 1, filter: 'Alpha(opacity=100)', zIndex: 2, backfaceVisibility : 'hidden', transform : 'translateY(' + nty + 'px) translateX(' + ntx + 'px) rotateY('+ nry +'deg) rotateX('+ nrx +'deg)' }); jQuery(\".bwg_slider_0\").css({ transform: 'translateZ(-' + tz + 'px)', transformStyle: 'preserve-3d' }); \/* Execution steps.*\/ setTimeout(function () { jQuery(\".bwg_slider_0\").css({ transition: 'all ' + bwg_transition_duration_0 + 'ms ease-in-out', transform: 'translateZ(-' + tz + 'px) rotateX('+ wrx +'deg) rotateY('+ wry +'deg)' }); }, 20); \/* After transition.*\/ jQuery(\".bwg_slider_0\").one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans)); function bwg_after_trans() { \/*if (bwg_from_focus_0) { bwg_from_focus_0 = false; return; }*\/ jQuery(current_image_class).removeAttr('style'); jQuery(next_image_class).removeAttr('style'); jQuery(\".bwg_slider_0\").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}); bwg_change_watermark_container_0(); bwg_trans_in_progress_0 = false; if (typeof event_stack_0 !== 'undefined') { if (event_stack_0.length > 0) {\n              key = event_stack_0[0].split(\"-\");\n              event_stack_0.shift();\n              bwg_change_image_0(key[0], key[1], data_0, true);\n            }\n          }\n        }\n      }\n      function bwg_cubeH_0(current_image_class, next_image_class, direction) {\n        \/* Set to half of image width.*\/\n        var dimension = jQuery(current_image_class).width() \/ 2;\n        if (direction == 'right') {\n          bwg_cube_0(dimension, dimension, 0, 0, 90, 0, -90, current_image_class, next_image_class, direction);\n        }\n        else if (direction == 'left') {\n          bwg_cube_0(dimension, -dimension, 0, 0, -90, 0, 90, current_image_class, next_image_class, direction);\n        }\n      }\n      \/* For browsers that does not support transitions.*\/\n      function bwg_fallback_0(current_image_class, next_image_class, direction) {\n        bwg_fade_0(current_image_class, next_image_class, direction);\n      }\n      \/* For browsers that support transitions, but not 3d transforms (only used if primary transition makes use of 3d-transforms).*\/\n      function bwg_fallback3d_0(current_image_class, next_image_class, direction) {\n        bwg_sliceV_0(current_image_class, next_image_class, direction);\n      }\n      function bwg_none_0(current_image_class, next_image_class, direction) {\n        jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});\n        jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});\n        bwg_change_watermark_container_0();\n        \/* Set active thumbnail.*\/\n        jQuery(\".bwg_slideshow_filmstrip_thumbnail_0\").removeClass(\"bwg_slideshow_thumb_active_0\").addClass(\"bwg_slideshow_thumb_deactive_0\");\n        jQuery(\"#bwg_filmstrip_thumbnail_\" + bwg_current_key_0 + \"_0\").removeClass(\"bwg_slideshow_thumb_deactive_0\").addClass(\"bwg_slideshow_thumb_active_0\");\n        jQuery(\".bwg_slideshow_dots_0\").removeClass(\"bwg_slideshow_dots_active_0\").addClass(\"bwg_slideshow_dots_deactive_0\");\n        jQuery(\"#bwg_dots_\" + bwg_current_key_0 + \"_0\").removeClass(\"bwg_slideshow_dots_deactive_0\").addClass(\"bwg_slideshow_dots_active_0\");\n      }\n      function bwg_fade_0(current_image_class, next_image_class, direction) {\n        \/* Set active thumbnail.*\/\n        jQuery(\".bwg_slideshow_filmstrip_thumbnail_0\").removeClass(\"bwg_slideshow_thumb_active_0\").addClass(\"bwg_slideshow_thumb_deactive_0\");\n        jQuery(\"#bwg_filmstrip_thumbnail_\" + bwg_current_key_0 + \"_0\").removeClass(\"bwg_slideshow_thumb_deactive_0\").addClass(\"bwg_slideshow_thumb_active_0\");\n        jQuery(\".bwg_slideshow_dots_0\").removeClass(\"bwg_slideshow_dots_active_0\").addClass(\"bwg_slideshow_dots_deactive_0\");\n        jQuery(\"#bwg_dots_\" + bwg_current_key_0 + \"_0\").removeClass(\"bwg_slideshow_dots_deactive_0\").addClass(\"bwg_slideshow_dots_active_0\");\n        if (bwg_testBrowser_cssTransitions_0()) {\n          jQuery(next_image_class).css('transition', 'opacity ' + bwg_transition_duration_0 + 'ms linear');\n          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});\n          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});\n          bwg_change_watermark_container_0();\n        }\n        else {\n          jQuery(current_image_class).animate({'opacity' : 0, 'z-index' : 1}, bwg_transition_duration_0);\n          jQuery(next_image_class).animate({\n              'opacity' : 1,\n              'z-index': 2\n            }, {\n              duration: bwg_transition_duration_0,\n              complete: function () { bwg_change_watermark_container_0(); }\n            });\n          \/* For IE.*\/\n          jQuery(current_image_class).fadeTo(bwg_transition_duration_0, 0);\n          jQuery(next_image_class).fadeTo(bwg_transition_duration_0, 1);\n        }\n      }\n      function bwg_grid_0(cols, rows, ro, tx, ty, sc, op, current_image_class, next_image_class, direction) {\n        \/* If browser does not support CSS transitions.*\/\n        if (!bwg_testBrowser_cssTransitions_0()) {\n          return bwg_fallback_0(current_image_class, next_image_class, direction);\n        }\n        bwg_trans_in_progress_0 = true;\n        \/* Set active thumbnail.*\/\n        jQuery(\".bwg_slideshow_filmstrip_thumbnail_0\").removeClass(\"bwg_slideshow_thumb_active_0\").addClass(\"bwg_slideshow_thumb_deactive_0\");\n        jQuery(\"#bwg_filmstrip_thumbnail_\" + bwg_current_key_0 + \"_0\").removeClass(\"bwg_slideshow_thumb_deactive_0\").addClass(\"bwg_slideshow_thumb_active_0\");\n        jQuery(\".bwg_slideshow_dots_0\").removeClass(\"bwg_slideshow_dots_active_0\").addClass(\"bwg_slideshow_dots_deactive_0\");\n        jQuery(\"#bwg_dots_\" + bwg_current_key_0 + \"_0\").removeClass(\"bwg_slideshow_dots_deactive_0\").addClass(\"bwg_slideshow_dots_active_0\");\n        \/* The time (in ms) added to\/subtracted from the delay total for each new gridlet.*\/\n        var count = (bwg_transition_duration_0) \/ (cols + rows);\n        \/* Gridlet creator (divisions of the image grid, positioned with background-images to replicate the look of an entire slide image when assembled)*\/\n        function bwg_gridlet(width, height, top, img_top, left, img_left, src, imgWidth, imgHeight, c, r) {\n          var delay = (c + r) * count;\n          \/* Return a gridlet elem with styles for specific transition.*\/\n          return jQuery('<span class=\"bwg_gridlet_0\" ><\/span>').css({\n            display : \"block\",\n            width : width,\n            height : height,\n            top : top,\n            left : left,\n            backgroundImage : 'url(\"' + src + '\")',\n            backgroundColor: jQuery(\".bwg_slideshow_image_wrap_0\").css(\"background-color\"),\n            \/*backgroundColor: rgba(0, 0, 0, 0),*\/\n            backgroundRepeat: 'no-repeat',\n            backgroundPosition : img_left + 'px ' + img_top + 'px',\n            backgroundSize : imgWidth + 'px ' + imgHeight + 'px',\n            transition : 'all ' + bwg_transition_duration_0 + 'ms ease-in-out ' + delay + 'ms',\n            transform : 'none'\n          });\n        }\n        \/* Get the current slide's image.*\/\n        var cur_img = jQuery(current_image_class).find('img');\n        \/* Create a grid to hold the gridlets.*\/\n        var grid = jQuery('<span style=\"display: block;\" ><\/span>').addClass('bwg_grid_0');\n        \/* Prepend the grid to the next slide (i.e. so it's above the slide image).*\/\n        jQuery(current_image_class).prepend(grid);\n        \/* vars to calculate positioning\/size of gridlets*\/\n        var cont = jQuery(\".bwg_slide_bg_0\");\n        var imgWidth = cur_img.width();\n        var imgHeight = cur_img.height();\n        var contWidth = cont.width(),\n            contHeight = cont.height(),\n            imgSrc = cur_img.attr('src'),\/*.replace('\/thumb', ''),*\/\n            colWidth = Math.floor(contWidth \/ cols),\n            rowHeight = Math.floor(contHeight \/ rows),\n            colRemainder = contWidth - (cols * colWidth),\n            colAdd = Math.ceil(colRemainder \/ cols),\n            rowRemainder = contHeight - (rows * rowHeight),\n            rowAdd = Math.ceil(rowRemainder \/ rows),\n            leftDist = 0,\n            img_leftDist = (jQuery(\".bwg_slide_bg_0\").width() - cur_img.width()) \/ 2;\n        \/* tx\/ty args can be passed as 'auto'\/'min-auto' (meaning use slide width\/height or negative slide width\/height).*\/\n        tx = tx === 'auto' ? contWidth : tx;\n        tx = tx === 'min-auto' ? - contWidth : tx;\n        ty = ty === 'auto' ? contHeight : ty;\n        ty = ty === 'min-auto' ? - contHeight : ty;\n        \/* Loop through cols*\/\n        for (var i = 0; i < cols; i++) { var topDist = 0, img_topDst = (jQuery(\".bwg_slide_bg_0\").height() - cur_img.height()) \/ 2, newColWidth = colWidth; \/* If imgWidth (px) does not divide cleanly into the specified number of cols, adjust individual col widths to create correct total.*\/ if (colRemainder > 0) {\n            var add = colRemainder >= colAdd ? colAdd : colRemainder;\n            newColWidth += add;\n            colRemainder -= add;\n          }\n          \/* Nested loop to create row gridlets for each col.*\/\n          for (var j = 0; j < rows; j++) { var newRowHeight = rowHeight, newRowRemainder = rowRemainder; \/* If contHeight (px) does not divide cleanly into the specified number of rows, adjust individual row heights to create correct total.*\/ if (newRowRemainder > 0) {\n              add = newRowRemainder >= rowAdd ? rowAdd : rowRemainder;\n              newRowHeight += add;\n              newRowRemainder -= add;\n            }\n            \/* Create & append gridlet to grid.*\/\n            grid.append(bwg_gridlet(newColWidth, newRowHeight, topDist, img_topDst, leftDist, img_leftDist, imgSrc, imgWidth, imgHeight, i, j));\n            topDist += newRowHeight;\n            img_topDst -= newRowHeight;\n          }\n          img_leftDist -= newColWidth;\n          leftDist += newColWidth;\n        }\n        \/* Set event listener on last gridlet to finish transitioning.*\/\n        var last_gridlet = grid.children().last();\n        \/* Show grid & hide the image it replaces.*\/\n        grid.show();\n        cur_img.css('opacity', 0);\n        \/* Add identifying classes to corner gridlets (useful if applying border radius).*\/\n        grid.children().first().addClass('rs-top-left');\n        grid.children().last().addClass('rs-bottom-right');\n        grid.children().eq(rows - 1).addClass('rs-bottom-left');\n        grid.children().eq(- rows).addClass('rs-top-right');\n        \/* Execution steps.*\/\n        setTimeout(function () {\n          grid.children().css({\n            opacity: op,\n            transform: 'rotate('+ ro +'deg) translateX('+ tx +'px) translateY('+ ty +'px) scale('+ sc +')'\n          });\n        }, 1);\n        jQuery(next_image_class).css('opacity', 1);\n        \/* After transition.*\/\n        jQuery(last_gridlet).one('webkitTransitionEnd transitionend otransitionend oTransitionEnd mstransitionend', jQuery.proxy(bwg_after_trans));\n        function bwg_after_trans() {\n          \/*if (bwg_from_focus_0) {\n            bwg_from_focus_0 = false;\n            return;\n          }*\/\n          jQuery(current_image_class).css({'opacity' : 0, 'z-index': 1});\n          jQuery(next_image_class).css({'opacity' : 1, 'z-index' : 2});\n          cur_img.css('opacity', 1);\n          bwg_change_watermark_container_0();\n          grid.remove();\n          bwg_trans_in_progress_0 = false;\n          if (typeof event_stack_0 !== 'undefined') {\n            if (event_stack_0.length > 0) {\n              key = event_stack_0[0].split(\"-\");\n              event_stack_0.shift();\n              bwg_change_image_0(key[0], key[1], data_0, true);\n            }\n          }\n        }\n      }\n      function bwg_sliceV_0(current_image_class, next_image_class, direction) {\n        if (direction == 'right') {\n          var translateY = 'min-auto';\n        }\n        else if (direction == 'left') {\n          var translateY = 'auto';\n        }\n        bwg_grid_0(10, 1, 0, 0, translateY, 1, 0, current_image_class, next_image_class, direction);\n      }\n      function bwg_scaleOut_0(current_image_class, next_image_class, direction) {\n        bwg_grid_0(1, 1, 0, 0, 0, 1.5, 0, current_image_class, next_image_class, direction);\n      }\n      function bwg_blindH_0(current_image_class, next_image_class, direction) {\n        bwg_grid_0(10, 1, 0, 0, 0, .7, 0, current_image_class, next_image_class);\n      }\n      function iterator_0() {\n        var iterator = 1;\n        if (0) {\n          iterator = Math.floor((data_0.length - 1) * Math.random() + 1);\n        }\n        return iterator;\n      }\n      function bwg_change_image_0(current_key, key, data_0, from_effect) {\n        \/* Pause videos.*\/\n        jQuery(\"#bwg_slideshow_image_container_0\").find(\"iframe\").each(function () {\n          jQuery(this)[0].contentWindow.postMessage('{\"event\":\"command\",\"func\":\"pauseVideo\",\"args\":\"\"}', '*');\n          jQuery(this)[0].contentWindow.postMessage('{ \"method\": \"pause\" }', \"*\");\n          jQuery(this)[0].contentWindow.postMessage('pause', '*');\n        });\n        if (data_0[key]) {\n          if (jQuery('.bwg_ctrl_btn_0').hasClass('fa-pause')) {\n            play_0();\n          }\n          if (!from_effect) {\n            \/* Change image key.*\/\n            jQuery(\"#bwg_current_image_key_0\").val(key);\n            if (current_key == '-1') { \/* Filmstrip.*\/\n              current_key = jQuery(\".bwg_slideshow_thumb_active_0\").children(\"img\").attr(\"image_key\");\n            }\n            else if (current_key == '-2') { \/* Dots.*\/\n              current_key = jQuery(\".bwg_slideshow_dots_active_0\").attr(\"image_key\");\n            }\n          }\n          if (bwg_trans_in_progress_0) {\n            event_stack_0.push(current_key + '-' + key);\n            return;\n          }\n          var direction = 'right';\n          if (bwg_current_key_0 > key) {\n            var direction = 'left';\n          }\n          else if (bwg_current_key_0 == key) {\n            return;\n          }\n          jQuery(\".bwg_slideshow_watermark_0\").css({display: 'none'});\n          jQuery(\".bwg_slideshow_title_text_0\").css({display: 'none'});\n          jQuery(\".bwg_slideshow_description_text_0\").css({display: 'none'});\n          \/* Set active thumbnail position.*\/\n          bwg_current_filmstrip_pos_0 = key * (jQuery(\".bwg_slideshow_filmstrip_thumbnail_0\").width() + 2 + 2 * 1);\n          bwg_current_key_0 = key;\n          \/* Change image id, title, description.*\/\n          jQuery(\"#bwg_slideshow_image_0\").attr('image_id', data_0[key][\"id\"]);\n          jQuery(\".bwg_slideshow_title_text_0\").html(jQuery('<span style=\"display: block;\" ><\/span>').html(data_0[key][\"alt\"]).text());\n          jQuery(\".bwg_slideshow_description_text_0\").html(jQuery('<span style=\"display: block;\" ><\/span>').html(data_0[key][\"description\"]).text());\n          var current_image_class = \"#image_id_0_\" + data_0[current_key][\"id\"];\n          var next_image_class = \"#image_id_0_\" + data_0[key][\"id\"];\n          bwg_fade_0(current_image_class, next_image_class, direction);\n                      bwg_move_dots_0();\n                      if (data_0[key][\"is_embed_video\"]) {\n            jQuery(\"#bwg_slideshow_play_pause_0\").css({display: 'none'});\n          }\n          else {\n            jQuery(\"#bwg_slideshow_play_pause_0\").css({display: ''});            \n          }\n        }\n      }\n      function bwg_popup_resize_0() {\n        var parent_width = jQuery(\".bwg_slideshow_image_wrap_0\").parent().width();\n        if (parent_width >= 1200) {\n          jQuery(\".bwg_slideshow_image_wrap_0\").css({width: 1200});\n          jQuery(\".bwg_slideshow_image_wrap_0\").css({height: 600});\n          jQuery(\".bwg_slideshow_image_container_0\").css({width: 1200});\n          jQuery(\".bwg_slideshow_image_container_0\").css({height: (600)});\n          jQuery(\".bwg_slideshow_image_0\").css({\n            cssText: \"max-width: 1200px !important; max-height: 600px !important;\"\n          });\n          jQuery(\".bwg_slideshow_embed_0\").css({\n            cssText: \"width: 1200px !important; height: 600px !important;\"\n          });\n          bwg_resize_instagram_post_0();\n          \/* Set watermark container size.*\/\n          bwg_change_watermark_container_0();\n          jQuery(\".bwg_slideshow_filmstrip_container_0\").css({width: 1200});\n          jQuery(\".bwg_slideshow_filmstrip_0\").css({width: (1200 - 40)});\n          jQuery(\".bwg_slideshow_dots_container_0\").css({width: 1200});\n          jQuery(\"#bwg_slideshow_play_pause-ico_0\").css({fontSize: (60)});\n          jQuery(\".bwg_slideshow_watermark_image_0\").css({maxWidth: 90, maxHeight: 90});\n          jQuery(\".bwg_slideshow_watermark_text_0, .bwg_slideshow_watermark_text_0:hover\").css({fontSize: (20)});\n          jQuery(\".bwg_slideshow_title_text_0\").css({fontSize: (32)});\n          jQuery(\".bwg_slideshow_description_text_0\").css({fontSize: (28)});\n        }\n        else {\n          jQuery(\".bwg_slideshow_image_wrap_0\").css({width: (parent_width)});\n          jQuery(\".bwg_slideshow_image_wrap_0\").css({height: ((parent_width) * 0.5)});\n          jQuery(\".bwg_slideshow_image_container_0\").css({width: (parent_width)});\n          jQuery(\".bwg_slideshow_image_container_0\").css({height: ((parent_width) * 0.5 - 0)});\n          jQuery(\".bwg_slideshow_image_0\").css({\n            cssText: \"max-width: \" + parent_width + \"px !important; max-height: \" + (parent_width * (0.5) - 0 - 1) + \"px !important;\"\n          });\n          jQuery(\".bwg_slideshow_embed_0\").css({\n            cssText: \"width: \" + parent_width + \"px !important; height: \" + (parent_width * (0.5) - 0 - 1) + \"px !important;\"\n          });\n          bwg_resize_instagram_post_0();\n          \/* Set watermark container size.*\/\n          bwg_change_watermark_container_0();\n          jQuery(\".bwg_slideshow_filmstrip_container_0\").css({width: (parent_width)});\n          jQuery(\".bwg_slideshow_filmstrip_0\").css({width: (parent_width - 40)});\n          jQuery(\".bwg_slideshow_dots_container_0\").css({width: (parent_width)});\n          jQuery(\"#bwg_slideshow_play_pause-ico_0\").css({fontSize: ((parent_width) * 0.05)});\n          jQuery(\".bwg_slideshow_watermark_image_0\").css({maxWidth: ((parent_width) * 0.075), maxHeight: ((parent_width) * 0.075)});\n          jQuery(\".bwg_slideshow_watermark_text_0, .bwg_slideshow_watermark_text_0:hover\").css({fontSize: ((parent_width) * 0.0166666666667)});\n          jQuery(\".bwg_slideshow_title_text_0\").css({fontSize: ((parent_width) * 0.0266666666667)});\n          jQuery(\".bwg_slideshow_description_text_0\").css({fontSize: ((parent_width) * 0.0233333333333)});\n        }\n      }\n      jQuery(window).resize(function() {\n        bwg_popup_resize_0();\n      });\n      jQuery(window).load(function () {\n      \t        if (typeof jQuery().swiperight !== 'undefined') {\n          if (jQuery.isFunction(jQuery().swiperight)) {\n            jQuery('#bwg_container1_0').swiperight(function () {\n              bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) - iterator_0()) >= 0 ? (parseInt(jQuery('#bwg_current_image_key_0').val()) - iterator_0()) % data_0.length : data_0.length - 1, data_0);\n              return false;\n            });\n          }\n        }\n        if (typeof jQuery().swipeleft !== 'undefined') {\n          if (jQuery.isFunction(jQuery().swipeleft)) {\n            jQuery('#bwg_container1_0').swipeleft(function () {\n              bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) + iterator_0()) % data_0.length, data_0);\n              return false;\n            });\n          }\n        }\n\n        var isMobile = (\/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini\/i.test(navigator.userAgent.toLowerCase()));\n        var bwg_click = isMobile ? 'touchend' : 'click';\n        bwg_popup_resize_0();\n        jQuery(\"#bwg_container1_0\").css({visibility: 'visible'});\n        jQuery(\".bwg_slideshow_watermark_0\").css({display: 'none'});\n        jQuery(\".bwg_slideshow_title_text_0\").css({display: 'none'});\n        jQuery(\".bwg_slideshow_description_text_0\").css({display: 'none'});\n        setTimeout(function () {\n          bwg_change_watermark_container_0();\n        }, 500);\n        \/* Set image container height.*\/\n        jQuery(\".bwg_slideshow_image_container_0\").height(jQuery(\".bwg_slideshow_image_wrap_0\").height() - 0);\n        var mousewheelevt = (\/Firefox\/i.test(navigator.userAgent)) ? \"DOMMouseScroll\" : \"mousewheel\"; \/* FF doesn't recognize mousewheel as of FF3.x *\/\n        jQuery('.bwg_slideshow_filmstrip_0').bind(mousewheelevt, function(e) {\n          var evt = window.event || e; \/* Equalize event object.*\/\n          evt = evt.originalEvent ? evt.originalEvent : evt; \/* Convert to originalEvent if possible.*\/\n          var delta = evt.detail ? evt.detail*(-40) : evt.wheelDelta; \/* Check for detail first, because it is used by Opera and FF.*\/\n          if (delta > 0) {\n            \/* Scroll up.*\/\n            jQuery(\".bwg_slideshow_filmstrip_left_0\").trigger(\"click\");\n          }\n          else {\n            \/* Scroll down.*\/\n            jQuery(\".bwg_slideshow_filmstrip_right_0\").trigger(\"click\");\n          }\n          return false;\n        });\n        jQuery(\".bwg_slideshow_filmstrip_right_0\").on(bwg_click, function () {\n          jQuery( \".bwg_slideshow_filmstrip_thumbnails_0\" ).stop(true, false);\n          if (jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left >= -(jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").width() - jQuery(\".bwg_slideshow_filmstrip_0\").width())) {\n            jQuery(\".bwg_slideshow_filmstrip_left_0\").css({opacity: 1, filter: \"Alpha(opacity=100)\"});\n            if (jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left < -(jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").width() - jQuery(\".bwg_slideshow_filmstrip_0\").width() - 2)) {\n              jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").animate({left: -(jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").width() - jQuery(\".bwg_slideshow_filmstrip_0\").width())}, 500, 'linear');\n            }\n            else {\n              jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").animate({left: (jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left - 2)}, 500, 'linear');\n            }\n          }\n          \/* Disable right arrow.*\/\n          window.setTimeout(function(){\n            if (jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left == -(jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").width() - jQuery(\".bwg_slideshow_filmstrip_0\").width())) {\n              jQuery(\".bwg_slideshow_filmstrip_right_0\").css({opacity: 0.3, filter: \"Alpha(opacity=30)\"});\n            }\n          }, 500);\n        });\n        jQuery(\".bwg_slideshow_filmstrip_left_0\").on(bwg_click, function () {\n          jQuery( \".bwg_slideshow_filmstrip_thumbnails_0\" ).stop(true, false);\n          if (jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left < 0) { jQuery(\".bwg_slideshow_filmstrip_right_0\").css({opacity: 1, filter: \"Alpha(opacity=100)\"}); if (jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left > - 2) {\n              jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").animate({left: 0}, 500, 'linear');\n            }\n            else {\n              jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").animate({left: (jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left + 2)}, 500, 'linear');\n            }\n          }\n          \/* Disable left arrow.*\/\n          window.setTimeout(function(){\n            if (jQuery(\".bwg_slideshow_filmstrip_thumbnails_0\").position().left == 0) {\n              jQuery(\".bwg_slideshow_filmstrip_left_0\").css({opacity: 0.3, filter: \"Alpha(opacity=30)\"});\n            }\n          }, 500);\n        });\n        \/* Set filmstrip initial position.*\/\n        bwg_set_filmstrip_pos_0(jQuery(\".bwg_slideshow_filmstrip_0\").width());\n        \/* Play\/pause.*\/\n        jQuery(\"#bwg_slideshow_play_pause_0\").on(bwg_click, function () {\n          if (jQuery(\".bwg_ctrl_btn_0\").hasClass(\"fa-play\")) {\n            play_0();\n            jQuery(\".bwg_slideshow_play_pause_0\").attr(\"title\", \"Pause\");\n            jQuery(\".bwg_slideshow_play_pause_0\").attr(\"class\", \"bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-pause\");\n            if (0) {\n              document.getElementById(\"bwg_audio_0\").play();\n            }\n          }\n          else {\n            \/* Pause.*\/\n            window.clearInterval(bwg_playInterval_0);\n            jQuery(\".bwg_slideshow_play_pause_0\").attr(\"title\", \"Play\");\n            jQuery(\".bwg_slideshow_play_pause_0\").attr(\"class\", \"bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-play\");\n            if (0) {\n              document.getElementById(\"bwg_audio_0\").pause();\n            }\n          }\n        });\n        if (0) {\n          play_0();\n          jQuery(\".bwg_slideshow_play_pause_0\").attr(\"title\", \"Pause\");\n          jQuery(\".bwg_slideshow_play_pause_0\").attr(\"class\", \"bwg_ctrl_btn_0 bwg_slideshow_play_pause_0 fa fa-pause\");\n          if (0) {\n            document.getElementById(\"bwg_audio_0\").play();\n          }\n        }\n        jQuery(\".bwg_slideshow_image_0\").removeAttr(\"width\");\n        jQuery(\".bwg_slideshow_image_0\").removeAttr(\"height\");\n      });\n      function bwg_resize_instagram_post_0(){\n        \n        \/*jQuery.fn.exists = function(){return this.length>0;};*\/\n        if (jQuery('.inner_instagram_iframe_bwg_embed_frame_0').length) {\n          \n          var w = jQuery('.bwg_slideshow_embed_0').width();\n          var h = jQuery('.bwg_slideshow_embed_0').height();\n          var post_width = 0;\n          var post_height = 0;\n          if(h <w +88 ){ post_height = h; post_width = h -88; } else{ post_width = w; post_height = w +88 ; } jQuery('.inner_instagram_iframe_bwg_embed_frame_0').each(function(){ post_height = post_height; post_width = post_width; var top_pos = (0.5 *( h-post_height)); jQuery(this).parent().parent().css({ height: post_height, width: post_width, top: top_pos }); jQuery(this).parent().css({ height: post_height, width: post_width, top: top_pos }); }); } bwg_change_watermark_container_0(); } function play_0() { window.clearInterval(bwg_playInterval_0); \/* Play.*\/ bwg_playInterval_0 = setInterval(function () { var iterator = 1; if (0) { iterator = Math.floor((data_0.length - 1) * Math.random() + 1); } bwg_change_image_0(parseInt(jQuery('#bwg_current_image_key_0').val()), (parseInt(jQuery('#bwg_current_image_key_0').val()) + iterator) % data_0.length, data_0) }, '3000'); } jQuery(window).focus(function() { \/* event_stack_0 = [];*\/ if (!jQuery(\".bwg_ctrl_btn_0\").hasClass(\"fa-play\")) { play_0(); } var i_0 = 0; jQuery(\".bwg_slider_0\").children(\"span\").each(function () { if (jQuery(this).css('opacity') == 1) { jQuery(\"#bwg_current_image_key_0\").val(i_0); } i_0++; }); }); jQuery(window).blur(function() { event_stack_0 = []; window.clearInterval(bwg_playInterval_0); });\n\/\/ ]]><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Photo Gallery Slideshow &nbsp; &nbsp; &nbsp; &nbsp;<\/p>\n<\/div>","protected":false},"author":1,"featured_media":563,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,15,16],"tags":[],"class_list":["post-604","post","type-post","status-publish","format-standard","has-post-thumbnail","category-demonstration","category-gallery","category-image-gallery"],"_links":{"self":[{"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/posts\/604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/comments?post=604"}],"version-history":[{"count":5,"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/posts\/604\/revisions"}],"predecessor-version":[{"id":909,"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/posts\/604\/revisions\/909"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/media\/563"}],"wp:attachment":[{"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/media?parent=604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/categories?post=604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.irandemocratic.org\/public_html\/news\/wp-json\/wp\/v2\/tags?post=604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}