function loc(f,h,p){
if(self.location.host==h||self.location.host=='www.users.tpg.com.au'||self.location.host=='www4.tpgi.com.au'){
l=f+h+self.location.pathname;
l=l.replace(f+h+p+'//',f+h+p+'/');}
else{
l=self.location.href;}
return l;}
if(self.location.protocol=='http:'){
l=loc('http://','users.tpg.com.au','/sarina21');
if(top!=self||self.location.href!=l){
top.location.replace(l);}}
function doOnMouseOver(i){
window.status=i.defaultValue}
function doOnFocus(i){
if(i.value==i.defaultValue){
i.value=''}
if(i.value.length!=0){
i.select()}
window.status=i.defaultValue}
function doOnMouseOut(i){
window.status=window.defaultStatus}
function doOnBlur(i){
if(i.value.length==0){
i.value=i.defaultValue
window.status=window.defaultStatus}}
function doOnSubmit(i){
i.fn.value=trim(i.fn.value)
i.fe.value=trim(i.fe.value)
var n=false
i.pc.value=escape(document.location)
var msgError=''
if(i.fn.value==i.fn.defaultValue||i.fn.value==''){
n=true
i.fn.value==''
msgError+='\n*  '+i.fn.defaultValue}
if(i.fe.value==i.fe.defaultValue||i.fe.value==''){
i.fe.value==''
msgError+='\n*  '+i.fe.defaultValue}
else if(EmailCheck(i.fe.value)){
msgError+='\n*  E-mail (it was not correct)'}
if(msgError.length>0){
alert('First type your:'+msgError+'\nThen select \"Send\" again.')
if(n){
i.fn.select()}
else{
i.fe.select()}
return false}
else{
return true}}
function trim(s){
while(s.charAt(s.length-1)==' '+''){
s=s.substring(0,s.length-1)}
while(s.charAt(0)==' '+''){
s=s.substring(1,s.length)}
return s}
function EmailCheck(s){
return true}