/***********************************************
* CMotion Image Gallery- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* Visit http://www.dynamicDrive.com for source code
* Last updated Mar 15th, 04'. Added "End of Gallery" message.
* This copyright notice must stay intact for legal use
***********************************************/
function resimac_eski(x)
	{
	window.open("resim.php?resimid="+x,"resim_penceresi","width=50,height=50,top=0,left=0");
	};
function resimac(x)
	{
	$dosya=x.src;
	$dosya=$dosya.replace("/on/","/");
	$dosya=$dosya.replace(".gif",".jpg");
	window.open("resim.php?resim="+$dosya,"resim_penceresi","width=50 height=50 top=0 left=0");
	};
function high(which2)
	{
	theobject=which2
	highlighting=setInterval("highlightit(theobject)",50)
	}
function low(which2)
	{
		clearInterval(highlighting)
	if (which2.style.MozOpacity)
		which2.style.MozOpacity=0.8
	else if (which2.filters)
		which2.filters.alpha.opacity=80
	}
function highlightit(cur2)
	{
	if (cur2.style.MozOpacity<1)
		cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
	else if (cur2.filters&&cur2.filters.alpha.opacity<100)
		cur2.filters.alpha.opacity+=10
	else if (window.highlighting)
		clearInterval(highlighting)
	}