37
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"c0dbf5cf92a83b8b0f264c7bfab5ff07","system.paths":{"root":"","base":""}}</script>]]>
|
56
| <![CDATA[<script type="text/javascript">
kQuery(function($) {
$('.docmanlist-deletable').on('click', function(event){
event.preventDefault();
var target = $(event.target);
if (!target.hasClass('disabled') && confirm('You will not be able to bring this item back if you delete it. Would you like to continue?')) {
new Koowa.Form($.parseJSON(target.prop('rel'))).submit();
}
});
});
kQuery(function($) {
$('.docmanlist_track_download').on('click', function() {
var el = $(this);
if (typeof _gaq !== 'undefined') {
if (_gat._getTrackers().length) {
_gaq.push(function() {
var tracker = _gat._getTrackers()[0];
tracker._trackEvent('DOCman', 'Download', el.data('title'), parseInt(el.data('id'), 10));
});
}
} else if ('ga' in window && window.ga !== undefined && typeof window.ga === 'function' ) {
window.ga('send', 'event', 'DOCman', 'Download', el.data('title'), parseInt(el.data('id'), 10));
}
});
});
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
JCEMediaBox.init({popup:{width:"",height:"",legacy:0,lightbox:0,shadowbox:0,resize:1,icons:1,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}'},cookie_expiry:"",google_viewer:0},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",mediafallback:0,mediaselector:"audio,video"});
JCck.Core.baseURI = "";
JCck.Core.sourceURI = "http://www.aptaregional.sp.gov.br";
jQuery(document).ready(function($){ $.validationEngineLanguage.newLang({"required_enquete_opcao":{"regex": "none","alertText":"* Selecione uma das opções"}});$("#seblod_form_m212").validationEngine({scroll:true,promptPosition:"topRight"}); });
</script>]]>
|
91
| <![CDATA[<script type="text/javascript">
(function ($) {
$().ready(function () {
$('body,h1, .moduletitle, #menuprincipal, a, #header').jfontsize({
btnMinusClasseId: '#jfontsize-minus',
btnDefaultClasseId: '#jfontsize-default',
btnPlusClasseId: '#jfontsize-plus',
btnMinusMaxHits: 5,
btnPlusMaxHits: 5,
sizeChange: 1
});
});
})(jQuery)
</script>]]>
|
112
| <![CDATA[<script type='text/javascript'>
// Load the SDK Asynchronously
(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = '//connect.facebook.net/pt_BR/all.js';
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script>]]>
|
219
| <![CDATA[<script type="text/javascript">
//<![CDATA[
window.addEvent('domready', function()
{
var value;
// Set the input value if not already set.
if (!document.id('mod-finder-searchword').getProperty('value'))
{
document.id('mod-finder-searchword').setProperty('value', 'Pesquisar...');
}
// Get the current value.
value = document.id('mod-finder-searchword').getProperty('value');
// If the current value equals the default value, clear it.
document.id('mod-finder-searchword').addEvent('focus', function()
{
if (this.getProperty('value') == 'Pesquisar...')
{
this.setProperty('value', '');
}
});
// If the current value is empty, set the previous value.
document.id('mod-finder-searchword').addEvent('blur', function()
{
if (!this.getProperty('value'))
{
this.setProperty('value', value);
}
});
document.id('mod-finder-searchform').addEvent('submit', function(e){
e = new Event(e);
e.stop();
// Disable select boxes with no value selected.
if (document.id('mod-finder-advanced') != null)
{
document.id('mod-finder-advanced').getElements('select').each(function(s){
if (!s.getProperty('value'))
{
s.setProperty('disabled', 'disabled');
}
});
}
document.id('mod-finder-searchform').submit();
});
/*
* This segment of code sets up the autocompleter.
*/
var url = '/finder.html?format=json&task=suggestions.display&tmpl=component';
var ModCompleter = new Autocompleter.Request.JSON(document.id('mod-finder-searchword'), url, {'postVar': 'q'});
});
//]]>
</script>]]>
|
308
| <![CDATA[<script type="text/javascript">
//<![CDATA[
window.addEvent('domready', function()
{
var value;
// Set the input value if not already set.
if (!document.id('mod-finder-searchword').getProperty('value'))
{
document.id('mod-finder-searchword').setProperty('value', 'Pesquisar...');
}
// Get the current value.
value = document.id('mod-finder-searchword').getProperty('value');
// If the current value equals the default value, clear it.
document.id('mod-finder-searchword').addEvent('focus', function()
{
if (this.getProperty('value') == 'Pesquisar...')
{
this.setProperty('value', '');
}
});
// If the current value is empty, set the previous value.
document.id('mod-finder-searchword').addEvent('blur', function()
{
if (!this.getProperty('value'))
{
this.setProperty('value', value);
}
});
document.id('mod-finder-searchform').addEvent('submit', function(e){
e = new Event(e);
e.stop();
// Disable select boxes with no value selected.
if (document.id('mod-finder-advanced') != null)
{
document.id('mod-finder-advanced').getElements('select').each(function(s){
if (!s.getProperty('value'))
{
s.setProperty('disabled', 'disabled');
}
});
}
document.id('mod-finder-searchform').submit();
});
/*
* This segment of code sets up the autocompleter.
*/
var url = '/finder.html?format=json&task=suggestions.display&tmpl=component';
var ModCompleter = new Autocompleter.Request.JSON(document.id('mod-finder-searchword'), url, {'postVar': 'q'});
});
//]]>
</script>]]>
|
382
| <![CDATA[<script language="javascript" type="text/javascript">
<!--
var fshowMsg = true;
function spu_createCookie(name, value, days) {
if (days) {
var date = new Date();
date.setTime(date.getTime()+(days*24*60*60*1000));
var expires = "; expires="+date.toGMTString();
}
else var expires = "";
document.cookie = name+"="+value+expires+"; path=/";
}
function spu_readCookie(name) {
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) {
if (c.substring(nameEQ.length,c.length).length == 0) return "noname";
return c.substring(nameEQ.length,c.length);
}
if (c.indexOf(name) == 0) return c.substring(name.length,c.length);
}
return null;
}
jQuery(document).ready(function() {
var cookieRet = spu_readCookie('spu_cookieenquete20150313');
if(!cookieRet) {
// Cookie not found, set cookie expiration and show message
var persistance = 365;
spu_createCookie('spu_cookieenquete20150313', 'enquete20150313', persistance);
} else {
// Cookie exists, skip message
fshowMsg = false;
}
jQuery('.enquete20150313').fancybox({
'titleShow' : true,
'scrolling' : 'auto',
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'speedIn' : '300',
'speedOut' : '300',
'hideOnOverlayClick': false,
'hideOnContentClick': false,
'showCloseButton' : false,
'titlePosition' : 'inside',
'titleFormat' : formatTitle,
'title' : '',
'autoDimensions' : true,
'resizeOnWindowResize' : true,
'centerOnScroll' : true,
'overlayShow' : true,
'overlayOpacity' : 0.3,
'overlayColor' : '#666'
}
);
jQuery(document).on('click', '#enquete20150313', function(event){ //jQuery(document).on('click', '#enquete20150313', function(event){
jQuery('.enquete20150313').trigger('click');
});
});
function formatTitle(title, currentArray, currentIndex, currentOpts) {
var lbl = 'Imagem # de #';
var lblsplit = lbl.split(' ');
if (lblsplit.length != 4) {
lblsplit[0] = 'Image';
lblsplit[2] = 'of';
}
lbl = ''
var sh = '<div style="text-align: left;"><span style="float: right;height: 22px;background: url(/plugins/content/simplepopup/simplepopup/fancybox/closelabel.gif) no-repeat right center;padding-right: 20px; cursor: pointer;" onclick="jQuery.fancybox.close();">';
sh += '<a href="javascript:;" onclick="jQuery.fancybox.close();">';
//sh += '<img src="/plugins/content/simplepopup/simplepopup/fancybox/closelabel.gif" />';
sh += '<div style="position: relative; top: 4px; font-size: 14px; font-family: Helvetica,Arial,sans-serif; font-weight: bold; color: #888;">Fechar</div>';
sh += '</a></span>' + (title && title.length ? '<b style="display: block; margin-right: 80px;">' + title + '</b>' : '' ) + (lbl && lbl.length ? lblsplit[0] + ' ' + (currentIndex + 1) + ' ' + lblsplit[2] + ' ' + currentArray.length : '');
sh += '</div>';
return sh;
}
-->
</script>]]>
|
484
| <![CDATA[<script type="text/javascript">
JCck.Core.submit_m212 = function(task) { if (jQuery("#seblod_form_m212").validationEngine("validate",task) === true) { if (jQuery("#seblod_form_m212").isStillReady() === true) { jQuery("#seblod_form_m212 input[name='config[unique]']").val("seblod_form_m212"); JCck.Core.submitForm("save", document.getElementById("seblod_form_m212")); } } }
</script>]]>
|
514
| <![CDATA[<script language="javascript" type="text/javascript">
<!--
jQuery(document).ready(function() {
// If pop on load then trigger click on link
if (fshowMsg) jQuery('#enquete20150313').trigger('click');
});
-->
</script>]]>
|
822
| <![CDATA[<script type="text/javascript">jQuery(function($) {$('.docman_track_download').on('click', function() {
var el = $(this);
if (typeof _gaq !== 'undefined') {
if (_gat._getTrackers().length) {
_gaq.push(function() {
var tracker = _gat._getTrackers()[0];
tracker._trackEvent('DOCman', 'Download', el.data('title'), parseInt(el.data('id'), 10));
});
}
} else if ('ga' in window && window.ga !== undefined && typeof window.ga === 'function' ) {
window.ga('send', 'event', 'DOCman', 'Download', el.data('title'), parseInt(el.data('id'), 10));
}
});
if (typeof _paq !== 'undefined') {
_paq.push(['setDownloadClasses', 'docman_track_download']);
_paq.push(['trackPageView']);
}
});</script>]]>
|
862
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-29274900-1', 'auto');
ga('send', 'pageview');</script>]]>
|
871
| <![CDATA[<script>jQuery(document).ready( function () {zo2.settings.token = "c0dbf5cf92a83b8b0f264c7bfab5ff07"; }); </script>]]>
|