jQuery.noConflict();jQuery.curCSS=jQuery.css;(function($){if(!document.defaultView||!document.defaultView.getComputedStyle){var oldCurCSS=jQuery.curCSS;jQuery.curCSS=function(elem,name,force){if(name!=='backgroundPosition'||!elem.currentStyle||elem.currentStyle[name]){return oldCurCSS.apply(this,arguments);} var style=elem.style;if(!force&&style&&style[name]){return style[name];} return oldCurCSS(elem,'backgroundPositionX',force)+' ' +oldCurCSS(elem,'backgroundPositionY',force);};}})(jQuery);(function($){function toArray(strg){strg=strg.replace(/left|top/g,'0px');strg=strg.replace(/right|bottom/g,'100%');strg=strg.replace(/([0-9\.]+)(\s|\)|$)/g,"$1px$2");var res=strg.match(/(-?[0-9\.]+)(px|\%|em|pt)\s(-?[0-9\.]+)(px|\%|em|pt)/);return[parseFloat(res[1],10),res[2],parseFloat(res[3],10),res[4]];} $.fx.step.backgroundPosition=function(fx){if(!fx.bgPosReady){var start=$.curCSS(fx.elem,'backgroundPosition');if(!start){start='0px 0px';} start=toArray(start);fx.start=[start[0],start[2]];var end=toArray(fx.end);fx.end=[end[0],end[2]];fx.unit=[end[1],end[3]];fx.bgPosReady=true;} var nowPosX=[];nowPosX[0]=((fx.end[0]-fx.start[0])*fx.pos)+fx.start[0] +fx.unit[0];nowPosX[1]=((fx.end[1]-fx.start[1])*fx.pos)+fx.start[1] +fx.unit[1];fx.elem.style.backgroundPosition=nowPosX[0]+' '+nowPosX[1];};})(jQuery);function dropdown(dropdownId,hoverClass,mouseOffDelay){if(dropdownP=document.getElementById(dropdownId)){var listItems=dropdownP.getElementsByTagName('li');for(var i=0;i100){$('#back-top').fadeIn();}else{$('#back-top').fadeOut();}});$('#back-top a').click(function(){$('body,html').animate({scrollTop:0},800);return false;});});$('.img_menu_width').hover(function(){animate_show=$(this).prev().width();animate_hide=$(this).prev().height();width=$(this).width();$(this).stop().animate({backgroundPosition:'(-'+width+' 0)'},{duration:animate_show});},function(){$(this).stop().animate({backgroundPosition:'(0 0)'},{duration:animate_hide});});$('.img_menu_height').hover(function(){animate_show=$(this).prev().width();animate_hide=$(this).prev().height();height=$(this).height();$(this).stop().animate({backgroundPosition:'(0 -'+height+')'},{duration:animate_show});},function(){$(this).stop().animate({backgroundPosition:'(0 0)'},{duration:animate_hide});});$('ul .clicked_link .img_menu_width').stop().animate({backgroundPosition:'(-100% 0)'},{duration:0});$('ul .clicked_link .img_menu_height').stop().animate({backgroundPosition:'(0 -100%)'},{duration:0});$('ul .clicked_link .img_menu_width').hover(function(){$(this).stop().animate({backgroundPosition:'(-100% 0)'},{duration:0});});$('ul .clicked_link .img_menu_height').hover(function(){$(this).stop().animate({backgroundPosition:'(0 -100%)'},{duration:0});});$.fn.systemTooltip=function(){this.tooltip({track:true,content:function(){return $(this).prop('title');},hide:{effect:"fast"},show:{effect:"fade"},position:{my:"left+15 top+10"}});return this;};$.fn.systemTooltip1=function(){this.tooltip({disabled:true});return this;};myTooltip=function() {$("a:not(.preview, .preview_thumb)").systemTooltip();$("img:not(.preview > img, .preview_thumb > img)").systemTooltip();$("input").systemTooltip();$("span.smaller_font, span.normal_font, span.larger_font").systemTooltip();};myTooltip();var cookieParts=document.cookie.split(';'),i=0,part,part_data,value;while(part=cookieParts[i++]) {part_data=part.split('=');if(part_data.shift().replace(/\s/,'')==='full_size') {value=part_data.shift();break;}} if(value){$("#main").removeClass();$("#main").addClass('container standard');}else{$("#main").removeClass();$("#main").addClass('container');}});