function altercss(theClass,element) {
	var cssRules;
	if (document.all) {
		cssRules = 'rules';
	} else if (document.getElementById) {
		cssRules = 'cssRules';
	}
	var added = false;
	for (var S = 0; S < document.styleSheets.length; S++){
		for (var R = 0; R < document.styleSheets[S][cssRules].length; R++) {
			if (document.styleSheets[S][cssRules][R].selectorText.substr(1) == theClass) {
				if(document.styleSheets[S][cssRules][R].style[element]){
					return document.styleSheets[S][cssRules][R].style[element];
				}
			}
		}
	}
}


var cross_rates_current_last = new Array(0);

function cross_rates_refresh(session_uniq_id, table_width, ajax_delay) {
	exit();
	ajax_delay = ajax_delay || 8000;
	var params_data = 'session_uniq_id='+session_uniq_id+'&table_width='+table_width;
	if(window.changing_cross_rates!='true') {
		$.ajax({
			url: "/common/cross_rates/cross_rates_data.php",
			type: "GET",
			data: params_data,
			dataType: ($.browser.msie) ? "text" : "html",
			success: function(data){
				$('#cross_rates_container').html(data);
			}
		});
	}//END if window.changing_cross_rates!='true'

setTimeout(function() { cross_rates_refresh(session_uniq_id, table_width); }, ajax_delay);
}
