
var mont2imgdon=1;
var mont2imgp1=new Image();
var mont2imgp2=new Image();
var mont2imgp3=new Image();
var mont2imgp4=new Image();

mont2imgp1.src='mont_2_1.jpg';
mont2imgp2.src='mont_2_2.jpg';
mont2imgp3.src='mont_2_3.jpg';
mont2imgp4.src='mont_2_4.jpg';

var mont2imgstr1='<img src="mont_2_1.jpg" width=500 height=92 alt="" border="0">';
var mont2imgstr2='<img src="mont_2_2.jpg" width=500 height=92 alt="" border="0">';
var mont2imgstr3='<img src="mont_2_3.jpg" width=500 height=92 alt="" border="0">';
var mont2imgstr4='<img src="mont_2_4.jpg" width=500 height=92 alt="" border="0">';


var uagent;
var opsystem;
var IE4B=false;
var NS6B=false;
var MsWinS=false;
uagent = window.navigator.userAgent.toLowerCase();
opsystem = window.navigator.platform.toLowerCase();
if (opsystem.indexOf('win') != -1)
{MsWinS = true;}
IE4B=(document.all);
NS6B=((document.getElementById)&&(!IE4B))?true:false;

IE5=false;IE4=false;IEold=false;IE5=(uagent.indexOf('msie 5.0') != -1)?true:false;IE4=(uagent.indexOf('msie 4') != -1)?true:false;if(IE5||IE4||(MsWinS==false)){IEold=true;}
function mont2initr()
{

	if(IE4B){if((uagent.indexOf('msie 7.') != -1)||(uagent.indexOf('msie 6.') != -1)||(uagent.indexOf('msie 5.5') != -1)){mont2imgdon=2;setTimeout('mont2dxtrans()',3000);
}
}

	else if(NS6B)

{
setTimeout('mont2slides()',1000);
}mont2yenif();
}

function mont2dxtrans()
{

if(IEold!=true)
{
mont2cimg.filters[0].apply();
}mont2cimg.src = eval("mont2imgp"+mont2imgdon+".src");
if(IEold!=true)
{
mont2cimg.filters[0].play();
}
mont2imgdon++;
if(mont2imgdon>4)
{
mont2imgdon=1;
}

setTimeout('mont2dxtrans()',3000);
}


function mont2slides()
{

if(mont2imgdon==1)
{
document.mont2slideimg.src=mont2imgp2.src;
}
if(mont2imgdon==2)
{
document.mont2slideimg.src=mont2imgp3.src;
}
if(mont2imgdon==3)
{
document.mont2slideimg.src=mont2imgp4.src;
}
if(mont2imgdon==4)
{
document.mont2slideimg.src=mont2imgp1.src;
}

mont2imgdon++;if(mont2imgdon>4)
{
mont2imgdon=1;
}
setTimeout('mont2slides()',1000);
}

mont2yenif = (window.onload) ? window.onload :  new Function;window.onload = function(){	setTimeout("mont2initr()",80);};
