

                        hideables=0;
                        menuTimer=0;



                        var bookmarkurl="http://www.AmeriCanGOTV.com/"
                        var bookmarktitle="AmeriCanGOTV Website"
                        function addbookmark()
                        {
                        if (document.all)
                        window.external.AddFavorite(bookmarkurl,bookmarktitle)
                        }



                        function ov(myObj,myState,myStr,xA,yA,xB,yB) {
                                clrT();
                                //highlight(myObj,myState);
                                //hA();
                                sLs(myStr);
                                sBB(xA,yA,xB,yB);
                                }

                        function ou(myObj,myState) {
                                clsT();
                                //highlight(myObj,myState)
                                }

                        function highlight(that, state) {

                                }

                        function highlightside(that, state) {

                                }



                        function clsT() {
                                menuTimer=setTimeout("hideMenusAndIndicator()",1000);
                                }


                        function clrT() {
                                clearTimeout(menuTimer);
                                }

                        function hideMenusAndIndicator() {
                                hA();
                                for (j=0;j<hideables.length;j++) {
                                                showLayer(hideables[j][0]);
                                                }
                                        }


                        function clsTside() {
                                menuTimerside=setTimeout("hideMenusAndIndicatorside()",50000);

                                }

                        function clsTsideImage(img_name,img_src) {
                                menuTimerImage=setTimeout("navhover(img_name,img_src)",1000);
                                }

                        function navhover(img_name,img_src)
                                {
                                document[img_name].src=img_src;
                                }

                        function clrTside() {
                                clearTimeout(menuTimerside);
                                //clearTimeout(menuTimerImage);
                                }

                        function hideMenusAndIndicatorside() {
                                hAside();
                                //changeImages(refname,imagename)
                                for (j=0;j<hideables.length;j++) {
                                                showLayer(hideables[j][0]);
                                                }
                                        }


                        popped=new Array(0,0,0,0,0);



                        function menuItem(name,x,y,z,str,x1,y1,x2,y2,element) {
                                sLP(name,x,y,z);
                                hA();
                                sLs(str);
                                sBB(x1,y1,x2,y2);
                                tOv(element);
                                }

                        function popTop(menu,x1,y1,x2,y2) {
                                menu--;
                                hA();

                                        showLayer('m1l'+(menu+1));
                                        sBB(x1,y1,x2,y2);

                                }
                        function popTop2(menu,x1,y1,x2,y2) {
                                menu--;
                                hAside();

                                        showLayer('m2l'+(menu+1));
                                        sBB(x1,y1,x2,y2);

                                }


                        function hA() {
                                hideLayer('m1l1','m1l2','m1l3','m1l4','m1l5');
                                }



                        function hAside() {
                                hideLayer();
                                }





                        function sLs(str) {
                                while (str.indexOf('l')>-1) {
                                        showLayer('m'+str);
                                        str=str.substring(0,str.lastIndexOf('l'));
                                        }
                                }

                                                function newImage(arg) {
                                if (document.images) {
                                        rslt = new Image();
                                        rslt.src = arg;
                                        return rslt;
                                }
                        }

                        function changeImages() {
                                if (document.images && (preloadFlag == true)) {
                                        for (var i=0; i<changeImages.arguments.length; i+=2) {
                                                document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
                                        }
                                }

                        }
                        function winstat(stat){
                                window.status=stat;
                                }

                        var preloadFlag = true;
                        if (document.images) {
                                software_on = newImage("images/software-on.jpg");
                                anav_solutions_over = newImage("/images/anav_solutions_over.gif");
                                anav_support_over = newImage("/images/anav_support_over.gif");
                                anav_purchase_over = newImage("/images/anav_purchase_over.gif");
                                anav_company_over = newImage("/images/anav_company_over.gif");

                                preloadFlag = true;
                        }





                        function tOv(element) {
                                element.style.color='#000000';
                                }


                        function tOf(element) {
                                element.style.color='#000000';
                                }

                        function showLayer() {
                           var n=showLayer.arguments.length;
                           for (var i=0; i<n; i++) {
                             var lyr = getLayer(showLayer.arguments[i]);
                             if(lyr) {
                                            lyr.visibility="visible";
                             }
                           }
                        }

                        function hideLayer() {
                           var n=hideLayer.arguments.length;
                           for (var i=0; i<n; i++) {
                             var lyr = getLayer(hideLayer.arguments[i])
                             if(lyr) {
                                            lyr.visibility = "hidden";
                             }
                           }
                        }





                                function sBB(x1,y1,x2,y2) {
                                if (!hideables) {
                                        var myLayers=new Array();
                                        myLayers=document.getElementsByTagName('div');
                                        hideables= new Array();
                                        re=/^(swf|form)(\d+)l(\d+)l(\d+)l(\d+)$/;
                                        count=0;
                                        for (i=0; i<myLayers.length; i++) {
                                                a=myLayers[i].id.match(re);
                                                if (a != null) {
                                                        hideables[count]=new Array();
                                                        hideables[count][0]=myLayers[i].id;
                                                        hideables[count][1]=RegExp.$2
                                                        hideables[count][2]=RegExp.$3
                                                        hideables[count][3]=RegExp.$4
                                                        hideables[count][4]=RegExp.$5
                                                        count++;
                                                        }
                                                }
                                        }

                                for (j=0;j<hideables.length;j++) {
                                        xx1=hideables[j][1];
                                        yy1=hideables[j][2];
                                        xx2=hideables[j][3];
                                        yy2=hideables[j][4];

                                        if (x2<xx1 || y2<yy1 || x1>xx2 || y1>yy2) {
                                                showLayer(hideables[j][0]);
                                                }
                                        else {
                                                hideLayer(hideables[j][0]);
                                                }
                                        }
                                }


                        function sLP(name, x, y,z) {
                                var lyr = getLayer(name)
                                if(lyr) {
                                                lyr.left= x
                                                lyr.top=y
                                        if (z) {
                                                lyr.zIndex=z
                                                }
                                        }
                                }

                        function getLayer(name) {
                                if(typeof name != "string") return name;
                                        return document.getElementById(name).style;
                                return null
                                }





