Ext.onReady(function(){

	

	var activeMenu;
	
	/**
	 * todo: there's something really strange going on with the way this script
	 *       acts with the mockup code and the actual CMS implementation,
	 *       i think it has to do with the html versions -- in short, the
	 *       CMS implementation doesn't like sub elements as menus because
	 *       it messes up the size/position calculations (even though it's
	 *       supposed to be recalculated into an ext.layer!) grrrr, rawwwwwwr
	 *       hisssssssss!
	 *     
	 **/
	
	
	/* initialize support chart table (if it exists) */
	els = Ext.query('table[class=supportchart] tr');
	
	Ext.each(els, function(item, index){
		var el = Ext.get(item);
		
		el.addClassOnOver('row-hover');
	});
	
	
	/* initialize the appremover download counter */
	
	var counterDiv = Ext.get('DLCounter');
	if (counterDiv && AppRemoverDownloads){
		counterDiv.update(AppRemoverDownloads);
	}
	
	var versionDiv = Ext.get('AppVersion');
	if (versionDiv && AppRemoverVersion){
		versionDiv.update(AppRemoverVersion);
	}
	
	
	
	
});
