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 automotives=null;var automotivedescgoster=0;var automotivethumbgoster=0;var automotivecwidth=0;var automotivecheight=0;var automotivecalc=0;var automotivetam=0;var automotivekalan=0;var automotivekalany=0;var automotivets="";var automotiveds="";var automotivejbtype=0;var automotiverealcurrent=0;var automotivetimeo=null;automotivethumbs_obj=null;automotivemoving_obj=null;automotiveTotalThumbWidth=0;automotiveTotalThumbHeight=0;automotiveMoveIcWidth=0;var TBW=0;var CursorStr="default";var automotiveDescCalcWidth=0;var automotiveDescCalcHeight=0;var automotiveDescCalcIcWidth=0;var automotiveDescCalcIcHeight=0;var MoveWidth=0;var ThumbAreaWidth=340;var ThumbAreaHeight=340;automotiveimgarr=new Array();automotivethumbimgstr=new Array();automotiveimgstr=new Array();automotivelinkstr=new Array();automotiveclslinkstr=new Array();automotivetitarr=new Array();automotivedesarr=new Array();automotiveimgarr[0]=new Image();automotiveimgarr[0].c=0;automotiveimgarr[0].onload = automotivesecondcomplate;automotiveimgarr[0].src=automotivefoldername+'automotive01.jpg';automotiveimgstr[0]=automotivefoldername+'automotive01.jpg';automotivethumbimgstr[0]=automotivefoldername+'automotive01.jpg';automotivelinkstr[0]='';automotiveclslinkstr[0]='';automotivetitarr[0]="";automotivedesarr[0]="";automotiveimgarr[1]=new Image();automotiveimgarr[1].c=0;automotiveimgarr[1].onload = automotivesecondcomplate;automotiveimgarr[1].src=automotivefoldername+'automotive02.jpg';automotiveimgstr[1]=automotivefoldername+'automotive02.jpg';automotivethumbimgstr[1]=automotivefoldername+'automotive02.jpg';automotivelinkstr[1]='';automotiveclslinkstr[1]='';automotivetitarr[1]="";automotivedesarr[1]="";if((IEB==true)&&(scompat == "BackCompat" )){    automotivecwidth=455;    automotivecheight=395;}else{    automotivecwidth=455-2*(0);    automotivecheight=395-2*(0);}var automotiveicwidth=455-2*(0);var automotiveicheight=395-2*(0);automotiveDescCalcWidth=260;automotiveDescCalcHeight=80;if((IEB==true)&&(scompat == "BackCompat" )){	automotiveDescCalcIcWidth=automotiveDescCalcWidth;	automotiveDescCalcIcHeight=automotiveDescCalcHeight;}else{    automotiveDescCalcIcWidth=automotiveDescCalcWidth-2*(2)-2*(3);    automotiveDescCalcIcHeight=automotiveDescCalcHeight-2*(2)-2*(3);}document.write('<div style="position:relative;width:'+automotivecwidth+'px;height:'+automotivecheight+'px;overflow:hidden;border-style:'+'solid'+';border-width:'+0+'px;border-color:#'+'CCCCCC'+';'+''+''+'">');document.write('<div id="automotivedv" style="position:relative;width:'+automotiveicwidth+'px;height:'+automotiveicheight+'px;overflow:hidden;padding:0px;margin:0px;z-index:1;'+'FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);'+'"'+' onfilterchange=automotiveFadeBitti()'+'></div>');for(i=0;i<2;i++){	if(0==0){automotiveds=automotiveds+automotivelinkstr[i];if(automotivelinkstr[i].length>2){CursorStr="pointer";}else{CursorStr="default";}}	automotiveds=automotiveds+'<div id="automotivedesc'+i+'" style="position:absolute;top:'+120+'px;left:'+10+'px;width:'+automotiveDescCalcWidth+'px;height:'+automotiveDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:'+CursorStr+';z-index:20;">';	automotiveds=automotiveds+'<div style="position:absolute;left:0px;top:0px;width:'+automotiveDescCalcWidth+'px;height:'+automotiveDescCalcHeight+'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>';	automotiveds=automotiveds+'<div style="position:relative;left:0px;top:0px;width:'+automotiveDescCalcIcWidth+'px;height:'+automotiveDescCalcIcHeight+'px;overflow:hidden;padding:'+3+'px;text-align:'+'left'+';border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'990000'+';color:#'+'FFFFFF'+';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;">';	automotiveds=automotiveds+'<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+automotivetitarr[i]+'</span><br />'+automotivedesarr[i];	automotiveds=automotiveds+'</div>';	automotiveds=automotiveds+'</div>';	if(0==0){automotiveds=automotiveds+automotiveclslinkstr[i];}	}document.write(''+automotiveds);function automotiveShowCurrentDesc(){	if((automotivedescgoster==1)&&( (automotivetitarr[automotiverealcurrent].length>0) || (automotivedesarr[automotiverealcurrent].length>0)  ))	{		after_des=document.getElementById('automotivedesc'+automotiverealcurrent);		after_des.style.visibility="visible";		}}function automotiveHideCurrentDesc(){	before_des=document.getElementById('automotivedesc'+automotivevcurr);	before_des.style.visibility="hidden";}function automotiveHighlightCurrTumb(){	if((0==1)&&(0==0))	{		automotivebeforethumb=document.getElementById('automotivethumb'+automotivevcurr);		automotiveafterthumb=document.getElementById('automotivethumb'+automotiverealcurrent);		automotivebeforethumb.style.borderColor='999999';		automotiveafterthumb.style.borderColor='990000';	}}document.write('</div>');function automotivezindx(){	automotiveobjn.style.visibility="visible";	automotiveobjc.style.zIndex=2;	automotiveobjn.style.zIndex=3;    }function automotiveThumbOut(tobj,nm){	if((automotivevcurr==nm)&&(0==0))	{}	else	{		tobj.style.borderColor='999999';	}}function automotiveThumbOver(tobj,nm){	tobj.style.borderColor='990000';}function automotiveSonrakiClick(c,n){	automotivevcurr=c;	automotivevnext=n;			automotiveobjc=document.getElementById('automotived'+automotivevcurr);	automotiveobjn=document.getElementById('automotived'+automotivevnext);		if(automotivefademi!=1)	{		automotiveobjc.style.visibility="visible";			automotiveobjn.style.visibility="visible";		}		}function automotiveSonraki(){	automotivevcurr=automotivevnext;	automotivevnext=automotivevnext+1;		if(automotivevnext>=2)	{		automotivevnext=0;		automotivetam=1;	}		automotiveobjc=document.getElementById('automotived'+automotivevcurr);	automotiveobjn=document.getElementById('automotived'+automotivevnext);		      }function automotivesecondcomplate(){	this.c=1;}function automotivedevam(fm,pt){	if((automotiveimgarr[automotivevnext].c==1)&&(automotiveimgarr[automotivevcurr].c==1))	{		automotivetimeo=setTimeout(fm+'()',pt);	}	else	{		setTimeout('automotivedevam("'+fm+'")',500);	}	var automotivecagain=1;	for(i=0;i<2;i++)	{		if(automotiveimgarr[i].c==1){}		else{automotivecagain=0;}	}	if(automotivecagain==1){automotivetam=1;}}function ThumbClick(clicked_img,tobj){	if(automotivejbtype==1){return;}	clearTimeout(automotivetimeo);	automotiveSonrakiClick(automotiverealcurrent,clicked_img);	if(automotivefademi==1)        {            if(IEB==true)            {		if(automotivetam==0)		{	    		automotivedevam("automotivedotrans",4000);		}		else		{			automotivedotrans();		}            }            else            {		if(automotivetam==0)		{    			automotivedevam("automotivebeftrans",4000);		}		else		{			automotivebeftrans();		}            }        }	else if(automotivefademi==2)	{		if(automotivetam==0)		{ 			automotivedevam("automotiveDoSlide",4000);		}		else		{			automotiveDoSlide();		}	}	else if(automotivefademi==3)	{		if(automotivetam==0)		{ 			automotivedevam("automotiveDoScrollUp",4000);		}		else		{			automotiveDoScrollUp();		}	}	else if(automotivefademi==4)	{		if(automotivetam==0)		{ 			automotivedevam("automotiveDoBlindX",4000);		}		else		{			automotiveDoBlindX();		}	}	else if(automotivefademi==5)	{		if(automotivetam==0)		{ 			automotivedevam("automotiveDoBlindY",4000);		}		else		{			automotiveDoBlindY();		}	}	}function automotivesl(){automotivefademi=1;automotivevcurr=0;automotivevnext=0;automotivevssdiv=null;stepc=20*(2);automotivedif=0.00;automotiveop=1.00;automotivedif=(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:'+automotiveicwidth+'px;height:'+automotiveicheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';dstr3='<img id="automotiveimg';dstr4='" src="';dstr5='"  border="0" style="position:relative;border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#CCCCCC'+';'+""+'" alt=""></img>';dstr56='</td></tr></table>';dstr6='</div>';this.automotivedotrans=automotivedotrans;this.automotiveinitte=automotiveinitte;this.automotiveinitte2=automotiveinitte2;this.automotivebeftrans=automotivebeftrans;this.automotivedotransff=automotivedotransff;}function automotiveFadeBitti(){	automotivejbtype=0;	automotiveShowCurrentDesc();	}function automotivedotrans(){	automotivejbtype=1;	automotiveHideCurrentDesc();	if(IEB==true){automotivevssdiv.filters[0].apply();}	automotiveobjc.style.visibility="hidden";	automotiveobjn.style.visibility="visible";	if(IEB==true){automotivevssdiv.filters[0].play();}	automotiverealcurrent=automotivevnext;	automotiveHighlightCurrTumb();	automotiveSonraki();			if(automotivetam==0){automotivedevam("automotivedotrans",((1000*2)+4000));}	else	{		automotivetimeo=setTimeout('automotivedotrans()',((1000*2)+4000));	} 	}function automotivedotransff(){	automotiveop=automotiveop-automotivedif;		if(automotiveop<(0.00)){automotiveop=0.00;}	automotiveobjc.style.opacity = automotiveop;	automotiveobjn.style.opacity = 1.00-automotiveop;	if(automotiveop>(0.00))	{		setTimeout('automotivedotransff()',50);	}	else	{		automotiveobjc.style.zIndex=2;		automotiveobjn.style.zIndex=3;		automotiverealcurrent=automotivevnext;		automotiveShowCurrentDesc();		automotiveHighlightCurrTumb();				automotiveSonraki();			        if(automotivetam==0){automotivedevam("automotivebeftrans",4000);}        	else {automotivetimeo=setTimeout('automotivebeftrans()',4000);}		automotivejbtype=0;  					}}function automotivebeftrans(){	automotivejbtype=1;	automotiveHideCurrentDesc();    	automotiveop=1.00;	automotiveobjc.style.visibility="visible";	automotiveobjn.style.visibility="visible";		automotiveobjc.style.zIndex=3;	automotiveobjn.style.zIndex=2;		automotiveobjc.style.opacity = 1.00;		automotiveobjn.style.opacity = 1.00;			automotivedotransff();	}function automotiveDoSlide(){	automotivejbtype=1;	automotiveHideCurrentDesc();	automotivekalan=automotivekalan-Math.ceil(automotivekalan/2);	automotiveobjc.style.left=""+(automotivekalan-automotiveicwidth)+"px";	automotiveobjn.style.left=""+automotivekalan+"px";		if(automotivekalan<=0)	{		automotiverealcurrent=automotivevnext;		automotiveShowCurrentDesc();		automotiveHighlightCurrTumb();    		automotiveSonraki();		automotivekalan=automotiveicwidth;		automotiveobjn.style.left=""+automotivekalan+"px";	        		automotivezindx();          		automotivejbtype=0;        		if(automotivetam==0){automotivedevam("automotiveDoSlide",4000);}		else {automotivetimeo=setTimeout('automotiveDoSlide()',4000);}	}	else	{		setTimeout('automotiveDoSlide()',50);    	} }function automotiveDoScrollUp(){	automotivejbtype=1;	automotiveHideCurrentDesc();	automotivekalan=automotivekalan-Math.ceil(automotivekalan/2);	automotiveobjc.style.top=""+(automotivekalan-automotiveicheight)+"px";	automotiveobjn.style.top=""+automotivekalan+"px";	    if(automotivekalan<=0)    {	automotiverealcurrent=automotivevnext;	automotiveShowCurrentDesc();	automotiveHighlightCurrTumb();        automotiveSonraki();        automotivekalan=automotiveicheight;	automotiveobjn.style.top=""+automotivekalan+"px";	        automotivezindx();                 	automotivejbtype=0;        if(automotivetam==0){automotivedevam('automotiveDoScrollUp',4000);}        else{automotivetimeo=setTimeout('automotiveDoScrollUp()',4000);}        }    else    {        setTimeout('automotiveDoScrollUp()',50);        }}function automotiveDoBlindX(){	automotivejbtype=1;	automotiveHideCurrentDesc();   	automotivekalan=automotivekalan-Math.ceil(automotivekalan/2);	automotiveobjc.style.left=""+(automotiveicwidth-automotivekalan)+"px";	automotiveobjn.style.left=""+automotivekalan+"px";	    if(automotivekalan<=0)    {		automotiverealcurrent=automotivevnext;		automotiveShowCurrentDesc();	automotiveHighlightCurrTumb();            automotiveSonraki();        automotivekalan=automotiveicwidth;	automotiveobjn.style.left=""+automotivekalan+"px";		    	        automotivezindx();	automotivejbtype=0;                  if(automotivetam==0){automotivedevam("automotiveDoBlindX",4000);}        else{automotivetimeo=setTimeout('automotiveDoBlindX()',4000);}    }    else    {        setTimeout('automotiveDoBlindX()',50);        }}function automotiveDoBlindY(){	automotivejbtype=1;	automotiveHideCurrentDesc();  	automotivekalan=automotivekalan-Math.ceil(automotivekalan/2);	automotiveobjc.style.top=""+(automotiveicheight-automotivekalan)+"px";	automotiveobjn.style.top=""+automotivekalan+"px";	    if(automotivekalan<=0)    {		automotiverealcurrent=automotivevnext;		automotiveShowCurrentDesc();automotiveHighlightCurrTumb();        automotiveSonraki();        automotivekalan=automotiveicheight;	    automotiveobjn.style.top=""+automotivekalan+"px";                automotivezindx();                 	automotivejbtype=0;        if(automotivetam==0){automotivedevam("automotiveDoBlindY",4000);}        else{automotivetimeo=setTimeout('automotiveDoBlindY()',4000);}        }    else    {        setTimeout('automotiveDoBlindY()',50);        } }function automotiveinitte2(){	automotivethumbs_obj=document.getElementById('automotivethumbsid');	automotivemoving_obj=document.getElementById('automotivemovingdiv');	automotivevssdiv=document.getElementById("automotivedv");	if(2>0)	{		automotiveobjc=document.getElementById('automotived'+0);			automotiveobjc.style.visibility="visible";		}	if(2>1)	{		automotivevcurr=0;		automotivevnext=0;		automotiverealcurrent=0;        if(automotivefademi==0)        {			automotivevcurr=0;			automotivevnext=1;			automotiverealcurrent=0;			setTimeout('automotivedotrans()',4000);                }        else if(automotivefademi==1)        {            if(IEB==true)            {	    		automotiveSonraki();			automotiveShowCurrentDesc();			automotiveHighlightCurrTumb();	    		automotivedevam("automotivedotrans",4000);                       }            else            {	    		automotiveSonraki();			automotiveShowCurrentDesc();			automotiveHighlightCurrTumb();	    		automotivedevam("automotivebeftrans",4000);                        }        }         else if(automotivefademi==2)        {		automotivekalan=automotiveicwidth;     		automotiveSonraki();		automotiverealcurrent=0;		automotiveShowCurrentDesc();		automotiveHighlightCurrTumb();		automotiveobjn.style.left=""+automotivekalan+"px";          			automotivezindx();            		automotivedevam("automotiveDoSlide",4000);		   	                }        else if(automotivefademi==3)        {		automotivekalan=automotiveicheight;            		automotiveSonraki();		automotiverealcurrent=0;		automotiveShowCurrentDesc();		automotiveHighlightCurrTumb();		automotiveobjn.style.top=""+automotivekalan+"px";            			automotivezindx();                        		automotivedevam("automotiveDoScrollUp",4000);               }                  else if(automotivefademi==4)        {                        automotivekalan=automotiveicwidth;                        automotiveSonraki();		automotiverealcurrent=0;		automotiveShowCurrentDesc();automotiveHighlightCurrTumb();        	automotiveobjn.style.left=""+automotivekalan+"px";	            	            automotivezindx();                                   automotivedevam("automotiveDoBlindX",4000);                 }            else if(automotivefademi==5)        {                        automotivekalan=automotiveicheight;                        automotiveSonraki();		automotiverealcurrent=0;		automotiveShowCurrentDesc();automotiveHighlightCurrTumb();        	automotiveobjn.style.top=""+automotivekalan+"px";            	            automotivezindx();                                  automotivedevam("automotiveDoBlindY",4000);                 }												}}function automotiveinitte(){	i=0;	innertxt="";	for(i=0;i<2;i++)	{		innertxt=innertxt+dstr1+"automotived"+i+dstr2+dstr23+automotivelinkstr[i]+dstr3+i+dstr4+automotiveimgstr[i]+dstr5+automotiveclslinkstr[i]+dstr56+dstr6;	}	spage=document.getElementById('automotivedv');	spage.innerHTML=""+innertxt;    setTimeout('automotiveinitte2()',100);}function automotiveBas(){        automotives=new automotivesl();        automotives.automotiveinitte();}setTimeout('automotiveBas()',100);
