//<![CDATA[
$(document).ready(function(){


// Cycle gallery
	$('#slides').cycle({ 
		fx:    'fade',
		speed:  1000,
		timeout: 6000,
		//speedIn:     null,  // speed of the "in" transition 
		//speedOut:    null,  // speed of the "out" transition
		next:   '#next', 
		prev:   '#previous'
		/*//pause:   1, 			pause: '#pause'
		pager:   '#pager', 
    	pagerEvent: 'mouseover',
		pagerAnchorBuilder: function(idx, slide) { 
       		// return selector string for existing anchor 
        	return '#pager div.trigger:eq(' + idx + ') a';
    	}  */
	});
	
			
// Current Thumbs

		// to store it in a variable
		/*var loc = window.location;
alert(loc);*/

	/*var scriptname = GetUrlScriptname();
	$('.thumb a[href$="' + scriptname + '"]').parent().addClass('current');
	function GetUrlScriptname() {
		var rex = new RegExp("\\/[^\\/]+\\.\\w+($|\\?)");
		var match = rex.exec(location.pathname);
		return match[0].substring(1);
		}*/
	
	
	
	/*$(".thumb a").addClass(	// "current"
		function(){
			$(this).animate(
				{"opacity": "0.7"},
				{duration: 500}
			);
	});		/
	




// Image Borders

	/*
	$("#left a img , #center a img , #right a img").hover(
		function(){
			$(this).animate(
				{"opacity": "0.7"},
				{duration: 500}
			);
		},
		function(){
			$(this).animate(
				{"opacity": "1"},
				{duration: 500}
			);
	});		*/
	
				
	// transparent hover Panel
	/*$(".slide").hover(
		function () {
		$(this).animate({"opacity": "0.7"}, {duration: "fast"});
		}, 
		function () {
		$(this).animate({"opacity": "1.0"}, {duration: "fast"});
		}
	);
	$("#navigation").hover(
		function () {
		$(this).animate({"opacity": "0.8"}, {duration: "fast"});
		}, 
		function () {
		$(this).animate({"opacity": "1.0"}, {duration: "fast"});
		}
	);*/

}); //close doc ready
//]]>

