			jQuery(document).ready(function(){
				//Examples of how to assign the ColorBox event to elements
				/*jQuery("a[rel='example1']").colorbox();
				jQuery("a[rel='example2']").colorbox({transition:"fade"});
				jQuery("a[rel='example3']").colorbox({transition:"none", width:"75%", height:"75%"});
				jQuery("a[rel='example4']").colorbox({slideshow:true});
				jQuery(".single").colorbox({}, function(){
					alert('Howdy, this is an example callback.');
				});*/
				/*
				jQuery(".colorbox").colorbox();
				jQuery(".colorboxSlideshow").colorbox({slideshow:true});
				jQuery(".colorboxVideo").colorbox({iframe:true, width:"85%", height:"85%"});
				jQuery(".colorboxiframe").colorbox({width:"90%", height:"85%", iframe:true});
				jQuery(".colorboxInline").colorbox({width:"50%", inline:true, href:"#inline_example1"});
				*/
				//Example of preserving a JavaScript event for inline calls.
				/*jQuery("#click").click(function(){ 
					jQuery('#click').css({"background-color":"#f00", "color":"#fff", "cursor":"inherit"}).text("Open this window again and this message will still be here.");
					return false;
				});*/
				jQuery("a[rel^='prettyPhoto']").prettyPhoto();

			});
			jQuery.fn.showInline = function(idVal) {
				/*
				WORKS ONLY WITH prettyPhoto 2.5.6 - which is buggy in case of reloading/ajax
				_self=jQuery("#"+idVal);
				theRel=jQuery("#"+idVal).attr('rel');
				galleryRegExp=/\[(?:.*)\]/;
				theGallery=galleryRegExp.exec(theRel);
				var images=new Array(),titles=new Array(),descriptions=new Array();
				if(theGallery){jQuery('a[rel*='+theGallery+']').each(function(i){if(jQuery("#"+idVal)[0]===jQuery(_self)[0])setPosition=i;images.push(jQuery("#"+idVal).attr('href'));titles.push(jQuery("#"+idVal).find('img').attr('alt'));descriptions.push(jQuery("#"+idVal).attr('title'));});}
				else{images=jQuery("#"+idVal).attr('href');titles=(jQuery("#"+idVal).find('img').attr('alt'))?jQuery("#"+idVal).find('img').attr('alt'):'';descriptions=(jQuery("#"+idVal).attr('title'))?jQuery("#"+idVal).attr('title'):'';}
				jQuery.prettyPhoto.open(images,titles,descriptions);
				*/
				 theHref=jQuery("#"+idVal).attr('href');
				 jQuery.prompt( jQuery(theHref).html(),{ opacity: 0.3 });
				 
				 
				
			}
			
