//function blockError(){return true};window.onerror=blockError

var scroller;
var actualtitle=document.title+""
var Digital=new Date()
var mydate=new Date()
var year=mydate.getYear()
if(year<1000) year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if(daym<10) daym="0"+daym
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
function scroll(){
var scroller=" "+dayarray[day]+" : "+montharray[month]+" : "+daym+" : "+year+" : : "
var Today=new Date();
var hours=Today.getHours();
var min=Today.getMinutes();
var sec=Today.getSeconds();
var Time=((hours > 12) ? hours - 12 :(hours == 0) ? 12 :hours);
Time +=((min < 10) ? ":0" : ":") + min;
Time +=((sec < 10) ? ":0" : ":") + sec;
Time +=(hours >= 12) ? " PM" : " AM";
var timeout=setTimeout("scroll()",1000)
document.title=actualtitle+scroller+Time
}
if(document.all||document.getElementById)
scroll()

function shwCk(){
if (!document.all&&!document.getElementById)
return
//thelement=document.getElementById? document.getElementById("tick"):document.all.tick
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="PM"
if (hours<12) dn="AM"
if (hours>12) hours=hours-12
if (hours==0) hours=12
if (minutes<=9) 
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
var ctime=hours+":"+minutes+":"+seconds+" "+dn
//thelement.innerHTML=" "+ctime+" "
setTimeout("shwCk()", 1000)
}
function shwDt(){
if(!document.all&&!document.getElementById)return;
thelement=document.getElementById? document.getElementById("date"):document.all.date;
var mydate=new Date();
var year=mydate.getYear();
if(year<1000) year+=1900;
var day=mydate.getDay();
var month=mydate.getMonth();
var daym=mydate.getDate();
if(daym<10) daym="0"+daym;
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December");
//thelement.innerHTML=""+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+""
setTimeout("shwDt()",1000)
}

cdd__notice='DHTML Web Menu, (c) 2004 OpenCube Inc., All Rights Reserved, Visit - www.opencube.com'
cdd__codebase='script/oc/'
cdd__database='script/'
cdd__activate_onclick = false
cdd__showhide_delay = 100
cdd__url_target = "_self"
cdd__url_features = ""
cdd__display_urls_in_status_bar = true
cdd__default_statusbar_text = "Barefoot Septic & Sewer Services INC. ~ 2008"
if(window.showHelp){
b_type = "ie";
if(!window.attachEvent) b_type += "mac"
}
if(document.createElementNS) b_type = "dom";
if(window.opera) b_type = "opera";qmap1 = "\<\script language=\"JavaScript1.2\" src=\"";qmap2 = ".js\"\>\<\/script\>";
if(document.layers){
document.write(qmap1+cdd__database+"menu_ns4_styles"+qmap2);b_type = "ns4"
}
if(b_type){document.write(qmap1+cdd__codebase+"cbrowser_"+b_type+qmap2);document.close()
}

//<a href="" onMouseOver=swapImg('i00','images/0_on.gif') onMouseOut=swapImg('i00','images/0_off.jpg')><img name=i00 src=images/0_off.jpg class=borderIt onMouseover=borderIt(this,'#FF0000') onMouseout=borderIt(this,'#FFFFFF') width=195 height=150></a>
function swapImg(name,img){if(document.images)document.images[name].src=img}
function borderIt(which,color){if (document.all||document.getElementById)which.style.borderColor=color}
function hide(){document.body.style.overflow='hidden'}
function show(){document.body.style.overflow=''}

function writeTl(){
var tl=""
var path="images/body/"
tl+="<table border=0 cellpadding=0><tr>";
tl+="<td width=20 height=20>";
tl+="<td id=5d width=95 height=20 valign=middle><a href=javascript:mailIt() class=link2 parameters=#D2CDBE~#E7B54A~200~300><img src="+path+"bul_or.gif width=11 height=8>&nbsp;&nbsp;email page</a></td>";
tl+="<td id=5d width=120 height=20 valign=middle><a href=javascript:bookIt() class=link2 parameters=#D2CDBE~#E7B54A~200~300><img src="+path+"bul_or.gif width=11 height=8>&nbsp;&nbsp;bookmark page</a></td>";
tl+="<td id=5d width=155 height=20 valign=middle><a href=javascript:selfWn() class=link2 parameters=#D2CDBE~#E7B54A~200~300><img src="+path+"bul_or.gif width=11 height=8>&nbsp;&nbsp;open page in window</a></td>";
tl+="<td id=5d width=90 height=20 align=left valign=middle><a href=http://www.pokerface.com/ class=link2 parameters=#D2CDBE~#E7B54A~200~300><img src="+path+"bul_or.gif width=11 height=8>&nbsp;&nbsp;home page</a></td>";
tl+="<td width=70 height=20>";
tl+="</table>";
document.write(tl)
}

