
_menuCloseDelay=0           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=5            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=50                // Follow scrolling Rate
_subOffsetTop=0              // Sub menu top offset
_subOffsetLeft=0            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x

with(levelOne=new mm_style()){
onbgcolor="#FFFFFF";
oncolor="#000000";		//text colour on mouseover
//offbgcolor="#F9D380";
offcolor="#000000";		//default text colour
bordercolor="#FEBF01";
borderwidth=0;
separatorcolor="#F4BA39";
separatorsize="4";
separatorwidth="155";
bgimage="images/leftLinksBGimage.gif";
overbgimage="images/leftLinksBGimageON.gif";
itemheight=17;
padding=2;
subimage="images/arrow.gif";
subimagepadding="1";
fontsize="10";
fontweight="bold";
fontfamily="Verdana, Tahoma, Arial";
}

with(levelTwo=new mm_style()){
onbgcolor="#285B99";
oncolor="#ffffff";		//text colour on mouseover
offbgcolor="#5B8BC9";
offcolor="#ffffff";		//default text colour
bordercolor="#FEBF01";
borderwidth=1;
separatorcolor="#FEBF01";
separatorsize="1";
itemheight=17;
padding=2;
subimage="images/arrow.gif";
subimagepadding="1";
fontsize="10";
fontfamily="Verdana, Tahoma, Arial";
overfilter="Fade(duration=0.2);Shadow(color='#00325B', Direction=135, Strength=5)";
outfilter="Fade(duration=0.2);Shadow(color='#00325B', Direction=135, Strength=5)";
}

with(milonic=new menuname("About")){
style=levelTwo;
overflow="scroll";
left="offset=-7";
aI("text=Introduction;url=introduction.htm;");
aI("text=Good Works;url=goodworks.htm;");
aI("text=Going Green;url=goinggreen.htm;");
aI("text=Company Profile;url=cprofile.asp;");
aI("text=Privacy Policy;url=privacy.htm;");
aI("text=United Van Lines LLC;url=uvlinc.htm;");
}

with(milonic=new menuname("MovingInfo")){
style=levelTwo;
overflow="scroll";
left="offset=-7";
aI("text=FAQ;url=faq.htm;");
aI("text=Moving Tips;url=movetips.htm;");
aI("text=Training Videos;url=trainingvids.asp;");
aI("text=Move Planning;url=moveplanning.htm;");
aI("text=Information Please;url=infoplease.htm;");
aI("text=Your New<br>Neighborhood<br>Information;url=destination.htm;");
aI("text=Special Offers<br>and Coupons;url=newhorizons.htm;");
}

with(milonic=new menuname("Services")){
style=levelTwo;
left="offset=-7";
aI("text=Household Moving;url=movingservices.htm;");
aI("text=Corporate Moving;url=corpmov.htm;");
aI("text=Container Service;url=contserv.htm;");
aI("text=Cross Border Moving;url=CrossBorderMoving.htm;");
aI("text=International Moving;url=intmov.htm;");
aI("text=Commercial Shipping;showmenu=Commercial;pointer=default;");
}

with(milonic=new menuname("Commercial")){
style=levelTwo;
aI("text=Gold Banner;url=commshipGB.htm;");
aI("text=High Value Products;url=commshipHV.htm;");
aI("text=Special Commodities;url=commshipSC.htm;");
aI("text=Trade Shows &amp; Exhibits;url=commshipTS.htm;");
}

with(milonic=new menuname("Programs")){
style=levelTwo;
left="offset=-7";
aI("text=Air Miles;url=airmiles.htm;");
aI("text=Neighborhoods;url=destination.htm;");
aI("text=New Horizons;url=newhorizons.htm;");
//aI("text=Century 21 Connections;url=nscontent.asp?URL=century21;");
}

with(milonic=new menuname("Doityourself")){
style=levelTwo;
left="offset=-7";
aI("text=Local;url=/ucan/ucanlocal/select.asp;");
aI("text=Long Distance;url=http://www.ucanstoreandmove.ca/ucanlongdist/pacific.asp?VANLINES=U;");
}

// Added by Ashfaque. Dec/17/2003------------ //
var strEmailString = "";

function Vsrc(){window.location="view-source:"+window.location.href}

function GetContentWnd(){ return parent; }

