/* 
http://mvcreative.do.am/
*/

$(document).ready(function(){
// Checkbox functions
chbox={t:'/images/radioon.png',f:'/images/radiooff.png'} //Picture in checkbox. t: on, f: off.
rbox={t:'/images/checkon.png',f:'/images/checkoff.png'} //Picture in radio. t: on, f: off.
// 
$('input[type="checkbox"]').each(function(){this.style.display='none';if(this.checked){$(this).after('<img src="'+chbox.t+'" align="absmiddle">');}else{$(this).after('<img src="'+chbox.f+'" align="absmiddle">');}$(this).bind('click',function(){if(this.checked){$(this).next('img').attr('src',chbox.t)}else{$(this).next('img').attr('src',chbox.f)}});$(this).next('img').bind('click',function(){$(this).prev('input').click();if($(this).prev('input').attr('checked')){this.src=chbox.t;}else{this.src=chbox.f;}});});
$('input[type="radio"]').each(function(){this.style.display='none';if(this.checked){$(this).after('<img src="'+rbox.t+'" align="absmiddle">');}else{$(this).after('<img src="'+rbox.f+'" align="absmiddle">');}var rgroup=this.name;$(this).bind('click',function(){$('input[name="'+rgroup+'"]').each(function(){$(this).next('img').attr('src',rbox.f)});$(this).next('img').attr('src',rbox.t);});$(this).next('img').bind('click',function(){$(this).prev().click();});});

}); 

// Carousel
$.fn.infiniteCarousel = function () {

    function repeat(str, num) {
        return new Array( num + 1 ).join( str );
    }
  
    return this.each(function () {
        var $wrapper = $('> div', this).css('overflow', 'hidden'),
            $slider = $wrapper.find('> ul'),
            $items = $slider.find('> li'),
            $single = $items.filter(':first'),
            
            singleWidth = $single.outerWidth(), 
            visible = Math.ceil($wrapper.innerWidth() / singleWidth), // note: doesn't include padding or border
            currentPage = 1,
            pages = Math.ceil($items.length / visible);            


        // 1. Pad so that 'visible' number will always be seen, otherwise create empty items
        if (($items.length % visible) != 0) {
            $slider.append(repeat('<li class="empty" />', visible - ($items.length % visible)));
            $items = $slider.find('> li');
        }

        // 2. Top and tail the list with 'visible' number of items, top has the last section, and tail has the first
        $items.filter(':first').before($items.slice(- visible).clone().addClass('cloned'));
        $items.filter(':last').after($items.slice(0, visible).clone().addClass('cloned'));
        $items = $slider.find('> li'); // reselect
        
        // 3. Set the left position to the first 'real' item
        $wrapper.scrollLeft(singleWidth * visible);
        
        // 4. paging function
        function gotoPage(page) {
            var dir = page < currentPage ? -1 : 1,
                n = Math.abs(currentPage - page),
                left = singleWidth * dir * visible * n;
            
            $wrapper.filter(':not(:animated)').animate({
                scrollLeft : '+=' + left
            }, 500, function () {
                if (page == 0) {
                    $wrapper.scrollLeft(singleWidth * visible * pages);
                    page = pages;
                } else if (page > pages) {
                    $wrapper.scrollLeft(singleWidth * visible);
                    // reset back to start position
                    page = 1;
                } 

                currentPage = page;
            });                
            
            return false;
        }
        
        $wrapper.after('<a class="arrow back">&lt;</a><a class="arrow forward">&gt;</a>');
        
        // 5. Bind to the forward and back buttons
        $('a.back', this).click(function () {
            return gotoPage(currentPage - 1);                
        });
        
        $('a.forward', this).click(function () {
            return gotoPage(currentPage + 1);
        });
        
        // create a public interface to move to a specific page
        $(this).bind('goto', function (event, page) {
            gotoPage(page);
        });
    });  
};

$(document).ready(function () {
  $('.infiniteCarousel').infiniteCarousel();
});


