//*****************************************************************************************************
<!--
var slideShowSpeed = 3000
var crossFadeDuration = 3
var Pic = new Array()

Pic[0] = 'img/IndexNovo1.jpg'
Pic[1] = 'img/IndexNovo2.jpg'


var t
var g = 0
var p = Pic.length

var preLoad = new Array()
for (i = 0; i < p; i++){
   preLoad[i] = new Image()
   preLoad[i].src = Pic[i]
}

function runSlideShow(){
   if (document.all){
      document.images.SlideShow.style.filter="blendTrans(duration=5)"
	  document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"
      document.images.SlideShow.filters.blendTrans.Apply()      
   }
   document.images.SlideShow.src = preLoad[g].src
   if (document.all){
      document.images.SlideShow.filters.blendTrans.Play()
   }
   g = g + 1
   if (g > (p-1)) g=0
   t = setTimeout('runSlideShow()', slideShowSpeed)
}







//*****************************************************************************************************
<!--
var slideShowSpeed1 = 7000
var crossFadeDuration1 = 7
var Pic1 = new Array()

Pic1[0] = 'img/IndexNovo2.jpg'
Pic1[1] = 'img/IndexNovo3.jpg'
Pic1[2] = 'img/IndexNovo1.jpg'


var t1
var g1 = 0
var p1 = Pic1.length

var preLoad1 = new Array()
for (j = 0; j < p1; j++){
   preLoad1[j] = new Image()
   preLoad1[j].src = Pic1[j]
}

function runSlideShow1(){
   if (document.all){
      document.images.SlideShow1.style.filter="blendTrans(duration=5)"
	  document.images.SlideShow1.style.filter="blendTrans(duration=crossFadeDuration1)"
      document.images.SlideShow1.filters.blendTrans.Apply()      
   }
   document.images.SlideShow1.src = preLoad1[g1].src
   if (document.all){
      document.images.SlideShow1.filters.blendTrans.Play()
   }
   g1 = g1 + 1
   if (g1 > (p1-1)) g1=0
   t1 = setTimeout('runSlideShow1()', slideShowSpeed1)
}






























//*****************************************************************************************************
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
//*****************************************************************************************************
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//*****************************************************************************************************
//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
//*****************************************************************************************************
function enqu(){
	window.open("enquete/enquete.asp", "Teste","toolbar=no,status=no,width=160,height=300");
}

//*****************************************************************************************************

/*
Disable right click script II (on images)- By Dynamicdrive.com
For full source, Terms of service, and 100s DTHML scripts
Visit http://www.dynamicdrive.com
*/

var clickmessage="Copyright - SNSWEB"

function disableclick(e) {
if (document.all) {
if (event.button==2||event.button==3) {
if (event.srcElement.tagName=="IMG"){
alert(clickmessage);
return false;
}
}
}
else if (document.layers) {
if (e.which == 3) {
alert(clickmessage);
return false;
}
}
else if (document.getElementById){
if (e.which==3&&e.target.tagName=="IMG"){
alert(clickmessage)
return false
}
}
}

function associateimages(){
for(i=0;i<document.images.length;i++)
document.images[i].onmousedown=disableclick;
}

if (document.all)
document.onmousedown=disableclick
else if (document.getElementById)
document.onmouseup=disableclick
else if (document.layers)
associateimages()


// -->