function OnEmail(){
 var oWnd = 	GetContentWnd();
 var oDoc = oWnd.document;
 var oDescription = oDoc.getElementById("Description");
 var strDescription = ( (oDescription == null) || (oDescription.content == "") ) ? oDoc.title : oDescription.content;	
 if( oDoc.title == "" )
   oWnd.location.href = "mailto:?body="+BuildEmailDescription(strDescription, AddParamToURL(oWnd.location.href, strEmailString));
 else
   oWnd.location.href = "mailto:?subject="+escape(oDoc.title)+"&body="+BuildEmailDescription(strDescription, AddParamToURL(oWnd.location.href, strEmailString));
 //return true;
}

function BuildEmailDescription(strDescription,hRef){
 return escape("Here's a great article you might be interested in:" +
  String.fromCharCode(13)+ String.fromCharCode(13) + strDescription + String.fromCharCode(13) + "URL: " + hRef);
}

function AddParamToURL(strLoc,strParam){
 var i = strLoc.lastIndexOf("?");
 if(strLoc.indexOf(strParam, i) >= 0)
  return strLoc;
 strLoc += ((i >= 0) && (i > strLoc.lastIndexOf("/"))) ? "&" : "?";
 return strLoc + strParam;
}

function add2Fav(){	
 var oWnd = GetContentWnd();
 window.external.addFavorite( oWnd.location.href, oWnd.document.title );
 //return true;
}

with(contextStyle=new mm_style)
{
     onbgcolor="#FFFFFF";
       oncolor="#000000";
    offbgcolor="#ffffff";
      offcolor="#000000";
   bordercolor="#999999";
   borderstyle="solid";
   borderwidth=1
    overfilter="Fade(duration=0.2);Shadow(color='#777777', Direction=135, Strength=3)"
     pagecolor="";
   pagebgcolor="#eeeeee";
    pageborder="1px solid #ffffff";
      onborder="1px solid #316AC5";
separatorcolor="#999999";
     outfilter="randomdissolve(duration=0.4)"
      fontsize="75%";
     fontstyle="normal";
    fontfamily="arial, verdana, tahoma";
 separatorsize=0;
       padding=3
 headerbgcolor="#4F8EB6";
   headercolor="#ffffff";
  headerborder="1px solid #000000";
      fontsize="10px";
      subimage="../nsimages/black_13x13_greyboxed.gif";
if(!mac)onborder="1px solid #000000";
}

with(milonic=new menuname("contextMenu")){		
top="offset=2"
style=levelTwo;
margin=3
aI("text=UVL Home Page;url=/;image=../nsimages/cm-home.gif;status=UVL Home;");
aI("text=Print This Page;url=javascript:window.print();separatorsize=1;image=../nsimages/cm-print.gif;status=Print This Page;");
aI("text=Back;url=javascript:history.go(-1);image=../nsimages/cm-back.gif;status=Back;");
aI("text=Forward;url=javascript:history.go(1);image=../nsimages/cm-forward.gif;status=Forward;");
aI("text=Refresh;url=javascript:history.go(0);image=../nsimages/cm-browser.gif;status=Refresh;");
aI("text=Email This page;url=javascript:OnEmail();image=../nsimages/cm-email.gif;status=Email This Page;");
aI("text=Add to Favorites;url=javascript:add2Fav();image=../nsimages/cm-add2fav.gif;status=Add to Favorites;");
aI("text=© UVL (Canada) Ltd.;status=Copyright © 2003 UVL (Canada) Ltd.");
//aI("text=© UVL (Canada) Ltd.;status=Copyright © 2003 UVL (Canada) Ltd.;");
//aI("text=View Page Source;url=javascript:Vsrc();separatorsize=1;");
//aI("text=Disable This Menu;url=javascript:var contextDisabled=true;");
}

with(milonic=new menuname("contextMenuHome")){		
top="offset=2"
style=levelTwo;
margin=3
aI("text=Print This Page;url=javascript:window.print();separatorsize=1;image=../nsimages/cm-print.gif;status=Print This page;");
aI("text=Email This Page;url=javascript:OnEmail();image=/nsimages/cm-email.gif;status=Email This Page;");
aI("text=Add to Favorites;url=javascript:add2Fav();image=/nsimages/cm-add2fav.gif;status=Add to Favorites;");
//aI("text=© UVL (Canada) Ltd.;status=Copyright © 2003 UVL (Canada) Ltd.;");
aI("text=© UVL (Canada) Ltd.;status=Copyright © 2003 UVL (Canada) Ltd.");
}
//-----------------------------------------------//

drawMenus();

