﻿<!--
if (typeof(SymWinOpen) != "undefined") {
	window.open = SymRealWinOpen;
}
window.onerror = null;

function sendStart(theForm) {
	theForm.submit;
}
	
function _page_continue(form) {
  var successful = true;
  var elements = form.elements;
  for (var i = 0; successful && i < elements.length; i++) {
    if (elements[i].validate) {
      successful = elements[i].validate();
    }
  }
  return successful;
}
function systemCheck()
{
  //if (!is_win)
    //openPage2('non_win.htm');
  //else 
  if ( is_win && is_win16)  
    openPage2('old_win.htm');    
  else if (is_ie) 
    if(!is_ie4up)
      openPage('upgrade_browser.htm');
  else if (is_nav)
    if(!is_ns4up)
      openPage('upgrade_browser.htm');
}

function PopupNewPage(url, name, x, y, width, height) {
  this.url = url;
  this.name = name;
  this.x = x;
  this.y = y;
  this.width = width;
  this.height = height;

  this.status = true;
  this.toolbar = false;
  this.location = false;
  this.scrollbars = true;
  this.resizable = true;
  this.dependent = false;

  this.open = PopupWindow_open;
}

function PopupNewPageWithNav(url, name, x, y, width, height) {
  this.url = url;
  this.name = name;
  this.x = x;
  this.y = y;
  this.width = width;
  this.height = height;

  this.status = true;
  this.toolbar = true;
  this.location = true;
  this.scrollbars = true;
  this.resizable = true;
  this.dependent = false;

  this.open = PopupWindow_open;
}

function PopupNewPageNetscape(url, name, x, y, width, height) {
  this.url = url;
  this.name = name;
  this.x = x;
  this.y = y;
  this.outerWidth = width;
  this.outerHeight = height;

  this.status = true;
  this.toolbar = true;
  this.location = true;
  this.scrollbars = true;
  this.resizable = true;
  this.dependent = false;

  this.open = PopupWindow_open;
}

function openPage(file) {
  var width = 390;
  var height = 315;
  var popup = new PopupNewPage(ROOT_PATH + file, "browser_upgrade", screen.availWidth - width - 100, 100, width, height);
  popup.open();
}

function openPage2(file) {
  var width = 390;
  var height = 252;
  var popup = new PopupNewPage(ROOT_PATH + file, "non_windows", screen.availWidth - width - 100, 100, width, height);
  popup.open();
}
function openPage3(file) {
  var width = 650;
  var height = 315;
  var popup = new PopupNewPageWithNav(ROOT_PATH + file, "company_name_avail", screen.availWidth - width - 100, 100, width, height);
  popup.open();
}
function openPage4(urlName) {
  var width = 500;
  var height = 415;
  var popup = new PopupNewPageNetscape(urlName, "adobe", 100, 100, width, height);
  popup.open();
}


function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
<!-- // HIDE SCRIPT
function PopupPDF(pdf) {
	var popup = new PopupWindow(ROOT_PATH + pdf, "popWindow", 50, 50, screen.availWidth-100, screen.availHeight-100);

	popup.toolbar = false;
	popup.location = false; 
	popup.directories = false;
	popup.status = true;
	popup.titlebar = false; 
	popup.menubar = false; 
	popup.scrollbars = true;
  	popup.resizable = true;
  	popup.dependent = true;
  	popup.status = false;
  	window.guidancePopup = popup.open();

 /*NewWindow = window.open("" ,"popUp","toolbar=no,location=no,directories=no,status=yes,titlebar=no,menubar=no,scrollbars=yes,resizable=yes");
        	NewWindow.document.write("<html><title>Incorporator - Australian Company Incorporations</title>");
        	NewWindow.document.write("<body leftmargin='0' topmargin='0' marginwidth='0'marginheight='0'>");
        	NewWindow.document.write("<embed src='"+ pdf +"' width='100%' height='100%' href='"+pdf+"'>");
        	NewWindow.document.write("</embed></body></html>");
 if (!((navigator.appName == "Microsoft Internet Explorer") && (navigator.appVersion.substring(0, 3) < "3")))
        {
                NewWindow.focus();
        }*/
}

function Popup(){
        var popup = new PopupWindow(ROOT_PATH + "https://www.westpac.com.au/westpac-security-assurance1", "popWindow", 0, 0, 560, 300);

	popup.toolbar = false;
	popup.location = false;
	popup.directories = false;
	popup.status = true;
	popup.menubar = false;
	popup.scrollbars = true;
	popup.copyhistory = false;

  	popup.resizable = true;
  	popup.dependent = true;
  	popup.status = false;
  	window.guidancePopup = popup.open();
        
}

function PopupTestimonials(){
        
        //var popup = new PopupWindow(ROOT_PATH + "/testimonials.asp", "popWindow", 150, 50, screen.availWidth-150, screen.availHeight-150);
        var popup = new PopupWindow(ROOT_PATH + "/testimonials.asp", "popWindow", 110, 100, 760, 500);
        //var popup = new PopupWindow(ROOT_PATH + "/testimonials.asp", "popWindow", 110, 100, 560, 300);

  	popup.toolbar = false;
  	popup.location = false;
  	popup.directories = false;
  	popup.status = true;
  	popup.menubar = false;
  	popup.scrollbars = true;
  	popup.copyhistory = false;
  	
  	popup.resizable = true;
  	popup.dependent = true;
  	popup.status = false;
  	window.guidancePopup = popup.open();
        
}

function PopupSmallWindow(address){
        
    var popup = new PopupWindow(address, "popWindow", 110, 100, 760, 500);

  	popup.toolbar = false;
  	popup.location = false;
  	popup.directories = false;
  	popup.status = true;
  	popup.menubar = false;
  	popup.scrollbars = true;
  	popup.copyhistory = false;
  	
  	popup.resizable = true;
  	popup.dependent = true;
  	popup.status = false;
  	window.guidancePopup = popup.open();
        
}


var popupFeatures = "left=120,top=100,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=400";

function PopupCCH(){
        
        var popup = new PopupWindow(ROOT_PATH + "http://www.cch.com.au/techawards2001.htm#crit", "popWindow", popupFeatures);

  	popup.resizable = true;
  	popup.dependent = true;
  	popup.status = false;
  	window.guidancePopup = popup.open();
        
}

function PopupNine(){
        // JC 08/03/2004 New page for this link, old link was removed.
	// var popup = new PopupWindow(ROOT_PATH + "http://news.ninemsn.com.au/smallbusiness/events_comps/story_2133.asp", "popWindow", popupFeatures);
	var popup = new PopupWindow(ROOT_PATH + "/download_small_business_show.asp", "popWindow", 120, 100, 600, 400);

  	popup.resizable = true;
  	popup.dependent = true;
  	popup.status = false;
  	window.guidancePopup = popup.open();
        
}

function PopupAP(){
        var popup = new PopupWindow(ROOT_PATH + "/QBR.asp", "popWindow", 120, 100, 600, 400);

  	popup.resizable = true;
  	popup.dependent = true;
  	popup.status = false;
  	window.guidancePopup = popup.open();
        
}

function BookMark() {

	if (navigator.appName =="Microsoft Internet Explorer") {
	  window.external.addFavorite("http://www.incorporator.com.au",document.title );
	   
	} else {
		if (navigator.appName =="Netscape") {
		alert(' Please press Crtl + D to add Incorporator to your bookmarks. ');
		} else {
		alert('Please press Crtl + D to add Incorporator to your bookmarks. ' );
		}
	}
}

// END HIDE -->
