21
| <![CDATA[<script type="text/javascript">
window.addEvent('domready', function() {
SqueezeBox.initialize({});
$$('a.modal').each(function(el) {
el.addEvent('click', function(e) {
new Event(e).stop();
SqueezeBox.fromElement(el);
});
});
});
</script>]]>
|
76
| <![CDATA[<script>dataAtual()</script>]]>
|
86
| <![CDATA[<script>
function goMenu(){
var valor = document.getElementById('menuTopo').options[ document.getElementById('menuTopo').selectedIndex ].value;
if( valor != '' ){
document.location.href = valor;
}
}
</script>]]>
|
171
| <![CDATA[<script type="text/javascript">
function gothere(){
var link = document.form_wlcombo_plus.select_wlcombo_plus.options[document.form_wlcombo_plus.select_wlcombo_plus.selectedIndex].value;
if ((link != "") && (link.search(/http:/)!=-1)) {
window.open(link,"mywindow");
}
}
</script>]]>
|
189
| <![CDATA[<script>
function goMenuCombo(param_menuID){
var valor = document.getElementById(param_menuID).options[ document.getElementById(param_menuID).selectedIndex ].value;
if( valor != '' ){
document.location.href = valor;
}
}
</script>]]>
|
258
| <![CDATA[<script language="javascript" type="text/javascript">
function tableOrdering( order, dir, task )
{
var form = document.adminForm;
form.filter_order.value = order;
form.filter_order_Dir.value = dir;
document.adminForm.submit( task );
}
</script>]]>
|
433
| <![CDATA[<script language="javascript">
function show(whichOne,vmax){
var num = new Number(whichOne);
for(var nLink = vmax ; nLink > 0 ; nLink--){
if( document.getElementById('link'+nLink) ){
document.getElementById('link'+nLink).className = '';
}
if( document.getElementById('div'+nLink) ){
document.getElementById('div'+nLink).style.opacity = 0;
document.getElementById('div'+nLink).style.display = 'none';
}
}
if(vmax == 1){
document.getElementById('div1').style.display = '';
document.getElementById('div1').style.opacity = '';
return false;
}
if(whichOne == vmax){
tDiv = "div"+vmax;
vDiv = "div1";
}
else{
tDiv = "div" + num;
vDiv = "div" + (num + 1);
}
if(whichOne == 1){
if( document.getElementById('link'+vmax) ){
document.getElementById('link'+vmax).className = '';
}
document.getElementById('link1').className = 'activeSlide';
}
else{
document.getElementById('link'+ (num - 1)).className = '';
document.getElementById('link'+whichOne).className = 'activeSlide';
}
if($(tDiv).fx){$(tDiv).fx.stop();}
if($(vDiv).fx){$(vDiv).fx.stop();}
$(tDiv).fx = $(tDiv).effect("opacity", {duration: 1500}).start(0);
$(vDiv).fx = $(vDiv).effect("opacity", {duration: 1500}).start(1);
$(tDiv).style.display = 'none';
$(vDiv).style.display = '';
}
var randomBanner = {
cont: 0,
timeOut: null,
change: function(num){
var that = this;
if( this.cont == 6){
this.cont = 0;
}
if( num > 0 && typeof num != 'undefined' ){
this.cont = num;
}
else{
this.cont++;
}
show(this.cont,6)
this.timeOut = setTimeout(
function(){
that.change();
},
4500
);
},
changeCont: function(num){
var that = this;
this.cont = num;
},
stopLoop: function(){
clearTimeout( this.timeOut );
}
}
function changeBanner(num2){
num2 = parseInt(num2);
randomBanner.stopLoop();
show(num2,6);
if( num2 == 6){
num2 = 1;
}
else{
num2 = num2 + 1 ;
}
setTimeout(
function(){
randomBanner.change( parseInt(num2) );
},
6500
);
}
function sleep(tempo){
var start = new Date().getTime();
for(var i = 0; i < 1e6 ; i++){
if( (new Date().getTime() - start) > tempo ){
break;
}
}
}
</script>]]>
|
596
| <![CDATA[<script>randomBanner.change();</script>]]>
|
603
| <![CDATA[<script language="javascript" type="text/javascript" ><!--
function navLoaded(elem, modid){
var myspan = document.getElementById("testspan"+modid);
var modbody = myspan.parentNode;
modbody.innerHTML=elem.innerHTML;
}
function callNavigation(link){
var body = document.getElementsByTagName('body')[0];
if (!document.getElementById('calnav')){
myiframe = document.createElement('iframe');
myiframe.setAttribute("name","calnav");
myiframe.setAttribute("id","calnav");
myiframe.style.display = "none";
}
body.appendChild(myiframe);
myiframe.setAttribute("src",link);
}
//--></script>]]>
|