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 CursorStr="default";
var Xpos=0;
var yy=0;

    function ssFade_function9()
    {
	    if(descgoster==1)
	    {
	        DescCalcIcWidth=0;
	        DescCalcIcHeight=0;
	        DescCalcWidth=260;
	        v_newHeightValue=80;
	        if((IEB==true)&&(scompat == "BackCompat" ))
	        {
		        DescCalcIcWidth=DescCalcWidth;
		        DescCalcIcHeight=v_newHeightValue;
	        }
	        else
	        {
		        DescCalcIcWidth=DescCalcWidth-2*(2)-(3+3);
		        DescCalcIcHeight=v_newHeightValue-2*(2)-(3+3);
	        }
	        v_DescDivConteiner = spageObj.appendChild(document.createElement("DIV"));
	        v_DescDivConteiner.id="disdesc";
	        v_DescDivConteiner.style.position="absolute";
	        v_DescDivConteiner.style.left=""+10+"px";
	        v_DescDivConteiner.style.top=""+120+"px";
	        v_DescDivConteiner.style.width=""+DescCalcWidth+"px";
	        v_DescDivConteiner.style.height=""+v_newHeightValue+"px";
	        v_DescDivConteiner.style.overflow="hidden";
	        v_DescDivConteiner.style.borderStyle="solid";
	        v_DescDivConteiner.style.borderWidth="0px";
	        v_DescDivConteiner.style.borderColor="#000000";
	        v_DescDivConteiner.style.visibility="visible";
	        v_DescDivConteiner.style.zIndex=(0+3);
	        for(i=0;i<vnumbofimages;i++)
	        {
		        v_DescDiv = v_DescDivConteiner.appendChild(document.createElement("DIV"));
		        v_DescDiv.id="desc"+i;
		        v_DescDiv.style.position="absolute";
		        v_DescDiv.style.left="0px";
		        v_DescDiv.style.top="0px";
		        v_DescDiv.style.width=""+DescCalcWidth+"px";
		        v_DescDiv.style.height=""+v_newHeightValue+"px";
		        v_DescDiv.style.visibility="hidden";
		        v_DescDiv.style.overflow="hidden";
		        CursorStr="default";
		        if( (0==0) && (linkstr[i].length>2))
		        {
			        CursorStr="pointer";
		        }
		        v_DescDiv.style.cursor=""+CursorStr;
		        v_DescDiv.indx=i;
		        v_DescDiv.onclick=ssFade_createPopUp;
		        v_DescDiv.style.zIndex=0;
		        v_DescDiv2_1 = v_DescDiv.appendChild(document.createElement("DIV"));
		        v_DescDiv2_1.style.position="absolute";
		        v_DescDiv2_1.style.left="0px";
		        v_DescDiv2_1.style.top="0px";
		        v_DescDiv2_1.style.width=""+DescCalcWidth+"px";
		        v_DescDiv2_1.style.height=""+v_newHeightValue+"px";
		        v_DescDiv2_1.style.borderStyle="solid";
		        v_DescDiv2_1.style.borderWidth="0px";
		        v_DescDiv2_1.style.borderColor="#000000";
		        v_DescDiv2_1.style.backgroundColor="#"+"000000";
		        if(IEB==true)
		        {
			        v_DescDiv2_1.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+"50"+")";
		        }
		        else
		        {
			        v_DescDiv2_1.style.opacity='0.50';
		        }
		        v_DescDiv2_2 = v_DescDiv.appendChild(document.createElement("DIV"));
		        v_DescDiv2_2.style.position="relative";
		        v_DescDiv2_2.style.left="0px";
		        v_DescDiv2_2.style.top="0px";
		        v_DescDiv2_2.style.width=""+DescCalcIcWidth+"px";
		        v_DescDiv2_2.style.height=""+DescCalcIcHeight+"px";
		        v_DescDiv2_2.style.overflow="hidden";
		        v_DescDiv2_2.style.padding=""+3+"px "+3+"px "+3+"px "+3+"px";
		        v_DescDiv2_2.style.borderStyle=""+"solid";
		        v_DescDiv2_2.style.borderWidth=""+2+"px";
		        v_DescDiv2_2.style.borderColor="#"+"990000";
		        v_DescDiv2_2.style.textAlign=""+"left";
		        v_DescDiv2_2.style.color="#"+'FFFFFF';
		        v_DescDiv2_2.style.fontFamily='arial';
		        v_DescDiv2_2.style.fontStyle='normal';
		        v_DescDiv2_2.style.fontSize="13px";
		        v_DescDiv2_2.style.fontWeight='normal';
		        v_DescDiv2_2.style.textDecoration='none';
		        if(IEB==true)
		        {
			        v_DescDiv2_2.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";
		        }
		        else
		        {
			        v_DescDiv2_2.style.opacity=1.0;
		        }
		        v_DescDiv2_2.innerHTML='<span style="color:#'+'FECE3F'+';font-family:'+'arial'+';font-style:'+'normal'+';font-size: '+'14px'+';font-weight:'+'bold'+';text-decoration:'+'none'+';">'+titarr[i]+'</span><br />'+desarr[i];
		        v_ThumbImageArray[i]=v_DescDiv;
	        }
	    }
	    if(thumbgoster!=1)
	    {return;}
	    tleft=0;
	    ttop=0;
	    v_ChangeX=70+2*2+2*1;
	    v_ChangeY=70+2*2+2*1;
	    if(0==0)
	    {
		    v_Height=v_ChangeY;
		    v_WidthValue=(3*v_ChangeX)+((3-1)*4);
		    v_HeightValue=v_ChangeY;
	    }
	    else
	    {
		    v_Width=v_ChangeX;
		    v_WidthValue=v_ChangeX;
		    v_HeightValue=(3*v_ChangeY)+((3-1)*4);
	    }
	    MoveIcWidth=v_WidthValue-2*v_ChangeX;
	    MoveIcHeight=v_HeightValue-2*v_ChangeY;
	    v_ThumbsDiv = spageObj.appendChild(document.createElement("DIV"));
	    v_ThumbsDiv.id="thumbsid";
	    v_ThumbsDiv.style.position="absolute";
	    v_ThumbsDiv.style.width=""+v_Width+"px";
	    v_ThumbsDiv.style.height=""+v_Height+"px";
	    v_ThumbsDiv.style.visibility="inherit";
	    v_ThumbsDiv.style.overflow="hidden";
	    v_ThumbsDiv.style.left=""+10+"px";
	    v_ThumbsDiv.style.top=""+160+"px";
	    v_ThumbsDiv.style.borderStyle=""+'solid';
	    v_ThumbsDiv.style.borderWidth=""+0+"px";
	    v_ThumbsDiv.style.borderColor="#"+'FFFFFF';
	    v_ThumbsDiv.style.zIndex=0+4;
	    v_ThumbsDiv.onmousemove=ssFade_MoveX;
	    v_ThumbsDiv.onmouseover=ssFade_set1;
	    v_ThumbsDiv.onmouseout=ssFade_set0;
	    v_AltThumbsDiv = v_ThumbsDiv.appendChild(document.createElement("DIV"));
	    v_AltThumbsDiv.id="altid";
	    v_AltThumbsDiv.style.position="absolute";
	    v_AltThumbsDiv.style.width=""+v_Width+"px";
	    v_AltThumbsDiv.style.height=""+v_Height+"px";
	    v_AltThumbsDiv.style.visibility="inherit";
	    v_AltThumbsDiv.style.overflow="hidden";
	    v_AltThumbsDiv.style.left="0px";
	    v_AltThumbsDiv.style.top="0px";
	    v_AltThumbsDiv.style.borderStyle="solid";
	    v_AltThumbsDiv.style.borderWidth="0px";
	    v_AltThumbsDiv.style.borderColor="#000000";
	    v_AltThumbsDiv.style.zIndex=0;
	    v_AltThumbsDiv.style.backgroundColor="#000000";
	    if(IEB==true)
	    {
		    v_AltThumbsDiv.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=1)";
	    }
	    else		{
		    v_AltThumbsDiv.style.opacity=0.01;
	    }
	    v_MovingDiv = v_ThumbsDiv.appendChild(document.createElement("DIV"));
	    v_MovingDiv.id="movingdiv";
	    v_MovingDiv.style.position="absolute";
	    v_MovingDiv.style.left="0px";
	    v_MovingDiv.style.top="0px";
	    v_MovingDiv.style.zIndex=1;
	    v_MovingDiv.style.width=""+v_WidthValue+"px";
	    v_MovingDiv.style.height=""+v_HeightValue+"px";
	    v_MovingDiv.style.visibility="inherit";
	    v_MovingDiv.style.overflow="visible";
	    v_MovingDiv.style.borderStyle="solid";
	    v_MovingDiv.style.borderWidth="0px";
	    v_MovingDiv.style.borderColor="#000000";
	    for(i=0;i<vnumbofimages;i++)
	    {
		    if(0==0)
		    {
			    tleft=((i*v_ChangeX)+(i*4));
			    ttop=0;
		    }
		    else			{
			    tleft=0;
			    ttop=((i*v_ChangeY)+(i*4));
		    }
		    v_NewThumb = v_MovingDiv.appendChild(document.createElement("DIV"));
		    v_NewThumb.id="thumb"+i;
		    v_NewThumb.style.position="absolute";
		    v_NewThumb.style.left=""+tleft+"px";
		    v_NewThumb.style.top=""+ttop+"px";
		    v_NewThumb.style.padding=""+2+"px";
		    v_NewThumb.style.backgroundColor='';
		    v_NewThumb.style.borderStyle=""+'solid';
		    v_NewThumb.style.borderWidth=""+1+"px";
		    v_NewThumb.style.borderColor=""+"#999999";
		    v_NewThumb.indx=i;
		    v_NewThumb.style.backgroundImage="";
		    v_NewThumb.style.backgroundRepeat="no-repeat";
		    v_NewThumb.style.backgroundPosition=""+0+"px "+0+"px";
		    v_NewThumb.onclick= ssFade_function3;
		    v_NewThumb.onmouseover=ssFade_function7;
		    v_NewThumb.onmouseout=ssFade_function8;
		    v_NewThumb.innerHTML='<img src="'+thumbimgstr[i]+'" style="left:0px;width:'+70+'px;height:'+70+'px;cursor:pointer;" TITLE=""></img>';
		    v_NavArray[i]=v_NewThumb;
	    }
	    moving_obj=v_MovingDiv;
    }
	function ssFade_set1()
	{
	    v_boolIndex2=1;
	}
	function ssFade_set0()
	{
	    v_boolIndex2=0;
	}
	
	function ssFade_createPopUp()
	{
	    ix=this.indx;
	    if(linkstr[ix].substring(0,11)=="javascript:")
	    {
		    eval(""+linkstr[ix]);
		    return;
	    }
	    if(targetstr[ix]=='')
	    {
		    targetstr[ix]='_self';
	    }
	    if(IEB)
	    {
		    window.open(''+linkstr[ix],''+targetstr[ix]);
	    }
	    else
	    {
		    if((targetstr[ix].indexOf("_parent")>-1))
		    {
			    eval("parent.window.location='"+linkstr[ix]+"'");
		    }
		    else if((targetstr[ix].indexOf("_top")>-1))
		    {
			    eval("top.window.location='"+linkstr[ix]+"'");
		    }
		    else
		    {
			    window.open(''+linkstr[ix],''+targetstr[ix]);
		    }
	    }
	}
	
	function ssFade_setCurrentStep()
	{
	    if((descgoster==1) && ((titarr[v_ThumbCounter].length>0) || (desarr[v_ThumbCounter].length>0)))
	    {
		    if((v_index==1)||(v_index==2))
		    {
			    currstep=stepcount;
		    }
		    else
		    {
			    currstep=0;
		    }
		    ssFade_flipImages();
	    }
	}
	
	function ssFade_hideImage()
	{
	    if(descgoster==1)
	    {
		    v_ThumbImageArray[v_ArrayIndexPrev].style.visibility="hidden";
	    }
	}
	
	function ssFade_flipImages()
	{
	    if(currstep<=0)
	    {
		    v_ThumbImageArray[v_ThumbCounter].style.left=""+0+"px";
		    v_ThumbImageArray[v_ThumbCounter].style.top=""+0+"px";
		    if((titarr[v_ThumbCounter].length>0)||(desarr[v_ThumbCounter].length>0))
		    {
			    if(v_index==3)
			    {
				    clearTimeout(DescFadeEffectTimer);
				    v_OpacityValue_IE=0;
				    v_OpacityValue=0.00;
				    v_ThumbImageArray[v_ThumbCounter].style.visibility="visible";
				    ssFade_ChangeOpacity();
			    }
			    else if(v_index==4)
			    {
				    clearTimeout(DescFadeEffectTimer);
				    v_ThumbImageArray[v_ThumbCounter].style.visibility="visible";
				    BottomClip=0;
				    stepsay=1;
				    stepc=10;
				    YStep=Math.ceil((v_newHeightValue)/stepc);
				    v_ThumbImageArray[v_ThumbCounter].style.visibility="visible";
				    v_ThumbImageArray[v_ThumbCounter].style.clip="rect("+0+"px, auto, "+BottomClip+"px, auto)";
				    ssFade_function10();
			    }
			    else			{
				    v_ThumbImageArray[v_ThumbCounter].style.visibility="visible";
			    }
		    }
		    else		{
			    v_ThumbImageArray[v_ThumbCounter].style.visibility="hidden";
		    }
		    return;
	    }
	    if((v_index==1)||(v_index==2))
	    {
		    var dtop=0;
		    if(v_index==1)
		    {
			    dtop= parseInt(v_newHeightValue-((v_newHeightValue/stepcount)*(stepcount-(currstep-1))));
		    }
		    else
		    {
			    dtop= parseInt((-1*v_newHeightValue)+((v_newHeightValue/stepcount)*(stepcount-(currstep-1))));
		    }
		    v_ThumbImageArray[v_ThumbCounter].style.top=""+dtop+"px";
		    if(currstep==stepcount)
		    {
			    if((titarr[v_ThumbCounter].length>0)||(desarr[v_ThumbCounter].length>0))
			    {
				    v_ThumbImageArray[v_ThumbCounter].style.visibility="visible";
			    }
			    else			{
				    v_ThumbImageArray[v_ThumbCounter].style.visibility="hidden";
			    }
		    }
	    }
	    currstep--;
	    setTimeout("ssFade_flipImages()",20);
	}
	
	function ssFade_ChangeOpacity()
	{
	    v_OpacityValue_IE=v_OpacityValue_IE+5;
	    v_OpacityValue=v_OpacityValue+0.05;
	    if(IEB==true)
	    {
		    if(v_OpacityValue_IE>100)
		    {
			    v_OpacityValue_IE=100;
			    return;
		    }
	    }
	    else	{
		    if(v_OpacityValue>1.00)
		    {
			    v_OpacityValue=1.00;
			    return;
		    }
	    }
	    if(IEB==true)
	    {
		    v_ThumbImageArray[v_ThumbCounter].style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+v_OpacityValue_IE+")";
	    }
	    else
	    {
		    v_ThumbImageArray[v_ThumbCounter].style.opacity = v_OpacityValue;
	    }
	    DescFadeEffectTimer=setTimeout("ssFade_ChangeOpacity()",20);
	}
	
	function ssFade_function10()
	{
	    BottomClip=BottomClip+YStep;
	    if(stepsay<=stepc)
	    {
		    v_ThumbImageArray[v_ThumbCounter].style.clip="rect("+0+"px, auto, "+BottomClip+"px, auto)";
		    DescFadeEffectTimer=setTimeout('ssFade_function10()',50);
	    }
	    else
	    {
		    v_ThumbImageArray[v_ThumbCounter].style.clip="rect(auto, auto, auto, auto)";
	    }
	    stepsay=stepsay+1;
	}
	
	function ssFade_NavFunction()
	{
	    if(0==0)
	    {
		    if(0==0)
		    {
			    moving_obj.style.left=""+(yy)+  "px";
		    }
		    else
		    {
			    ssFade_NavStartMoving();
		    }
	    }
	    else
	    {
		    if(0==0)
		    {
			    moving_obj.style.top=""+(yy)+  "px";
		    }
		    else
		    {
			    ssFade_NavStartMoving();
		    }
	    }
	}
	
	function ssFade_MoveY(event)
	{
	    if(v_Height>=v_HeightValue){return;}
	    var EX=0;
	    e=null;
	    if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true))
	    {
		    EX=parseInt(window.event.offsetY);
		    e=window.event.srcElement;
	    }
	    else
	    {
		    EX=parseInt(event.layerY);
		    e=event.target;
	    }
	    var obj=e;
	    if(e.tagName=="IMG")
	    {
		    if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true))
		    {TBW=1+2;}
		    else
		    {TBW=0;}
		    obj2=obj.offsetParent;
		    Xpos=EX+parseInt(obj2.style.top)+TBW+parseInt(""+moving_obj.style.top);
		    zz=Xpos-v_ChangeY;
		    oran=(zz/(v_Height-2*v_ChangeY));
		    yy=Xpos-parseInt(oran*MoveIcHeight)-v_ChangeY;
		    if(yy>0)
		    {yy=0;}
		    if(yy<(v_Height-v_HeightValue))
		    {yy=v_Height-v_HeightValue;}
		    ssFade_NavFunction();
	    }
	    else
	    {
		    if(obj==moving_obj)
		    {
			    Xpos=EX+parseInt(""+moving_obj.style.top);
			    zz=Xpos-v_ChangeY;
			    oran=(zz/(v_Height-2*v_ChangeY));
			    yy=Xpos-parseInt(oran*MoveIcHeight)-v_ChangeY;
			    if(yy>0)
			    {yy=0;}
			    if(yy<(v_Height-v_HeightValue))
			    {yy=v_Height-v_HeightValue;}
			    ssFade_NavFunction();
		    }
		    else		{
			    if(obj)
			    {
				    obj2=obj.offsetParent;
				    if(obj2==moving_obj)
				    {
					    if((IEB==true)||(OPB==true))
					    {TBW=1;}
					    else
					    {TBW=0;}
					    if(OPB==true)
					    {TBW=TBW+2;}
					    Xpos=EX+parseInt(obj.style.top)+TBW+parseInt(""+moving_obj.style.top);
					    zz=Xpos-v_ChangeY;
					    oran=(zz/(v_Height-2*v_ChangeY));
					    yy=Xpos-parseInt(oran*MoveIcHeight)-v_ChangeY;
					    if(yy>0)
					    {yy=0;}
					    if(yy<(v_Height-v_HeightValue))
					    {yy=v_Height-v_HeightValue;}
					    ssFade_NavFunction();
					    }
			    }
		    }
	    }
	}
	
	function ssFade_MoveX(event)
	{
	    if(v_Width>=v_WidthValue){return;}
	    var EX=0;
	    e=null;
	    if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true))
	    {
		    EX=parseInt(window.event.offsetX);
		    e=window.event.srcElement;
	    }
	    else
	    {
		    EX=parseInt(event.layerX);
		    e=event.target;
	    }
	    var obj=e;
	    if(e.tagName=="IMG")
	    {
		    if((IEB==true)||(OPB==true)||(CRB==true)||(SFB==true)){TBW=1+2;}else{TBW=0;}
		    obj2=obj.offsetParent;
		    Xpos=EX+parseInt(obj2.style.left)+TBW+parseInt(""+moving_obj.style.left);
		    zz=Xpos-v_ChangeX;
		    oran=(zz/(v_Width-2*v_ChangeX));
		    yy=Xpos-parseInt(oran*MoveIcWidth)-v_ChangeX;
		    if(yy>0){yy=0;}
		    if(yy<(v_Width-v_WidthValue)){yy=v_Width-v_WidthValue;}
		    ssFade_NavFunction();
	    }
	    else
	    {
		    if(obj==moving_obj)
		    {
			    Xpos=EX+parseInt(""+moving_obj.style.left);
			    zz=Xpos-v_ChangeX;
			    oran=(zz/(v_Width-2*v_ChangeX));
			    yy=Xpos-parseInt(oran*MoveIcWidth)-v_ChangeX;
			    if(yy>0){yy=0;}
			    if(yy<(v_Width-v_WidthValue)){yy=v_Width-v_WidthValue;}
			    ssFade_NavFunction();
		    }
		    else
		    {
			    if(obj)
			    {
				    obj2=obj.offsetParent;
				    if(obj2==moving_obj)
				    {
					    if((IEB==true)||(OPB==true)){TBW=1;}else{TBW=0;}
					    if(OPB==true){TBW=TBW+2;}
					    Xpos=EX+parseInt(obj.style.left)+TBW+parseInt(""+moving_obj.style.left);
					    zz=Xpos-v_ChangeX;
					    oran=(zz/(v_Width-2*v_ChangeX));
					    yy=Xpos-parseInt(oran*MoveIcWidth)-v_ChangeX;
					    if(yy>0){yy=0;}
					    if(yy<(v_Width-v_WidthValue)){yy=v_Width-v_WidthValue;}
					    ssFade_NavFunction();
				    }
			    }
		    }
	    }
	}
	
	function ssFade_function4(rc)
	{
	    if(v_boolIndex2==1)
	    {
	        return;
	    }
	    if(1==0)
	    {
	        return;
	    }
	    if(0==0)
	    {
		    if(v_Width>=v_WidthValue)
		    {
		        return;
		    }
	    }
	    else
	    {
		    if(v_Height>=v_HeightValue)
		    {
		        return;
		    }
	    }
	    my=0;
	    clearTimeout(v_NavTimeoutValue);
	    if(1==1)
	    {
		    if(0==0)
		    {
			    my=(-1)*(parseInt(v_NavArray[rc].style.left) - (parseInt(v_Width/2)-parseInt(v_ChangeX/2)));
			    if(my>0)
			    {
			        my=0;
			    }
			    if(my<((-1)*(v_WidthValue-v_Width)))
			    {
			        my=((-1)*(v_WidthValue-v_Width));
			    }
			    v_PosChangeValue=parseInt(moving_obj.style.left);
		    }
		    else
		    {
			    my=(-1)*(parseInt(v_NavArray[rc].style.top) - (parseInt(v_Height/2)-parseInt(v_ChangeY/2)));
			    if(my>0)
			    {my=0;}
			    if(my<((-1)*(v_HeightValue-v_Height)))
			    {my=((-1)*(v_HeightValue-v_Height));}
			    v_PosChangeValue=parseInt(moving_obj.style.top);
		    }
	    }
	    else
	    {
		    if(0==0)
		    {
			    my=((-1)*parseInt(v_NavArray[rc].style.left));
			    if(my>0)
			    {my=0;}
			    if(my<((-1)*(v_WidthValue-v_Width)))
			    {my=((-1)*(v_WidthValue-v_Width));}
			    v_PosChangeValue=parseInt(moving_obj.style.left);
		    }
		    else
		    {
			    my=((-1)*parseInt(v_NavArray[rc].style.top));
			    if(my>0)
			    {my=0;}
			    if(my<((-1)*(v_HeightValue-v_Height)))
			    {my=((-1)*(v_HeightValue-v_Height));}
			    v_PosChangeValue=parseInt(moving_obj.style.top);
		    }
	    }
	    Art=0;
	    Tutyy=my;
	    Fark=Tutyy-v_PosChangeValue;
	    TutFark=Fark;
	    Kalan=Fark;
	    if(Fark==0){return;}
	    CY=v_PosChangeValue;
	    v_boolIndex3=0;
	    if(Fark<0)
	    {
		    v_boolIndex3=1;
	    }
	    ThumbScrollReason=1;
	    ssFade_moveNav();
	}
	
	function ssFade_NavStartMoving()
	{
	    clearTimeout(v_NavTimeoutValue);
	    Art=0;
		    Tutyy=yy;
	    if(0==0)
	    {
		    v_PosChangeValue=parseInt(moving_obj.style.left);
	    }
	    else	{
		    v_PosChangeValue=parseInt(moving_obj.style.top);
	    }
	    Fark=Tutyy-v_PosChangeValue;
	    TutFark=Fark;
	    Kalan=Fark;
	    if(Fark==0)
	    {
	        return;
	    }
	    CY=v_PosChangeValue;
	    ThumbScrollReason=0;
	    v_boolIndex3=0;
	    if(Fark<0)
	    {
		    v_boolIndex3=1;
	    }
	    if((0==1) || (0==2) || (0==3))
	    {
		    ssFade_moveNav();
	    }
	}
	
	function ssFade_moveNav()
	{
	    if(ThumbScrollReason==1)
	    {
		    if(v_boolIndex3==1)
		    {
			    Art=Art-1;
		    }
		    else		{
			    Art=Art+1;
		    }
		    CY=CY+Art;
	    }
	    else
	    {
		    if(0==1)
		    {
			    if(v_boolIndex3==1)
			    {
				    Art=Art-1;
			    }
			    else
			    {
				    Art=Art+1;
			    }
			    CY=CY+Art;
		    }
		    else if(0==2)
		    {
		        if(v_boolIndex3==1)
			    {
				    Art=Math.floor(Kalan/12);
			    }
			    else			{
				    Art=Math.ceil(Kalan/12);
			    }
			    if((Art>1) || (Art<(-1)))
			    {
				    Kalan=Kalan-Art;
			    }
			    else
			    {
				    if(v_boolIndex3==1)
				    {
					    Kalan=Kalan-(-1);
				    }
				    else
				    {
					    Kalan=Kalan-(+1);
				    }
			    }
			    CY=v_PosChangeValue+TutFark-(Kalan);
		    }
		    else if(0==3)
		    {
			    if(v_boolIndex3==1)
			    {
				    Art=Math.floor(TutFark/20);
			    }
			    else			{
				    Art=Math.ceil(TutFark/20);
			    }
			    CY=CY+Art;
		    }
	    }
	    if(v_boolIndex3==1)
	    {
		    if(CY>Tutyy)
		    {
			    v_NavTimeoutValue=setTimeout("ssFade_moveNav()",20);
		    }
		    else
		    {
			    CY=Tutyy;
		    }
	    }
	    else
	    {
		    if(CY<Tutyy)
		    {
			    v_NavTimeoutValue=setTimeout("ssFade_moveNav()",20);
		    }
		    else
		    {
			    CY=Tutyy;
		    }
	    }
	    if(0==0)
	    {
		    moving_obj.style.left=""+(CY)+"px";
	    }
	    else
	    {
		    moving_obj.style.top=""+(CY)+"px";
	    }
    }

