function skypeStatus(){

	jQuery.ajax({
		
		type: "GET",
		url: "http://www.atomworks.co.uk/aw-skypestatus-xml.php",
		dataType: "xml",
		success: function(xml){
				
				jQuery(xml).find('presence').each(function(){
					if(jQuery(this).attr('xml:lang')=="NUM"){
						jQuery("#skypeStatus").text('Success') ;
						if(jQuery(this).text() == "1"){
							jQuery("#skypeStatus").css('color','#666') ;
							jQuery("#skypeStatus").text('Offline') ;
						} else if(jQuery(this).text() == "2"){
							jQuery("#skypeStatus").css('color','#E9C639') ;
							jQuery("#skypeStatus").text('Online') ;
						} else if(jQuery(this).text() == "3"){
							jQuery("#skypeStatus").css('color','#ec5138') ;
							jQuery("#skypeStatus").text('Away') ;
						} else if(jQuery(this).text() == "4"){
							jQuery("#skypeStatus").css('color','#ec5138') ;
							jQuery("#skypeStatus").text('Not Available') ;
						} else if(jQuery(this).text() == "5"){
							jQuery("#skypeStatus").css('color','#ec5138') ;
							jQuery("#skypeStatus").text('Do Not Disturb') ;
						} else if(jQuery(this).text() == "6"){
							jQuery("#skypeStatus").css('color','#eca838') ;
							jQuery("#skypeStatus").text('No Idea!') ;
						} else if(jQuery(this).text() == "7"){
							jQuery("#skypeStatus").css('color','#E9C639') ;
							jQuery("#skypeStatus").text('Free to chat') ;
						} ;
						
					} ;
				}) ;
				
				// 2 Online ; 7 Skype Me ; 3 Away ; 4 Not Available ; 5 Do Not Disturb ; 1 Offline 
		},
		error: function(){
			jQuery("#skypeStatus").text('Error') ;
		}
	});
				
}