<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>

<script language="javascript">

/***************************/
//@Author: Adrian "yEnS" Mato Gondelle
//@website: www.yensdesign.com
//@email: yensamg@gmail.com
//@license: Feel free to use it, but keep this credits please!					
/***************************/
$(document).ready(function() {
	//When you click on a link with class of poplight and the href starts with a # 
$('a.poplight[href^=#]').click(function() {
    var popID = $(this).attr('rel'); //Get Popup Name
    var popURL = $(this).attr('href'); //Get Popup href to define size

    //Pull Query & Variables from href URL
    var query= popURL.split('?');
    var dim= query[1].split('&');
    var popWidth = dim[0].split('=')[1]; //Gets the first query string value

    //Fade in the Popup and add close button
    $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="close_pop.png" class="btn_close" title="Close Window" alt="Close" /></a>');

    //Define margin for center alignment (vertical   horizontal) - we add 80px to the height/width to accomodate for the padding  and border width defined in the css
    var popMargTop = ($('#' + popID).height() + 80) / 2;
    var popMargLeft = ($('#' + popID).width() + 80) / 2;

    //Apply Margin to Popup
    $('#' + popID).css({
        'margin-top' : -popMargTop,
        'margin-left' : -popMargLeft
    });

    //Fade in Background
    $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
    $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) is used to fix the IE Bug on fading transparencies 

    return false;
});

//Close Popups and Fade Layer
$('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
    $('#fade , .popup_block').fadeOut(); //fade them both out
    $('#fade').remove();
    return false;
});

});
</script>

<style>
#fade { /*--Transparent background layer--*/
	display: none; /*--hidden by default--*/
	background: #000;
	position: fixed; left: 0; top: 0;
	width: 100%; height: 100%;
	opacity: .80;
	z-index: 9999;
}
.popup_block{
	display: none; /*--hidden by default--*/
	background: #000;
	padding: 20px;
	border: 20px solid #ddd;
	float: left;
	font-size: 1.2em;
	position: fixed;
	top: 50%; left: 50%;
	z-index: 99999;
	/*--CSS3 Box Shadows--*/
	-webkit-box-shadow: 0px 0px 20px #000;
	-moz-box-shadow: 0px 0px 20px #000;
	box-shadow: 0px 0px 20px #000;
	/*--CSS3 Rounded Corners--*/
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}
img.btn_close {
	float: right;
	margin: -55px -55px 0 0;
}
/*--Making IE6 Understand Fixed Positioning--*/
*html #fade {
	position: absolute;
}
*html .popup_block {
	position: absolute;
}

</style>
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<rss version='2.0' xmlns:media='http://search.yahoo.com/mrss' xmlns:atom='http://www.w3.org/2005/Atom'>
	<channel>
		<generator><![CDATA[NextGEN Gallery [http://alexrabe.boelinger.com]]]></generator>
		<title>hairtrans</title>
		<description>Just another WordPress weblog</description>
		<link><![CDATA[http://www.hairtrans.com]]></link>
		<atom:link rel='next' href='http://www.hairtrans.com/wp-content/plugins/nextgen-gallery/xml/media-rss.php?show=10&amp;page=1&amp;mode=last_pictures' />
		<item>
			<title><![CDATA[image4]]></title>
			<description><![CDATA[]]></description>
			<link><![CDATA[http://www.hairtrans.com/wp-content/gallery/john-c/image4.jpg]]></link>
			<media:content url='http://www.hairtrans.com/wp-content/gallery/john-c/image4.jpg' medium='image' />
			<media:title><![CDATA[image4]]></media:title>
			<media:description><![CDATA[]]></media:description>
			<media:thumbnail url='http://www.hairtrans.com/wp-content/gallery/john-c/thumbs/thumbs_image4.jpg' width='100' height='75' />
			<media:keywords><![CDATA[]]></media:keywords>
			<media:copyright><![CDATA[Copyright (c) hairtrans (http://www.hairtrans.com)]]></media:copyright>
		</item>
		<item>
			<title><![CDATA[image5]]></title>
			<description><![CDATA[]]></description>
			<link><![CDATA[http://www.hairtrans.com/wp-content/gallery/timh/image5.jpg]]></link>
			<media:content url='http://www.hairtrans.com/wp-content/gallery/timh/image5.jpg' medium='image' />
			<media:title><![CDATA[image5]]></media:title>
			<media:description><![CDATA[]]></media:description>
			<media:thumbnail url='http://www.hairtrans.com/wp-content/gallery/timh/thumbs/thumbs_image5.jpg' width='100' height='75' />
			<media:keywords><![CDATA[]]></media:keywords>
			<media:copyright><![CDATA[Copyright (c) hairtrans (http://www.hairtrans.com)]]></media:copyright>
		</item>
		<item>
			<title><![CDATA[image3]]></title>
			<description><![CDATA[]]></description>
			<link><![CDATA[http://www.hairtrans.com/wp-content/gallery/al-sm/image3.jpg]]></link>
			<media:content url='http://www.hairtrans.com/wp-content/gallery/al-sm/image3.jpg' medium='image' />
			<media:title><![CDATA[image3]]></media:title>
			<media:description><![CDATA[]]></media:description>
			<media:thumbnail url='http://www.hairtrans.com/wp-content/gallery/al-sm/thumbs/thumbs_image3.jpg' width='100' height='75' />
			<media:keywords><![CDATA[]]></media:keywords>
			<media:copyright><![CDATA[Copyright (c) hairtrans (http://www.hairtrans.com)]]></media:copyright>
		</item>
		<item>
			<title><![CDATA[image2]]></title>
			<description><![CDATA[]]></description>
			<link><![CDATA[http://www.hairtrans.com/wp-content/gallery/al-sm/image2.jpg]]></link>
			<media:content url='http://www.hairtrans.com/wp-content/gallery/al-sm/image2.jpg' medium='image' />
			<media:title><![CDATA[image2]]></media:title>
			<media:description><![CDATA[]]></media:description>
			<media:thumbnail url='http://www.hairtrans.com/wp-content/gallery/al-sm/thumbs/thumbs_image2.jpg' width='100' height='75' />
			<media:keywords><![CDATA[]]></media:keywords>
			<media:copyright><![CDATA[Copyright (c) hairtrans (http://www.hairtrans.com)]]></media:copyright>
		</item>
		<item>
			<title><![CDATA[image1]]></title>
			<description><![CDATA[]]></description>
			<link><![CDATA[http://www.hairtrans.com/wp-content/gallery/al-sm/image1.jpg]]></link>
			<media:content url='http://www.hairtrans.com/wp-content/gallery/al-sm/image1.jpg' medium='image' />
			<media:title><![CDATA[image1]]></media:title>
			<media:description><![CDATA[]]></media:description>
			<media:thumbnail url='http://www.hairtrans.com/wp-content/gallery/al-sm/thumbs/thumbs_image1.jpg' width='100' height='75' />
			<media:keywords><![CDATA[]]></media:keywords>
			<media:copyright><![CDATA[Copyright (c) hairtrans (http://www.hairtrans.com)]]></media:copyright>
		</item>
	</channel>
</rss>
