function slideShow()
{		
	img = new Array();
	i=0;

	$("input[id^=img]").each( function()
	{
		img[i++] = this.value;
	});
	
	$('#slideshow').Slides({images : img});
}
function colorBoxShow()
{	
	
	$("a[rel='gallery']").colorbox({transition:"elastic", contentCurrent:"{current} / {total}"});
	
}

$(document).ready(function()
{ 
	slideShow();
	colorBoxShow();
}); 