{"id":171,"date":"2016-10-26T17:47:43","date_gmt":"2016-10-26T17:47:43","guid":{"rendered":"http:\/\/www.theatreuncorked.com\/?page_id=171"},"modified":"2016-10-26T17:47:43","modified_gmt":"2016-10-26T17:47:43","slug":"photo-gallery","status":"publish","type":"page","link":"https:\/\/theatreuncorked.com\/index.php\/photo-gallery\/","title":{"rendered":"Photo Gallery"},"content":{"rendered":"\t\t\t\t\t\t<style>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.grid__item21\t\t\t\t\t{\n\t\t\t\t\t\tbox-sizing:border-box !important;\n\t\t\t\t\t\t-moz-box-sizing:border-box !important;\n\t\t\t\t\t\t-webkit-box-sizing:border-box !important;\n\t\t\t\t\t\twidth: px;\n\t\t\t\t\t\tmargin: px !important;\n\t\t\t\t\t\tpadding: px !important;\n\t\t\t\t\t\tbackground: !important;\n\t\t\t\t\t\tborder-radius:% !important;\n\t\t\t\t\t\tbox-shadow: 0px 0px px  !important;\n\t\t\t\t\t\t-moz-box-shadow: 0px 0px px  !important;\n\t\t\t\t\t\t-webkit-box-shadow: 0px 0px px  !important;\n\t\t\t\t\t\toverflow:hidden !important;\n\t\t\t\t\t\tperspective:800px !important;\n\t\t\t\t\t\ttransform:scale(1,1);\n\t\t\t\t\t\t-webkit-transform:scale(1,1);\n\t\t\t\t\t\t-ms-transform:scale(1,1);\n\t\t\t\t\t\t-moz-transform:scale(1,1);\n\t\t\t\t\t\t-o-transform:scale(1,1);\n\t\t\t\t\t}\n\t\t\t\t\t.mask-GI-RW { background: !important; opacity:1 !important; }\n\t\t\t\t\t.mask-GI-RichWeb { background: !important; opacity:1 !important; }\n\t\t\t\t\t.preview1::before { background: !important; }\n\t\t\t\t\t\t\t\t\t\t.description--preview1, .description--preview1 h3\n\t\t\t\t\t{\n\t\t\t\t\t\tbox-sizing:border-box !important;\n\t\t\t\t\t\t-moz-box-sizing:border-box !important;\n\t\t\t\t\t\t-webkit-box-sizing:border-box !important;\n\t\t\t\t\t\tfont-size:px !important;\n\t\t\t\t\t\tfont-family: !important;\n\t\t\t\t\t\tcolor: !important;\n\t\t\t\t\t}\n\t\t\t\t\t.description--preview1 h3 { text-align:center; !important; }\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.description--preview1 p\n\t\t\t\t\t{\n\t\t\t\t\t\tmax-height:300px !important;\n\t\t\t\t\t\toverflow:none;\n\t\t\t\t\t\toverflow-x:hidden !important;\n\t\t\t\t\t\tpadding-right:10px !important;\n\t\t\t\t\t\tpadding-left: 3px;\n\t\t\t\t\t\tline-height: 1 !important;\n\t\t\t\t\t}\n\t\t\t\t\t.img-wrap1 img { margin:0px !important; max-width:none !important; }\n\t\t\t\t\t.action--close1 { top:25px !important; right:10px !important; }\n\t\t\t\t\t.action--close1:hover { background:none !important; }\n\t\t\t\t\t.action--close1 i\n\t\t\t\t\t{\n\t\t\t\t\t\tfont-size:px !important;\n\t\t\t\t\t\tcolor: !important;\n\t\t\t\t\t\tz-index:99999 !important;\n\t\t\t\t\t}\n\t\t\t\t\t.action--nav\n\t\t\t\t\t{\n\t\t\t\t\t\tposition: fixed;\n\t\t\t\t\t\tbottom: 25px;\n\t\t\t\t\t\tpadding: 5px;\n\t\t\t\t\t\tcursor:pointer;\n\t\t\t\t\t\topacity: 0;\n\t\t\t\t\t\t-webkit-transition: opacity 0.3s, -webkit-transform 0.3s;\n\t\t\t\t\t\t-moz-transition: opacity 0.3s, -moz-transform 0.3s;\n\t\t\t\t\t\ttransition: opacity 0.3s, transform 0.3s;\n\t\t\t\t\t\tz-index:99999;\n\t\t\t\t\t}\n\t\t\t\t\t.action--nav i\n\t\t\t\t\t{\n\t\t\t\t\t\tfont-size:px !important;\n\t\t\t\t\t\tcolor: !important;\n\t\t\t\t\t}\n\t\t\t\t\t.RW_GGL\n\t\t\t\t\t{\n\t\t\t\t\t\tfont-size:px !important;\n\t\t\t\t\t\tfont-family: !important;\n\t\t\t\t\t\tcolor: !important;\n\t\t\t\t\t\tpadding:5px 10px !important;\n\t\t\t\t\t\tborder:px   !important;\n\t\t\t\t\t\tborder-radius:px !important;\n\t\t\t\t\t\tbackground: !important;\n\t\t\t\t\t}\n\t\t\t\t\t.RW_GGL:hover\n\t\t\t\t\t{\n\t\t\t\t\t\tbackground: !important;\n\t\t\t\t\t\tborder-color: !important;\n\t\t\t\t\t\tcolor: !important;\n\t\t\t\t\t}\n\t\t\t\t\t.grid1\t\t\t\t\t{\n\t\t\t\t\t\tfloat:none !important;\n\t\t\t\t\t\tbox-shadow:none !important;\n\t\t\t\t\t\t-moz-box-shadow:none !important;\n\t\t\t\t\t\t-webkit-box-shadow:none !important;\n\t\t\t\t\t}\n\t\t\t\t\t.description--preview1 p::-webkit-scrollbar { width: 0.5em; }\n\t\t\t\t\t.description--preview1 p::-webkit-scrollbar-track\n\t\t\t\t\t{\n\t\t\t\t\t\t-webkit-box-shadow: inset 0 0 6px ;\n\t\t\t\t\t}\n\t\t\t\t\t.description--preview1 p::-webkit-scrollbar-thumb\n\t\t\t\t\t{\n\t\t\t\t\t\tbackground-color: ;\n\t\t\t\t\t\toutline: ;\n\t\t\t\t\t}\t\n\t\t\t\t\t.thumbs::-webkit-scrollbar { width: 0.5em; }\n\t\t\t\t\t.thumbs::-webkit-scrollbar-track\n\t\t\t\t\t{\n\t\t\t\t\t\t-webkit-box-shadow: inset 0 0 6px ;\n\t\t\t\t\t}\n\t\t\t\t\t.thumbs::-webkit-scrollbar-thumb\n\t\t\t\t\t{\n\t\t\t\t\t\tbackground-color: ;\n\t\t\t\t\t\toutline: ;\n\t\t\t\t\t}\n\t\t\t\t\t.action1:hover { background:none !important; }\n\t\t\t\t\t.action1 { background:none !important; }\n\t\t\t\t\t.description--grid1 { display:none !important; }\n\t\t\t\t\t.img-wrap1, .RW_GGL { text-decoration:none !important; }\n\t\t\t\t\t.img-wrap1\t\t\t\t\t{\n\t\t\t\t\t\tborder:none !important;\n\t\t\t\t\t\tbox-shadow:none !important;\n\t\t\t\t\t\t-moz-box-shadow:none !important;\n\t\t\t\t\t\t-webkit-box-shadow:none !important;\n\t\t\t\t\t\tcursor: default;\n\t\t\t\t\t}\n\t\t\t\t\tul.pagination li:before{ content:'' !important; }\n\t\t\t\t\t.pagination1\t\t\t\t\t{\n\t\t\t\t\t\ttext-align:;\n\t\t\t\t\t\tmargin-top:20px !important;\n\t\t\t\t\t\tmargin-bottom:20px !important;\n\t\t\t\t\t\tborder:none !important;\n\t\t\t\t\t}\n\t\t\t\t\t.RW_center1\t\t\t\t\t{\n\t\t\t\t\t\ttext-align:;\n\t\t\t\t\t\tmargin-top:20px;\n\t\t\t\t\t\tmargin-bottom:20px;\n\t\t\t\t\t\tmargin-left:none !important;\n\t\t\t\t\t}\n\t\t\t\t\tul.pagination1 li \n\t\t\t\t\t{\n\t\t\t\t\t\tposition:relative;\n\t\t\t\t\t\t \n\t\t\t\t\t\t\tborder: 1px solid ;\n\t\t\t\t\t\t\t\t\t\t\t\tlist-style:none !important;\n\t\t\t\t\t\tdisplay:inline-block !important;\n\t\t\t\t\t\tpadding:3px 8px;\n\t\t\t\t\t\tcursor:pointer;\n\t\t\t\t\t\tmargin:0px !important;\n\t\t\t\t\t\tbackground-color:;\n\t\t\t\t\t\tborder-radius:px;\n\t\t\t\t\t\toverflow:hidden;\n\t\t\t\t\t\tperspective:800px;\n\t\t\t\t\t\t-webkit-perspective:800px;\n\t\t\t\t\t\t-ms-perspective:800px;\n\t\t\t\t\t\t-moz-perspective:800px;\n\t\t\t\t\t\t-o-perspective:800px;\n\t\t\t\t\t}\n\t\t\t\t\t.pHov_RW1\t\t\t\t\t{\n\t\t\t\t\t\tposition:absolute !important;\n\t\t\t\t\t\twidth:0%;\n\t\t\t\t\t\theight:0% !important;\n\t\t\t\t\t\ttop:50%;\n\t\t\t\t\t\tleft:50%;\n\t\t\t\t\t\tbackground-color:  !important;\n\t\t\t\t\t\tperspective:800px;\n\t\t\t\t\t\ttransition:all 0.2s ease-out;\n\t\t\t\t\t\t-webkit-transition:all 0.2s ease-out;\n\t\t\t\t\t\t-ms-transition:all 0.2s ease-out;\n\t\t\t\t\t\t-moz-transition:all 0.2s ease-out;\n\t\t\t\t\t\t-o-transition:all 0.2s ease-out;\n\t\t\t\t\t}\n\t\t\t\t\tul.pagination1 li span\n\t\t\t\t\t{\n\t\t\t\t\t\tcolor:;\n\t\t\t\t\t\tfont-size:px;\n\t\t\t\t\t\tfont-family:;\n\t\t\t\t\t}\n\t\t\t\t\t.pagination1>li>.RW_PNumber1 { background:none !important; }\n\t\t\t\t\tul.pagination1 li:hover .pHov_RW1:not(.active)\n\t\t\t\t\t{\n\t\t\t\t\t\ttop:0%;\n\t\t\t\t\t\tleft:0%;\n\t\t\t\t\t\theight:100% !important;\n\t\t\t\t\t\twidth:100%;\n\t\t\t\t\t\tcolor: ;\n\t\t\t\t\t}\n\t\t\t\t\tul.pagination1 li:hover .RW_PNumber1,ul.pagination1 li:hover span\n\t\t\t\t\t{\n\t\t\t\t\t\tcolor: ;\n\t\t\t\t\t}\n\t\t\t\t\tul.pagination1 li .active\n\t\t\t\t\t{\n\t\t\t\t\t\tbackground-color: ;\n\t\t\t\t\t\theight:100% !important;\n\t\t\t\t\t\twidth:100% !important;\n\t\t\t\t\t\ttop:0% !important;\n\t\t\t\t\t\tleft:0% !important;\n\t\t\t\t\t}\n\t\t\t\t\tul.pagination1 li .active21\t\t\t\t\t{\n\t\t\t\t\t\tcolor:  !important;\n\t\t\t\t\t}\n\t\t\t\t\t.RW_GIG_LM1\t\t\t\t\t{\n\t\t\t\t\t\tposition:relative;\n\t\t\t\t\t\tbackground-color:;\n\t\t\t\t\t\tcolor:;\n\t\t\t\t\t\tfont-size:px;\n\t\t\t\t\t\tfont-family:;\n\t\t\t\t\t\t \n\t\t\t\t\t\t\tborder: 1px solid ;\n\t\t\t\t\t\t\t\t\t\t\t\tcursor:pointer;\n\t\t\t\t\t\tpadding:2px 8px;\n\t\t\t\t\t}\n\t\t\t\t\t.RW_GIG_LM1:hover .pHov_RW1\t\t\t\t\t{\n\t\t\t\t\t\tbackground-color: ;\n\t\t\t\t\t\theight:100% !important;\n\t\t\t\t\t\twidth:100% !important;\n\t\t\t\t\t\ttop:0% !important;\n\t\t\t\t\t\tleft:0% !important;\n\t\t\t\t\t}\n\t\t\t\t\t.RW_GIG_LM1:hover span { color: ; }\n\t\t\t\t<\/style>\n\t\t\t\t<div id=\"grid1\" class=\"grid grid1 grid_GG_RW1\">\n\t\t\t\t \n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<div class=\"preview preview1\">\n\t\t\t\t\t<button class=\"action1 action--close1\"><i class=\"\"><\/i><span class=\"text-hidden1\">Close<\/span><\/button>\n\t\t\t\t\t\t\t\t\t\t<div class=\"description1 description--preview description--preview1\"><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<input type='text' style='display:none;' class='RW_GG_PIT1' value=''>\n\t\t\t\t\t<input type='text' style='display:none;' class='RW_GG_PT1' value=''>\n\t\t\t\t\t<input type='text' style='display:none;' class='RW_GG_P_FS1' value=''>\n\t\t\t\t\t<input type='text' style='display:none;' class='response1' value='Array\n(\n    [0] => stdClass Object\n        (\n            [id] => 3\n            [Gallery_Img_Title] => \n            [Gallery_Img_Description] => \n            [Gallery_Img_Url] => http:\/\/www.theatreuncorked.com\/wp-content\/uploads\/2016\/10\/virginiawoolfwebsitephoto2-3.jpg\n            [Gallery_Link_Url] => \n            [Gallery_Link_NewTab] => undefined\n            [Gallery_Number] => 1\n        )\n\n)\n1'>\n\t\t\t\t\t\t\t\t\t<script>\n\t\t\t\t\t;(function(window) {\n\t\t\t\t\t\t'use strict';\n\t\t\t\t\t\tvar support = { transitions: Modernizr.csstransitions },\n\t\t\t\t\t\t\t\/\/ transition end event name\n\t\t\t\t\t\t\ttransEndEventNames = { 'WebkitTransition': 'webkitTransitionEnd', 'MozTransition': 'transitionend', 'OTransition': 'oTransitionEnd', 'msTransition': 'MSTransitionEnd', 'transition': 'transitionend' },\n\t\t\t\t\t\t\ttransEndEventName = transEndEventNames[ Modernizr.prefixed( 'transition' ) ],\n\t\t\t\t\t\t\tonEndTransition = function( el, callback ) {\n\t\t\t\t\t\t\t\tvar onEndCallbackFn = function( ev ) {\n\t\t\t\t\t\t\t\t\tif( support.transitions ) {\n\t\t\t\t\t\t\t\t\t\tif( ev.target != this ) return;\n\t\t\t\t\t\t\t\t\t\tthis.removeEventListener( transEndEventName, onEndCallbackFn );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif( callback && typeof callback === 'function' ) { callback.call(this); }\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\tif( support.transitions ) { el.addEventListener( transEndEventName, onEndCallbackFn ); } else { onEndCallbackFn(); }\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * some helper functions\n\t\t\t\t\t\t *\/\n\t\t\t\t\t\tfunction throttle(fn, delay) {\n\t\t\t\t\t\t\tvar allowSample = true;\n\t\t\t\t\t\t\treturn function(e) {\n\t\t\t\t\t\t\t\tif (allowSample) {\n\t\t\t\t\t\t\t\t\tallowSample = false;\n\t\t\t\t\t\t\t\t\tsetTimeout(function() { allowSample = true; }, delay);\n\t\t\t\t\t\t\t\t\tfn(e);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfunction nextSibling(el) {\n\t\t\t\t\t\t\tvar nextSibling = el.nextSibling;\n\t\t\t\t\t\t\twhile(nextSibling && nextSibling.nodeType != 1) { nextSibling = nextSibling.nextSibling }\n\t\t\t\t\t\t\treturn nextSibling;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfunction extend( a, b ) {\n\t\t\t\t\t\t\tfor( var key in b ) { if( b.hasOwnProperty( key ) ) { a[key] = b[key]; } }\n\t\t\t\t\t\t\treturn a;\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * GridFx obj\n\t\t\t\t\t\t *\/\n\t\t\t\t\t\tfunction GridFx1(el, options) {\n\t\t\t\t\t\t\tthis.gridEl = el;\n\t\t\t\t\t\t\tthis.options = extend( {}, this.options );\n\t\t\t\t\t\t\textend( this.options, options );\n\t\t\t\t\t\t\tthis.items = [].slice.call(this.gridEl.querySelectorAll('.grid__item'));\n\t\t\t\t\t\t\tthis.previewEl = nextSibling(this.gridEl);\n\t\t\t\t\t\t\tthis.isExpanded = false;\n\t\t\t\t\t\t\tthis.isAnimating = false;\n\t\t\t\t\t\t\tthis.closeCtrl = this.previewEl.querySelector('button.action--close1');\n\t\t\t\t\t\t\tthis.previewDescriptionEl = this.previewEl.querySelector('.description--preview1');\n\t\t\t\t\t\t\tthis._init();\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * options\n\t\t\t\t\t\t *\/\n\t\t\t\t\t\tGridFx1.prototype.options = {\n\t\t\t\t\t\t\tpagemargin : 0,\n\t\t\t\t\t\t\t\/\/ x and y can have values from 0 to 1 (percentage). If negative then it means the alignment is left and\/or top rather than right and\/or bottom\n\t\t\t\t\t\t\t\/\/ so, as an example, if we want our large image to be positioned vertically on 25% of the screen and centered horizontally the values would be x:1,y:-0.25\n\t\t\t\t\t\t\timgPosition : { x : 1, y : 1 },\n\t\t\t\t\t\t\tonInit : function(instance) { return false; },\n\t\t\t\t\t\t\tonResize : function(instance) { return false; },\n\t\t\t\t\t\t\tonOpenItem : function(instance, item) { return false; },\n\t\t\t\t\t\t\tonCloseItem : function(instance, item) { return false; },\n\t\t\t\t\t\t\tonExpand : function() { return false; }\n\t\t\t\t\t\t}\n\t\t\t\t\t\tGridFx1.prototype._init = function() {\n\t\t\t\t\t\t\t\/\/ callback\n\t\t\t\t\t\t\tthis.options.onInit(this);\n\t\t\t\t\t\t\tvar self = this;\n\t\t\t\t\t\t\t\/\/ init masonry after all images are loaded\n\t\t\t\t\t\t\timagesLoaded( this.gridEl, function() {\n\t\t\t\t\t\t\t\t\/\/ initialize masonry\n\t\t\t\t\t\t\t\tnew Masonry(self.gridEl, {\n\t\t\t\t\t\t\t\t\titemSelector: '.grid__item',\n\t\t\t\t\t\t\t\t\tisFitWidth : true\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\/\/ show grid after all images (thumbs) are loaded\n\t\t\t\t\t\t\t\tclassie.add(self.gridEl, 'grid--loaded1');\n\t\t\t\t\t\t\t\t\/\/ init\/bind events\n\t\t\t\t\t\t\t\tself._initEvents();\n\t\t\t\t\t\t\t\t\/\/ create the large image and append it to the DOM\n\t\t\t\t\t\t\t\tself._setOriginal1();\n\t\t\t\t\t\t\t\t\/\/ create the clone image and append it to the DOM\n\t\t\t\t\t\t\t\tself._setClone();\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t};\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * initialize\/bind events\n\t\t\t\t\t\t *\/\n\t\t\t\t\t\tGridFx1.prototype._initEvents = function () {\n\t\t\t\t\t\t\tvar self = this,\n\t\t\t\t\t\t\t\tclickEvent = (document.ontouchstart!==null ? 'click' : 'touchstart');\n\t\t\t\t\t\t\tthis.items.forEach(function(item) {\n\t\t\t\t\t\t\t\tvar touchend = function(ev) {\n\t\t\t\t\t\t\t\t\t\tev.preventDefault();\n\t\t\t\t\t\t\t\t\t\tself._openItem(ev, item);\n\t\t\t\t\t\t\t\t\t\titem.removeEventListener('touchend', touchend);\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\ttouchmove = function(ev) {\n\t\t\t\t\t\t\t\t\t\titem.removeEventListener('touchend', touchend);\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tmanageTouch = function() {\n\t\t\t\t\t\t\t\t\t\titem.addEventListener('touchend', touchend);\n\t\t\t\t\t\t\t\t\t\titem.addEventListener('touchmove', touchmove);\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\titem.addEventListener(clickEvent, function(ev) {\n\t\t\t\t\t\t\t\t\tif(clickEvent === 'click') \n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif(RW_GG_PIT1=='7') { manageTouch(); } else { ev.preventDefault(); self._openItem(ev, item); }\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse { manageTouch(); }\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\/\/ close expanded image\n\t\t\t\t\t\t\tthis.closeCtrl.addEventListener('click', function() { self._closeItem(); });\n\t\t\t\t\t\t\twindow.addEventListener('resize', throttle(function(ev) { self.options.onResize(self); }, 10));\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * open a grid item\n\t\t\t\t\t\t *\/\n\t\t\t\t\t\tGridFx1.prototype._openItem = function(ev, item) {\n\t\t\t\t\t\t\tif( this.isAnimating || this.isExpanded ) return;\n\t\t\t\t\t\t\tthis.isAnimating = true;\n\t\t\t\t\t\t\tthis.isExpanded = true;\n\t\t\t\t\t\t\t\/\/ item's image\n\t\t\t\t\t\t\tvar gridImg = item.querySelector('img'),\n\t\t\t\t\t\t\t\tgridImgOffset = gridImg.getBoundingClientRect();\n\t\t\t\t\t\t\t\/\/ index of current item\n\t\t\t\t\t\t\tthis.current = this.items.indexOf(item);\n\t\t\t\t\t\t\t\/\/ set the src of the original image element (large image)\n\t\t\t\t\t\t\tthis._setOriginal1(item.querySelector('a').getAttribute('href'));\n\t\t\t\t\t\t\t\/\/ callback\n\t\t\t\t\t\t\tthis.options.onOpenItem(this, item);\n\t\t\t\t\t\t\t\/\/ set the clone image\n\t\t\t\t\t\t\tthis._setClone(gridImg.src, {\n\t\t\t\t\t\t\t\twidth : gridImg.offsetWidth,\n\t\t\t\t\t\t\t\theight : gridImg.offsetHeight,\n\t\t\t\t\t\t\t\tleft : gridImgOffset.left,\n\t\t\t\t\t\t\t\ttop : gridImgOffset.top\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\/\/ hide original1 grid item\n\t\t\t\t\t\t\tclassie.add(item, 'grid__item--current1');\n\t\t\t\t\t\t\t\/\/ calculate the transform value for the clone to animate to the full image view\n\t\t\t\t\t\t\tvar win = this._getWinSize(),\n\t\t\t\t\t\t\t\toriginalSizeArr = item.getAttribute('data-size').split('x'),\n\t\t\t\t\t\t\t\toriginalSize = {width: originalSizeArr[0], height: originalSizeArr[1]},\n\t\t\t\t\t\t\t\tdx = ((this.options.imgPosition.x > 0 ? 1-Math.abs(this.options.imgPosition.x) : Math.abs(this.options.imgPosition.x)) * win.width + this.options.imgPosition.x * win.width\/2) - gridImgOffset.left - 0.5 * gridImg.offsetWidth,\n\t\t\t\t\t\t\t\tdy = ((this.options.imgPosition.y > 0 ? 1-Math.abs(this.options.imgPosition.y) : Math.abs(this.options.imgPosition.y)) * win.height + this.options.imgPosition.y * win.height\/2) - gridImgOffset.top - 0.5 * gridImg.offsetHeight,\n\t\t\t\t\t\t\t\tz = Math.min( Math.min(win.width*Math.abs(this.options.imgPosition.x) - this.options.pagemargin, originalSize.width - this.options.pagemargin)\/gridImg.offsetWidth, Math.min(win.height*Math.abs(this.options.imgPosition.y) - this.options.pagemargin, originalSize.height - this.options.pagemargin)\/gridImg.offsetHeight );\n\t\t\t\t\t\t\t\/\/ apply transform to the clone\n\t\t\t\t\t\t\tthis.cloneImg.style.WebkitTransform = 'translate3d(' + dx + 'px, ' + dy + 'px, 0) scale3d(' + z + ', ' + z + ', 1)';\n\t\t\t\t\t\t\tthis.cloneImg.style.transform = 'translate3d(' + dx + 'px, ' + dy + 'px, 0) scale3d(' + z + ', ' + z + ', 1)';\n\t\t\t\t\t\t\t\/\/ add the description if any\n\t\t\t\t\t\t\tvar descriptionEl = item.querySelector('.description1');\n\t\t\t\t\t\t\tif( descriptionEl ) { this.previewDescriptionEl.innerHTML = descriptionEl.innerHTML; }\n\t\t\t\t\t\t\tvar self = this;\n\t\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\t\t\/\/ controls the elements inside the expanded view\n\t\t\t\t\t\t\t\tclassie.add(self.previewEl, 'preview--open1');\n\t\t\t\t\t\t\t\t\/\/ callback\n\t\t\t\t\t\t\t\tself.options.onExpand();\n\t\t\t\t\t\t\t}, 0);\n\t\t\t\t\t\t\t\/\/ after the clone animates..\n\t\t\t\t\t\t\tonEndTransition(this.cloneImg, function() {\n\t\t\t\t\t\t\t\t\/\/ when the original\/large image is loaded..\n\t\t\t\t\t\t\t\timagesLoaded(self.originalImg1, function() {\n\t\t\t\t\t\t\t\t\t\/\/ close button just gets shown after the large image gets loaded\n\t\t\t\t\t\t\t\t\tclassie.add(self.previewEl, 'preview--image-loaded1');\n\t\t\t\t\t\t\t\t\t\/\/ animate the opacity to 1\n\t\t\t\t\t\t\t\t\tself.originalImg1.style.opacity = 1;\n\t\t\t\t\t\t\t\t\t\/\/ and once that's done..\n\t\t\t\t\t\t\t\t\tonEndTransition(self.originalImg1, function() {\n\t\t\t\t\t\t\t\t\t\t\/\/ reset cloneImg\n\t\t\t\t\t\t\t\t\t\tself.cloneImg.style.opacity = 0;\n\t\t\t\t\t\t\t\t\t\tself.cloneImg.style.WebkitTransform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\t\tself.cloneImg.style.transform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\t\tself.isAnimating = false;\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t});\t\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t};\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * create\/set the original\/large image element\n\t\t\t\t\t\t *\/\n\t\t\t\t\t\tGridFx1.prototype._setOriginal1 = function(src) {\n\t\t\t\t\t\t\tif( !src ) \n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.originalImg1 = document.createElement('img');\n\t\t\t\t\t\t\t\tthis.originalImg1.className = 'original original1';\n\t\t\t\t\t\t\t\tthis.originalImg1.style.opacity = 0;\n\t\t\t\t\t\t\t\tthis.originalImg1.style.maxWidth = 'calc(' + parseInt(Math.abs(this.options.imgPosition.x)*100) + 'vw - ' + this.options.pagemargin + 'px)';\n\t\t\t\t\t\t\t\tthis.originalImg1.style.maxHeight = 'calc(' + parseInt(Math.abs(this.options.imgPosition.y)*100) + 'vh - ' + this.options.pagemargin + 'px)';\n\t\t\t\t\t\t\t\t\/\/ need it because of firefox\n\t\t\t\t\t\t\t\tthis.originalImg1.style.WebkitTransform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\tthis.originalImg1.style.transform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\tsrc = '';\n\t\t\t\t\t\t\t\tthis.previewEl.appendChild(this.originalImg1);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.originalImg1.setAttribute('src', src);\n\t\t\t\t\t\t};\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * create\/set the clone image element\n\t\t\t\t\t\t *\/\n\t\t\t\t\t\tGridFx1.prototype._setClone = function(src, settings) {\n\t\t\t\t\t\t\tif( !src )\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.cloneImg = document.createElement('img');\n\t\t\t\t\t\t\t\tthis.cloneImg.className = 'clone1';\n\t\t\t\t\t\t\t\tsrc = '';\n\t\t\t\t\t\t\t\tthis.cloneImg.style.opacity = 0;\n\t\t\t\t\t\t\t\tthis.previewEl.appendChild(this.cloneImg);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tthis.cloneImg.style.opacity = 1;\n\t\t\t\t\t\t\t\t\/\/ set top\/left\/width\/height of grid item's image to the clone\n\t\t\t\t\t\t\t\tthis.cloneImg.style.width = settings.width + 'px';\n\t\t\t\t\t\t\t\tthis.cloneImg.style.height = settings.height + 'px';\n\t\t\t\t\t\t\t\tthis.cloneImg.style.top = settings.top + 'px';\n\t\t\t\t\t\t\t\tthis.cloneImg.style.left = settings.left + 'px';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis.cloneImg.setAttribute('src', src);\n\t\t\t\t\t\t};\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * closes the original\/large image view\n\t\t\t\t\t\t *\/\n\t\t\t\t\t\tGridFx1.prototype._closeItem = function() {\n\t\t\t\t\t\t\tif( !this.isExpanded || this.isAnimating ) return;\n\t\t\t\t\t\t\tthis.isExpanded = false;\n\t\t\t\t\t\t\tthis.isAnimating = true;\n\t\t\t\t\t\t\t\/\/ the grid item's image and its offset\n\t\t\t\t\t\t\tvar gridItem = this.items[this.current],\n\t\t\t\t\t\t\t\tgridImg = gridItem.querySelector('img'),\n\t\t\t\t\t\t\t\tgridImgOffset = gridImg.getBoundingClientRect(),\n\t\t\t\t\t\t\t\tself = this;\n\t\t\t\t\t\t\tclassie.remove(this.previewEl, 'preview--open1');\n\t\t\t\t\t\t\tclassie.remove(this.previewEl, 'preview--image-loaded1');\n\t\t\t\t\t\t\t\/\/ callback\n\t\t\t\t\t\t\tthis.options.onCloseItem(this, gridItem);\n\t\t\t\t\t\t\t\/\/ large image will animate back to the position of its grid's item\n\t\t\t\t\t\t\tclassie.add(this.originalImg1, 'animate1');\n\t\t\t\t\t\t\t\/\/ set the transform to the original\/large image\n\t\t\t\t\t\t\tvar win = this._getWinSize(),\n\t\t\t\t\t\t\t\tdx = gridImgOffset.left + gridImg.offsetWidth\/2 - ((this.options.imgPosition.x > 0 ? 1-Math.abs(this.options.imgPosition.x) : Math.abs(this.options.imgPosition.x)) * win.width + this.options.imgPosition.x * win.width\/2),\n\t\t\t\t\t\t\t\tdy = gridImgOffset.top + gridImg.offsetHeight\/2 - ((this.options.imgPosition.y > 0 ? 1-Math.abs(this.options.imgPosition.y) : Math.abs(this.options.imgPosition.y)) * win.height + this.options.imgPosition.y * win.height\/2),\n\t\t\t\t\t\t\t\tz = gridImg.offsetWidth\/this.originalImg1.offsetWidth;\n\t\t\t\t\t\t\tthis.originalImg1.style.WebkitTransform = 'translate3d(' + dx + 'px, ' + dy + 'px, 0) scale3d(' + z + ', ' + z + ', 1)';\n\t\t\t\t\t\t\tthis.originalImg1.style.transform = 'translate3d(' + dx + 'px, ' + dy + 'px, 0) scale3d(' + z + ', ' + z + ', 1)';\n\t\t\t\t\t\t\t\/\/ once that's done..\n\t\t\t\t\t\t\tonEndTransition(this.originalImg1, function() {\n\t\t\t\t\t\t\t\t\/\/ clear description\n\t\t\t\t\t\t\t\tself.previewDescriptionEl.innerHTML = '';\n\t\t\t\t\t\t\t\t\/\/ show original grid item\n\t\t\t\t\t\t\t\tclassie.remove(gridItem, 'grid__item--current1');\n\t\t\t\t\t\t\t\t\/\/ fade out the original image\n\t\t\t\t\t\t\t\tsetTimeout(function() { self.originalImg1.style.opacity = 0; }, 60);\n\t\t\t\t\t\t\t\t\/\/ and after that\n\t\t\t\t\t\t\t\tonEndTransition(self.originalImg1, function() {\n\t\t\t\t\t\t\t\t\t\/\/ reset original\/large image\n\t\t\t\t\t\t\t\t\tclassie.remove(self.originalImg1, 'animate1');\n\t\t\t\t\t\t\t\t\tself.originalImg1.style.WebkitTransform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\tself.originalImg1.style.transform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\tself.isAnimating = false;\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t};\n\t\t\t\t\t\t\/**\n\t\t\t\t\t\t * gets the window sizes\n\t\t\t\t\t\t *\/\n\t\t\t\t\t\tGridFx1.prototype._getWinSize = function() {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\twidth: document.documentElement.clientWidth,\n\t\t\t\t\t\t\t\theight: window.innerHeight\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t};\n\t\t\t\t\t\twindow.GridFx1 = GridFx1;\n\t\t\t\t\t})(window);\n\t\t\t\t<\/script>\n\t\t\t\t<script>\n\t\t\t\t\tjQuery(document).ready(function(){\n\t\t\t\t\t\tvar RW_GG_P_FS = jQuery('.RW_GG_P_FS1').val();\n\t\t\t\t\t\tfunction resp(){\n\t\t\t\t\t\t\tif(jQuery('.grid__item1').parent().parent().width()<=jQuery('.grid__item1').width()+10)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tjQuery('.grid__item1').css('width',jQuery('.grid__item1').parent().parent().width());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(jQuery('ul.pagination1 li span').parent().parent().parent().width()<=600)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tjQuery('ul.pagination1 li').css('padding','3px 8px')\n\t\t\t\t\t\t\t\tjQuery('ul.pagination1 li span').css('font-size', Math.ceil(RW_GG_P_FS\/1.5));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse if(jQuery('ul.pagination1 li span').parent().parent().parent().width()>400)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tjQuery('ul.pagination1 li').css('padding','3px 8px')\n\t\t\t\t\t\t\t\tjQuery('ul.pagination1 li span').css('font-size',Math.ceil(RW_GG_P_FS));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(!jQuery('.grid__item1').parent().parent().width())\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tsetTimeout(function(){ resp(); },100)\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tresp();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tjQuery(window).resize(function(){ resp(); })\n\t\t\t\t\t})\n\t\t\t\t<\/script>\n\t\t\t\t<script>\n\t\t\t\t\tvar RW_GG_PIT1 = jQuery('.RW_GG_PIT1').val();\n\t\t\t\t\tvar RW_GG_PT = jQuery('.RW_GG_PT1').val();\n\t\t\t\t\t\/\/ create SVG circle overlay and append it to the preview1 element\n\t\t\t\t\tfunction pop1(){\n\t\t\t\t\t\tfunction hovEff(){\n\t\t\t\t\t\t\tif(RW_GG_PIT1==4)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tjQuery('.grid__item1').each(function(){ jQuery(this).click(function(){ jQuery('.thumbs').html(jQuery(this).attr('name')); }) })\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse if(RW_GG_PIT1==5)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvar array=[];\n\t\t\t\t\t\t\t\tjQuery('.RW_Img').each(function(){\n\t\t\t\t\t\t\t\t\tjQuery(this).click(function(){\n\t\t\t\t\t\t\t\t\t\tjQuery('.original1').attr('src',jQuery(this).attr('src'));\n\t\t\t\t\t\t\t\t\t\tjQuery('.description--preview1').text(jQuery(this).attr('name'));\n\t\t\t\t\t\t\t\t\t\tjQuery('.RW_Img').css('border','none');\n\t\t\t\t\t\t\t\t\t\tjQuery(this).css('border','px solid ');\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\tarray.push(jQuery(this).width());\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\tvar y;\n\t\t\t\t\t\t\t\tjQuery('.grid__item1').each(function(){\n\t\t\t\t\t\t\t\t\tjQuery(this).click(function(){\n\t\t\t\t\t\t\t\t\t\ty=jQuery(this).children().attr('href');\n\t\t\t\t\t\t\t\t\t\tfor(i=0;i<=array.length-1;i++)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tif(jQuery('.RW_Img').eq(i).attr('src')==y)\n\t\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery('.RW_Img').eq(i).css('border','px solid ');\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\tjQuery('.action--close1').click(function(){ jQuery('.original1').attr('src',y); });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\thovEff();\n\t\t\t\t\t\tif(RW_GG_PIT1=='1' || RW_GG_PIT1=='7')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tfunction createCircleOverlay(previewEl) {\n\t\t\t\t\t\t\t\tvar dummy = document.createElementNS('', 'svg');\n\t\t\t\t\t\t\t\tdummy.setAttributeNS(null, 'version', '1.1');\n\t\t\t\t\t\t\t\tdummy.setAttributeNS(null, 'width', '100%');\n\t\t\t\t\t\t\t\tdummy.setAttributeNS(null, 'height', '100%');\n\t\t\t\t\t\t\t\tdummy.setAttributeNS(null, 'class', 'overlay1');\n\t\t\t\t\t\t\t\tvar g = document.createElementNS('', 'g');\n\t\t\t\t\t\t\t\tvar circle = document.createElementNS(\"\", \"circle1\");\n\t\t\t\t\t\t\t\tcircle.setAttributeNS(null, 'cx', 0);\n\t\t\t\t\t\t\t\tcircle.setAttributeNS(null, 'cy', 0);\n\t\t\t\t\t\t\t\tcircle.setAttributeNS(null, 'r', Math.sqrt(Math.pow(previewEl.offsetWidth,2) + Math.pow(previewEl.offsetHeight,2)));\n\t\t\t\t\t\t\t\tdummy.appendChild(g);\n\t\t\t\t\t\t\t\tg.appendChild(circle);\n\t\t\t\t\t\t\t\tpreviewEl.appendChild(dummy);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tnew GridFx1(document.querySelector('.grid1'), {\n\t\t\t\t\t\t\t\tonInit : function(instance) { createCircleOverlay(instance.previewEl); },\n\t\t\t\t\t\t\t\tonResize : function(instance) {\n\t\t\t\t\t\t\t\t\tinstance.previewEl.querySelector('svg circle1').setAttributeNS(null, 'r', Math.sqrt(Math.pow(instance.previewEl.offsetWidth,2) + Math.pow(instance.previewEl.offsetHeight,2)));\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonOpenItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\t\/\/ item's image\n\t\t\t\t\t\t\t\t\tvar gridImg = item.querySelector('img'),\n\t\t\t\t\t\t\t\t\t\tgridImgOffset = gridImg.getBoundingClientRect(),\n\t\t\t\t\t\t\t\t\t\twin = {width: document.documentElement.clientWidth, height: window.innerHeight},\n\t\t\t\t\t\t\t\t\t\tSVGCircleGroupEl = instance.previewEl.querySelector('svg > g'),\n\t\t\t\t\t\t\t\t\t\tSVGCircleEl = SVGCircleGroupEl.querySelector('circle1');\n\t\t\t\t\t\t\t\t\tSVGCircleEl.setAttributeNS(null, 'r', Math.sqrt(Math.pow(instance.previewEl.offsetWidth,2) + Math.pow(instance.previewEl.offsetHeight,2)));\n\t\t\t\t\t\t\t\t\t\/\/ set the transform for the SVG g node. This will animate the circle overlay. The origin of the circle depends on the position of the clicked item.\n\t\t\t\t\t\t\t\t\tif( gridImgOffset.left + gridImg.offsetWidth\/2 < win.width\/2 ) \n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tSVGCircleGroupEl.setAttributeNS(null, 'transform', 'translate(' + win.width + ', ' + (gridImgOffset.top + gridImg.offsetHeight\/2 < win.height\/2 ? win.height : 0) + ')');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse \n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tSVGCircleGroupEl.setAttributeNS(null, 'transform', 'translate(0, ' + (gridImgOffset.top + gridImg.offsetHeight\/2 < win.height\/2 ? win.height : 0) + ')');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(RW_GG_PIT1=='2')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvar support = { transitions: Modernizr.csstransitions },\n\t\t\t\t\t\t\t\t\/\/ transition end event name\n\t\t\t\t\t\t\t\ttransEndEventNames = { 'WebkitTransition': 'webkitTransitionEnd', 'MozTransition': 'transitionend', 'OTransition': 'oTransitionEnd', 'msTransition': 'MSTransitionEnd', 'transition': 'transitionend' },\n\t\t\t\t\t\t\t\ttransEndEventName = transEndEventNames[ Modernizr.prefixed( 'transition' ) ],\n\t\t\t\t\t\t\t\tonEndTransition = function( el, callback ) {\n\t\t\t\t\t\t\t\t\tvar onEndCallbackFn = function( ev ) {\n\t\t\t\t\t\t\t\t\t\tif( support.transitions ) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tif( ev.target != this ) return;\n\t\t\t\t\t\t\t\t\t\t\tthis.removeEventListener( transEndEventName, onEndCallbackFn );\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif( callback && typeof callback === 'function' ) { callback.call(this); }\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tif( support.transitions ) { el.addEventListener( transEndEventName, onEndCallbackFn ); } else { onEndCallbackFn(); }\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tnew GridFx1(document.querySelector('.grid1'), {\n\t\t\t\t\t\t\t\timgPosition : {\n\t\t\t\t\t\t\t\t\tx : -0.5,\n\t\t\t\t\t\t\t\t\ty : 1\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonOpenItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tvar delay = Math.floor(Math.random() * 50);\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1), -webkit-transform .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1), transform .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'scale3d(0.1,0.1,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'scale3d(0.1,0.1,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 0;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonCloseItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .4s, -webkit-transform .4s';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .4s, transform .4s';\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 1;\n\t\t\t\t\t\t\t\t\t\t\tonEndTransition(el, function() {\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'none';\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'none';\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(RW_GG_PIT1 == '3')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvar support = { transitions: Modernizr.csstransitions },\n\t\t\t\t\t\t\t\t\/\/ transition end event name\n\t\t\t\t\t\t\t\ttransEndEventNames = { 'WebkitTransition': 'webkitTransitionEnd', 'MozTransition': 'transitionend', 'OTransition': 'oTransitionEnd', 'msTransition': 'MSTransitionEnd', 'transition': 'transitionend' },\n\t\t\t\t\t\t\t\ttransEndEventName = transEndEventNames[ Modernizr.prefixed( 'transition' ) ],\n\t\t\t\t\t\t\t\tonEndTransition = function( el, callback ) {\n\t\t\t\t\t\t\t\t\tvar onEndCallbackFn = function( ev ) {\n\t\t\t\t\t\t\t\t\t\tif( support.transitions ) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tif( ev.target != this ) return;\n\t\t\t\t\t\t\t\t\t\t\tthis.removeEventListener( transEndEventName, onEndCallbackFn );\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif( callback && typeof callback === 'function' ) { callback.call(this); }\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tif( support.transitions ) { el.addEventListener( transEndEventName, onEndCallbackFn ); } else { onEndCallbackFn(); }\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tnew GridFx1(document.querySelector('.grid1'), {\n\t\t\t\t\t\t\t\timgPosition : {\n\t\t\t\t\t\t\t\t\tx : 1,\n\t\t\t\t\t\t\t\t\ty : 0.75\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tpagemargin : 50,\n\t\t\t\t\t\t\t\tonOpenItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tvar delay = Math.floor(Math.random() * 150);\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .4s ' + delay + 'ms cubic-bezier(.7,0,.3,1), -webkit-transform .4s ' + delay + 'ms cubic-bezier(.7,0,.3,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .4s ' + delay + 'ms cubic-bezier(.7,0,.3,1), transform .4s ' + delay + 'ms cubic-bezier(.7,0,.3,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'translate3d(0,400px,0)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'translate3d(0,400px,0)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 0;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonCloseItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .3s, -webkit-transform .3s';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .3s, transform .3s';\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'translate3d(0,0,0)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'translate3d(0,0,0)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 1;\n\t\t\t\t\t\t\t\t\t\t\tonEndTransition(el, function() {\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'none';\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'none';\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(RW_GG_PIT1=='4')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvar support = { transitions: Modernizr.csstransitions },\n\t\t\t\t\t\t\t\t\/\/ transition end event name\n\t\t\t\t\t\t\t\ttransEndEventNames = { 'WebkitTransition': 'webkitTransitionEnd', 'MozTransition': 'transitionend', 'OTransition': 'oTransitionEnd', 'msTransition': 'MSTransitionEnd', 'transition': 'transitionend' },\n\t\t\t\t\t\t\t\ttransEndEventName = transEndEventNames[ Modernizr.prefixed( 'transition' ) ],\n\t\t\t\t\t\t\t\tonEndTransition = function( el, callback ) {\n\t\t\t\t\t\t\t\t\tvar onEndCallbackFn = function( ev ) {\n\t\t\t\t\t\t\t\t\t\tif( support.transitions ) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tif( ev.target != this ) return;\n\t\t\t\t\t\t\t\t\t\t\tthis.removeEventListener( transEndEventName, onEndCallbackFn );\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif( callback && typeof callback === 'function' ) { callback.call(this); }\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tif( support.transitions ) { el.addEventListener( transEndEventName, onEndCallbackFn ); } else { onEndCallbackFn(); }\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tnew GridFx1(document.querySelector('.grid1'), {\n\t\t\t\t\t\t\t\timgPosition : {\n\t\t\t\t\t\t\t\t\tx : 1,\n\t\t\t\t\t\t\t\t\ty : -0.75\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonOpenItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tvar win = {width: window.innerWidth, height: window.innerHeight};\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tvar delay = Math.floor(Math.random() * 130);\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1), -webkit-transform .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1), transform .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1)';\n\t\t\t\t\t\t\t\t\t\t\tvar elOffset = el.getBoundingClientRect(),\n\t\t\t\t\t\t\t\t\t\t\t\telSize = {width : el.offsetWidth, height : el.offsetHeight};\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'translate3d(' + (win.width\/2 - elOffset.left - elSize.width\/2) + 'px,' + (win.height - elOffset.top - elSize.height\/2) + 'px,0) scale3d(0,0,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'translate3d(' + (win.width\/2 - elOffset.left - elSize.width\/2) + 'px,' + (win.height - elOffset.top - elSize.height\/2) + 'px,0) scale3d(0,0,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 0;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonCloseItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .3s, -webkit-transform .3s';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .3s, transform .3s';\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 1;\n\t\t\t\t\t\t\t\t\t\t\tonEndTransition(el, function() {\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'none';\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'none';\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(RW_GG_PIT1=='5')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvar support = { transitions: Modernizr.csstransitions },\n\t\t\t\t\t\t\t\t\/\/ transition end event name\n\t\t\t\t\t\t\t\ttransEndEventNames = { 'WebkitTransition': 'webkitTransitionEnd', 'MozTransition': 'transitionend', 'OTransition': 'oTransitionEnd', 'msTransition': 'MSTransitionEnd', 'transition': 'transitionend' },\n\t\t\t\t\t\t\t\ttransEndEventName = transEndEventNames[ Modernizr.prefixed( 'transition' ) ],\n\t\t\t\t\t\t\t\tonEndTransition = function( el, callback ) {\n\t\t\t\t\t\t\t\t\tjQuery('.RW_Img').css('border','none');\n\t\t\t\t\t\t\t\t\tvar onEndCallbackFn = function( ev ) {\n\t\t\t\t\t\t\t\t\t\tif( support.transitions ) \n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tif( ev.target != this ) return;\n\t\t\t\t\t\t\t\t\t\t\tthis.removeEventListener( transEndEventName, onEndCallbackFn );\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif( callback && typeof callback === 'function' ) { callback.call(this); }\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tif( support.transitions ) { el.addEventListener( transEndEventName, onEndCallbackFn ); } else { onEndCallbackFn(); }\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tnew GridFx1(document.querySelector('.grid1'), {\n\t\t\t\t\t\t\t\timgPosition : {\n\t\t\t\t\t\t\t\t\tx : 1,\n\t\t\t\t\t\t\t\t\ty : -0.75\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonOpenItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tvar win = {width: window.innerWidth, height: window.innerHeight};\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tvar delay = Math.floor(Math.random() * 130);\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1), -webkit-transform .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1), transform .5s ' + delay + 'ms cubic-bezier(.7,0,.3,1)';\n\t\t\t\t\t\t\t\t\t\t\tvar elOffset = el.getBoundingClientRect(),\n\t\t\t\t\t\t\t\t\t\t\t\telSize = {width : el.offsetWidth, height : el.offsetHeight};\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'translate3d(' + (win.width\/2 - elOffset.left - elSize.width\/2) + 'px,' + (win.height - elOffset.top - elSize.height\/2) + 'px,0) scale3d(0,0,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'translate3d(' + (win.width\/2 - elOffset.left - elSize.width\/2) + 'px,' + (win.height - elOffset.top - elSize.height\/2) + 'px,0) scale3d(0,0,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 0;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}, \n\t\t\t\t\t\t\t\tonCloseItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .3s, -webkit-transform .3s';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .3s, transform .3s';\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'translate3d(0,0,0) scale3d(1,1,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 1;\n\t\t\t\t\t\t\t\t\t\t\tonEndTransition(el, function() {\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'none';\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'none';\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if(RW_GG_PIT1=='6')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvar support = { transitions: Modernizr.csstransitions },\n\t\t\t\t\t\t\t\t\/\/ transition end event name\n\t\t\t\t\t\t\t\ttransEndEventNames = { 'WebkitTransition': 'webkitTransitionEnd', 'MozTransition': 'transitionend', 'OTransition': 'oTransitionEnd', 'msTransition': 'MSTransitionEnd', 'transition': 'transitionend' },\n\t\t\t\t\t\t\t\ttransEndEventName = transEndEventNames[ Modernizr.prefixed( 'transition' ) ],\n\t\t\t\t\t\t\t\tonEndTransition = function( el, callback ) {\n\t\t\t\t\t\t\t\t\tvar onEndCallbackFn = function( ev ) {\n\t\t\t\t\t\t\t\t\t\tif( support.transitions )\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tif( ev.target != this ) return;\n\t\t\t\t\t\t\t\t\t\t\tthis.removeEventListener( transEndEventName, onEndCallbackFn );\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif( callback && typeof callback === 'function' ) { callback.call(this); }\n\t\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\t\t\tif( support.transitions ) { el.addEventListener( transEndEventName, onEndCallbackFn ); } else { onEndCallbackFn(); }\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tnew GridFx1(document.querySelector('.grid1'), {\n\t\t\t\t\t\t\t\timgPosition : {\n\t\t\t\t\t\t\t\t\tx : 1,\n\t\t\t\t\t\t\t\t\ty : -0.75\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tpagemargin : 50,\n\t\t\t\t\t\t\t\tonOpenItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tvar win = {width: window.innerWidth, height: window.innerHeight};\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\tvar delay = Math.floor(Math.random() * 150);\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .6s ' + delay + 'ms cubic-bezier(.5,1,.2,1), -webkit-transform .6s ' + delay + 'ms cubic-bezier(.5,1,.2,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .6s ' + delay + 'ms cubic-bezier(.5,1,.2,1), transform .6s ' + delay + 'ms cubic-bezier(.5,1,.2,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'translate3d(-' + win.width + 'px,0,0)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'translate3d(-' + win.width + 'px,0,0)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 0;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tonCloseItem : function(instance, item) {\n\t\t\t\t\t\t\t\t\tinstance.items.forEach(function(el) {\n\t\t\t\t\t\t\t\t\t\tif(item != el) {\n\t\t\t\t\t\t\t\t\t\t\tvar delay = Math.floor(Math.random() * 150);\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransition = 'opacity .3s ' + delay + 'ms cubic-bezier(.5,1,.2,1), -webkit-transform .3s ' + delay + 'ms cubic-bezier(.5,1,.2,1)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'opacity .3s ' + delay + 'ms cubic-bezier(.5,1,.2,1), transform .3s ' + delay + 'ms cubic-bezier(.5,1,.2,1)';\n\n\n\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'translate3d(0,0,0)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.transform = 'translate3d(0,0,0)';\n\t\t\t\t\t\t\t\t\t\t\tel.style.opacity = 1;\n\n\t\t\t\t\t\t\t\t\t\t\tonEndTransition(el, function() {\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.transition = 'none';\n\t\t\t\t\t\t\t\t\t\t\t\tel.style.WebkitTransform = 'none';\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpop1();\n\t\t\t\t\tfunction RW_GIG_Page1(RW_ID, RW_Page, RW_PP, RW_CI)\n\t\t\t\t\t{\t\n\t\t\t\t\t\tvar RW_GI_IT1=Array();\n\t\t\t\t\t\tvar RW_GI_IDesc1=Array();\n\t\t\t\t\t\tvar RW_GI_IURL1=Array();\n\t\t\t\t\t\tvar RW_GI_ILink1=Array();\n\t\t\t\t\t\tvar RW_GI_IONT1=Array();\n\t\t\t\t\t\tvar RW_GI_GIG_HTML1='';\n\t\t\t\t\t\tvar RW_Pr_HTML1='';\n\t\t\t\t\t\tvar RW_Thums_HTML1='';\n\t\t\t\t\t\tjQuery('.grid_GG_RW1').html('');\n\t\t\t\t\t\tjQuery('.preview1 .original1').remove();\n\t\t\t\t\t\tjQuery('.preview1 .clone1').remove();\n\t\t\t\t\t\tjQuery('.preview1').html('');\n\t\t\t\t\t\tnew GridFx1( document.getElementById( 'grid1' ) );\n\t\t\t\t\t\tvar response=jQuery('.response1').val();\n\t\t\t\t\t\tvar a=response.split('stdClass Object');\n\t\t\t\t\t\tfor(i=1;i<a.length;i++)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvar c=a[i].split('=>');\n\t\t\t\t\t\t\tRW_GI_IT1[RW_GI_IT1.length]=c[2].split('[')[0].trim();\n\t\t\t\t\t\t\tRW_GI_IDesc1[RW_GI_IDesc1.length]=c[3].split('[')[0].trim();\n\t\t\t\t\t\t\tRW_GI_IURL1[RW_GI_IURL1.length]=c[4].split('[')[0].trim();\n\t\t\t\t\t\t\tRW_GI_ILink1[RW_GI_ILink1.length]=c[5].split('[')[0].trim();\n\t\t\t\t\t\t\tRW_GI_IONT1[RW_GI_IONT1.length]=c[6].split('[')[0].trim();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tjQuery(window).scrollTop(jQuery('.grid_GG_RW1').offset().top-100);\n\t\t\t\t\t\tfor(i=0;i<=RW_CI;i++)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tif(i>RW_PP*(RW_Page-1) && i<=RW_PP*RW_Page)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif(RW_GG_PIT1==1 || RW_GG_PIT1==3 || RW_GG_PIT1==5 || RW_GG_PIT1==6)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse if(RW_GG_PIT1==2)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif(RW_GI_ILink1[i-1] != '' && RW_GI_IONT1[i-1] != null)\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse if(RW_GG_PIT1==4)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse if(RW_GG_PIT1==7)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tjQuery('.grid_GG_RW1').html(RW_GI_GIG_HTML1);\n\t\t\t\t\t\t\tif(jQuery('#RW_GI_GIG_1'+RW_ID+'_'+i).css('display')=='block')\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tsetTimeout(function(){ jQuery('.grid__item1').addClass('grid__item21'); },500)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tRW_Pr_HTML1+=`<button class=\"action1 action--close1\"><i class=\"\"><\/i><span class=\"text-hidden1\">Close<\/span><\/button>\n\t\t\t\t\t\t\t\t\t\t\t <div class=\"description1 description--preview description--preview1\"><\/div>`;\n\t\t\t\t\t\tjQuery('.preview1').html(RW_Pr_HTML1);\n\t\t\t\t\t\tpop1();\n\t\t\t\t\t\tjQuery('.pagination1 li').each(function(){\n\t\t\t\t\t\t\tjQuery(this).find('.pHov_RW1').removeClass('active');\n\t\t\t\t\t\t\tjQuery(this).find('.RW_PNumber1').removeClass('active21');\n\t\t\t\t\t\t})\n\t\t\t\t\t\tjQuery('#RW_GIG_PLi_1'+RW_ID+'_'+RW_Page).find('.pHov_RW1').addClass('active');\n\t\t\t\t\t\tjQuery('#RW_GIG_PLi_1'+RW_ID+'_'+RW_Page).find('.RW_PNumber1').addClass('active21');\n\t\t\t\t\t}\n\t\t\t\t\tfunction RW_GIG_PageP1(RW_ID, RW_PP, RW_CI)\n\t\t\t\t\t{\t\n\t\t\t\t\t\tvar RW_Page='';\n\t\t\t\t\t\tjQuery('.pagination1 li').each(function(){\n\t\t\t\t\t\t\tif(jQuery(this).find('.pHov_RW1').hasClass('active'))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif(jQuery(this).find('.RW_PNumber1').html()!='1')\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tRW_Page=parseInt(parseInt(jQuery(this).find('.RW_PNumber1').html())-1);\n\t\t\t\t\t\t\t\t\tRW_GIG_Page1(RW_ID, RW_Page, RW_PP, RW_CI);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\tfunction RW_GIG_PageN1(RW_ID, RW_PP, RW_CI, RW_PC)\n\t\t\t\t\t{\n\t\t\t\t\t\tvar RW_Page='';\n\t\t\t\t\t\tjQuery('.pagination1 li').each(function(){\n\t\t\t\t\t\t\tif(jQuery(this).find('.pHov_RW1').hasClass('active'))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif(jQuery(this).find('.RW_PNumber1').html()!= RW_PC)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tRW_Page=parseInt(parseInt(jQuery(this).find('.RW_PNumber1').html())+1);\n\t\t\t\t\t\t\t\t\tRW_GIG_Page1(RW_ID, RW_Page, RW_PP, RW_CI);\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\tfunction RW_GIG_PageLM1(RW_ID, RW_PP, RW_CI, RW_PC){\n\t\t\t\t\t\tvar RW_Page=parseInt(parseInt(jQuery('#RW_Page_1'+RW_ID).val())+1);\n\t\t\t\t\t\tjQuery('#RW_Page_1'+RW_ID).val(RW_Page);\n\t\t\t\t\t\tif(RW_Page<=RW_PC)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tvar RW_GI_IT1=Array();\n\t\t\t\t\t\t\tvar RW_GI_IDesc1=Array();\n\t\t\t\t\t\t\tvar RW_GI_IURL1=Array();\n\t\t\t\t\t\t\tvar RW_GI_ILink1=Array();\n\t\t\t\t\t\t\tvar RW_GI_IONT1=Array();\n\t\t\t\t\t\t\tvar RW_GI_GIG_HTML1='';\n\t\t\t\t\t\t\tvar RW_Pr_HTML1='';\n\t\t\t\t\t\t\tvar RW_Thums_HTML1='';\n\t\t\t\t\t\t\tjQuery('.grid_GG_RW1').html('');\n\t\t\t\t\t\t\tjQuery('.preview1 .original1').remove();\n\t\t\t\t\t\t\tjQuery('.preview1 .clone1').remove();\n\t\t\t\t\t\t\tjQuery('.preview1').html('');\n\t\t\t\t\t\t\tjQuery('.grid_GG_RW1').html('');\n\t\t\t\t\t\t\tnew GridFx1( document.getElementById( 'grid1' ) );\n\t\t\t\t\t\t\tvar response=jQuery('.response1').val();\n\t\t\t\t\t\t\tvar a=response.split('stdClass Object');\n\t\t\t\t\t\t\tfor(i=1;i<a.length;i++)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tvar c=a[i].split('=>');\n\n\t\t\t\t\t\t\t\tRW_GI_IT1[RW_GI_IT1.length]=c[2].split('[')[0].trim();\n\t\t\t\t\t\t\t\tRW_GI_IDesc1[RW_GI_IDesc1.length]=c[3].split('[')[0].trim();\n\t\t\t\t\t\t\t\tRW_GI_IURL1[RW_GI_IURL1.length]=c[4].split('[')[0].trim();\n\t\t\t\t\t\t\t\tRW_GI_ILink1[RW_GI_ILink1.length]=c[5].split('[')[0].trim();\n\t\t\t\t\t\t\t\tRW_GI_IONT1[RW_GI_IONT1.length]=c[6].split('[')[0].trim();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor(i=0;i<=RW_CI-1;i++)\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tif(i<RW_PP*RW_Page)\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tif(RW_GG_PIT1==1 || RW_GG_PIT1==3 || RW_GG_PIT1==5 || RW_GG_PIT1==6)\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse if(RW_GG_PIT1==2)\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\tif(RW_GI_ILink1[i] != '' && RW_GI_IONT1[i] != null)\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse\n\t\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse if(RW_GG_PIT1==4)\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse if(RW_GG_PIT1==7)\n\t\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tjQuery('.grid_GG_RW1').html(RW_GI_GIG_HTML1);\n\t\t\t\t\t\t\t\tif(jQuery('#RW_GI_GIG_1'+RW_ID+'_'+i).css('display')=='block')\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\tsetTimeout(function(){ jQuery('.grid__item1').addClass('grid__item21'); },500)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tRW_Pr_HTML1+=`<button class=\"action1 action--close1\"><i class=\"\"><\/i><span class=\"text-hidden1\">Close<\/span><\/button>\n\t\t\t\t\t\t\t\t\t\t\t\t <div class=\"description1 description--preview description--preview1\"><\/div>`;\n\t\t\t\t\t\t\tjQuery('.preview1').html(RW_Pr_HTML1);\n\t\t\t\t\t\t\tpop1();\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse { jQuery('#RW_PageDiv_1'+RW_ID).hide(500); }\n\t\t\t\t\t}\n\t\t\t\t<\/script>\n\t\t\t\t<script>\n\t\t\t\t\tjQuery(document).ready(function(){\n\t\t\t\t\t\tif(jQuery('.RW_GG_PIT1').val()=='7')\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tjQuery('.grid__item1').live('touchstart click',function(){\n\t\t\t\t\t\t\t\tif(jQuery(this).attr('alt')=='checked' && jQuery(this).attr('name')!=''){ window.open(jQuery(this).attr('name')); } else { window.open(jQuery(this).attr('name'),'_self'); }\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t<\/script>\n\t\t\t\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-171","page","type-page","status-publish","hentry","no-thumb"],"_links":{"self":[{"href":"https:\/\/theatreuncorked.com\/index.php\/wp-json\/wp\/v2\/pages\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theatreuncorked.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/theatreuncorked.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/theatreuncorked.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theatreuncorked.com\/index.php\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":1,"href":"https:\/\/theatreuncorked.com\/index.php\/wp-json\/wp\/v2\/pages\/171\/revisions"}],"predecessor-version":[{"id":172,"href":"https:\/\/theatreuncorked.com\/index.php\/wp-json\/wp\/v2\/pages\/171\/revisions\/172"}],"wp:attachment":[{"href":"https:\/\/theatreuncorked.com\/index.php\/wp-json\/wp\/v2\/media?parent=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}