	function usdExchReport() {
			$.ajax({
				type: "GET",
				cache: true,
				url: "xmldbexchange.php?ex=USD", //Requesting simple.xml
				dataType: "xml", //Make sure that you specify the type of file you expecting (XML)
				beforeSend: function(){
					$('tr#usdto .dvlding').show();
				},
				success:function(xml){
					$('#tblrep tr#usdto').html($('#tblrep tr#usdto td:first').clone());
					$('<td align="left"></td>')
					 .html(' 1&nbsp;USD&nbsp;= ')
					 .appendTo('#tblrep tr#usdto');
					$('tr#usdto .dvlding').hide();
					
					
					$('#tblrep tr#usdinv').html('');
					$('<td align="left"></td>')
					 .html(' Inverse: ')
					 .appendTo('#tblrep tr#usdinv');
				  
					$(xml).find('item').each(
						function(){
	                        // var id_text = $(this).attr('id');
							 var id_text = $(this).find('pubDate').text();
	                         var name_text = $(this).find('title').text();
							 if(name_text == 0 || name_text == '0') name_text = '1.00000';
							 var link_text = $(this).find('link').text();
							 
							 var invVals = $(this).find('inverse').text();
							 if(invVals == 0 || invVals == '0') invVals = '1.00000';
							 
							 $('<td></td>')
	                             .html(name_text)
	                             .appendTo('#tblrep tr#usdto');
								 
							// Inverse
							 $('<td></td>')
							  .html(invVals)
							  .appendTo('#tblrep tr#usdinv');
							  
	                     }); //close each(
					eurExchReport();
				}
			});
	}
	
	function eurExchReport() {
			$.ajax({
				type: "GET",
				cache: true,
				url: "xmldbexchange-eur.php?ex=EUR", //Requesting simple.xml
				dataType: "xml", //Make sure that you specify the type of file you expecting (XML)
				beforeSend: function(){
					$('tr#eurto .dvlding').show();
				},
				success:function(xml){
					$('#tblrep tr#eurto').html($('#tblrep tr#eurto td:first').clone());
					$('<td align="left"></td>')
					 .html(' 1&nbsp;EUR&nbsp;= ')
					 .appendTo('#tblrep tr#eurto');
					$('tr#eurto .dvlding').hide();
					
					
					$('#tblrep tr#eurinv').html('');
					$('<td align="left"></td>')
					 .html(' Inverse: ')
					 .appendTo('#tblrep tr#eurinv');
				  
					$(xml).find('item').each(
						function(){
	                        // var id_text = $(this).attr('id');
							 var id_text = $(this).find('pubDate').text();
	                         var name_text = $(this).find('title').text();
							 if(name_text == 0 || name_text == '0') name_text = '1.00000';
							 var link_text = $(this).find('link').text();
							 
							 var invVals = $(this).find('inverse').text();
							 if(invVals == 0 || invVals == '0') invVals = '1.00000';
							 
							 $('<td></td>')
	                             .html(name_text)
	                             .appendTo('#tblrep tr#eurto');
								 
							// Inverse
							 $('<td></td>')
							  .html(invVals)
							  .appendTo('#tblrep tr#eurinv');
							  
	                     }); //close each(
					gbpExchReport();
				}
			});
	}
	
	function gbpExchReport() {
			$.ajax({
				type: "GET",
				cache: true,
				url: "xmldbexchange-gbp.php?ex=GBP", //Requesting simple.xml
				dataType: "xml", //Make sure that you specify the type of file you expecting (XML)
				beforeSend: function(){
					$('tr#gbpto .dvlding').show();
				},
				success:function(xml){
					$('#tblrep tr#gbpto').html($('#tblrep tr#gbpto td:first').clone());
					$('<td align="left"></td>')
					 .html(' 1&nbsp;GBP&nbsp;= ')
					 .appendTo('#tblrep tr#gbpto');
					$('tr#gbpto .dvlding').hide();
					
					
					$('#tblrep tr#gbpinv').html('');
					$('<td align="left"></td>')
					 .html(' Inverse: ')
					 .appendTo('#tblrep tr#gbpinv');
				  
					$(xml).find('item').each(
						function(){
	                        // var id_text = $(this).attr('id');
							 var id_text = $(this).find('pubDate').text();
	                         var name_text = $(this).find('title').text();
							 if(name_text == 0 || name_text == '0') name_text = '1.00000';
							 var link_text = $(this).find('link').text();
							 
							 var invVals = $(this).find('inverse').text();
							 if(invVals == 0 || invVals == '0') invVals = '1.00000';
							 
							 $('<td></td>')
	                             .html(name_text)
	                             .appendTo('#tblrep tr#gbpto');
								 
							// Inverse
							 $('<td></td>')
							  .html(invVals)
							  .appendTo('#tblrep tr#gbpinv');
							  
	                     }); //close each(
					//var t= setTimeout("usdExchReport()",50000);
					//var t= setTimeout("showReloadRow()",30000);
					var t= setTimeout("usdExchReport()",30000);
				}
			});
	}
	var TimerReload = 30000;
	var TimerHide = 3000;
	//var filebg = 'filebackground.php';
	var filebg = 'filerunbg.php';
	
	function showReloadRow(){
		/*$('tr#usdto .dvlding').show();
		var t= setTimeout("hideReloadRow()",TimerHide);*/
		$.ajax({
			type: "GET",
			cache: true,
			url: filebg, //Requesting simple.xml
			dataType: "xml", //Make sure that you specify the type of file you expecting (XML)
			success:function(xml){
			}
		});
		usdExchReport();
	}
	function hideReloadRow(){
		$('tr#usdto .dvlding').hide();
		showReloadRowEUR();
	}
	function showReloadRowEUR(){
		$('tr#eurto .dvlding').show();
		var t= setTimeout("hideReloadRowEUR()",TimerHide);
	}
	function hideReloadRowEUR(){
		$('tr#eurto .dvlding').hide();
		showReloadRowGBP();
	}
	function showReloadRowGBP(){
		$('tr#gbpto .dvlding').show();
		var t= setTimeout("hideReloadRowGBP()",TimerHide);
	}
	function hideReloadRowGBP(){
		$('tr#gbpto .dvlding').hide();
		//var t= setTimeout("showReloadRow()",TimerReload);
		var t= setTimeout("usdExchReport()",TimerReload);
	}