// 'utsdk' is the global object for the Unofficial SDK theme functions
var utsdk = {};
// Reduce potential conflicts with other scripts on the page
utsdk.jQuery = jQuery.noConflict(true);
var $utsdk = utsdk.jQuery;
// Create a unique object and namespace for theme functions
utsdk.themeFunctions = {};
// Define a closure
utsdk.themeFunctions = (function() {
    // When jQuery is used it will be available as $ and jQuery but only inside the closure
    var jQuery = utsdk.jQuery;
    var $ = jQuery;
	var $utsdk = jQuery.noConflict();

// ExtraContent functionality 
$utsdk(document).ready(function () {
	var extraContent =  (function() {
		var ecValue = 10;
		for (i=1;i<=ecValue;i++)
		{
			$utsdk('#myExtraContent'+i+' script').remove();
			$utsdk('#myExtraContent'+i).appendTo('#extraContainer'+i);
		}
	})();
});

	
})(utsdk.themeFunctions);
