IE4 = ((navigator.appName=="Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4));
NS4 = ((navigator.appName=="Netscape") && (parseInt(navigator.appVersion) >= 4 ));



// purchase from application...

wParams = "toolbar,menubar,status,scrollbars,resizable";

function iPassAutoCL5(){

var iCL5in = window.location.search;

if (iCL5in.substring(1,4) == "FA-"){
    window.location='http://www.codelifter.com/index.html';
    iCL5url = 'http://www.codelifter.com/gate/cl5.html'+iCL5in;
    open(iCL5url,'PurchaseCL5',wParams);}

if (iCL5in.substring(1,4) == "CA-"){
    window.location='http://www.codelifter.com/pop5index.html';
    iCL5url = 'http://www.codelifter.com/gate/pum5.html'+iCL5in;
    open(iCL5url,'PurchasePUM5',wParams);}

if (iCL5in.substring(1,4) == "BA-"){
    window.location='http://www.codelifter.com/chmod2index.html';
    iCL5url = 'http://www.codelifter.com/gate/chmod2.html'+iCL5in;
    open(iCL5url,'PurchaseCHMOD2',wParams);}

if (iCL5in.substring(1,4) == "AA-"){
    window.location='http://www.codelifter.com/sbs55index.html';
    iCL5url = 'http://www.codelifter.com/gate/sbs55.html'+iCL5in;
    open(iCL5url,'PurchaseSBS55',wParams);}

if (iCL5in.substring(1,4) == "EC-"){
    window.location='http://www.codelifter.com/ec2index.html';
    iCL5url = 'http://www.codelifter.com/gate/ec2.html'+iCL5in;
    open(iCL5url,'PurchaseEC2',wParams);}

if (iCL5in.substring(1,4) == "FM-"){
    window.location='http://www.codelifter.com/fm5index.html';
    iCL5url = 'http://www.codelifter.com/gate/fm5.html'+iCL5in;
    open(iCL5url,'PurchaseFM5',wParams);}

} // end iCL5in



// purchase from site...

function winPurchaseCL5Main(){
open('http://www.codelifter.com/gate/cl5.html','PurchaseCL5',wParams);}

function winPurchasePUM5Main(){
open('http://www.codelifter.com/gate/pum5.html','PurchasePUM5',wParams);}

function winPurchaseCHMOD2Main(){
open('http://www.codelifter.com/gate/chmod2.html','PurchaseCHMOD2',wParams);}

function winPurchaseSBS55Main(){
open('http://www.codelifter.com/gate/sbs55.html','PurchaseSBS55',wParams);}

function winPurchaseEC2Main(){
open('http://www.codelifter.com/gate/ec2.html','PurchaseEC2',wParams);}

function winPurchaseFM5Main(){
open('http://www.codelifter.com/gate/fm5.html','PurchaseFM5',wParams);}




// supporting routines...

function winSupportMain(){
h = screen.height-200;
if (h > 308) h = 308;
wPS = "width=450,height="+h+",screenX=70,screenY=70,top=70,left=70";
open('http://www.codelifter.com/support/form.html','Support',wPS);
}

function winScreenShotsMain(){
h = screen.height-200;
if (h > 568) h = 568;
wPSS = "scrollbars,toolbar,resizable=yes, width=550,height="+h+",screenX=70,screenY=70,top=70,left=70";
open('http://www.codelifter.com/screenshots/screenshots.html','ScreenShots',wPSS);
}

function winFAQMain(){
h = screen.height-200;
if (h > 568) h = 568;
wPF = "scrollbars,toolbar,width=538,height="+h+",screenX=70,screenY=70,top=70,left=70";
open('http://www.codelifter.com/faq/faq.html','FAQ',wPF);
}

function doNada(){self.focus()}

function popMailMain(urlpg1,wpg1,hpg1) {nw=window.open(urlpg1,"",'toolbar=no,location=no,directories=no,menubar=no,scrollbars=no,status=no,resizable=0,width='+wpg1+',height='+hpg1)}

// downloads windows...

function winDownloadMain(){
h = screen.height-200;
if (h > 308) h = 308;
wPD = "width=450,height="+h+",screenX=70,screenY=70,top=70,left=70";
open('http://www.codelifter.com/download/download.html','Download',wPD);}

function winDownloadPUMMain(){
h = screen.height-200;
if (h > 308) h = 308;
wPD = "width=450,height="+h+",screenX=70,screenY=70,top=70,left=70";
open('http://www.codelifter.com/download/pum.download.html','DownloadPUM',wPD);}

function winDownloadCHMODMain(){
h = screen.height-200;
if (h > 308) h = 308;
wPD = "width=450,height="+h+",screenX=70,screenY=70,top=70,left=70";
open('http://www.codelifter.com/download/chmod.download.html','DownloadCHMOD',wPD);}

function winDownloadSBS55(){
h = screen.height-200;
if (h > 308) h = 308;
wPD = "width=450,height="+h+",screenX=70,screenY=70,top=70,left=70";
open('http://www.codelifter.com/download/sbs55.download.html','DownloadSBS',wPD);}

function winDownloadEC2(){
h = screen.height-200;
if (h > 308) h = 308;
wPD = "width=450,height="+h+",screenX=70,screenY=70,top=70,left=70";
open('http://www.codelifter.com/download/ec2.download.html','DownloadEC',wPD);}

function winDownloadFM(){
h = screen.height-200;
if (h > 308) h = 308;
wPD = "width=450,height="+h+",screenX=70,screenY=70,top=70,left=70";
open('http://www.codelifter.com/download/fm5.download.html','DownloadEC',wPD);}



