
// <!-- 

{
// green navigation
button1 = new Image;
button1.src = "../../images/nav/green/price_quote.gif";

button2 = new Image;
button2.src = "../../images/nav/green/test_drive.gif";

button3 = new Image;
button3.src = "../../images/nav/green/live_demo.gif";

button4 = new Image;
button4.src = "../../images/nav/green/buy_vertabase.gif";

button5 = new Image;
button5.src = "../../images/nav/green/project_management_tour.gif";
// end of green navigation

// green navigation rollover
button1on = new Image;
button1on.src = "../../images/nav/green/price_quote_roll.gif";

button2on = new Image;
button2on.src = "../../images/nav/green/test_drive_roll.gif";

button3on = new Image;
button3on.src = "../../images/nav/green/live_demo_roll.gif";

button4on = new Image;
button4on.src = "../../images/nav/green/buy_vertabase_roll.gif";

button5on = new Image;
button5on.src = "../../images/nav/green/project_management_tour_roll.gif";
// end of green navigation rollover



// start of orange navigation 
button10 = new Image;
button10.src = "../../images/nav/orange/home.gif";

button11 = new Image;
button11.src = "../../images/nav/orange/case_studies.gif";

button12 = new Image;
button12.src = "../../images/nav/orange/pricing.gif";

button13 = new Image;
button13.src = "../../images/nav/orange/project_management_news.gif";

button14 = new Image;
button14.src = "../../images/nav/orange/about_us.gif";

button15 = new Image;
button15.src = "../../images/nav/orange/contact_us.gif";

button16 = new Image;
button16.src = "../../images/nav/orange/vertabase_blog.gif";

button17 = new Image;
button17.src = "../../images/nav/orange/support.gif";
// end of orange navigation 

// atart of orange navigation 
button10on = new Image;
button10on.src = "../../images/nav/orange/home_roll.gif";

button11on = new Image;
button11on.src = "../../images/nav/orange/case_studies_roll.gif";

button12on = new Image;
button12on.src = "../../images/nav/orange/pricing_roll.gif";

button13on = new Image;
button13on.src = "../../images/nav/orange/project_management_news_roll.gif";

button14on = new Image;
button14on.src = "../../images/nav/orange/about_us_roll.gif";

button15on = new Image;
button15on.src = "../../images/nav/orange/contact_us_roll.gif";

button16on = new Image;
button16on.src = "../../images/nav/orange/vertabase_blog_roll.gif";

button17on = new Image;
button17on.src = "../../images/nav/orange/support_roll.gif";
// end of orange navigation 



// green navigation
button20 = new Image;
button20.src = "../../images/nav/green/price_quote.gif";
// end of green navigation



// start of orange navigation 
button60 = new Image;
button60.src = "../../images/nav/footer/home.gif";

button61 = new Image;
button61.src = "../../images/nav/footer/case_studies.gif";

button62 = new Image;
button62.src = "../../images/nav/footer/pricing.gif";

button63 = new Image;
button63.src = "../../images/nav/footer/project_management_news.gif";

button64 = new Image;
button64.src = "../../images/nav/footer/about_us.gif";

button65 = new Image;
button65.src = "../../images/nav/footer/contact_us.gif";

button66 = new Image;
button66.src = "../../images/nav/footer/vertabase_blog.gif";

button67 = new Image;
button67.src = "../../images/nav/footer/support.gif";
// end of orange navigation 

// atart of orange navigation 
button60on = new Image;
button60on.src = "../../images/nav/footer/home_roll.gif";

button61on = new Image;
button61on.src = "../../images/nav/footer/case_studies_roll.gif";

button62on = new Image;
button62on.src = "../../images/nav/footer/pricing_roll.gif";

button63on = new Image;
button63on.src = "../../images/nav/footer/project_management_news_roll.gif";

button64on = new Image;
button64on.src = "../../images/nav/footer/about_us_roll.gif";

button65on = new Image;
button65on.src = "../../images/nav/footer/contact_us_roll.gif";

button66on = new Image;
button66on.src = "../../images/nav/footer/vertabase_blog_roll.gif";

button67on = new Image;
button67on.src = "../../images/nav/footer/support_roll.gif";
// end of orange navigation 



// start of call to actions
button40 = new Image;
button40.src = "../../images/projects/test_drive_free.gif";

button41 = new Image;
button41.src = "../../images/projects/live_demo.gif";

button42 = new Image;
button42.src = "../../images/projects/tour_free.gif";

button43 = new Image;
button43.src = "../../images/projects/buy_vertabase.gif";


button45 = new Image;
button45.src = "../../images/projects/test_drive_free.gif";

button46 = new Image;
button46.src = "../../images/projects/live_demo.gif";

button47 = new Image;
button47.src = "../../images/projects/tour_free.gif";

button48 = new Image;
button48.src = "../../images/projects/buy_vertabase.gif";


button55 = new Image;
button55.src = "../../images/projects/price_quote2.gif";

button56 = new Image;
button56.src = "../../images/projects/live_demo2.gif";

button57 = new Image;
button57.src = "../../images/projects/tour_free2.gif";


button84 = new Image;
button84.src = "../../images/buttons/free_test_drive.gif";

button85 = new Image;
button85.src = "../../images/buttons/live_demo.gif";

button86 = new Image;
button86.src = "../../images/buttons/price_quote.gif";
// end of call to actions

// start of call to actions
button40on = new Image;
button40on.src = "../../images/projects/test_drive_free_roll.gif";

button41on = new Image;
button41on.src = "../../images/projects/live_demo_roll.gif";

button42on = new Image;
button42on.src = "../../images/projects/tour_free_roll.gif";

button43on = new Image;
button43on.src = "../../images/projects/buy_vertabase_roll.gif";


button45on = new Image;
button45on.src = "../../images/projects/test_drive_free_roll.gif";

button46on = new Image;
button46on.src = "../../images/projects/live_demo_roll.gif";

button47on = new Image;
button47on.src = "../../images/projects/tour_free_roll.gif";

button48on = new Image;
button48on.src = "../../images/projects/buy_vertabase_roll.gif";


button55on = new Image;
button55on.src = "../../images/projects/price_quote2_roll.gif";

button56on = new Image;
button56on.src = "../../images/projects/live_demo2_roll.gif";

button57on = new Image;
button57on.src = "../../images/projects/tour_free2_roll.gif";


button84on = new Image;
button84on.src = "../../images/buttons/free_test_drive_roll.gif";

button85on = new Image;
button85on.src = "../../images/buttons/live_demo_roll.gif";

button86on = new Image;
button86on.src = "../../images/buttons/price_quote_roll.gif";
// end of call to actions




}
function imageChange(imageID,imageName,imageID2,imageName2) { 

{
document.images[imageID].src = eval(imageName + ".src");
}

}