var win=null;
function slfWin(page,name,pos){
var w=slfW;
var h=slfH;
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=150;
TopPosition=80
}
else
if((pos!="center" && pos!="default") || pos==null){
LeftPosition=150;
TopPosition=80
}
settings='width=790,height=500,top='+TopPosition+',left='+LeftPosition+',scrollbars=yes,location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes';
win=window.open(slfURL+page,name,settings);
function bumpWin(){
window.location.reload()
}
bumpWin();
if(win.focus){
win.focus()
}
}
function CloseWin(){
if(win!=null && win.open)win.close()
}
var slfURL='http://www.barefootseptic.com/';
var slfW=890;
var slfH=500;


var win=null;
function outWin(page,name,w,h,scroll,pos){
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=50;
TopPosition=50
}
else if((pos!="center" && pos!="default") || pos==null){
LeftPosition=0;
TopPosition=20
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=yes,directories=no,status=yes,menubar=no,toolbar=yes,resizable=yes';
win=window.open(page,name,settings);
if(win.focus){
win.focus()
}
}

var win=null;
function simWin(page,name,w,h,scroll,pos){
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=50;
TopPosition=50
}
else if((pos!="center" && pos!="default") || pos==null){
LeftPosition=0;
TopPosition=20
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(page,name,settings);
if(win.focus){
win.focus()
}
}

var win=null;
function vewWin(page,name,w,h,scroll,pos){
if(pos=="center"){
LeftPosition=(screen.availWidth)?(screen.availWidth-w)/2:50;
TopPosition=(screen.availHeight)?(screen.availHeight-h)/2:50
}
if(pos=="default"){
LeftPosition=0;
TopPosition=0
}
else if((pos!="center" && pos!="default") || pos==null){
LeftPosition=0;
TopPosition=20
}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
win=window.open(page,name,settings);
if(win.focus){
win.focus()
}
}


/******************************************************************************************
	Top Menu Style Settings
******************************************************************************************/

limit_multiple_users=true;restrict_access=true;sequence='9x44_5';um0http=1

