The relationship between Australia and Indonesia is one of the most complex in the Asian region. The aftermath of the most recent terrorist attack in Bali, in which four Australians were killed and 100 people injured, has further illustrated that complexity. Australians are Janus-faced in their attitude to Indonesia, and the Australian government is similarly disposed. Whereas it perceives China as a land of opportunity both in a strategic and economic sense, Indonesia is not nearly so straightforward. A survey commissioned this year by a leading foreign-policy think-tank in Sydney, the Lowy Institute, found that just 52 per cent of Australians view Indonesia positively. This compares to 69 per cent who see China in a good light. The brittleness of Australian attitudes towards Indonesia has been underscored this year by the extraordinary outpouring of goodwill after the Boxing Day tsunami, followed by the racism-laden hostility after a young Australian woman, Schapelle Corby, was found guilty in Bali of drug trafficking in May. Today, while some holidaymakers have said they will avoid Bali, others are determined to continue to support the local tourism industry, despite the most recent bombing. Many of those Australians who contributed money for tsunami relief, only a few months later, were cheering a Sydney media commentator who called Corby's judges 'monkeys'. And thousands more Australians were preparing to boycott Bali as a holiday destination. At a government-to-government level, the administration of Australian Prime Minister John Howard and that of Indonesian President Susilo Bambang Yudhoyono have an extraordinarily robust relationship. Since the 2002 Bali bombing, security co-operation between the two governments has been stepped up, and Australia's aggressive and speedy response to the tsunami helped to strengthen trust. But Australia's participation in the war in Iraq as a member of US President George W. Bush's 'coalition of the willing' is deeply unpopular in Indonesia, as Richard Woolcott, a former Australian ambassador to Indonesia, and one of Australia's most experienced Indonesia watchers, said in a speech last month. The contrast here, too, with Australia's ties with China is worthy of mention. Australia has twice, in the past 12 months, been prepared to risk the ire of the United States to strengthen its relationship with Beijing. Last year, Australian Foreign Minister Alexander Downer told his hosts in the Chinese capital that Australia would not necessarily fight beside the US if the mainland attacked Taiwan. In February this year, the government defended its decision not to support the Bush administration's effort to prevent the European Union from lifting its arms embargo against China. But, as Mr Woolcott noted, Canberra has not been as accommodating towards Indonesia. 'Indonesia is concerned by Australian plans to acquire and deploy missiles which will put Indonesia within range,' he said. It is not surprising that relations are inherently difficult between a fragile democracy of 241 million - which houses the world's largest Islamic population - and a strongly pro-western island nation of only 20 million people. But, as Australia has shown in its dealings with its other big neighbour, China, in recent years, carefully cutting your diplomatic cloth to suit the occasion can help in alleviating tensions, misunderstandings and anxiety. Greg Barns is a political commentator in Australia and a former Australian government adviser