var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var calunits=document.layers? "" : "px"

var bouncelimit=-16 //(must be divisible by 8)
var direction="up"


function initbox(div){
if (!dom&&!ie&&!ns4)
return
crossobj=(dom)?document.getElementById(div).style : ie? document.all.dropin : document.dropin
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
crossobj.top=scroll_top+calunits   //-800+calunits            // start postion... larger the number the higher it starts
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",50)
}

function dropin(){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
if (parseInt(crossobj.top)< 0 +scroll_top)               //(50) is distance from top
crossobj.top=parseInt(crossobj.top)+80+calunits         //(40) speed of entry... larger is faster
else{
clearInterval(dropstart)
//bouncestart=setInterval("bouncein()",1)
}
}

function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}

function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility="hidden"
}

function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}



// preload images

var myimages=new Array()
function preloadimages(){
for (i=0;i<preloadimages.arguments.length;i++){
myimages[i]=new Image()
myimages[i].src=preloadimages.arguments[i]
}
}


//Enter path of images to be preloaded inside parenthesis. Extend list as desired.
/*
'images/opening/SoftwareSolutions-pop.gif',
			  'images/opening/SeminarsAndWorkshops-pop.gif',
			  'images/opening/CampaignManagement-pop.gif',
			  'images/opening/PoliticalWebsiteDevelopment.gif',
			  'images/opening/PoliticalForum-pop.gif',
			  'images/opening/TangibleResults.gif',
			  'images/1-newtopleftbk.jpg','images/1-newtoprightbk.jpg','images/1-newtopleftlogo.gif',
        'images/1-newtopcurve.jpg','images/1-newrightbottomcurve.jpg','images/popdropin-background.jpg',
        'images/sidebox1-1.jpg','images/sidebox1-3.jpg','images/sidebox2-1.jpg',
        'images/sidebox2-2.jpg','images/sidebox2-3.jpg','images/sidebox3-1.jpg',
        'images/sidebox3-2.jpg','images/sidebox3-3.jpg',
        'images/dis1-1.jpg','images/dis1-2.jpg','images/dis1-3.jpg',
        'images/dis2-1.jpg','images/dis2-2.jpg','images/dis2-3.jpg',
        'images/dis3-1.jpg','images/dis3-2.jpg','images/dis3-3.jpg',
		'images/toppic1.gif',
        'images/1topleftlogo.gif','images/toppic1.gif','images/arrow-d-off.gif','images/1downloads-on.gif','images/1downloads-off.gif',
        'images/1productinfo-on.gif','images/1productinfo-off.gif',
        'images/1cusotmerstories-on.gif','images/1customerstories-off.gif',
        'images/1reviewsnews-on.gif','images/1reviewsnews-off.gif',
        'images/1support-on.gif','images/1support-off.gif',
        'images/1communityforum-on.gif','images/1communityforum-off.gif',
        'images/1relatedproducts-on.gif','images/1relatedproducts-off.gif',
        'images/1systemrequirements-on.gif','images/1systemrequirements-off.gif',
        'images/1licensingprograms-on.gif','images/1licensingprograms-off.gif',
        'images/side-2men.gif','images/side-2women.gif','images/side-man1.gif','images/side-mancity.gif',
        'images/side-manweb.gif','images/side-paige.gif','images/side-womenyes.gif',
        'toppic1.gif','images/toppic2.gif','images/toppic3.gif','images/toppic4.gif','images/toppic5.gif','images/toppic6.gif','images/toppic7.gif'
'images/home-off.gif','images/software-off.gif','images/publications-off.gif','images/seminars-off.gif','images/websites-off.gif','images/company-off.gif','images/spacer33.gif'
*/
			  
preloadimages(
			  
			  
			  
			  
			  'images/home-on.gif',
        'images/software-on.gif',
        'images/publications-on.gif',
        'images/seminars-on.gif',
        'images/websites-on.gif',
        'images/company-on.gif',
        
        'images/dropdownbackground.jpg',
        'images/americanbackground.gif','images/CloseWindow.gif'
        )