// popup new window

function openit(sURL,scrolls,w,h,name){
var sNewURL;
sNewURL = sURL + "?id=" + Math.random();
newwindow=open(sNewURL,name,"scrollbars=" + scrolls +",toolbar=no,directories=no,menubar=no,resizable=no,status=yes,width=" + w + ",height=" + h);
newwindow.focus();
}


// check email address
function isEmpty(str) {
	return (str.replace(/^[\s]+/g, "") == "");
	}
		
    function validate() {
        var error_msg = '';
        
        if (isEmpty(document.data.Email.value)) {
            error_msg = error_msg + '- Please enter an Email Address. Email Addresses must have the format: email@domain.com.\n';
        } else if (document.data.Email.value.search(/^[\w-_,;:\.']+@[\w-_,;:\.']+\.[a-z]{2,3}$/) == -1) {
            error_msg = error_msg + '- Please enter a valid Email Address. Email Addresses must have the format: email@domain.com.\n';
        }

        if (error_msg != '') { 
            alert("The following fields have errors:\n" + error_msg);
            return false; 
        }

      }


function contact(){
  var asdfadsg = 'con' + 'tact'; asdfadsg += '@'; asdfadsg += 'vert' + 'a' + 'base.c' + 'om';
  document.write( '<A HREF="mai' + 'lt' + 'o:' + asdfadsg + '"'); 
  document.write( '>' + asdfadsg + '</A>' );
}

function contact2(){
  var asdfadsg = 'con' + 'tact'; asdfadsg += '@'; asdfadsg += 'vert' + 'a' + 'base.c' + 'om';
  document.write( '<A HREF="mai' + 'lt' + 'o:' + asdfadsg + '?subject=Password retrieval test drive'); 
  document.write( '">' + asdfadsg + '</A>' );
}

function jason(){
  var asdfadsg = 'ma' + 'rk'; asdfadsg += '@'; asdfadsg += 'ver' + 'ta' + 'base.c' + 'om';
  document.write( '<A HREF="mai' + 'lt' + 'o:' + asdfadsg + '"'); 
  document.write( '>' + asdfadsg + '</A>' );
}

function blevy() {
var _u   = "mark";
var _d = "vertabase.com";
var _l   = _u + "@" + _d;
var _m = "contact us";
document.write("<a href='mailto:"+_l+"?subject=Access to Vertabase Demo'>"+_m+"</a>");
}

// -->
