/**
 * File: popAVIP.js
 * By: Hans Stammel (hans@avip.com.au)
 * for: AVIP.com.au - 1AVIP.net - avip.biz : AardVark IP and assoc Domains
 * and iShopWA.com - AVIPshop.com and assoc Domains 
 * Copyright 1999-2003
 * AardVark Internet Publishing : San Remo WA.
 * All rights reserved
 * revised: 27.July 2003 Currency Converter and openPicWin
 */

function popPic(url, windowName, w, h) 
{win1=window.open(url, windowName, "height=" + h + ",width=" + w + ",resizable=no,status=no,scrollbars=no,location=no,menubar=no,toolbar=no");}

function openPicWin(imageName,imageWidth,imageHeight,alt,posLeft,posTop) {
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html><title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()" onmousedown="self.close()">'); 
	newWindow.document.write('<img src='+imageName+' width='+imageWidth+' height='+imageHeight+' alt='+alt+'>'); 
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

function popWindow(url, w, h, windowName) 
{	win = window.open(url, windowName, "height=" + h + ",width=" + w + ",resizable=no,status=no,scrollbars=no,location=no,menubar=no,toolbar=no");}

// POP newWin Display Function
function newWin(theURL,winName,features)
{fenster01=window.open(theURL,winName,features)};

// POP openWindow Display Function
function openWindow(theURL,winName,features)
{fenster02=window.open(theURL,winName,features)};

// POP ShowMore Display Function
function showMore(theURL,winName)
{fenster03=window.open(theURL,winName,"width=420,height=345,scrollbars=0,top=20,screenY=20,left=100,screenX=100,resizable=no,menubar=no,directories=no,location=no,status=no")};

// POP PopConverter Display Function
function PopConverter()
  {window.open('http://www.ozforex.com.au/cal/generic/ozforexcal.asp','Remote', 'toolbar=no,menubar=no,scrollbars=no,resizable=no,status=no,location=no,directories=no,copyhistory=no,dependent=0,height=300,width=250');}

// POP AddURL Display Function
function AddURL()
{fenster05=window.open("http://www.WestAUS.info/addURL.htm","Contact","width=520,height=480,scrollbars=1,resizable=1")};

// POP AdSpace Function
function AdSpace()
{fenstera=window.open("http://www.avip.biz/banner/AdSpace.htm","adSpace","width=520,height=400,scrollbars=1,resizable=1")};
// POP Contact Display Function
function contact()
{fensterc=window.open("http://www.avip.biz/contact.htm","Contact","width=640,height=400,scrollbars=1,resizable=1")};
// Help Display Function
function help()
{fensterh=window.open("http://www.avip.biz/support/index.htm","AVIP","width=680,height=400,scrollbars=1,resizable=1,status=1")};
// Legal Display Function
function legal()
{fensterl=window.open("http://www.1avip.net/legal/copyright.htm","LEGAL","width=620,height=400,scrollbars=1")};
// SiteMap Display Function
function sitemap()
{fensterm=window.open("http://www.avip.biz/Sitemap/default.htm","AVIP","width=680,height=480,scrollbars=1,toolbar=1,resizable=1,status=1")
};
// News Display Function
function news()
{fenstern=window.open("http://www.avip.biz/News.htm","News","width=450,height=400,scrollbars=1")};
// Privacy Display Function
function privacy()
{fensterp=window.open("http://www.1avip.net/legal/privacy.htm","LEGAL","width=620,height=400,scrollbars=1")};
// Spam Display Function
function spam()
{fensters=window.open("http://www.1avip.net/legal/spam.htm","LEGAL","width=620,height=400,scrollbars=1")};
// AVIPServices Display Function
function services()
{fenstert=window.open("http://www.avip.biz/services.htm","AVIP","width=680,height=480,scrollbars=1,resizable=1")};

// Webdesign Display Function
function WebDesign()
{fenster10=window.open("http://www.avip.biz/WebDesign","WebDesign","width=680,height=520,scrollbars=1,resizable=1")};
// Webdesign Display Function
function webdesign()
{fenster11=window.open("http://www.avip.biz/WebDesign","WebDesign","width=680,height=520,scrollbars=1,resizable=1")};

// WebHost Display Function
function WebHost()
{fenster12=window.open("http://www.1avip.net/","WebHost","width=720,height=520,scrollbars=1,resizable=1")};
// WebHost Display Function
function webhost()
{fenster13=window.open("http://www.1avip.net/","WebHost","width=720,height=520,scrollbars=1,resizable=1")};

// POP Domain Registration Display Function
function DomReg()
{fenster20=window.open("http://www.1avip.net/POPDomReg.htm","DomReg","width=550,height=400,scrollbars=1,resizable=1")};
// POP Domain Registration Display Function
function DomInfo()
{fenster21=window.open("http://www.oz-net.com/Why-a-Domain/index.html","DomInfo","width=640,height=480,scrollbars=1,resizable=1")};


// TownMaps Display Function
function maps()
{fenster30=window.open("http://www.WestAUS.info/Maps/","Maps","width=660,height=480,scrollbars=1,resizable=1")};

// SSL Cert Display Function
function OpenCertDetails() {
	thewindow = window.open('https://www.thawte.com/cgi/server/certdetails.exe?code=USINFO141', 'certDetails', config='height=400,width=450,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,directories=no,status=yes');
}

// Date Function
function writeTheDate() {
	thisMonth = new Date();
	document.write("<font face=\"Arial, Helvetica, sans-serif\" size=\"-1\"><strong>");
	document.write((thisMonth.getMonth()+1) + "-" + thisMonth.getDate() + "-" + thisMonth.getFullYear());
	document.write("</strong></font>");
}