uagent = window.navigator.userAgent.toLowerCase();IEB=(uagent.indexOf('msie') != -1)?true:false;var scompat = document.compatMode;titletitarr=new Array();titledesarr=new Array();titletitarr[0]="";titledesarr[0]="";titletitarr[1]="";titledesarr[1]="";titletitarr[2]="";titledesarr[2]="";titletitarr[3]="";titledesarr[3]="";var titlestepcount=10;var titlecurrstep=10;var titletimeo=null;var titlehorvert=0;var titlegorun_imgwidth=0;var titlegorun_blockwidth=0;var titlegorun_overblock_width=0;var titleimgid=new Array();var titledscid=new Array();var titleyeniposx=new Array();var titlestartposx=new Array();var titlecurrposx=new Array();var i=0;var titlelastover=0;var titleDescCalcLeft=0;var titleDescCalcWidth=0;var titleDescCalcHeight=0;var titleDescCalcIcWidth=0;var titleDescCalcIcHeight=0;var titlehpiece='';var titleds="";function titleinit_doc(fstr){	titleDescCalcLeft=5;	if(0==0)	{		titleDescCalcWidth=200-5-5;	}	else	{		titleDescCalcWidth=411-5-5;	}		if((titlehorvert==1)&&(0==1))	{		titleDescCalcHeight=106-80-5;	}	else	{		titleDescCalcHeight=106-80-5;	}	if((IEB==true)&&(scompat == "BackCompat" ))	{		titleDescCalcIcWidth=titleDescCalcWidth;		titleDescCalcIcHeight=titleDescCalcHeight;	}	else	{		titleDescCalcIcWidth=titleDescCalcWidth-2*(2)-2*(3);		titleDescCalcIcHeight=titleDescCalcHeight-2*(2)-2*(3);	}	titlefolderset=fstr;	titlehpiece=titlehpiece+'<div style="position:relative;width:'+411+'px;height:'+106+'px;overflow:hidden;border-style:solid;border-width:0px;border-color:#FFFFFF;cursor:default;" onMouseOver="titleoutall()" onMouseOut="titlemouse_divout()">';	titlehpiece=titlehpiece+'<div id="titlepo1" style="position:absolute;left:0px;top:0px;" onMouseOver="titlemouse_over(1)"><div style="background-color:#400000;padding-left:0px;padding-top:0px;"><img width="200" height="106" src="'+titlefolderset+'Painting1.jpg" style="border-style:solid;border-width:0px;" TITLE=""></img></div></div>';titlehpiece=titlehpiece+'<div id="titlepo2" style="position:absolute;left:0px;top:0px;" onMouseOver="titlemouse_over(2)"><div style="background-color:#400000;padding-left:0px;padding-top:0px;"><img width="200" height="106" src="'+titlefolderset+'Painting5.jpg" style="border-style:solid;border-width:0px;" TITLE=""></img></div></div>';titlehpiece=titlehpiece+'<div id="titlepo3" style="position:absolute;left:0px;top:0px;" onMouseOver="titlemouse_over(3)"><div style="background-color:#400000;padding-left:0px;padding-top:0px;"><img width="200" height="106" src="'+titlefolderset+'Painting2.jpg" style="border-style:solid;border-width:0px;" TITLE=""></img></div></div>';	for(i=1;i<=3;i++)	{		titleds=titleds+'<div id="adesc'+i+'" style="position:absolute;top:'+80+'px;left:0px;width:'+titleDescCalcWidth+'px;height:'+titleDescCalcHeight+'px;visibility:hidden;overflow:hidden;cursor:pointer;z-index:20;" onMouseOut="titleoutall()">';		titleds=titleds+'<div style="position:absolute;left:0px;top:0px;width:'+titleDescCalcWidth+'px;height:'+titleDescCalcHeight+'px;border-style:solid;border-width:0px;border-color:#000000;background-color:#'+'000000'+';opacity: '+0.50+';filter:alpha(opacity='+50+');" onMouseOut="titleoutall()"></div>';		titleds=titleds+'<div style="position:relative;left:0px;top:0px;width:'+titleDescCalcIcWidth+';height:'+titleDescCalcIcHeight+'px;text-align:'+'left'+';overflow:hidden;padding:'+3+'px;border-style:'+'solid'+';border-width:'+2+'px;border-color:#'+'000153'+';color:#'+'777215'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+13+';font-weight:'+'normal'+';text-decoration:'+'none'+';opacity: 1.0;filter:alpha(opacity=100);" onMouseOut="titleoutall()">';		titleds=titleds+'<span style="color:#'+'181758'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+14+';font-weight:'+'normal'+';text-decoration:'+'none'+';" onMouseOut="titleoutall()">'+titletitarr[i]+'</span>';		if(titletitarr[i].length>0){titleds=titleds+'<br />';}				titleds=titleds+''+titledesarr[i];		titleds=titleds+'</div>';		titleds=titleds+'</div>';	}	titlehpiece=titlehpiece+titleds;	titlehpiece=titlehpiece+'</div>';	document.write(''+titlehpiece);}function titleinit_position(hv){	titlehorvert=hv;	for(i=1;i<=3;i++)	{		titleimgid[i]=document.getElementById('titlepo'+i);		titledscid[i]=document.getElementById('adesc'+i);		if((titleimgid[i]==null)||(titledscid[i]==null))		{		    setTimeout("titleinit_position("+parseInt(hv)+")",200);		    return;		}	}		if(titlehorvert==0)	{		titlegorun_imgwidth=parseInt(     (411-((3-1)*0))     /(3));		titlegorun_blockwidth=titlegorun_imgwidth+0;		titlegorun_overblock_width=parseInt(((411-200)/(3-1)));	}	else	{		titlegorun_imgwidth=parseInt(     (280-((3-1)*0))     /(3));		titlegorun_blockwidth=titlegorun_imgwidth+0;		titlegorun_overblock_width=parseInt(((280-106)/(3-1)));	}	for(i=1;i<=3;i++)	{		titleimgid[i]=document.getElementById('titlepo'+i);		sx=(titlegorun_blockwidth*(i-1))-0;		if(titlehorvert==0)		{			if(i==1)			{				titleimgid[i].style.left="0px";			}			else			{				titleimgid[i].style.left=""+sx+"px";			}		}		else		{			if(i==1)			{				titleimgid[i].style.top="0px";			}			else			{				titleimgid[i].style.top=""+sx+"px";			}		}		titlestartposx[i]=sx;		titlecurrposx[i]=titlestartposx[i];	}}function titledo_anim(){	if(titlecurrstep<=0)	{		if(titlelastover>=1)		{			if(titlehorvert==0)			{				if(0==0)				{					titledscid[titlelastover].style.left=""+(titleDescCalcLeft+parseInt(titleimgid[titlelastover].style.left))+"px";				}				else				{					titledscid[titlelastover].style.left=""+(titleDescCalcLeft)+"px";				}			}			else			{				if(0==0)				{					titledscid[titlelastover].style.left=""+(titleDescCalcLeft+parseInt(titleimgid[titlelastover].style.left))+"px";					titledscid[titlelastover].style.top=""+(80+parseInt(titleimgid[titlelastover].style.top))+"px";				}				else				{					titledscid[titlelastover].style.left=""+(titleDescCalcLeft)+"px";					titledscid[titlelastover].style.top=""+80+"px";				}			}			if((titletitarr[titlelastover].length>0)||(titledesarr[titlelastover].length>0))			{				titledscid[titlelastover].style.visibility="visible";			}			else			{				titledscid[titlelastover].style.visibility="hidden";			}		}		return;	}	for(i=2;i<=3;i++)	{		titlecurrposx[i] = parseInt(titlecurrposx[i])+parseInt((titleyeniposx[i]-titlecurrposx[i])/titlecurrstep);		if(titlehorvert==0)		{			titleimgid[i].style.left=""+titlecurrposx[i]+"px";		}		else		{			titleimgid[i].style.top=""+titlecurrposx[i]+"px";		}	}	titlecurrstep--;	setTimeout("titledo_anim()",40);}function titlereposition(g){	for(i=1;i<=3;i++)	{		if(i<=g)		{			if(i==1)			{				titleyeniposx[i]=0;			}			else			{				titleyeniposx[i]=parseInt(((i-1)*titlegorun_overblock_width)-0);			}		}		else		{			oncekix=0;			for(j=1;j<(i-1);j++)			{				oncekix=oncekix+titlegorun_overblock_width;			}			if(titlehorvert==0)			{				titleyeniposx[i]=parseInt(((200)+(oncekix)));			}			else			{				titleyeniposx[i]=parseInt(((106)+(oncekix)));			}		}			}	titlecurrstep=titlestepcount;	titledo_anim();}function titlemouse_over(g){	clearTimeout(titletimeo);	titlelastover=g;	for(i=1;i<=3;i++)	{		if(i!=g){titledscid[i].style.visibility="hidden";}	}	titlereposition(g);}function titleoutall(){	clearTimeout(titletimeo);}function titlemouse_divout2(){	clearTimeout(titletimeo);	for(i=1;i<=3;i++)	{		titledscid[i].style.visibility="hidden";	}	for(i=1;i<=3;i++)	{		sx=(titlegorun_blockwidth*(i-1))-0;		if(i==1)		{			titleyeniposx[i]=0;		}		else		{			titleyeniposx[i]=sx;		}			}	titlelastover=-1;	titlecurrstep=titlestepcount;	titledo_anim();}function titlemouse_divout(){	clearTimeout(titletimeo);	titletimeo=setTimeout("titlemouse_divout2()",300);}