function cdd_menu0(){

/*---------------------------------------------
Icon Images
---------------------------------------------*/

this.rel_icon_image0 = "../images/body/bul_tp_off.gif"
this.rel_icon_rollover0 = "../images/body/bul_tp_on.gif"
this.rel_icon_image_wh0 = "14,8"

this.rel_icon_image1 = "../images/body/bul_mn_off.gif"
this.rel_icon_rollover1 = "../images/body/bul_mn_on.gif"
this.rel_icon_image_wh1 = "14,8"
	
this.abs_icon_image0 = "../images/body/bul_ar_off.gif"
this.abs_icon_rollover0 = "../images/body/bul_ar_on.gif"
this.abs_icon_image_wh0 = "14,10"
this.abs_icon_image_xy0 = "-15,4"

/*---------------------------------------------
Divider Settings
---------------------------------------------*/

this.use_divider_caps = false
this.divider_width = 0
this.divider_height = 0

this.use_divider_capsX_X = true

/*---------------------------------------------
Menu Orientation and Dimensions
---------------------------------------------*/

this.is_horizontal = false
this.is_horizontal_main = true
this.menu_width = 100
this.menu_width_items = 150
this.menu_width_item0_4 = 155
this.menu_padding_main = "2,2,2,2"
this.menu_padding_sub = "0,0,0,0"

this.item_padding_main = "3,3,3,3"
this.item_padding_sub = "2,5,2,5"

this.menu_border_main = 0
this.menu_border_sub = 1

this.item_border_main = 0
this.item_border_sub = 0

this.is_horizontalX = true
	
this.menu_widthX = 300
this.menu_width_itemsX = 100
this.menu_width_itemX_X = 100

this.menu_padding_subX = "10,5,10,5"
this.item_padding_mainX = "10,5,10,5"
this.item_padding_subX_X = "10,5,10,5"

this.menu_border_subX = 1
this.item_border_mainX = 1
this.item_border_subX_X = 1

/*---------------------------------------------
Exposed Menu Events - Custom Script Attachment
---------------------------------------------*/

this.show_menu = "";
this.hide_menu = "";

/*---------------------------------------------
Main Menu Group and Items
---------------------------------------------*/

this.item0 = "About Barefoot"
this.icon_rel0 = 0
this.url0 = '../about.php'

this.item1 = "Pumping"
this.icon_rel1 = 0
this.url1 = '../pumping.php'

this.item2 = "Septic Inspections"
this.icon_rel2 = 0
this.url2 = '../septicsinpect.php'

this.item3 = "Installation/Repair"
this.icon_rel3 = 0
this.url3 = '../installrepair.php'

this.item4 = "Clean: Sewer/Drain"
this.icon_rel4 = 0
this.url4 = '../sewercleaning.php'

this.item5 = "Site Work"
this.icon_rel5 = 0
this.url5 = '../sitework.php'

/*---------------------------------------------
Sub Menu Group and Items
---------------------------------------------*/

		//Sub Menu 0  "About Barefoot"	
this.menu_xy0 = "-155,22"
this.menu_width0 = 155
        
this.item0_0 = "Questions/Answers"
this.item0_1 = "Contact Barefoot"
this.item0_2 = "Tips & Products"
this.item0_3 = "Picture Gallery"
this.item0_4 = "Servicing Area"
this.item0_5 = "Sitemap"

this.icon_rel0_0 = 1
this.icon_rel0_1 = 1
this.icon_rel0_2 = 1
this.icon_rel0_3 = 1
this.icon_rel0_4 = 1
this.icon_rel0_5 = 1

this.url0_0   = '../faq.php'
this.url0_1   = '../contact.php'
this.url0_2   = '../products.php'
this.url0_3   = '../gallerypg.php'
this.url0_4   = '../servicearea.php'
this.url0_5   = '../sitemap.php'


		//Sub Menu 1  "Pumping"	
this.menu_xy1 = "-155,22"
this.menu_width1 = 155
        
this.item1_0 = "Residential Pumping"
this.item1_1 = "Commercial Pumping"
this.item1_2 = "Pump Station Service"
this.item1_3 = "Bacterial Additives"

this.icon_rel1_0 = 1
this.icon_rel1_1 = 1
this.icon_rel1_2 = 1
this.icon_rel1_3 = 1

this.url1_0  = '../residentialpumping.php'
this.url1_1  = '../commercialpumping.php'
this.url1_2  = '../pumpstationservice.php'
this.url1_3  = '../additives.php'


		//Sub Menu 2  "Septic Inspections"	
this.menu_xy2 = "-155,22"
this.menu_width2 = 160
        
this.item2_0 = "Real Estate Transfer"
this.item2_1 = "Refinancing"

this.icon_rel2_0 = 1
this.icon_rel2_1 = 1

this.url2_0   = '../realtransfer.php'
this.url2_1   = '../refinance.php'


		//Sub Menu 3  "Install/Repair"	
this.menu_xy3 = "-155,22"
this.menu_width3 = 190

this.item3_0 = "All Septic Repairs"
this.item3_1 = "Septic System Installations"
this.item3_2 = "Sewer Lateral: Install/Repair"
this.item3_3 = "Water Line Installations"
this.item3_4 = "Curtain Drain Installallations"
this.item3_5 = "Leach Field Rejuvenation"
this.item3_6 = "Pump Station Service"

this.icon_rel3_0 = 1
this.icon_rel3_1 = 1
this.icon_rel3_2 = 1
this.icon_rel3_3 = 1
this.icon_rel3_4 = 1
this.icon_rel3_5 = 1
this.icon_rel3_6 = 1

this.url3_0   = '../allrepairs.php'
this.url3_1   = '../septicinstall.php'
this.url3_2   = '../sewerlateral.php'
this.url3_3   = '../waterlineinstall.php'
this.url3_4   = '../curtaindraininstall.php'
this.url3_5   = '../leachrejuvenation.php'
this.url3_6   = '../pumpstation.php'

		//Sub Menu 4   "Sewer/Drain Cleaning"
this.menu_xy4 = "-155,22"
this.menu_width4 = 202
        
this.item4_0 = "Electric Snake/Water Jetters"
this.item4_1 = "Trailer Jetter: Large Sewers"
this.item4_2 = "Video Pipe Inpections"
this.item4_3 = "Pump Station Service"

this.icon_rel4_0 = 1
this.icon_rel4_1 = 1
this.icon_rel4_2 = 1
this.icon_rel4_3 = 1

this.url4_0   = '../electricwaterjetters.php'
this.url4_1   = '../trailerjetters.php'
this.url4_2   = '../videoinspection.php'
this.url4_3   = '../pumpstation2.php'


		//Sub Menu 5   "Site Work"	
this.menu_xy5 = "-155,22"
this.menu_width5 = 165
        
this.item5_0 = "Backhoe Service"
this.item5_1 = "Bulldozer Excavation"
this.item5_2 = "Large/Small Excavators"
this.item5_3 = "New Construction"
this.item5_4 = "Driveway Construction"
this.item5_5 = "Bobcat: Rockhounding"
this.item5_6 = "Hauling: Topsoil/Gravel"

this.icon_rel5_0 = 1
this.icon_rel5_1 = 1
this.icon_rel5_2 = 1
this.icon_rel5_3 = 1
this.icon_rel5_4 = 1
this.icon_rel5_5 = 1
this.icon_rel5_6 = 1

this.url5_0    = '../backhoe.php'
this.url5_1    = '../bulldozer.php'
this.url5_2    = '../excavation.php'
this.url5_3    = '../newconstruction.php'
this.url5_4    = '../drivewayconst.php'
this.url5_5    = '../bobcatrockhound.php'
this.url5_6    = '../haulingsoilgravel.php'

} //NOTE THIS--DO NOT REMOVE


//END