<style>
#hidden-content {
    display: none;
}
.placeholder-text {
    color: #fff;
    width: 500px;
    max-width: 100%;
    text-align: center;
    padding: 40px 20px;
    margin: 0 auto 20px;
    background: #851c0e\9;
    background:radial-gradient(#bc2e1b,#851c0e);
}
.placeholder-text p {
    font-size: 1.3em;
    max-width: 400px;
    margin: 20px auto;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.35);
}
</style>

<script type="text/javascript">
/* Insert JSN UniForm place-holder content when the component isn't installed */

function addPlaceHolder(containerClass, placeholderID, classInsertedElement)
{
	var pattern = /\{uniform (.*)\/\}/i;
	var elePlaceholder = document.id(placeholderID);

	var contentElePlaceholder = elePlaceholder.get('html'); 

        $$('.' + containerClass).each(function(item, index){

        var content = item.get('html');
	
	if (pattern.test(content)) 
	{
		item.set('html', '');
		var insertedEle = new Element("div", {class: classInsertedElement, html: contentElePlaceholder});
                item.adopt(insertedEle); 
	}

        });

}

window.addEvent('domready', function() {
addPlaceHolder('uf-demo-form', 'hidden-content', 'jsn-uf-placeholder-content');
});
</script>

<div id="hidden-content">
<div class="placeholder-text">
<p>Here should be the presentation of JSN UniForm,<br />but it is not installed on your website.</p>
<a href="http://www.joomlashine.com/joomla-extensions/jsn-uniform.html" target="_blank" class="link-button button-light">Download now</a>
</div>
</div>

<div class="alert alert-success" style="background-image: none; padding-left: 15px;"><p>The form you see on this website is the <strong>Free Edition</strong> of another cool product <strong><a target="_blank" href="http://www.joomlashine.com/joomla-extensions/jsn-uniform.html">JSN UniForm</a></strong> from JoomlaShine. Please click on the below button to check the PRO Edition of this extension.</p><p align="center"><a class="btn btn-default" href="http://demo.joomlashine.com/joomla-extensions/jsn-uniform.html" target="_blank">See Demo</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="btn btn-primary" href="http://www.joomlashine.com/joomla-extensions/jsn-uniform-joomla-contact-form-extension.html" target="_blank">Buy Now</a></p></div>

<p><strong><a href="http://www.joomlashine.com/joomla-extensions/jsn-uniform-details.html">JSN UniForm</a></strong> will bring you the new indulgence since you find out it is the easiest-to-use form extension for your site. Contact us, survey and job application are just some of thousand forms that this single extension can help you to create and control. Besides the intuitive <strong>drag-n-drop operation</strong>, <strong>flexible form presentation</strong> and <strong>multiple pages layout</strong>, JSN UniForm also assists you to deeply understand your collected data with the multiple admins email notification, clean result display or submission filter. </p>

<p>Below is the survey form created by the<strong> Free Edition</strong> of JSN UniForm. </p>
{uniform form=1/}


