$(document).ready(function(){		
		// Appends lightbox links at the end of each product information block
		$('#product2').append('<a href="#urinal" title="Read more about Waterles Urinals" class="lightbox">Read more about Waterless Urinal</a>');
		$('#product3').append('<a href="#dualflush" title="Read more about Dual Flush" class="lightbox">Read more about Dual Flush</a>');
		$('#product4').append('<a href="#shower" title="Read more about Aerated Shower Head" class="lightbox">Read more about Aerated Shower Head</a>');
		
		// Creates content to be displayed by lightbox plugin
		// Urinals
		var product2info = '<div id="urinal" class="product-info">';
		product2info += '<h4>Waterless Urinals</h4>';
		product2info += '<img align="left" alt="product 2" src="images/product2-test.jpg">';		
		product2info += '<p>A No-Flush&trade; urinal saves approximately 45,000 gallons of water a year.</p>';
		product2info += '<ul>';
		product2info += '<li>Urine is commonly sterile and dryness prevents bacterial growths. Urine flows down into the EcoTrap&reg; drain insert.</li>';
		product2info += '<li>In the EcoTrap&reg; the urine passes through a floating layer of biodegradable BlueSeal&reg; liquid, which forms a barrier that prevents sewer vapors from escaping to the restroom atmosphere.</li>';
		product2info += '<li>Urine under the barrier layer over!ows into the central tube and runs down to the conventional drain line.</li>';
		product2info += '<li>The layer of approx. 3 ounces of BlueSeal&reg; will last for a minimum of 1500 sanitary uses. The liquid is then simply refilled.</li>';
		product2info += '<li>The EcoTrap&reg; retains urinary sediments and when full is simply replaced 2-4 times a year with a special tool.</li>';
		product2info += '</ul>';
		product2info += '</div>';
		
		// Dual Flush
		var product3info = '<div id="dualflush" class="product-info">';
		product3info += '<h4>Dual Flush</h4>';
		product3info += '<img align="left" alt="product 2" src="images/product3-test.jpg">';
		product3info += '<p>Dual-flush water-saving mechanism is the first to provide a cable-operated system, making it suitable for all situations. </p>';
		product3info += '<p>On average, the flushing of toilets in the home accounts for 32% of a household´s water consumption, against 36% for showers and baths, 18% for the washing-machine, 12% for cleaning and gardening, and 2% only for cooking and drinking.</p>';
		product3info += '<p>The Jollyflush is therefore an environmentally friendly technology, which has the added advantages that it can be fitted quickly. Besides, it is easy to use: all the user has to do is to press lightly on a push-button, which provides an attractive replacement for the old-fashioned front-mounted handle.</p>';		
		product3info += '</div>';
		
		// Showers
		var product4info = '<div id="shower" class="product-info">';
		product4info += '<h4>Aerated Shower Head</h4>';
		product4info += '<img align="left" alt="product 2" src="images/product4.jpg">';
		product4info += '<p>The ecocamel will give you more than just a great showering experience - the effect of the showerhead on water saving is dramatic.</p>';
		product4info += '<h5>Features & Benefits of the ecocamel showerhead</h5>';		
		product4info += '<ul>';
		product4info += '<li>Saves Energy by Using Up to 60 % Less Hot Water</li>';
		product4info += '<li>Eliminates clogging & scaling – contains removable face plate</li>';
		product4info += '<li>Easy to fit – no complicated plumbing required</li>';
		product4info += '<li>Sleek chrome design with unique spray effect</li>';
		product4info += '<li>Saves a family of four over 56,000 litres of water yearly</li>';
		product4info += '</ul>';
		product4info += '</div>';
		
		// Appends content to each product information block
		$('#product2').append(product2info);
		$('#product3').append(product3info);
		$('#product4').append(product4info);
		
		// Assigns call back function to links with appropriate class name
		$('a.lightbox').nyroModal();
	}
);