function secondcomplate(){
	this.c=1;
	}
	
	function ssFade_function6()
	{
	    Beklemedemi=1;
	    ssFade_setCurrentStep();
	    ssFade_navMoveRight();
	    ssFadeSonraki();
	    var ekbekleme=0;
	    if(IEB)
	    {
		    ekbekleme=(1000*1.2);
	    }
	    else
	    {
		    ekbekleme=0;
	    }
	    if(v_boolIndex==1)
	    {
		    if(!((ReachedTheEnd==1)&&(1==0)))
		    {
			    if(tam==0)
			    {
				    if(v_const1==0)
				    {ssFadedevam("ssFade_Transformation",(ekbekleme+3000));}
			    }
			    else
			    {
				    if(v_const1==0)
				    {v_TimeoutValue=setTimeout('ssFade_Transformation()',(ekbekleme+3000));}
			    }
			}
		    else
		    {
			    v_TimeoutValue=setTimeout('ssFade_createLink()',3000);
		    }
	    }
	}
	
	function ssFade_Front2Back()
	{
	    op=op-dif;
	    if(op<(0.00))
	    {op=0.00;}
	    if(op>(1.00))
	    {op=1.00;}
	    v_ImageArray2[v_ArrayIndexPrev].style.opacity = op;
	    v_ImageArray2[v_ArrayIndexNext].style.opacity = 1.00-op;
	    if(op>(0.00))
	    {
		    v_TimeoutValue=setTimeout('ssFade_Front2Back()',50);
	    }
	    else
	    {
		    v_ImageArray2[v_ArrayIndexPrev].style.zIndex=2;
		    v_ImageArray2[v_ArrayIndexNext].style.zIndex=3;
		    v_ThumbCounter=v_ArrayIndexNext;
		    ssFade_function6();
	    }
	}
	
	function ssFade_Transformation()
	{
	    Beklemedemi=0;
	    ssFade_hideImage();
	    if(IEB)
	    {
		    if(IEB==true){spageIcObj.filters[0].apply();}
		    v_ImageArray2[v_ArrayIndexPrev].style.visibility="hidden";
		    v_ImageArray2[v_ArrayIndexNext].style.visibility="visible";
		    if(IEB==true)
		    {spageIcObj.filters[0].play();}
		    v_ThumbCounter=v_ArrayIndexNext;
	    }
	    else
	    {
		    op=1.00;
		    v_ImageArray2[v_ArrayIndexPrev].style.visibility="visible";
		    v_ImageArray2[v_ArrayIndexNext].style.visibility="visible";
		    v_ImageArray2[v_ArrayIndexPrev].style.zIndex=3;
		    v_ImageArray2[v_ArrayIndexNext].style.zIndex=2;
		    v_ImageArray2[v_ArrayIndexPrev].style.opacity = 1.00;
		    v_ImageArray2[v_ArrayIndexNext].style.opacity = 1.00;
		    ssFade_Front2Back();
	    }
	}
	
	function ssFade_function5()
	{
	    v_ArrayIndexNext=v_ArrayIndexPrev-1;
	    if(v_ArrayIndexNext<0)
	    {
		    v_ArrayIndexNext=vnumbofimages-1;
	    }
	}
	
	function ssFade_setAction()
	{
	    if(this.btype==0)
	    {
		    if(Beklemedemi==1)
		    {
			    clearTimeout(v_TimeoutValue);
			    IsManualAction=1;
			    ssFade_setTimeout(50);
		    }
	    }
	    else if(this.btype==1)
	    {
		    if(Beklemedemi==1)
		    {
			    clearTimeout(v_TimeoutValue);
			    IsManualAction=1;
			    ssFade_function5();
			    ssFade_setTimeout(50);
		    }
	    }
	    else if(this.btype==2)
	    {
		    if(v_boolIndex==1)
		    {
			    if(0==1){v_Object.style.visibility="visible";}
			    if(0==1){v_Object2.style.visibility="hidden";}
			    v_boolIndex=0;
		    }
		    else
		    {
			    return;
		    }
		    if(Beklemedemi==1)
		    {
			    clearTimeout(v_TimeoutValue);
			    IsManualAction=0;
		    }
	    }
	    else if(this.btype==3)
	    {
		    if(v_boolIndex==0)
		    {
			    if(0==1){v_Object2.style.visibility="visible";}
			    if(0==1){v_Object.style.visibility="hidden";}
			    v_boolIndex=1;
		    }
		    else
		    {
			    return;
		    }
		    if(Beklemedemi==1)
		    {
			    clearTimeout(v_TimeoutValue);
			    IsManualAction=0;
			    v_TimeoutValue=setTimeout("ssFade_setTimeout(50)",3000);
		    }
	    }
	}
	
	function ssFade_visibilityLeft()
	{
	    this.moimg.style.visibility="inherit";
	    this.noimg.style.visibility="hidden";
	    this.style.color="#000000";
	}
	
	function ssFade_visibilityRight()
	{
	    this.noimg.style.visibility="inherit";
	    this.moimg.style.visibility="hidden";
	    this.style.color="#000000";
	}
	
	function ssFade_ChangeImage(op,onum,cbutvis,posx,posy,iebutopacity,iebutmoopacity,ffbutopacity,ffbutmoopacity,ContMOButtonVarmi,contimgsrc,contmoimgsrc,OriginalSize,ContButtonWidth,ContButtonHeight,ContButtonAltText)
	{
	    op.btype=onum;
	    op.style.position="absolute";
	    op.style.visibility=cbutvis;
	    op.style.zIndex=0+5;
	    op.style.cursor='pointer';
	    op.style.width="1px";
	    op.style.height="1px";
	    op.style.left=""+posx+"px";
	    op.style.top=""+posy+"px";
	    op.style.overflow="visible";
	    op.style.fontFamily="Arial";
	    op.style.fontSize=12+"pt";
	    op.style.fontStyle="normal";
	    op.style.fontWeight="normal";
	    op.style.color="#000000";
	    op.onmouseover = ssFade_visibilityLeft;
	    op.onmouseout = ssFade_visibilityRight;
	    op.noimg=op.appendChild(document.createElement("IMG"));
	    op.noimg.style.position="relative";
	    op.noimg.style.visibility="inherit";
	    op.noimg.style.left="0px";
	    op.noimg.style.top="0px";
	    op.moimg=op.appendChild(document.createElement("IMG"));
	    op.moimg.style.position="absolute";
	    op.moimg.style.visibility="hidden";
	    op.moimg.style.left="0px";
	    op.moimg.style.top="0px";
	    op.noimg.src=contimgsrc;
	    if(ContMOButtonVarmi!=1)
	    {
		    op.moimg.src=contimgsrc;
	    }
	    else
	    {
		    op.moimg.src=contmoimgsrc;
	    }
	    op.noimg.setAttribute("title", ContButtonAltText);
	    op.moimg.setAttribute("title", ContButtonAltText);
	    if(OriginalSize==1)
	    {
		    op.noimg.style.width=""+ContButtonWidth+"px";
		    op.noimg.style.height=""+ContButtonHeight+"px";
		    op.moimg.style.width=""+ContButtonWidth+"px";
		    op.moimg.style.height=""+ContButtonHeight+"px";
	    }
	    if(IEB)
	    {
		    op.noimg.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+iebutopacity+")";
		    op.moimg.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+iebutmoopacity+")";
	    }
	    else	{
		    op.noimg.style.opacity=ffbutopacity;
		    op.moimg.style.opacity=ffbutmoopacity;
	    }
	    op.icspan = op.appendChild(document.createElement("DIV"));
	    op.onclick= ssFade_setAction;
	}
	
	function ssFade_function2()
	{
	    if(0==1)
	    {
		    v_Object3 = spageObj.appendChild(document.createElement("DIV"));
		    ssFade_ChangeImage(v_Object3,0,"hidden",50,0,100,100,1.00,1.00,0,"","",0,30,30,"");
		    v_Object3.icspan.innerHTML="";
	    }
	    if(0==1)
	    {
		    v_Object4 = spageObj.appendChild(document.createElement("DIV"));
		    ssFade_ChangeImage(v_Object4,1,"hidden",0,0,100,100,1.00,1.00,0,"","",0,30,30,"");
			    v_Object4.icspan.innerHTML="";
	    }
	    if(0==1)
	    {
		    v_Object2 = spageObj.appendChild(document.createElement("DIV"));
		    ssFade_ChangeImage(v_Object2,2,"hidden",50,0,100,100,1.00,1.00,0,"","",0,30,30,"");
		    v_Object2.icspan.innerHTML="";
	    }
	    if(0==1)
	    {
		    v_Object = spageObj.appendChild(document.createElement("DIV"));
		    ssFade_ChangeImage(v_Object,3,"hidden",50,0,100,100,1.00,1.00,0,"","",0,30,30,"");
		    v_Object.icspan.innerHTML="";
	    }
	}
	
	function ssFade_checkVisibility()
	{
	    if(0==1)
	    {
		    if(v_Object3)
		    {
			    v_Object3.style.visibility = "inherit";
		    }
	    }
	    if(0==1)
	    {
		    if(v_Object4)
		    {
			    v_Object4.style.visibility = "inherit";
		    }
	    }
	    if((0==1)&&(v_boolIndex==1)&&(v_const1==0))
	    {
		    if(v_Object2)
		    {
			    v_Object2.style.visibility = "inherit";
		    }
	    }
	    if((0==1)&&(v_boolIndex==0)&&(v_const1==0))
	    {
		    if(v_Object)
		    {
			    v_Object.style.visibility = "inherit";
		    }
	    }
	}
	
	
	function ssFade_hide2()
	{
	    if(0==1)
	    {
		    if(v_Object3)
		    {
			    v_Object3.style.visibility = "hidden";
		    }
	    }
	    if(0==1)
	    {
		    if(v_Object4)
		    {
			    v_Object4.style.visibility = "hidden";
		    }
	    }
	    if(0==1)
	    {
		    if(v_Object2)
		    {
			    v_Object2.style.visibility = "hidden";
		    }
	    }
	    if(0==1)
	    {
		    if(v_Object)
		    {
			    v_Object.style.visibility = "hidden";
		    }
	    }
	}
	
	function ssFade_setOpacity()
	{
	    v_newImage=spageObj.appendChild(document.createElement("IMG"));
	    v_newImage.src="";
	    v_newImage.style.position="absolute";
	    v_newImage.style.zIndex=0+7;
	    v_newImage.style.visibility="inherit";
	    v_newImage.style.left=0+"px";
	    v_newImage.style.top=0+"px";
	    if(0==1)
	    {
		    v_newImage.style.width=""+0+"px";
		    v_newImage.style.height=""+0+"px";
	    }
	    if(100==100){return;}
	    if(IEB)
	    {
		    v_newImage.style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity="+100+")";
	    }
	    else	{
		    v_newImage.style.opacity=0.100;
	    }
	}
	
	function ssFade_dispCounter(gcur)
	{
	    if(0!=1){return;}
	    v_DispCounter.innerHTML=""+""+(gcur+1)+"&nbsp;of&nbsp;"+vnumbofimages+"";
	}
	
	function ssFade_function1()
	{
	    if(0!=1){return;}
	    v_DispCounter = spageObj.appendChild(document.createElement("DIV"));
	    v_DispCounter.style.position="absolute";
	    v_DispCounter.style.zIndex=0+6;
	    v_DispCounter.style.display="block";
	    v_DispCounter.style.left=""+0+"px";
	    v_DispCounter.style.top=""+0+"px";
	    v_DispCounter.style.borderWidth=""+0+"px";
	    v_DispCounter.style.borderStyle="solid";
	    v_DispCounter.style.visibility="inherit";
	    v_DispCounter.style.textAlign="left";
	    v_DispCounter.style.cursor='default';
	    v_DispCounter.style.overflow="visible";
	    v_DispCounter.style.fontFamily="Verdana";
	    v_DispCounter.style.fontSize=10+"pt";
	    v_DispCounter.style.fontStyle="normal";
	    v_DispCounter.style.fontWeight="bold";
	    v_DispCounter.style.color="#000000";
	    v_DispCounter.innerHTML="";
	}
	
	function ssFade_setStyle(fname)
	{
	    v_ThumbCounter=v_ArrayIndexNext;
	    ssFade_setCurrentStep();
	    ssFade_navMoveRight();
	    ssFadeSonraki();
	    if(1==0)
	    {
	    }
	    else
	    {
		    if((1==3)||(1==5))
		    {
			    v_LeftValue=icheight;
			    v_ImageArray2[v_ArrayIndexNext].style.top=""+v_LeftValue+"px";
		    }
		    else
		    {
			    v_LeftValue=icwidth;
			    v_ImageArray2[v_ArrayIndexNext].style.left=""+v_LeftValue+"px";
		    }
	    }
	    if(1!=0)
	    {
	        ssFadezindx();
	    }
	    Beklemedemi=1;
	    if(v_boolIndex==1)
	    {
		    if(!((ReachedTheEnd==1)&&(1==0)))
		    {
			    if(tam==0)
			    {
				    if(v_const1==0){ssFadedevam(fname,3000);}
			    }
			    else
			    {
				    if(v_const1==0)
				    {
				        v_TimeoutValue=setTimeout(fname+'()',3000);
				    }
			    }
		    }
		    else
		    {
			    v_TimeoutValue=setTimeout('ssFade_createLink()',3000);
		    }
	    }
	}
	
	function thumbjustswitch(indxg){
	if(v_ThumbCounter==indxg){return;}
	clearTimeout(v_TimeoutValue);
	ssFade_hideImage();
	eskicurr=v_ArrayIndexPrev;
	eskinext=v_ArrayIndexNext;
	v_ArrayIndexPrev=v_ThumbCounter;
	v_ArrayIndexNext=indxg;
	v_ImageArray2[v_ArrayIndexNext].style.visibility="visible";
	if(v_ArrayIndexPrev!=v_ArrayIndexNext)
	{
		v_ImageArray2[v_ArrayIndexPrev].style.visibility="hidden";
	}
	if(eskicurr!=v_ArrayIndexNext)
	{
		v_ImageArray2[eskicurr].style.visibility="hidden";
	}
	if(eskinext!=v_ArrayIndexNext)
	{
		v_ImageArray2[eskinext].style.visibility="hidden";
	}
	v_ImageArray2[v_ArrayIndexNext].style.left="0px";
	v_ImageArray2[v_ArrayIndexNext].style.top="0px";
	if(1==1)
	{
		if(IEB)
		{
			v_ImageArray2[v_ArrayIndexNext].style.filter="progid:DXImageTransform.Microsoft.Alpha(opacity=100)";
		}
		else		{
			v_ImageArray2[v_ArrayIndexNext].style.opacity=1.00;
		}
	}
	window.status="v_ArrayIndexPrev:"+v_ArrayIndexPrev+"	v_ArrayIndexNext:"+v_ArrayIndexNext;
	if(1==1)
	{
		ssFade_function6();
	}
	else	{
		ssFade_setStyle(trans_func_str);
	}
	}
	function ssFadeSonraki(){
	v_ArrayIndexPrev=v_ArrayIndexNext;
	v_ArrayIndexNext=v_ArrayIndexNext+1;
		if(v_ArrayIndexNext>=vnumbofimages)
	{
		v_ArrayIndexNext=0;
		ReachedTheEnd=1;
	}
	else	{
		ReachedTheEnd=0;
	}
	      }
	function ssFadezindx()
	{
	    v_ImageArray2[v_ArrayIndexNext].style.visibility="visible";
	    v_ImageArray2[v_ArrayIndexPrev].style.zIndex=2;
	    v_ImageArray2[v_ArrayIndexNext].style.zIndex=3;
	}
	
	function ssFade_setSize(){
	Beklemedemi=0;
	ssFade_hideImage();
	v_LeftValue=v_LeftValue-Math.ceil(v_LeftValue/1.2);
	if(1==2)
	{
		v_ImageArray2[v_ArrayIndexPrev].style.left=""+(v_LeftValue-icwidth)+"px";
		v_ImageArray2[v_ArrayIndexNext].style.left=""+v_LeftValue+"px";
	}
	else if(1==3)
	{
		v_ImageArray2[v_ArrayIndexPrev].style.top=""+(v_LeftValue-icheight)+"px";
		v_ImageArray2[v_ArrayIndexNext].style.top=""+v_LeftValue+"px";
	}
	else if(1==4)
	{
		v_ImageArray2[v_ArrayIndexPrev].style.left=""+(icwidth-v_LeftValue)+"px";
		v_ImageArray2[v_ArrayIndexNext].style.left=""+v_LeftValue+"px";
	}
	else if(1==5)
	{
		v_ImageArray2[v_ArrayIndexPrev].style.top=""+(icheight-v_LeftValue)+"px";
		v_ImageArray2[v_ArrayIndexNext].style.top=""+v_LeftValue+"px";
	}
		if(v_LeftValue<=0)
	{
		ssFade_setStyle(trans_func_str);
	}
	else
	{
		v_TimeoutValue=setTimeout(trans_func_str+"()",50);
	}
	}
	function ssFadeDoJustSwitch(){
	ssFade_hideImage();
	v_ImageArray2[v_ArrayIndexNext].style.visibility="visible";
	v_ImageArray2[v_ArrayIndexPrev].style.visibility="hidden";
	ssFade_setStyle(trans_func_str);
	}
	
	function ssFade_swapZIndex(c,n)
	{
	    v_ArrayIndexPrev=c;
	    v_ArrayIndexNext=n;
	    if(1!=1)
	    {
		    v_ImageArray2[v_ArrayIndexPrev].style.visibility="visible";
			    v_ImageArray2[v_ArrayIndexNext].style.visibility="visible";
	    }
	    v_ImageArray2[v_ArrayIndexPrev].style.zIndex=2;
	    v_ImageArray2[v_ArrayIndexNext].style.zIndex=3;
	}
	
	function ssFade_function3()
	{
	    if(Beklemedemi==0)
	    {
	        return;
	    }
	    clearTimeout(v_TimeoutValue);
	    ssFade_swapZIndex(v_ThumbCounter,this.indx);
	    ssFade_setTimeout(50);
	}
	
	function ssFadeMakeThumbSelect(tn)
	{
	    v_NavArray[tn].style.borderColor="#990000";
	    v_NavArray[tn].style.backgroundColor='';
	    v_NavArray[tn].style.backgroundImage="";
	}
	function ssFadeMakeThumbNormal(tn){
	    v_NavArray[tn].style.borderColor="#999999";
	    v_NavArray[tn].style.backgroundColor='';
	    v_NavArray[tn].style.backgroundImage="";
	}
	
	function ssFade_navMoveRight()
	{
	    if((0==1)&&(0==0))
	    {
		    ssFadeMakeThumbNormal(v_ArrayIndexPrev);
		    ssFadeMakeThumbSelect(v_ThumbCounter);
	    }
	    if(0==1)
	    {
		    ssFade_function4(v_ThumbCounter);
	    }
	    ssFade_dispCounter(v_ThumbCounter);
	}
	
	function ssFade_function8()
	{
	    if((v_ArrayIndexPrev==this.indx)&&(0==0))
	    {
	    }
	    else
	    {
		    ssFadeMakeThumbNormal(this.indx);
	    }
	}
	
	function ssFade_function7()
	{
	    ssFadeMakeThumbSelect(this.indx);
	    if(0==1)
	    {
	    }
	}
	
	function ssFade_createLink(){
	if(ActionofLastImage==1)
	{
		if(URLtoGo.length>3)
		{
			if(URLtoGo.substring(0,11)=="javascript:")
			{
				eval(""+URLtoGo);
				return;
			}
			else			{
				if(IEB)
				{
					window.open(''+URLtoGo,'_self');
				}
				else				{
					window.open(''+URLtoGo,'_self');
				}
			}
		}
	}
	}
	function ssFadedevam(fm,pt){
	if((imgarr[v_ArrayIndexNext].c==1)&&(imgarr[v_ArrayIndexPrev].c==1))
	{
		v_TimeoutValue=setTimeout(fm+'()',pt);
	}
	else	{
		v_TimeoutValue=setTimeout('ssFadedevam("'+fm+'",'+pt+')',500);
	}
	var cagain=1;
	for(i=0;i<vnumbofimages;i++)
	{
		if(imgarr[i].c==1){}
		else{cagain=0;}
	}
	if(cagain==1){tam=1;}
	}
	
	function ssFade_setTimeout(msec)
	{
	    if(tam==0)
	    {
		    ssFadedevam(trans_func_str,msec);
	    }
	    else
	    {
		    if(1==0)
		    {
			    v_TimeoutValue=setTimeout("ssFadeDoJustSwitch()",msec);
		    }
		    else if(1==1)
		    {
			    v_TimeoutValue=setTimeout("ssFade_Transformation()",msec);
		    }
		    else		{
			    v_TimeoutValue=setTimeout("ssFade_setSize()",msec);
		    }
	    }
	}
	
	function ssFade_setImages()
	{
	    ssFade_function9();
	    for(i=0;i<vnumbofimages;i++)
	    {
		    v_ImageArray2[i]=document.getElementById("ssFaded"+i);
	    }
	    if(0==1)
	    {
	        ssFade_function1();
	    }
	    if(0==1)
	    {
	        ssFade_setOpacity();
	    }
	    ssFade_function2();
	    if(vnumbofimages>0)
	    {
		    v_ImageArray2[v_ArrayIndexPrev].style.visibility="visible";
	    }
	    if(vnumbofimages>1)
	    {
		    v_ArrayIndexPrev=0;
		    v_ArrayIndexNext=0;
		    v_ThumbCounter=0;
		    ssFadeSonraki();
		    ssFade_setCurrentStep();
		    ssFade_navMoveRight();
		    if(1==0)
		    {
		    }
		    else if(1==1)
		    {}
		    else if(1==2)
		    {
			    v_LeftValue=icwidth;
			    v_ImageArray2[v_ArrayIndexNext].style.left=""+v_LeftValue+"px";
			    ssFadezindx();            	        	}
		    else if(1==3)
		    {
			    v_LeftValue=icheight;
			    v_ImageArray2[v_ArrayIndexNext].style.top=""+v_LeftValue+"px";
			    ssFadezindx();
			}
			else if(1==4)
		    {
			    v_LeftValue=icwidth;
			    v_ImageArray2[v_ArrayIndexNext].style.left=""+v_LeftValue+"px";
			    ssFadezindx();
			}
			else if(1==5)
		    {
			    v_LeftValue=icheight;
			    v_ImageArray2[v_ArrayIndexNext].style.top=""+v_LeftValue+"px";
			    ssFadezindx();
			}
		    else if(1==6)
		    {
			    ssFadezindx();
		    }
			if(v_const1==0)
		    {
			    ssFade_setTimeout(3000);
		    }
		}
	}
	
	function ssFade_createNewElement()
	{
	    spageObj = DisObj.appendChild(document.createElement("DIV"));
	    spageObj.style.position="relative";
	    spageObj.style.width=""+cwidth+"px";
	    spageObj.style.height=""+cheight+"px";
	    spageObj.style.overflow="hidden";
	    spageObj.style.borderStyle=""+"solid";
	    spageObj.style.borderWidth=""+0+"px";
	    spageObj.style.borderColor="#"+"CCCCCC";
	    if(0==1)
	    {
		    spageObj.style.backgroundColor=""+"";
	    }
	    if(0==1)
	    {
		    spageObj.style.backgroundImage=SldBgImageName;
		    spageObj.style.backgroundRepeat=SldBgImageRepeat;
		    spageObj.style.backgroundPosition=""+SldBgImagePosY+"px "+SldBgImagePosX+"px";
	    }
	    spageObj.style.visibility="inherit";
	    spageObj.onmouseover=ssFade_checkVisibility;
	    spageObj.onmouseout=ssFade_hide2;
	    spageIcObj = spageObj.appendChild(document.createElement("DIV"));
	    spageIcObj.style.position="relative";
	    spageIcObj.style.width=""+icwidth+"px";
	    spageIcObj.style.height=""+icheight+"px";
	    spageIcObj.style.overflow="hidden";
	    spageIcObj.style.margin="0px";
	    spageIcObj.style.padding="0px";
	    spageIcObj.style.zIndex=(0+1);
	    if(IEB==true)
	    {
		    spageIcObj.style.filter='FILTER: progid:DXImageTransform.Microsoft.Fade(Overlap=1.00,duration=2,enabled=false);';
		    spageIcObj.onfilterchange=ssFade_function6;
	    }
	    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:'+icwidth+'px;height:'+icheight+'px;left:0px;top:0px;padding:0px;margin:0px;text-align:'+'center'+';vertical-align:'+'middle'+';">';
	    dstr3='<img id="img';
	    dstr4='" src="';
	    dstr5='"  border="0" style="position:relative;'+'left:0px;top:0px;'+'border-style:'+'solid'+';border-width:'+'0'+'px;border-color:'+'#CCCCCC'+';'+'width:'+icwidth+'px;height:'+icheight+'px;'+'" alt=""></img>';
	    dstr56='</td></tr></table>';
	    dstr6='</div>';
	    i=0;
	    innertxt="";
	    lnkstr="";
	    lnkstrclose="";
	    for(i=0;i<vnumbofimages;i++)
	    {
    //		if(linkstr[i].length>2)
    //		{
    //			lnkstr='<a href="'+linkstr[i]+'" target="'+targetstr[i]+'" style="text-decoration: none;">';
    //			lnkstrclose="</a>";
    //		}
    //		else		{
			    lnkstr='';
			    lnkstrclose='';
		    //}
		    innertxt=innertxt+dstr1+"ssFaded"+i+dstr2+dstr23+lnkstr+dstr3+i+dstr4+imgstr[i]+dstr5+lnkstrclose+dstr56+dstr6;
	    }
	    spageIcObj.innerHTML=""+innertxt;
	    setTimeout('ssFade_setImages()',100);
	}
	
	function ssFadeBas(){
	DisObj=document.getElementById('ssFadesodis');
	if(!DisObj)
	{
		setTimeout('ssFadeBas()',200);
		return;
	}        ssFade_createNewElement();}
	
