/**
 * File: popOG.js
 * By: Hans Stammel (hans@avip.com.au)
 * for: OnlineGrower.com.au - OnlineGrower.net.au - OnlineGrower.com - OnlineGrower.co.uk 
 * - FloristAustralia.net.au - Florist-Australia.net.au - FloristAustralia.co.uk - AustraliaFlorist.co.uk
 * - MainlyRoses.net.au  and assoc Domains
 * Copyright 1999-2003
 * AardVark Internet Publishing and Web Design : AVIP San Remo WA.
 * All rights reserved
 * revised: 17.August 2003
 */

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');}

// OG POP Secure Function
function Secure()
{fenster10=window.open("https://secure.onlinegrower.com.au/order3.php","Secure","width=600,height=400,scrollbars=1,resizable=1,status=1")};
// OG Privacy Display Function
function privacy()
{fenster11=window.open("http://www.onlinegrower.com.au/POPprivacy.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};
// OG F A Q  Display Function
function FAQ()
{fenster11=window.open("http://www.onlinegrower.com.au/POPFAQ.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};
// OG news Display Function
function news()
{fenster11=window.open("http://www.onlinegrower.com.au/POPnews.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};
// OG press Display Function
function press()
{fenster11=window.open("http://www.onlinegrower.com.au/POPpress.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};

// OG How to Order Display Function
function orderhow()
{fenster11=window.open("http://www.onlinegrower.com.au/POPorderhow.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};
// OG Guarantee and Refund Policy Display Function
function guarantee()
{fenster11=window.open("http://www.onlinegrower.com.au/POPguarantee.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};

// OG General Enquiry Form Display Function
function EnquiryForm()
{fenster11=window.open("http://www.onlinegrower.com.au/POPenquiryForm.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};
// OG Competition Form Display Function
function competition()
{fenster11=window.open("http://www.onlinegrower.com.au/POPcompetition.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};
// OG Customer Survey Form Display Function
function survey()
{fenster11=window.open("http://www.onlinegrower.com.au/POPsurvey.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};

// OG Previous Order Pictures Display Function
function previous()
{fenster11=window.open("http://www.onlinegrower.com.au/POPprevious.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};
// OG Testimonials Display Function
function testimonials()
{fenster11=window.open("http://www.onlinegrower.com.au/POPtestimonials.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};
// OG Quotes of the Week Display Function
function quotes()
{fenster11=window.open("http://www.onlinegrower.com.au/POPquotes.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};
// OG Care for Flowers and Plants Display Function
function care()
{fenster11=window.open("http://www.onlinegrower.com.au/POPcare.htm","Florist","width=620,height=400,scrollbars=1,resizable=1")};



// - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
// AVIP POP GENERAL Functions

// 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=550,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")};
// 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")};

// 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>");
}