/*
 * Script:	js_only.js
 * Author:	Dominic Watson, 8th Jan 2009
 * Notes:	Little script to show any elements with the js_only class * 
 */

UKTV.jsOnly = new function(){
	this.NS = 'UKTV.jsOnly';
	var _self = this;

	this.init = function(){
		
		var jsOnlyEls = YAHOO.util.Selector.query('.js-only');
		
		for(var i=jsOnlyEls.length-1; i>=0; i--){
			YAHOO.util.Dom.removeClass(jsOnlyEls[i], 'js-only');
		}
	}
	
	UKTV.loader.registerObj(this);	
}