
<!-- conceal

/********** rollover image swapping from included JS file********/

function imgSwap(Trg,Src)
	{
	if (document.images)
		eval('document.' + Trg + '.src = "' + Src + '";');
	}

var CalledImages = new Array();

function imgCall(Root)
	{
	if (document.images && CalledImages)
		{
		for (var xx=1; xx < imgCall.arguments.length; xx++)
			{
			var oo               = CalledImages.length;
			CalledImages[oo]     = new Image();
			CalledImages[oo].src = Root + imgCall.arguments[xx];
			}
		}
	}

/***** end page funtions **********************/

<!-- conceal
var HomeDefault = ( self.location.href.indexOf('/') +1 )
                     ? '../images/nav_home.gif'
                     : '../images/nav_home.gif';

var AboutDefault = ( self.location.href.indexOf('/about_us/') +1 )
                     ? '../images/nav_about_on.gif'
                     : '../images/nav_about.gif';

var StaffDefault = ( self.location.href.indexOf('/meet_staff') +1 )
                     ? '../images/nav_staff_on.gif'
                     : '../images/nav_staff.gif';

var StoriesDefault = ( self.location.href.indexOf('/success_stories') +1 )
                     ? '../images/nav_stories_on.gif'
                     : '../images/nav_stories.gif';
					 
var AdviceDefault = ( self.location.href.indexOf('/expert_advice') +1)
					? '../images/nav_advice_on.gif'
                    : '../images/nav_advice.gif';			 

					 
var ContactDefault = ( self.location.href.indexOf('/contact_us') +1)
					? '../images/nav_contact_on.gif'
                    : '../images/nav_contact.gif';

var FAQDefault = ( self.location.href.indexOf('/faq') +1 )
                   ? '../images/nav_faqs_on.gif'
                   : '../images/nav_faqs.gif';

var AppointmentDefault = ( self.location.href.indexOf('/make_appointment') +1 )
                   ? '../images/nav_appt_on.gif'
                   : '../images/nav_appt.gif';                                                   

     
function lockMenuItem() {
	imgSwap('nav_home',HomeDefault);
	imgSwap('nav_about',AboutDefault);
	imgSwap('nav_staff',StaffDefault);	
	imgSwap('nav_stories',StoriesDefault);
	imgSwap('nav_advice',AdviceDefault);
	imgSwap('nav_contact',ContactDefault);
	imgSwap('nav_faq',FAQDefault);
	imgSwap('nav_appt',AppointmentDefault);
	imgCall('../images/', 'nav_home_on.gif', 'nav_about_on.gif','nav_staff_on.gif','nav_stories_on.gif','nav_advice_on.gif','nav_contact_on.gif','nav_faqs_on.gif','nav_appt_on.gif');
}

function newWindow(page)
	{
	msgWindow=window.open(page,"windowName","width=640,height=480,menubar=yes,status=yes,toolbar=yes,scrollbars=yes,resizable=yes,location=yes")
	}

function stockpop_window(url) {
      if(navigator.userAgent.indexOf("MSIE") == -1) {
        newwindow = window.open(url,'stockpop','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=300,height=300');
        newwindow.focus();
      } else {
        window.open(url,'stockpop','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,width=300,height=300');
      }
    }


<!-- Random HTML
// Cameron Gregory - http://www.bloke.com/
// http://www.bloke.com/javascript/RandomHTML
// This line and about must remain .. then you can use it for free...
//
// ChangeLog
// Thu Apr 22 09:32:24 EDT 1999
// updated to do Random HTML from AdRotation
//
// Usage:
//  RandomHTML(args)
//  RandomHTMLLong(args,delim)
//     args		delim separated HTML
//     delim		the deliminter (separator)

function RandomHTMLLong(args,delim)
{
/* si: start index 
** i: current index
** ei: end index
** cc: current count
*/
 htmlSet = new Array();
 si = 0; 
 cc=0;
 ei = args.length;
  for (i=1;i<ei;i++) {
    if (args.charAt(i) == delim) {
      htmlSet[cc] = args.substring(si,i);
      cc++;
      si=i+1;
      }
    }
  ind = Math.floor(Math.random() *cc);

  document.write(htmlSet[ind]);
}

function RandomHTML(args)
{
  RandomHTMLLong(args,',');
}

if (navigator.appName == 'Netscape'){
document.write('<link rel="StyleSheet" type="text/css" href="../styles_netscape.css">');
} else {
document.write('<link rel="StyleSheet" type="text/css" href="../styles_ie.css">');
}
function popup() {
        window.open('','popup','height=400,width=480,resizable=no,scrollbars=no,scrollable=yes');
}

function popupscroll() {
        window.open('','popupscroll','height=280,width=480,resizable=no,scrollbars=yes,scrollable=yes');
}
function popupsite() {
        window.open('','popupsite','height=400,width=600,resizable=yes,scrollbars=yes,scrollable=yes');
}

// End Script -->
// reveal -->
