// © Oryan  //-->

var x;

function openWin(locat)

{

if (x!=null )

	{

	x.close()

	}

   x=window.open(locat,"firstWindow","width=750,height=580,top=10,left=10,resizable=yes,scrollbars=yes,status=yes,location=no");

    x.focus();    

}

function openWin2(locat)

{

if (x!=null )

	{

	x.close()

	}

   x=window.open(locat,"firstWindow","width=600,height=346,resizable=no,scrollbars=yes,status=yes,location=no");

    x.focus();    

}





function redirect(x){
	for (m=temp.options.length-1;m>0;m--)
		temp.options[m]=null

	for (i=0;i<group[x].length;i++)	{
		temp.options[i]=new Option(group[x][i].text,group[x][i].value)
	}

	temp.options[0].selected=true;
	document.doublecombo.ProColorId.value=group[x][0].value;
	if(!document.paypalform)	return false;
	if(!document.paypalform.os1)	return false;	
	document.paypalform.os1.value = group[x][0].text
}

function go()

{

	document.doublecombo.ProColorId.value=temp.options[temp.selectedIndex].value;

}



function Disapp(Objct)

{

document.all.Thanx.style.display='none';   

}







var Strg=99,exel,flag=true,page=0,pos=0;

function wavScroll(Objec,exel,DrWay,PageAmount)

{

Strg=Strg+exel;

xl=exel;



if (flag!=true)

Objec.style.filter="alpha(opacity=100,enabled=0)"

else

Objec.style.filter="alpha(opacity="+Strg+",enabled=1)"



	if (flag==true)

	{

	setTimeout('wavScroll(document.all.contentLayer,'+xl+','+DrWay+','+PageAmount+')',10);

	}

	else

	{

	flag=true;

	if(exel<0)

		{				

		Strg=0;

		}

	if(exel>0)

		{		

		Strg=100;

		}

	}



if(Strg<0)

	{	

	flag=false;	

if (DrWay==1)	

		{		

		page=page+1;

		if (page>PageAmount)

			page=0;		

		pos=(page*160)*-1;

		}

if (DrWay==0)	

		{		

		page=0;

		pos=0;

		}



if (DrWay==-1)	

		{

		page=page-1;

		if (page<0)

			page=0;

		pos=(page*160)*-1;

		}	

		

	document.all.contentLayer.style.top=pos;

	setTimeout('wavScroll(document.all.contentLayer,'+(xl*(-1))+','+DrWay+','+PageAmount+')',10);

	Strg=0;

	}

if(Strg>100)

	{

	flag=false;

	

	}

	

}









function ShowHide()

{

if (document.all.Customize.style.display=='block')

document.all.Customize.style.display='none';

else

document.all.Customize.style.display='block';



}
