function standardemail(){
newwin= window.open('blank.html','standardemail','width=450,height=300');
newwin.focus();
var standhead = "
Standard Email to elected representative"
var standard ="Dear Elected Representative,
As one of our elected representatives, we are writing to you to express our concerns over the government’s treatment of asylum seekers. It is our view that the policy of indefinite mandatory detention is immoral and inhumane. It involves fundamental denials of human rights.
There are many people in Australia as well as Internationally who have been outraged over the government’s response to this issue.
As our elected representative, we urge you to take a strong stand in conscience on this issue.";
var sign = "
Your sincerely,
[your name],
"
newwin.document.write(standhead + standard+sign);
}
function tailoredemail(){
var standhead = "Your tailored email to elected representative";
var standard ="Dear Elected Representative,
As one of our elected representatives, we are writing to you to express our concerns over the government’s treatment of asylum seekers. It is our view that the policy of indefinite mandatory detention is immoral and inhumane. It involves fundamental denials of human rights.
There are many people in Australia as well as Internationally who have been outraged over the government’s response to this issue.
";
var after = "As our elected representative, we urge you to take a strong stand in conscience on this issue. ";
var sign = "
Your sincerely,
[your name],
";
var concern = "";
var concern1 = "";
var concern2 = "";
var concern3 = "";
var concern4 = "";
var concern5 = "";
var concern6 = "";
var concern7 = "";
var concern8 = "";
var concern9 = "";
var concern10 = "";
var concern11 = "";
if (document.forms[0].concern[0].checked) {
concern="No other government has gone to such great lengths to close its borders to people fleeing repression and terror. No other government has turned away leaking boats full of asylum seekers and refused to take responsibility for the consequences. No other government has so openly violated its international human rights obligations.
";
}
if (document.forms[0].concern_1[0].checked) {
concern1="Just days before the November 10 federal election, the Australian navy revealed that it had not told the government that asylum seekers were throwing their children into the ocean. Did the government lie about this incident to fuel its campaign to demonise asylum seekers? If this was a politically motivated lie, what else has been fabricated or covered up? Nothing less than a royal commission would have the power and authority to thoroughly investigate the Howard government's policies and actions toward asylum seekers, and the extent to which they violate international law and human rights.
";
}
if (document.forms[0].concern_2[0].checked){
concern2="As Australia's International reputation is damaged over our handling of this issue, so too this impacts on our security and economics. We lose trade, then jobs. We can't build positive inter-country relationships.
";
}
if (document.forms[0].concern_3[0].checked){concern3="We support a royal commission to: investigate the policy, enacted since the Tampa crisis, of intercepting asylum seekers coming to Australia by boat.
";}
if (document.forms[0].concern_3[0].checked){concern3="We support a royal commission to: investigate the policy, enacted since the Tampa crisis, of intercepting asylum seekers coming to Australia by boat.
";}
if (document.forms[0].concern_4[0].checked){concern4="We support a royal commission to: Investigate the policy of mandatory, non-reviewable detention.
";}
if (document.forms[0].concern_5[0].checked){concern5="We support a royal commission to: Investigate the pressuring of Pacific Island nations to take asylum seekers seeking to come to Australia and the export of Australia detention policy to Pacific Island nations through funding detention facilities.
";}
if (document.forms[0].concern_6[0].checked){concern6="We support a royal commission to: Investigate the legality of the new laws enacted in September, in particular: excision of parts of Australian territory from the Migration Act; the permanent ban on family reunion for asylum seekers deemed to have arrived 'illegally'; the effective removal of the right to judicial review; the government-legislated right to discriminate against refugees without documentation and those who have spent more than seven days in a third country on their way to Australia.
";
}
if (document.forms[0].concern_7[0].checked){concern7="We support a royal commission to: Investigate the process of refugee application and appeal, including the obligation to inform people of their rights and explain the processes so they can exercise those rights and the need for access to legal representation .
";}
if (document.forms[0].concern_8[0].checked){concern8="We support a royal commission to: Investigate the denial of family reunion rights to temporary protection visa holders, a restriction in place since 1999
";}
if (document.forms[0].concern_9[0].checked){concern9="We support a royal commission to: Investigate whether temporary protection visas and the system of mandatory detention violate the refugee convention, which forbids discrimination or punishment based on the method of arrival in Australia.
";}
if (document.forms[0].concern_10[0].checked){concern10="We support a royal commission to: Investigate the denial of work rights, Medicare, English classes and welfare access to those who apply for refugee status more than 45 days after arriving in Australia.
";}
if (document.forms[0].concern_11[0].checked){concern11="In case you are not aware, please see these facts in relation to this issue:
* basic facts and links: www.spareroomsforrefugees.com
* some disturbing facts about conditions: www.users.bigpond.com/burnside/detention.htm
* debunking myths about refugees: www.users.bigpond.com/burnside/facts.pdf
* some $costs in relation to detention: www.users.bigpond.com/burnside/costs.htm
* the pacific solution which is costs $500 million to $1 billion over 5 years: www.users.bigpond.com/burnside/nauru.htm
* other arguments: www.users.bigpond.com/burnside/argument.htm
";}
tailwin= window.open('','tailoredemail','width=500,height=500,scrollbars=yes');
tailwin.focus();
tailwin.document.write(standhead + standard);
tailwin.document.write(concern + concern1 + concern2 + concern3);
tailwin.document.write(concern4 + concern5 + concern6 + concern7);
tailwin.document.write(concern8 + concern9 + concern10 + concern11);
tailwin.document.write(after + sign);
}
function validate1(){
if (document.forms[0].yourname.value==""){
alert("Please enter your name and any other required fields and try again.");
document.forms[0].yourname.focus();
return false;
}
if (document.forms[0].emailaddress.value==""){
alert("Please enter your email address and any other required fields and try again.");
document.forms[0].emailaddress.focus();
return false;
}
if (validemail(document.forms[0].emailaddress.value)){alert("Please enter a valid email address only"); return false;}
var chosen = -1;
for (i=0;i -1) {
return true
}
}
atPos = email.indexOf("@",1)
if (atPos == -1) {
return true
}
if (email.indexOf("@",atPos+1) != -1) {
return true
}
periodPos = email.indexOf(".",atPos)
if (periodPos == -1) {
return true
}
if (periodPos+3 > email.length) {
return true
}
return false
}