<!--
// original variable changed from 'copyright' because datetime2.js uses var 'Stamp'
Stamp=new Date();
update=Stamp.getFullYear();

function myVoid() { ; } // create a void function

//Hide status bar msg script- by javascriptkit.com
//Visit JavaScript Kit (http://javascriptkit.com) for script
//Credit must stay intact for use

//configure status message to show
var statusmsg=""

function goBack(){
history.go(-1)
}

function exit(){
input_box=confirm("Click OK to close browser window or Cancel");
if (input_box==true){

// Output when OK is clicked
if (navigator.appName == "Microsoft Internet Explorer"){ // better be ie6 at least
parent.window.close();
NewWindow('http://www.aapress.com.au/101online/exit.html','mywin','530','375','no','center');
}
else{
parent.window.close();
}
}
}

function goForward(){
history.go(1)
}

var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){
LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;
TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){
LeftPosition=(screen.width)?(screen.width-w-32):100;
TopPosition="29";}

settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';

win=window.open(mypage,myname,settings);
}

function dblclick() {
	window.scrollTo(0,0)
}
if (document.layers) {
	document.captureEvents(Event.ONDBLCLICK);
}
document.ondblclick=dblclick;

function MM_jumpMenu(targ,selObj,restore){ //v3.0 
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); 
if (restore) selObj.selectedIndex=0; 
} 
function MM_findObj(n, d) { //v3.0 
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { 
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} 
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; 
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x; 
} 
function MM_jumpMenuGo(selName,targ,restore){ //v3.0 
var selObj = MM_findObj(selName); if (selObj) MM_jumpMenu(targ,selObj,restore); 
} 

function addBookmark(title,url) {
if ( window.sidebar ) {
window.sidebar.addPanel(title, url,"");
} else if( document.all ) {
window.external.AddFavorite( url, title);
} else if( window.opera && window.print ) {
}
} 
//-->