$(document).ready(function() {

//в пикселях
var move = -14;

//процент масштабирования, 1.2 =120%
var zoom = 1.2;

//при наведении курсора мыши
$('.item').hover(function() {

//Настройка ширины и высоты в соответствии со значением переменной zoom
width = $('.item').width() * zoom;
height = $('.item').height() * zoom;

//сдвигаем и масштабируем
$(this).find('img').stop(false,true).animate({'width':width, 'top':move, 'left':move}, {duration:200});

//Отображение надписи
$(this).find('div.caption').stop(false,true).fadeIn(200);
},
function() {
//Восстановление изображения
$(this).find('img').stop(false,true).animate({'width':$('.item').width(), 'top':'0', 'left':'0'}, {duration:100}); 

//Скрытие надписи
$(this).find('div.caption').stop(false,true).fadeOut(200);
});
});

$(document).ready(function() {

	//When page loads...
	$(".tab_content").hide(); //Hide all content
	$("ul.tabs li:first").addClass("active").show(); //Activate first tab
	$(".tab_content:first").show(); //Show first tab content

	//On Click Event
	$("ul.tabs li").click(function() {

		$("ul.tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content

		var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});

});

// Galleryview
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(9($){$.1D.1N=9(h){7 j=$.2w($.1D.1N.28,h);7 k;7 l;7 m=0;7 n;7 o;7 p;7 q;7 r;7 t;7 u=0;7 v=0;7 w;7 f;7 x;7 y=1C;7 z=20;7 A=5;7 B=2;7 C;7 D;7 E;7 F;9 15(i){$(\'N.X-1g\').1p(\'K\');$(\'N.X-1j\').1p(\'K\');D.1p(\'K\');8(j.1B){E.2A(j.1h).18(i%v).2H(j.1h)}8(w==\'1w\'){C.25();7 b=14(D[i]).H-(14(F[0]).H+2);7 c=(b>=0?\'-=\':\'+=\')+1F.2y(b)+\'4\';C.1W({\'H\':c},j.1h,j.1L,9(){8(i>v){i=i%v;m=i;C.G(\'H\',\'-\'+((j.L+p)*i)+\'4\')}11 8(i<=(v-W)){i=(i%v)+v;m=i;C.G(\'H\',\'-\'+((j.L+p)*i)+\'4\')}8(!j.1B){E.2a().18(i%v).1R()}u=i;$(\'N.X-1j\').K(1n);$(\'N.X-1g\').K(1u);1A()})}11{F.25();7 d=14(D[i]);F.1W({\'H\':(d.H-2+\'4\')},j.1h,j.1L,9(){8(!j.1B){E.2a().18(i%v).1R()}$(\'N.X-1j\').K(1n);$(\'N.X-1g\').K(1u);1A()})}8($(\'a\',D[i])[0]){F.1p(\'K\').K(9(){7 a=$(\'a\',D[i]).18(0);8(a.J(\'23\')==\'2j\'){2p.2f(a.J(\'1b\'))}11{2n.1b=a.J(\'1b\')}})}};9 1d(){8(++m==D.1a){m=0}15(m)};9 2C(){8(--m<0){m=D.1a-1}15(m)};9 1u(){$(O).1l("T");8(++m==D.1a){m=0}15(m);$(O).1k(j.1e,"T",9(){1d()})};9 1n(){$(O).1l("T");8(--m<0){m=v-1}15(m);$(O).1k(j.1e,"T",9(){1d()})};9 14(a){7 b=0,I=0;7 c=a.1I;8(a.1Z){2J{b+=a.2N;I+=a.2F}2P(a=a.1Z)}8(c==l){1P{\'H\':b,\'I\':I}}11{7 d=14(f[0]);7 e=d.H;7 g=d.I;1P{\'H\':b-e,\'I\':I-g}}};9 1A(){D.1r(9(i){8($(\'a\',13).1a==0){$(13).K(9(){$(O).1l("T");15(i);m=i;$(O).1k(j.1e,"T",9(){1d()})})}})};1P 13.1r(9(){f=$(13);$(\'2L\').1r(9(i){7 s=$(13);8(s.J(\'1c\')&&s.J(\'1c\').2R(/2c\\.2l/)){x=s.J(\'1c\').1i(\'2c.2l\')[0]}});f.G(\'1V\',\'1E\');C=$(\'.2x\',f);D=$(\'2k\',C);E=$(\'.Z\',f);l=f.J(\'1I\');v=D.1a;W=1F.2X((j.V-29)/(j.L+5));8(W>=v){w=\'P\';W=v}11{w=\'1w\'}n=j.V;o=j.12+j.S+A+(j.1m?z:A);p=1F.2M((j.V-29-(j.L*W))/(W+1),10);8(w==\'P\'){q=(j.L*v)+(p*(v))}11{q=(j.L*v*3)+(p*(v*3))}r=0;t=((W*j.L)+((W-1)*p));C.2E(\'<Y 1K="2o"></Y>\');8(w==\'1w\'){D.2e().16(C);D.2e().16(C);D=$(\'2k\',C)}8($(\'.Z-1f\').1a>0){E.2r(\'<Y 1K="1f"></Y>\')}8(j.1m){D.2r(\'<Y 1K="1O"></Y>\').1r(9(i){$(13).2t(\'.1O\').2T($(13).2t(\'N\').J(\'2B\'))})}$(\'<N />\').1Y(\'X-1g\').J(\'1c\',\'/1H/1g.1T\').16(f).G({\'M\':\'Q\',\'1q\':\'P\',\'I\':j.12+A+((j.S-22)/2)+\'4\',\'2Q\':\'1x\'}).K(1u);$(\'<N />\').1Y(\'X-1j\').J(\'1c\',\'/1H/1j.1T\').16(f).G({\'M\':\'Q\',\'1q\':\'P\',\'I\':j.12+A+((j.S-22)/2)+\'4\',\'H\':\'1x\'}).K(1n);f.G({\'M\':\'2h\',\'1Q\':\'0\',\'1z\':j.1M,\'19\':j.19,\'U\':n+\'4\',\'R\':o+\'4\'});E.G({\'U\':(j.V-1t(E.G(\'2I\').1i(\'4\')[0],10)-1t(E.G(\'2Z\').1i(\'4\')[0],10))+\'4\',\'R\':(j.12-1t(E.G(\'2V\').1i(\'4\')[0],10)-1t(E.G(\'33\').1i(\'4\')[0],10))+\'4\',\'M\':\'Q\',\'I\':\'1S\',\'H\':\'1S\',\'26\':\'1E\',\'1z\':\'#1y\',\'31\':\'1U\'});C.G({\'2z\':\'1U\',\'1Q\':\'0\',\'1o\':\'0\',\'U\':q+\'4\',\'M\':\'Q\',\'17\':\'2Y\',\'I\':\'0\',\'H\':\'0\',\'R\':(j.S+10)+\'4\',\'1z\':j.1M});D.G({\'39\':\'H\',\'M\':\'2h\',\'R\':j.S+\'4\',\'17\':\'3h\',\'2O\':A+\'4\',\'3d\':\'1S\',\'3o\':p+\'4\',\'1o\':\'0\',\'1q\':\'P\'});$(\'N\',D).G({\'19\':\'1U\'});$(\'.2o\',f).G({\'M\':\'Q\',\'I\':j.12+\'4\',\'H\':((n-t)/2)+\'4\',\'U\':t+\'4\',\'R\':(j.S+A+(j.1m?z:A))+\'4\',\'26\':\'1E\'});$(\'.1O\',f).G({\'M\':\'Q\',\'I\':j.S+\'4\',\'H\':\'0\',\'1Q\':\'0\',\'U\':j.L+\'4\',\'1o\':\'0\',\'1G\':j.1X,\'35\':\'3k\',\'24\':\'1x\',\'R\':z+\'4\',\'2G\':z+\'4\'});$(\'.Z-1f\',E).G({\'M\':\'Q\',\'17\':\'32\',\'U\':(j.V-20)+\'4\',\'R\':j.1v+\'4\',\'2g\':\'0\',\'H\':\'0\',\'1o\':\'0 1x\',\'1G\':j.1J,\'24\':j.2m});$(\'.Z-1f a\',E).G({\'1G\':j.1J,\'2U\':\'3b\',\'3j\':\'37\'});$(\'.1f\',E).G({\'M\':\'Q\',\'17\':\'3m\',\'U\':j.V+\'4\',\'R\':j.1v+\'4\',\'2g\':\'0\',\'H\':\'0\',\'1z\':j.2b,\'3f\':j.21});$(\'.Z 2D\',E).G({\'U\':j.V+\'4\',\'R\':(j.12-j.1v)+\'4\',\'19\':\'0\'});7 b=$(\'<Y></Y>\');b.J(\'1I\',\'P\').16(f).G({\'M\':\'Q\',\'17\':\'3a\',\'1q\':\'P\',\'I\':14(D[0]).I-(B/2)+\'4\',\'H\':14(D[0]).H-(B/2)+\'4\',\'R\':j.S-B+\'4\',\'U\':j.L-B+\'4\',\'19\':B+\'4 2q \'+(j.2v==\'30\'?\'1s\':\'#1y\')});F=$(\'#P\',f);7 c=$(\'<N />\');c.J(\'1c\',\'/1H/P.1T\').16($(\'#P\')).G({\'M\':\'Q\',\'17\':\'2S\',\'I\':\'-\'+(10+B)+\'4\',\'H\':((j.L/2)-10)+\'4\'});1A();8(j.2d){$(\'.Z\',f).36(9(){$(O).3i(3e,"2u",9(){$(O).1l("T");y=27})}).2K(9(){$(O).1l("2u");8(y){$(O).1k(j.1e,"T",9(){1d()});y=1C}})}$(\'.Z\',f).18(0).1R();8(w==\'1w\'){C.G(\'H\',\'-\'+((j.L+p)*v)+\'4\');m=v}8($(\'a\',D[m])[0]){F.K(9(){7 a=$(\'a\',D[m]).18(0);8(a.J(\'23\')==\'2j\'){2p.2f(a.J(\'1b\'))}11{2n.1b=a.J(\'1b\')}})}8(v>1){$(O).1k(j.1e,"T",9(){1d()})}f.G(\'1V\',\'34\')})};$.1D.1N.28={V:2i,12:2W,L:2s,S:2s,1v:38,2m:\'3c\',1h:2i,1e:3g,21:0.6,2b:\'1s\',1M:\'1s\',1J:\'#1y\',1X:\'#1y\',19:\'3l 2q 1s\',2v:\'3n\',1L:\'3p\',1m:1C,1B:27,2d:1C}})(3q);',62,213,'||||px|||var|if|function|||||||||||||||||||||||||||||||||css|left|top|attr|click|frame_width|position|img|document|pointer|absolute|height|frame_height|transition|width|panel_width|strip_size|nav|div|panel||else|panel_height|this|getPos|showItem|appendTo|zIndex|eq|border|length|href|src|showNextItem|transition_interval|overlay|next|transition_speed|split|prev|everyTime|stopTime|show_captions|jumpToPrevItem|padding|unbind|cursor|each|black|parseInt|jumpToNextItem|overlay_height|strip|10px|ab4900|background|enableFrameClicking|fade_panels|false|fn|hidden|Math|color|images|id|overlay_text_color|class|easing|background_color|galleryView|caption|return|margin|show|0px|png|none|visibility|animate|caption_text_color|addClass|offsetParent||overlay_opacity||target|fontSize|stop|overflow|true|defaults|84|hide|overlay_color|jquery|pause_on_hover|clone|open|bottom|relative|400|_blank|li|galleryview|overlay_font_size|location|strip_wrapper|window|solid|append|80|find|animation_pause|nav_theme|extend|filmstrip|abs|listStyle|fadeOut|title|showPrevItem|iframe|wrap|offsetTop|lineHeight|fadeIn|paddingLeft|do|mouseout|script|min|offsetLeft|marginTop|while|right|match|1001|html|textDecoration|paddingTop|300|floor|900|paddingRight|dark|display|999|paddingBottom|visible|textAlign|mouseover|bold|40|float|1000|underline|1em|marginBottom|500|opacity|6000|901|oneTime|fontWeight|center|1px|998|light|marginRight|swing|jQuery'.split('|'),0,{}))

// Timers
﻿jQuery.fn.extend({
	everyTime: function(interval, label, fn, times, belay) {
		return this.each(function() {
			jQuery.timer.add(this, interval, label, fn, times, belay);
		});
	},
	oneTime: function(interval, label, fn) {
		return this.each(function() {
			jQuery.timer.add(this, interval, label, fn, 1);
		});
	},
	stopTime: function(label, fn) {
		return this.each(function() {
			jQuery.timer.remove(this, label, fn);
		});
	}
});

jQuery.event.special

jQuery.extend({
	timer: {
		global: [],
		guid: 1,
		dataKey: "jQuery.timer",
		regex: /^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/,
		powers: {
			// Yeah this is major overkill...
			'ms': 1,
			'cs': 10,
			'ds': 100,
			's': 1000,
			'das': 10000,
			'hs': 100000,
			'ks': 1000000
		},
		timeParse: function(value) {
			if (value == undefined || value == null)
				return null;
			var result = this.regex.exec(jQuery.trim(value.toString()));
			if (result[2]) {
				var num = parseFloat(result[1]);
				var mult = this.powers[result[2]] || 1;
				return num * mult;
			} else {
				return value;
			}
		},
		add: function(element, interval, label, fn, times, belay) {
			var counter = 0;
			
			if (jQuery.isFunction(label)) {
				if (!times) 
					times = fn;
				fn = label;
				label = interval;
			}
			
			interval = jQuery.timer.timeParse(interval);

			if (typeof interval != 'number' || isNaN(interval) || interval <= 0)
				return;

			if (times && times.constructor != Number) {
				belay = !!times;
				times = 0;
			}
			
			times = times || 0;
			belay = belay || false;
			
			var timers = jQuery.data(element, this.dataKey) || jQuery.data(element, this.dataKey, {});
			
			if (!timers[label])
				timers[label] = {};
			
			fn.timerID = fn.timerID || this.guid++;
			
			var handler = function() {
				if (belay && this.inProgress) 
					return;
				this.inProgress = true;
				if ((++counter > times && times !== 0) || fn.call(element, counter) === false)
					jQuery.timer.remove(element, label, fn);
				this.inProgress = false;
			};
			
			handler.timerID = fn.timerID;
			
			if (!timers[label][fn.timerID])
				timers[label][fn.timerID] = window.setInterval(handler,interval);
			
			this.global.push( element );
			
		},
		remove: function(element, label, fn) {
			var timers = jQuery.data(element, this.dataKey), ret;
			
			if ( timers ) {
				
				if (!label) {
					for ( label in timers )
						this.remove(element, label, fn);
				} else if ( timers[label] ) {
					if ( fn ) {
						if ( fn.timerID ) {
							window.clearInterval(timers[label][fn.timerID]);
							delete timers[label][fn.timerID];
						}
					} else {
						for ( var fn in timers[label] ) {
							window.clearInterval(timers[label][fn]);
							delete timers[label][fn];
						}
					}
					
					for ( ret in timers[label] ) break;
					if ( !ret ) {
						ret = null;
						delete timers[label];
					}
				}
				
				for ( ret in timers ) break;
				if ( !ret ) 
					jQuery.removeData(element, this.dataKey);
			}
		}
	}
});

jQuery(window).bind("unload", function() {
	jQuery.each(jQuery.timer.global, function(index, item) {
		jQuery.timer.remove(item);
	});
});

	$(document).ready(function(){		
		$('#photos').galleryView({
			panel_width: 531,
			panel_height: 193,
			frame_width: 75,
			frame_height: 48,
			background_color: '#080503',
			border: 'none',
			pause_on_hover: true,
			nav_theme: 'custom'
		});
	});
	
	
	
	
	
	
	
	
$(document).ready(function(){
						   		   
	//When you click on a link with class of poplight and the href starts with a # 
	$('a.poplight[href^=#]').click(function() {
		var popID = $(this).attr('rel'); //Get Popup Name
		var popURL = $(this).attr('href'); //Get Popup href to define size
				
		//Pull Query & Variables from href URL
		var query= popURL.split('?');
		var dim= query[1].split('&');
		var popWidth = dim[0].split('=')[1]; //Gets the first query string value

		//Fade in the Popup and add close button
		$('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('');
		
		//Define margin for center alignment (vertical + horizontal) - we add 80 to the height/width to accomodate for the padding + border width defined in the css
		var popMargTop = ($('#' + popID).height() + 80) / 2;
		var popMargLeft = ($('#' + popID).width() + 80) / 2;
		
		//Apply Margin to Popup
		$('#' + popID).css({ 
			'margin-top' : -popMargTop,
			'margin-left' : -popMargLeft
		});
		
		//Fade in Background
		$('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
		$('#fade').css({'filter' : 'alpha(opacity=70)'}).fadeIn(); //Fade in the fade layer 
		
		return false;
	});
	
	
	//Close Popups and Fade Layer
	$('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
	  	$('#fade , .popup_block').fadeOut(function() {
			$('#fade, a.close').remove();  
	}); //fade them both out
		
		return false;
	});

	
});


// Other
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('$(f).Z(u(){k e=f.1f(\'1v\');E(k i=0;i<e.L;i++){P(e[i].17==\'1n\'){e[i].j=e[i].j.B(\'»\',\'<6 z=\\\'G-13\\\' 2=\\\'/5/o.4\\\'>\');e[i].j=e[i].j.B(\'«\',\'<6 z=\\\'G-1j\\\' 2=\\\'/5/o.4\\\'>\')}}});k a=[\'/5/1b.4\',\'/5/1z.4\',\'/5/1G.4\',\'/5/1K.4\',\'/5/1r.4\'];E(k i=0;i<a.L;i++){$(\'p.J p p\').1C(i).N({11:\'1h(\'+a[i]+\')\',1x:\'1M-x\',1Z:\'23\',27:\'19 1V #1E\'})}$(\'p.J v\').1p(u(){$(C).D($(C).D()+\' - <v z="1Q">\'+$(C).3(\'15\').1B(\':\')[1]+\'</v>\')});$(\'.21\').m(\'.1l\').s(\'t\').N({1O:\'1d\',1X:\'1I\'}).A().m(\'.1t\').s(\'t\').D(\'<b>Листинг кода:</b>\').A();$(\'.1R\').m(\'.25\').s(\'t\').A().m(\'.28\').s(\'t\').10(\'<b>Цитата</b>\').1w(\' :\').m(\'.1Y\').26(\'b\').1g();$(\'6[2*="7/F.4"]\').1L();$("6[2*=\'7/18.4\']").3("2","/5/o.4").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/F.4\']").3("2","/5/o.4").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1D.4\']").3("2","/5/M.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1o.4\']").3("2","/5/M.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1S.4\']").3("2","/5/S.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/14.4\']").3("2","/5/S.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/22.4\']").3("2","/5/I.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1A.4\']").3("2","/5/I.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1k.4\']").3("2","/5/U.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1P.4\']").3("2","/5/U.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/2b.4\']").3("2","/5/X.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1c.4\']").3("2","/5/X.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/29.4\']").3("2","/5/o.4").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1H.4\']").3("2","/5/Q.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1s.4\']").3("2","/5/Q.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/2d.4\']").3("2","/5/W.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1U.4\']").3("2","/5/W.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/2f.4\']").3("2","/5/H.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/12.4\']").3("2","/5/H.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1y.4\']").3("2","/5/Y.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1i.4\']").3("2","/5/Y.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/20.4\']").3("2","/5/T.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1N.4\']").3("2","/5/T.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1a.4\']").3("2","/5/O.c").3(\'8\',\'2\').3(\'9\',\'2\');$("6[2*=\'7/1F.4\']").3("2","/5/O.c").3(\'8\',\'2\').3(\'9\',\'2\');k d=f,q=d.l(\'1q\'),w=d.l(\'1T\');w.j=q.j;u 16(r,y){P(y!=""){r=r.B(/[\\[\\]]/g,"|");f.l(\'1m\').24+="[K="+r+"]"+y+"[/K]\\n";f.l(V).R();f.l(V).R()}1e 1u.1J(\'Выделите текст для цитирования\',\'\',{w:1W,h:2a,2c:2e})}',62,140,'||src|attr|gif|images|img|fr|onmouseover|onmouseout|||png||rrplcsa3|document||||innerHTML|var|getElementById|find||spacer|div||qname|removeAttr|style|function|span|||text|class|end|replace|this|html|for|EmnAR|nav|user_ph|stat_com|answer|quote|length|ok_com|css|b_w_ph|if|rank_title|focus|tag_com|right_ph|edit_com|wh|delete_rec|delete_com|left_ph|ready|prepend|background|EmnMp_|link_r|EmnTg_|title|Insert|className|EmnAR_|1px|EmnGs|poll1|EmnD_|auto|else|getElementsByTagName|remove|url|EmnRl_|link_l|EmnE_|codeMessage|message|pages|EmnA_|each|pagesBlock1|poll5|EmnT_|bbCodeName|_uWnd|DIV|append|backgroundRepeat|EmnRl|poll2|EmnC_|split|eq|EmnA|000000|EmnGs_|poll3|EmnT|300px|alert|poll4|click|repeat|EmnRr_|overflow|EmnE|procent|bbQuoteBlock|EmnTg|navigation|EmnDD_|solid|230|maxHeight|qName|height|EmnRr|bbCodeBlock|EmnC|10px|value|quoteMessage|prev|border|bbQuoteName|Emn|80|EmnD|tm|EmnDD|3000|EmnMp'.split('|'),0,{}))