
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

// Opens a new window 
function PopIt(url,width,height){ 
	var newWnd1 = window.open( url, 'popupWindow1', 'status,resizable,scrollbars=0,width=' + width + ',height=' + height, false ); 
	newWnd1.focus();
	newWnd1.name = "popupWindow1";
}

function ShowToolTip(htmlStr){

}

function Rollover1(el){
        //alert(el.coords);
        var tt = document.getElementById("ToolTip1");
        try{
        tt.innerHTML = "<div style=\"margin-top:10px;width:222px;\"><img src=\"/images/blue_tooltip_top.gif\" border=\"0\" hspace=\"0\"><div style=\"background-color:#234a7a;color:white;padding-left:10px;padding-right:10px;\">" + el.attributes["tiptext"].value + "</div><img src=\"/images/blue_tooltip_bottom.gif\" border=\"0\" hspace=\"0\"></div>";
        }
        catch(e){
            tt.innerHTML = "<img src=\"/images/popup/blue_tooltip_top.gif\" border=\"0\" hspace=\"0\"><div style=\"background-color:#234a7a;color:white;padding-left:10px;padding-right:10px;width:222px;\">" + el.tiptext + "</div><img src=\"/images/blue_tooltip_bottom.gif\" border=\"0\" hspace=\"0\">";
        }
        tt.style.display = "block";
        setMenuLocation(el,tt);
    }
    
    function Rollout1(el){
        var tt = document.getElementById("ToolTip1");
        tt.style.display = "none";
    }
     
    function Rollover2(el){
        //alert(el.coords);
        var tt = document.getElementById("ToolTip2");
        try{
            tt.innerHTML = "<div style=\"width:135px;margin-top:10px;background-color:#fff0be;padding:5px;color:black;border:solid 1px #666666;\">printer-friendly page.</div>";
        }
        catch(e){
            tt.innerHTML = "<div style=\"width:135px;margin-top:10px;background-color:#fff0be;padding:5px;color:black;border:solid 1px #666666;\">printer-friendly page.</div>";
        }
        tt.style.display = "block";
        if(el.innerHTML.indexOf("ExtraImageMiddle")>-1){
			setMenuLocationExtraImageMiddle(el,tt);
        }else if(el.innerHTML.indexOf("ExtraImageRight")>-1){
			setMenuLocationExtraImageRight(el,tt);
        }else{
			setMenuLocation(el,tt);
        }
        
    }
    
    function Rollout2(el){
        var tt = document.getElementById("ToolTip2");
        tt.style.display = "none";
    }
    
    
       
	//Sets the location of a submenu when it is hovered over.
	//menuItem >> The root menu item of this sub menu (item that opens this menu) OR the menu's id (menu_x_m)
	function setMenuLocation(maparea,tip)
	{    		
		var l = (findPosX(maparea)) ;
		var r = (findPosX(maparea));
		var t = (findPosY(maparea));
		var b = (findPosY(maparea));
		tip.style.position = "absolute";
		tip.style.left = l;
		if(BrowserTypes().isIE){
			tip.style.top = t + (maparea.offsetHeight-1);
		}else{
			tip.style.top = t+12;
		}
	}    
	
	//Sets the location of a submenu when it is hovered over.
	//menuItem >> The root menu item of this sub menu (item that opens this menu) OR the menu's id (menu_x_m)
	function setMenuLocationExtraImageMiddle(maparea,tip)
	{    		
		var l = (findPosX(maparea)) ;
		var r = (findPosX(maparea));
		var t = (findPosY(maparea));
		var b = (findPosY(maparea));
		tip.style.position = "absolute";
		tip.style.left = l-75;
		if(BrowserTypes().isIE){
			tip.style.top = t + (maparea.offsetHeight-1);
		}else{
			tip.style.top = t+12;
		}
	}    
	    
	    
	    //Sets the location of a submenu when it is hovered over.
	//menuItem >> The root menu item of this sub menu (item that opens this menu) OR the menu's id (menu_x_m)
	function setMenuLocationExtraImageRight(maparea,tip)
	{    		
		var l = (findPosX(maparea)) ;
		var r = (findPosX(maparea));
		var t = (findPosY(maparea));
		var b = (findPosY(maparea));
		tip.style.position = "absolute";
		tip.style.left = l-150;
		if(BrowserTypes().isIE){
			tip.style.top = t + (maparea.offsetHeight-1);
		}else{
			tip.style.top = t+12;
		}
	}
	
		//Sets the location of a submenu when it is hovered over.
	//menuItem >> The root menu item of this sub menu (item that opens this menu) OR the menu's id (menu_x_m)
	function setMacIEMenuLocation(maparea)
	{
		var tempID = "ctl00_MainNav_" + maparea.id + "_m";
		try{
			var div = document.getElementById(tempID);
			div.style.position = "absolute";		
			div.style.left = maparea.offsetLeft + 135;
			div.style.top = maparea.offsetTop+17;
		}catch(e){
			//do nothing
		}
	}

	//Retrieves an elements offsets for non-IE browsers.
	function findPosX(obj)
	{
		var curleft = 0;
		if (obj.offsetParent)
		{
			while (obj.offsetParent)
			{
				curleft += obj.offsetLeft;
				obj = obj.offsetParent;
			}		
		}
		else if (obj.x)
			curleft += obj.x;
		return curleft;
	}

	function findPosY(obj)
	{
		var curtop = 0;
		if (obj.offsetParent)
		{
			while (obj.offsetParent)
			{
				curtop += obj.offsetTop;
				obj = obj.offsetParent;
			}
			curtop += obj.offsetTop;		
		}
		else if (obj.y)
			curtop += obj.y;
		return curtop;
	}
	//Gets browser type
	function BrowserTypes()
	{
		var nav = window.navigator;
		var userAgent = nav.userAgent;

		this.toString = BrowserTypes_toString;
		this.execFunction = BrowserTypes_execFunction;

		this.getVersion = BrowserTypes_version;

		this.isOpera = userAgent.indexOf("Opera") > -1;
		this.isIE = userAgent.indexOf("MSIE") > -1;
		this.isNetscape = !this.isIE && userAgent.indexOf("Mozilla") > -1;

		this.isMac = userAgent.indexOf("Mac") > -1;
		this.isPC = (!this.isMac) ? true : false;
		
		this.lastError = null;

		return this;
	}

	function BrowserTypes_version()
	{
		var v = 0;

		if (this.isIE)
		{
			v = parseFloat(/MSIE (\d+\.?\d+)/i.exec(this.toString())[1]);
			if (isNaN(v)) v = 3;
		}
		else if (this.isNetscape)
		{
			if (isObject(document))
			{
				if (isFunction(document.getElementById))
				{
					v = 6;
				}
				else if (isObject(document.layers))
				{
					v = 4;
				}
			}
		}
		else
		{
			v = parseFloat(window.navigator.appVersion);
		}

		return v;
	}

	function BrowserTypes_execFunction(functionToQueryAndRun)
	{
		try
		{
			if (typeof(functionToQueryAndRun)=="function")
			{
				return functionToQueryAndRun();
			}
			else
			{
				return eval(functionToQueryAndRun);
			}
		}
		catch (e)
		{
			e.execFunction = functionToQueryAndRun;
			browser.lastError = e;
			return -1;
		}
	}

	function BrowserTypes_toString()
	{
		return window.navigator.userAgent;
	}
	
	 function Validate(){
	var frm = document.forms["ContactForm"];
	var errorMsg = "";
	if(frm.elements["name"].value==""){
		errorMsg += "Please enter your name.\n";
	}
	if(frm.elements["email"].value=="" || (frm.elements["email"].value.indexOf("@")==-1 ||frm.elements["email"].value.indexOf(".")==-1)){
		errorMsg += "Please enter a valid email address.\n";
	}
	if(errorMsg != ""){
		alert(errorMsg);
		return false;
	}
	
 }
//-->
