if (document.images) {

	a_on = new Image(); a_on.src = "menu_jeepclub1.gif"; a_br = new Image(); a_br.src = "menu_jeepclub2.gif";

    b_on = new Image(); b_on.src = "menu_noticias1.gif"; b_br = new Image(); b_br.src = "menu_noticias2.gif";

    c_on = new Image(); c_on.src = "menu_fotos1.gif"; c_br = new Image(); c_br.src = "menu_fotos2.gif";

	d_on = new Image(); d_on.src = "menu_classi1.gif"; d_br = new Image(); d_br.src = "menu_classi2.gif";

	e_on = new Image(); e_on.src = "anuncie.gif"; e_br = new Image(); e_br.src = "anuncie2.gif"

}



   function active(imgName){

        if (document.images){

        document[imgName].src = eval(imgName + "_br.src");

        }}

   function inactive(imgName){

        if (document.images){

        document[imgName].src = eval(imgName + "_on.src");

        }}

		
function flash(largura, altura, arquivo, transparencia){
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+largura+'" height="'+altura+'" id="teste" align="middle">');
 document.write('<param name="allowScriptAccess" value="always" /><param name="wmode" value="'+transparencia+'" /><param name="menu" value="false" />');
 document.write('<param name="movie" value="'+arquivo+'" /><param name="quality" value="best" /><param name="bgcolor" value="#ffffff" /><embed AllowScriptAccess="always" src="'+arquivo+'" wmode="'+transparencia+'" menu="false" quality="best" width="'+largura+'" height="'+altura+'" name="teste" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
 document.write('</object>');
}


function novajanela(pagina,janela,w,h,scrolling) {

 if (!scrolling) { scrolling='auto' }

 resultado = window.open(pagina,janela,'width='+w+',height='+h+',scrollbars='+scrolling+',toolbar=no,location=no,status=no,menubar=no,resizable=no,left=100,top=5')

}



function changeto(highlightcolor){

source=event.srcElement

if (source.tagName=="TR"||source.tagName=="TABLE")

return

while(source.tagName!="TD")

source=source.parentElement

if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")

source.style.backgroundColor=highlightcolor

}



function changeback(originalcolor){

if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore"  )return

if (event.toElement!=source)source.style.backgroundColor=originalcolor

}



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();

}



function MM_findObj(n, d) { //v4.0

  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 && document.getElementById) x=document.getElementById(n); return x;

}



function MM_jumpMenu(targ,selObj,restore){ //v3.0

  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");

  if (restore) selObj.selectedIndex=0;

}



function MM_showHideLayers() { //v3.0

  var i,p,v,obj,args=MM_showHideLayers.arguments;

  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];

    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }

    obj.visibility=v; }

}



function MM_swapImgRestore() { //v3.0

  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}



function MM_preloadImages() { //v3.0

  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}



function MM_findObj(n, d) { //v4.0

  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 && document.getElementById) x=document.getElementById(n); return x;

}



function MM_swapImage() { //v3.0

  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}



function MM_date(){

var months=new Array(13);

months[1]="Janeiro";

months[2]="Fevereiro";

months[3]="Março";

months[4]="Abril";

months[5]="Maio";

months[6]="Junho";

months[7]="Julho";

months[8]="Agosto";

months[9]="Setembro";

months[10]="Outubro";

months[11]="Novembro";

months[12]="Dezembro";

var time=new Date();

var lmonth=months[time.getMonth() + 1];

var date=time.getDate();

var year=time.getYear();





if ((navigator.appName == "Microsoft Internet Explorer") && (year < 2000))

year="19" + year;

if (navigator.appName == "Netscape")

year=1900 + year;

document.write(date + " de ");

document.write(lmonth + " de " + year);

}





function imageOver(imgName) {

  if (document.images) {

    document [imgName].src = linkimage_roll.src;

  }

}

function imageOut(imgName) {

  if (document.images) {

    document [imgName].src = linkimage_off.src;

  }

}

function linkOver(imgName) {

  if (document.images) {

    document [imgName].src = linkimage_roll.src;

  }

}

function linkOut(imgName) {

  if (document.images) {

    document [imgName].src = linkimage_off.src;

  }

}



if (document.images) {

  linkimage_off = new Image(13,13);

  linkimage_off.src = "../images/marcador.gif";





  linkimage_roll = new Image(13,13);

  linkimage_roll.src = "../images/marcador_on.gif";



}



function high(which2)

{ theobject=which2

highlighting=setInterval("highlightit(theobject)",50)

}

function low(which2)

{ clearInterval(highlighting)

which2.filters.alpha.opacity=50

}

function highlightit(cur2)

{ if (cur2.filters.alpha.opacity<100)

cur2.filters.alpha.opacity+=5

else if (window.highlighting)

clearInterval(highlighting)

}



function MM_findObj(n, d) { //v4.0

  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 && document.getElementById) x=document.getElementById(n); return x;

}





function mOvr(src,clrOver) {

 if (!src.contains(event.fromElement)) {

  src.style.cursor = 'hand';

  src.bgColor = clrOver;

 }

}

function mOut(src,clrIn) {

 if (!src.contains(event.toElement)) {

  src.style.cursor = 'default';

  src.bgColor = clrIn;

 }

}

function m2Ovr(src,clrOver) {

 if (!src.contains(event.fromElement)) {

  src.style.cursor = 'hand';

  src.background = clrOver;

 }

}

function m2Out(src,clrIn) {

 if (!src.contains(event.toElement)) {

  src.style.cursor = 'default';

  src.background = clrIn;

 }

}

function mClk(src) {

 if(event.srcElement.tagName=='TD'){

  src.children.tags('A')[0].click();

 }

 }

function MM_openBrWindow(theURL,winName,features) { //v2.0

  window.open(theURL,winName,features);

}



function MM_findObj(n, d) { //v4.0

  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 && document.getElementById) x=document.getElementById(n); return x;

}



function MM_showHideLayers() { //v3.0

  var i,p,v,obj,args=MM_showHideLayers.arguments;

  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];

    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }

    obj.visibility=v; }

}



var url="http://www.steindorffviaturas.com.br"

var titulo="STEINDORFF VIATURAS MILITARES"

function favoritar(){

if (document.all)

window.external.AddFavorite(url,titulo)

}

