61
| <![CDATA[<script type="text/javascript">
window.addEvent('load', function() {
new JCaption('img.caption');
});
Mediabox.scanPage = function() {
var links = document.getElements("a").filter(function(el) {
return el.className && el.className.test(/^lightbox/i);
});
links.mediabox({
overlayOpacity : 0.7,
resizeOpening : 1,
resizeDuration : 240,
resizeTransition : 0,
initialWidth : 320,
initialHeight : 180,
defaultWidth : 640,
defaultHeight : 299,
vertioffset : 0,
horizoffset : 0,
showCaption : 1,
showCounter : 1,
attribType : 'className',
playerpath: 'http://www.camarasantabranca.sp.gov.br/plugins/system/mediabox_ck/mediabox_ck/NonverBlaster.swf'
}, null, function(el) {
var rel0 = this.className.replace(/[[]|]/gi," ");
var relsize = rel0.split(" ");
return (this == el) || ((this.className.length > 8) && el.className.match(relsize[1]));
});
};
window.addEvent("domready", Mediabox.scanPage);
JCEMediaBox.init({popup:{width:720,height:500,legacy:0,lightbox:0,shadowbox:0,resize:1,icons:0,overlay:1,overlayopacity:0.8,overlaycolor:"#000000",fadespeed:500,scalespeed:500,hideobjects:0,scrolling:"fixed",close:2,labels:{'close':'Close','next':'Next','previous':'Previous','cancel':'Cancel','numbers':'{$current} of {$total}'}},tooltip:{className:"tooltip",opacity:0.8,speed:150,position:"br",offsets:{x: 16, y: 16}},base:"/",imgpath:"plugins/system/jcemediabox/img",theme:"standard",themecustom:"",themepath:"plugins/system/jcemediabox/themes"});
//<![CDATA[
function HideCheckboxes(){inputs=document.getElementsByTagName("input");for(var a=0;a<inputs.length;++a)"checkbox"==inputs[a].getAttribute("type")&&"foxcheckbox"==inputs[a].getAttribute("class")&&HideCheckbox(inputs[a])}function HideCheckbox(a){document.getElementById("s"+a.getAttribute("name")).className=a.checked?"fox_cbspan fox_cbspan_true":"fox_cbspan fox_cbspan_false";a.style.display="none"}
function HideCheckboxById(a){var b=document.getElementById("c"+a);document.getElementById("s"+a).className=b.checked?"checkbox_true":"checkbox_false";b.style.display="none"}function ChangeCheckboxState(a){var b=document.getElementById("c"+a),a=document.getElementById("s"+a);b.checked?(b.checked="",a.className="fox_cbspan fox_cbspan_false"):(b.checked="checked",a.className="fox_cbspan fox_cbspan_true")};
//]]>
//<![CDATA[
function InitializeDropdowns(){dropdowns=document.getElementsByTagName("select");for(var a=0;a<dropdowns.length;++a)!1!==strpos(dropdowns[a].getAttribute("class"),"fox_dropdown",0)&&(DropdownSetStyle(dropdowns[a]),DropdownAlignValue(dropdowns[a]));spans=document.getElementsByTagName("span");for(a=0;a<spans.length;++a)!1!==strpos(spans[a].getAttribute("class"),"outer_dropdown",0)&&SpanSetStyle(spans[a])}
function DropdownAlignValue(a){var b=document.getElementById("ddi"+a.name),a=a.options[a.selectedIndex].text;document.all?b.innerText=a:b.textContent=a}function DropdownSetStyle(a){a.style.opacity="0";a.style.position="absolute";a.style.height="28px";document.all&&(a.style.filter="alpha(opacity = 0)",a.style.zoom="1")}function SpanSetStyle(a){a.style.display="table"}function strpos(a,b,c){a=(a+"").indexOf(b,c||0);return-1===a?!1:a}function ResetFoxControls(){ResetCheckboxes();ResetDropdowns()}
function ResetCheckboxes(){inputs=document.getElementsByTagName("input");for(var a=0;a<inputs.length;++a)if("checkbox"==inputs[a].getAttribute("type")&&"foxcheckbox"==inputs[a].getAttribute("class")){var b=inputs[a].getAttribute("name");document.getElementById("s"+b).className="fox_cbspan fox_cbspan_false"}}
function ResetDropdowns(){dropdowns=document.getElementsByTagName("select");for(var a=0;a<dropdowns.length;++a)if(!1!==strpos(dropdowns[a].getAttribute("class"),"fox_dropdown",0)){var b=document.getElementById("ddi"+dropdowns[a].name);document.all?b.innerText="":b.textContent=""}};
//]]>
dojo.addOnLoad(function(){
new AJAXSearchelegant({
id : '89',
node : dojo.byId('offlajn-ajax-search89'),
searchForm : dojo.byId('search-form89'),
textBox : dojo.byId('search-area89'),
searchButton : dojo.byId('ajax-search-button89'),
closeButton : dojo.byId('search-area-close89'),
searchCategories : dojo.byId('search-categories89'),
productsPerPlugin : 3,
searchRsWidth : 250,
minChars : 2,
searchBoxCaption : 'Encontre na Câmara',
noResultsTitle : 'Resultados(0)',
noResults : 'Nenhum resultado foi encontrado!',
searchFormUrl : '/index.php',
enableScroll : '1',
showIntroText: '1',
scount: '10',
lang: '',
stext: 'Não foram encontrados resultados. Você quer dizer?',
moduleId : '89',
resultAlign : '0',
targetsearch: '0',
linktarget: '0',
keypressWait: '500',
catChooser : 0,
searchResult : 1
})
});
</script>]]>
|
158
| <![CDATA[<script type="text/javascript">jQuery(document).ready(function($){
jutooltip_api = $('.jutooltip').jutooltip({effect: 'slide', showDuration: 50, hideDuration: 50, easing: 'linear', predelay: 0, delay: 30, opacity: 1, tip: '', fadeIE: false, position : ['top','center'], offset: [-5, 0], cancelDefault: true, manualCloseTooltip: false, direction: 'up', bounce: false, slideOffset: 0}).jutooltip_dynamic({top: { direction: 'up' } });
});</script>]]>
|