uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;OPB=(uagent.indexOf('opera') != -1)?true:false;CRB=(uagent.indexOf('chrome') != -1)?true:false;SFB=(uagent.indexOf('safari') != -1)?true:false;var scompat = document.compatMode;var mlhomesss=null;var mlhomessdescgoster=0;var mlhomessthumbgoster=0;var mlhomesscwidth=0;var mlhomesscheight=0;var mlhomesscalc=0;var mlhomesstam=0;var mlhomesskalan=0;var mlhomesskalany=0;var mlhomessts="";var mlhomessds="";var mlhomessjbtype=0;var mlhomessrealcurrent=0;var mlhomesstimeo=null;mlhomessthumbs_obj=null;mlhomessmoving_obj=null;mlhomessTotalThumbWidth=0;mlhomessTotalThumbHeight=0;mlhomessMoveIcWidth=0;var TBW=0;var CursorStr="default";var mlhomessDescCalcWidth=0;var mlhomessDescCalcHeight=0;var mlhomessDescCalcIcWidth=0;var mlhomessDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;mlhomessimgarr=new Array();mlhomessthumbimgstr=new Array();mlhomessimgstr=new Array();mlhomesslinkstr=new Array();mlhomessclslinkstr=new Array();mlhomesstitarr=new Array();mlhomessdesarr=new Array();mlhomessimgarr[0]=new Image();mlhomessimgarr[0].c=0;mlhomessimgarr[0].onload = mlhomesssecondcomplate;mlhomessimgarr[0].src=mlhomessfoldername+'frontpic.jpg';mlhomessimgstr[0]=mlhomessfoldername+'frontpic.jpg';mlhomessthumbimgstr[0]=mlhomessfoldername+'frontpic.jpg';mlhomesslinkstr[0]='';mlhomessclslinkstr[0]='';mlhomesstitarr[0]="";mlhomessdesarr[0]="";mlhomessimgarr[1]=new Image();mlhomessimgarr[1].c=0;mlhomessimgarr[1].onload = mlhomesssecondcomplate;mlhomessimgarr[1].src=mlhomessfoldername+'2h.jpg';mlhomessimgstr[1]=mlhomessfoldername+'2h.jpg';mlhomessthumbimgstr[1]=mlhomessfoldername+'2h.jpg';mlhomesslinkstr[1]='';mlhomessclslinkstr[1]='';mlhomesstitarr[1]="";mlhomessdesarr[1]="";mlhomessimgarr[2]=new Image();mlhomessimgarr[2].c=0;mlhomessimgarr[2].onload = mlhomesssecondcomplate;mlhomessimgarr[2].src=mlhomessfoldername+'3h.jpg';mlhomessimgstr[2]=mlhomessfoldername+'3h.jpg';mlhomessthumbimgstr[2]=mlhomessfoldername+'3h.jpg';mlhomesslinkstr[2]='';mlhomessclslinkstr[2]='';mlhomesstitarr[2]="";mlhomessdesarr[2]="";mlhomessimgarr[3]=new Image();mlhomessimgarr[3].c=0;mlhomessimgarr[3].onload = mlhomesssecondcomplate;mlhomessimgarr[3].src=mlhomessfoldername+'6.jpg';mlhomessimgstr[3]=mlhomessfoldername+'6.jpg';mlhomessthumbimgstr[3]=mlhomessfoldername+'6.jpg';mlhomesslinkstr[3]='';mlhomessclslinkstr[3]='';mlhomesstitarr[3]="";mlhomessdesarr[3]="";mlhomessimgarr[4]=new Image();mlhomessimgarr[4].c=0;mlhomessimgarr[4].onload = mlhomesssecondcomplate;mlhomessimgarr[4].src=mlhomessfoldername+'4h.jpg';mlhomessimgstr[4]=mlhomessfoldername+'4h.jpg';mlhomessthumbimgstr[4]=mlhomessfoldername+'4h.jpg';mlhomesslinkstr[4]='';mlhomessclslinkstr[4]='';mlhomesstitarr[4]="";mlhomessdesarr[4]="";mlhomessimgarr[5]=new Image();mlhomessimgarr[5].c=0;mlhomessimgarr[5].onload = mlhomesssecondcomplate;mlhomessimgarr[5].src=mlhomessfoldername+'5.jpg';mlhomessimgstr[5]=mlhomessfoldername+'5.jpg';mlhomessthumbimgstr[5]=mlhomessfoldername+'5.jpg';mlhomesslinkstr[5]='';mlhomessclslinkstr[5]='';mlhomesstitarr[5]="";mlhomessdesarr[5]="";if((IEB==true)&&(scompat == "BackCompat" )){    mlhomesscwidth=798;    mlhomesscheight=363;}else{    mlhomesscwidth=798-2*(0);    mlhomesscheight=363-2*(0);}var mlhomessicwidth=798-2*(0);var mlhomessicheight=363-2*(0);mlhomessDescCalcWidth=260;mlhomessDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	mlhomessDescCalcIcWidth=mlhomessDescCalcWidth;	mlhomessDescCalcIcHeight=mlhomessDescCalcHeight;}else{    mlhomessDescCalcIcWidth=mlhomessDescCalcWidth-2*(2)-2*(3);    mlhomessDescCalcIcHeight=mlhomessDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+mlhomesscwidth+'px;height:'+mlhomesscheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="mlhomessdv" style="position:relative;width:'+mlhomessicwidth+'px;height:'+mlhomessicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=mlhomessFadeBitti()'+'></div>');for(i=0;i<6;i++){	if(0==0){mlhomessds=mlhomessds+mlhomesslinkstr[i];if(mlhomesslinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	mlhomessds=mlhomessds+'<div id="mlhomessdesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+mlhomessDescCalcWidth+'px;height:'+mlhomessDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	mlhomessds=mlhomessds+'<div style="position:absolute;left:0px;top:0px;width:'+mlhomessDescCalcWidth+'px;height:'+mlhomessDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+'0.50'+';filter:alpha(opacity='+'50'+');-moz-opacity:'+'0.50'+';"></div>';	mlhomessds=mlhomessds+'<div style="position:relative;left:0px;top:0px;width:'+mlhomessDescCalcIcWidth+'px;height:'+mlhomessDescCalcIcHeight+'px;overflow:hidden;padding:'+3+'px;text-align:'+'left'+';border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'000153'+';color:#'+'777215'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'13px'+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);-moz-opacity:1.0;">';	mlhomessds=mlhomessds+'<span style="color:#'+'181758'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+mlhomesstitarr[i]+'</span><br />'+mlhomessdesarr[i];	mlhomessds=mlhomessds+'</div>';	mlhomessds=mlhomessds+'</div>';	if(0==0){mlhomessds=mlhomessds+mlhomessclslinkstr[i];}	}document.write(''+mlhomessds);function mlhomessShowCurrentDesc(){	if((mlhomessdescgoster==1)&&( (mlhomesstitarr[mlhomessrealcurrent].length>0) || (mlhomessdesarr[mlhomessrealcurrent].length>0)  ))	{		after_des=document.getElementById('mlhomessdesc'+mlhomessrealcurrent);		after_des.style.visibility="visible";		}}function mlhomessHideCurrentDesc(){	before_des=document.getElementById('mlhomessdesc'+mlhomessvcurr);	before_des.style.visibility="hidden";}function mlhomessHighlightCurrTumb(){	if((0==1)&&(0==0))	{		mlhomessbeforethumb=document.getElementById('mlhomessthumb'+mlhomessvcurr);		mlhomessafterthumb=document.getElementById('mlhomessthumb'+mlhomessrealcurrent);		mlhomessbeforethumb.style.borderColor='066329';		mlhomessafterthumb.style.borderColor='000153';	}}document.write('</div>');function mlhomesszindx(){	mlhomessobjn.style.visibility="visible";	mlhomessobjc.style.zIndex=2;	mlhomessobjn.style.zIndex=3;    }function mlhomessThumbOut(tobj,nm){	if((mlhomessvcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='066329';	}}function mlhomessThumbOver(tobj,nm){	tobj.style.borderColor='000153';}function mlhomessSonrakiClick(c,n){	mlhomessvcurr=c;	mlhomessvnext=n;			mlhomessobjc=document.getElementById('mlhomessd'+mlhomessvcurr);	mlhomessobjn=document.getElementById('mlhomessd'+mlhomessvnext);}function mlhomessSonraki(){	mlhomessvcurr=mlhomessvnext;	mlhomessvnext=mlhomessvnext+1;		if(mlhomessvnext>=6)	{		mlhomessvnext=0;		mlhomesstam=1;	}		mlhomessobjc=document.getElementById('mlhomessd'+mlhomessvcurr);	mlhomessobjn=document.getElementById('mlhomessd'+mlhomessvnext);		      }function mlhomesssecondcomplate(){	this.c=1;}function mlhomessdevam(fm,pt){	if((mlhomessimgarr[mlhomessvnext].c==1)&&(mlhomessimgarr[mlhomessvcurr].c==1))	{		mlhomesstimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('mlhomessdevam("'+fm+'")',500);	}	var mlhomesscagain=1;	for(i=0;i<6;i++)	{		if(mlhomessimgarr[i].c==1){}		else{mlhomesscagain=0;}	}	if(mlhomesscagain==1){mlhomesstam=1;}}function ThumbClick(clicked_img,tobj){	if(mlhomessjbtype==1){return;}	clearTimeout(mlhomesstimeo);	mlhomessSonrakiClick(mlhomessrealcurrent,clicked_img);	if(mlhomessfademi==1)        {            if(IEB==true)            {		if(mlhomesstam==0)		{	    		mlhomessdevam("mlhomessdotrans",4000);		}		else		{			mlhomessdotrans();		}            }            else            {		if(mlhomesstam==0)		{    			mlhomessdevam("mlhomessbeftrans",4000);		}		else		{			mlhomessbeftrans();		}            }        }	else if(mlhomessfademi==2)	{		if(mlhomesstam==0)		{ 			mlhomessdevam("mlhomessDoSlide",4000);		}		else		{			mlhomessDoSlide();		}	}	else if(mlhomessfademi==3)	{		if(mlhomesstam==0)		{ 			mlhomessdevam("mlhomessDoScrollUp",4000);		}		else		{			mlhomessDoScrollUp();		}	}	else if(mlhomessfademi==4)	{		if(mlhomesstam==0)		{ 			mlhomessdevam("mlhomessDoBlindX",4000);		}		else		{			mlhomessDoBlindX();		}	}	else if(mlhomessfademi==5)	{		if(mlhomesstam==0)		{ 			mlhomessdevam("mlhomessDoBlindY",4000);		}		else		{			mlhomessDoBlindY();		}	}	}function mlhomesssl(){mlhomessfademi=1;mlhomessvcurr=0;mlhomessvnext=0;mlhomessvssdiv=null;stepc=20*(2);mlhomessdif=0.00;mlhomessop=1.00;mlhomessdif=(1.00/stepc);dstr1='<div id="';dstr2='" style="position:absolute;visibility:hidden;'+'left:0px;top:0px;'+'padding:0px;margin:0px;overflow:hidden;">';dstr23='<table cellspacing="0" cellpadding="0" style="position:relative;left:0px;top:0px;padding:0px;margin:0px;"><tr><td style="width:'+mlhomessicwidth+'px;height:'+mlhomessicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="mlhomessimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#421772'+';'+'width:'+mlhomessicwidth+'px;height:'+mlhomessicheight+'px;'+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.mlhomessdotrans=mlhomessdotrans;this.mlhomessinitte=mlhomessinitte;this.mlhomessinitte2=mlhomessinitte2;this.mlhomessbeftrans=mlhomessbeftrans;this.mlhomessdotransff=mlhomessdotransff;}function mlhomessFadeBitti(){	mlhomessjbtype=0;	mlhomessShowCurrentDesc();	}function mlhomessdotrans(){	mlhomessjbtype=1;	mlhomessHideCurrentDesc();	if(IEB==true){mlhomessvssdiv.filters[0].apply();}	mlhomessobjc.style.visibility="hidden";	mlhomessobjn.style.visibility="visible";	if(IEB==true){mlhomessvssdiv.filters[0].play();}	mlhomessrealcurrent=mlhomessvnext;	mlhomessHighlightCurrTumb();	mlhomessSonraki();			if(mlhomesstam==0){mlhomessdevam("mlhomessdotrans",((1000*2)+4000));}	else	{		mlhomesstimeo=setTimeout('mlhomessdotrans()',((1000*2)+4000));	} 	}function mlhomessdotransff(){	mlhomessop=mlhomessop-mlhomessdif;		if(mlhomessop<(0.00)){mlhomessop=0.00;}	mlhomessobjc.style.opacity = mlhomessop;	mlhomessobjn.style.opacity = 1.00-mlhomessop;	if(mlhomessop>(0.00))	{		setTimeout('mlhomessdotransff()',50);	}	else	{		mlhomessobjc.style.zIndex=2;		mlhomessobjn.style.zIndex=3;		mlhomessrealcurrent=mlhomessvnext;		mlhomessShowCurrentDesc();		mlhomessHighlightCurrTumb();				mlhomessSonraki();			        if(mlhomesstam==0){mlhomessdevam("mlhomessbeftrans",4000);}        	else {mlhomesstimeo=setTimeout('mlhomessbeftrans()',4000);}		mlhomessjbtype=0;  					}}function mlhomessbeftrans(){	mlhomessjbtype=1;	mlhomessHideCurrentDesc();    	mlhomessop=1.00;	mlhomessobjc.style.visibility="visible";	mlhomessobjn.style.visibility="visible";		mlhomessobjc.style.zIndex=3;	mlhomessobjn.style.zIndex=2;		mlhomessobjc.style.opacity = 1.00;		mlhomessobjn.style.opacity = 1.00;			mlhomessdotransff();	}function mlhomessDoSlide(){	mlhomessjbtype=1;	mlhomessHideCurrentDesc();	mlhomesskalan=mlhomesskalan-Math.ceil(mlhomesskalan/2);	mlhomessobjc.style.left=""+(mlhomesskalan-mlhomessicwidth)+"px";	mlhomessobjn.style.left=""+mlhomesskalan+"px";		if(mlhomesskalan<=0)	{		mlhomessrealcurrent=mlhomessvnext;		mlhomessShowCurrentDesc();		mlhomessHighlightCurrTumb();    		mlhomessSonraki();		mlhomesskalan=mlhomessicwidth;		mlhomessobjn.style.left=""+mlhomesskalan+"px";	        		mlhomesszindx();          		mlhomessjbtype=0;        		if(mlhomesstam==0){mlhomessdevam("mlhomessDoSlide",4000);}		else {mlhomesstimeo=setTimeout('mlhomessDoSlide()',4000);}	}	else	{		setTimeout('mlhomessDoSlide()',50);    	} }function mlhomessDoScrollUp(){	mlhomessjbtype=1;	mlhomessHideCurrentDesc();	mlhomesskalan=mlhomesskalan-Math.ceil(mlhomesskalan/2);	mlhomessobjc.style.top=""+(mlhomesskalan-mlhomessicheight)+"px";	mlhomessobjn.style.top=""+mlhomesskalan+"px";	    if(mlhomesskalan<=0)    {	mlhomessrealcurrent=mlhomessvnext;	mlhomessShowCurrentDesc();	mlhomessHighlightCurrTumb();        mlhomessSonraki();        mlhomesskalan=mlhomessicheight;	mlhomessobjn.style.top=""+mlhomesskalan+"px";	        mlhomesszindx();                 	mlhomessjbtype=0;        if(mlhomesstam==0){mlhomessdevam('mlhomessDoScrollUp',4000);}        else{mlhomesstimeo=setTimeout('mlhomessDoScrollUp()',4000);}        }    else    {        setTimeout('mlhomessDoScrollUp()',50);        }}function mlhomessDoBlindX(){	mlhomessjbtype=1;	mlhomessHideCurrentDesc();   	mlhomesskalan=mlhomesskalan-Math.ceil(mlhomesskalan/2);	mlhomessobjc.style.left=""+(mlhomessicwidth-mlhomesskalan)+"px";	mlhomessobjn.style.left=""+mlhomesskalan+"px";	    if(mlhomesskalan<=0)    {		mlhomessrealcurrent=mlhomessvnext;		mlhomessShowCurrentDesc();	mlhomessHighlightCurrTumb();            mlhomessSonraki();        mlhomesskalan=mlhomessicwidth;	mlhomessobjn.style.left=""+mlhomesskalan+"px";		    	        mlhomesszindx();	mlhomessjbtype=0;                  if(mlhomesstam==0){mlhomessdevam("mlhomessDoBlindX",4000);}        else{mlhomesstimeo=setTimeout('mlhomessDoBlindX()',4000);}    }    else    {        setTimeout('mlhomessDoBlindX()',50);        }}function mlhomessDoBlindY(){	mlhomessjbtype=1;	mlhomessHideCurrentDesc();  	mlhomesskalan=mlhomesskalan-Math.ceil(mlhomesskalan/2);	mlhomessobjc.style.top=""+(mlhomessicheight-mlhomesskalan)+"px";	mlhomessobjn.style.top=""+mlhomesskalan+"px";	    if(mlhomesskalan<=0)    {		mlhomessrealcurrent=mlhomessvnext;		mlhomessShowCurrentDesc();mlhomessHighlightCurrTumb();        mlhomessSonraki();        mlhomesskalan=mlhomessicheight;	    mlhomessobjn.style.top=""+mlhomesskalan+"px";                mlhomesszindx();                 	mlhomessjbtype=0;        if(mlhomesstam==0){mlhomessdevam("mlhomessDoBlindY",4000);}        else{mlhomesstimeo=setTimeout('mlhomessDoBlindY()',4000);}        }    else    {        setTimeout('mlhomessDoBlindY()',50);        } }function mlhomessinitte2(){	mlhomessthumbs_obj=document.getElementById('mlhomessthumbsid');	mlhomessmoving_obj=document.getElementById('mlhomessmovingdiv');	mlhomessvssdiv=document.getElementById("mlhomessdv");	if(6>0)	{		mlhomessobjc=document.getElementById('mlhomessd'+0);			mlhomessobjc.style.visibility="visible";		}	if(6>1)	{		mlhomessvcurr=0;		mlhomessvnext=0;		mlhomessrealcurrent=0;        if(mlhomessfademi==0)        {			mlhomessvcurr=0;			mlhomessvnext=1;			mlhomessrealcurrent=0;			setTimeout('mlhomessdotrans()',4000);                }        else if(mlhomessfademi==1)        {            if(IEB==true)            {	    		mlhomessSonraki();			mlhomessShowCurrentDesc();			mlhomessHighlightCurrTumb();	    		mlhomessdevam("mlhomessdotrans",4000);                       }            else            {	    		mlhomessSonraki();			mlhomessShowCurrentDesc();			mlhomessHighlightCurrTumb();	    		mlhomessdevam("mlhomessbeftrans",4000);                        }        }         else if(mlhomessfademi==2)        {		mlhomesskalan=mlhomessicwidth;     		mlhomessSonraki();		mlhomessrealcurrent=0;		mlhomessShowCurrentDesc();		mlhomessHighlightCurrTumb();		mlhomessobjn.style.left=""+mlhomesskalan+"px";          			mlhomesszindx();            		mlhomessdevam("mlhomessDoSlide",4000);		   	                }        else if(mlhomessfademi==3)        {		mlhomesskalan=mlhomessicheight;            		mlhomessSonraki();		mlhomessrealcurrent=0;		mlhomessShowCurrentDesc();		mlhomessHighlightCurrTumb();		mlhomessobjn.style.top=""+mlhomesskalan+"px";            			mlhomesszindx();                        		mlhomessdevam("mlhomessDoScrollUp",4000);               }                  else if(mlhomessfademi==4)        {                        mlhomesskalan=mlhomessicwidth;                        mlhomessSonraki();		mlhomessrealcurrent=0;		mlhomessShowCurrentDesc();mlhomessHighlightCurrTumb();        	mlhomessobjn.style.left=""+mlhomesskalan+"px";	            	            mlhomesszindx();                                   mlhomessdevam("mlhomessDoBlindX",4000);                 }            else if(mlhomessfademi==5)        {                        mlhomesskalan=mlhomessicheight;                        mlhomessSonraki();		mlhomessrealcurrent=0;		mlhomessShowCurrentDesc();mlhomessHighlightCurrTumb();        	mlhomessobjn.style.top=""+mlhomesskalan+"px";            	            mlhomesszindx();                                  mlhomessdevam("mlhomessDoBlindY",4000);                 }												}}function mlhomessinitte(){	i=0;	innertxt="";	for(i=0;i<6;i++)	{		innertxt=innertxt+dstr1+"mlhomessd"+i+dstr2+dstr23+mlhomesslinkstr[i]+dstr3+i+dstr4+mlhomessimgstr[i]+dstr5+mlhomessclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('mlhomessdv');	spage.innerHTML=""+innertxt;    setTimeout('mlhomessinitte2()',100);}function mlhomessBas(){        mlhomesss=new mlhomesssl();        mlhomesss.mlhomessinitte();}setTimeout('mlhomessBas()',100);
