
function fnWritePCSCont(sRoot){document.write('\
    <div id="pcscontact" style="display:none;">\
\
<div id="pcswrapper">\
<img class="imgright" src="'+sRoot+'img/pcs-mini.jpg" alt="Private Client Services" \/>\
<h2>Private Client Services<\/h2>\
<h4><strong>Personalized Home Search <span class="rred">Email Notifications<\/span><\/strong><\/h4>\
<ul class="features">\
<li>All new listings that match your own search criteria<\/li>\
<li>Property price changes and property sold alerts<\/li>\
<\/ul>\
<p class="tell"><strong>You describe what your next home or building land looks like, and let PCS find it for you.<\/strong><\/p>\
<ul class="benefits">\
<li>You get the most up-to-date information<\/li>\
<li>Saves you a lot of time searching for the right properties<\/li>\
<\/ul>\
<p><strong>How it works:<\/strong> After completing the form below, you will be asked for your <em>price range<\/em>, <em>location<\/em>, <em>home and land description<\/em>. Then to refine your search, you can specify number of bedrooms and bathrooms, home and land size range, detached workshop, garage, RV parking, fenced yard, ocean and\/or mountain views, etc. This information is then entered into our automated PCS system. Once this is setup, you\'ll receive periodic emails of the properties that match your search criteria. When PCS emails you a property of interest, contact Tom to discuss the property in detail.<\/p>\
<p><strong>If you would like access to PCS<\/strong>, fill out the form below and then send it to me. I will contact you promptly to complete your PCS account setup.<\/p>\
<\/div>\
\
   <form id="pcscontact" method="post" action="'+sRoot+'email.cgi" class="quickcontact" onsubmit="return fnVForm_contact(this)">\
      <input type="hidden" name="YourEnquiry" value="Private Client Services" \/>\
\
      <h3 id="PCSh3" class="quickcont">Private Client Services Enquiry<\/h3>\
\
      <p class="propid">Get more information or sign-up for <em class="re">Private Client Services<\/em> with this form.<\/p>\
\
      <table class="compact" cellspacing="0" cellpadding="0">\
        <tr><td class="fldname"><label for="ToTom">To:<\/label><\/td><td class="flddata"><input type="text" id="ToTom" name="ToTom" size="45" readonly="readonly" value="Tom Whitfield"  \/><\/td><\/tr>\
       <tr><td class="fldname"><label for="Name">Name:<\/label><\/td><td class="flddata"><input type="text" id="Name" name="Name" size="45" \/><\/td><\/tr>\
       <tr><td class="fldname"><label for="EmailAddress">Email:<\/label><\/td><td class="flddata"><input type="text" id="EmailAddress" name="EmailAddress" size="45" \/><\/td><\/tr>\
       <tr><td class="fldname"><label for="Telephone">Telephone:<\/label><\/td><td class="flddata"><input type="text" id="Telephone" name="Telephone" size="45" \/><\/td><\/tr>\
        <tr><td style="padding-top:10px; padding-bottom:8px" class="fldname">I would like:<\/td>\
        <td style="padding-top:8px; padding-bottom:8px">\
          <label for="moreinfo"> \
         <input type="checkbox" id="moreinfo" name="moreinfo" value="More Information about Private Client Services" \/>\
          More Information about Private Client Services<\/label><br \/>\
\
          <label for="pcssignup">\
         <input type="checkbox" id="pcssignup" name="pcssignup" value="To sign-up for my own Private Client Services account" \/>\
          To sign-up for my own Private Client Services account<\/label><br \/>\
\
        <\/td>\
        <\/tr>\
       <tr><td class="fldname" style="padding-top:3px;"><label for="Enquiry">Comments:<\/label><\/td><td class="flddata" style="padding-top:3px;"><textarea rows="3" id="Enquiry" name="Enquiry" cols="43"><\/textarea><\/td><\/tr>\
\
      <\/table>\
      <div class="contactformbtncontainer">\
       <input class="contactformbtn deffont" type="submit" value=" Send Enquiry to Tom " \/>\
      <\/div>\
    <\/form>\
\
    <div class="ppx_clear"><\/div>\
    <\/div> <!-- \/div pcscontact -->\
\
');}
function fnWriteLeftCol(sRoot){document.write('\
  \
    <h4 style="margin-top:5px">Video Tours<\/h4>\
   <ul class="list_buttons" style="margin-bottom:5px;">\
      <li><a class="newlink" href="'+sRoot+'listings\/l0005.html">3293 Dolphin Drive<\/a><\/li>\
      <li><a class="newlink" href="'+sRoot+'listings\/l0048.html">3830 Amberwood Lane<\/a><\/li>\
    <li><a href="'+sRoot+'listings\/l0045.html">1795 Warn Way<\/a><\/li>\
   <\/ul>\
\
    <h4>Services<\/h4>\
   <ul class="list_buttons" style="margin-bottom:5px;">\
    <li><a href="javascript:void(0);" onclick="TagToTip(\'pcscontact\', BGCOLOR, \'#ffffff\', BORDERWIDTH, 0, TITLE, \'New! Private Client Services\', TITLEPADDING, 5, STICKY, true, EXCLUSIVE, true, CLOSEBTN, true,  PADDING, 0, WIDTH, -500, FADEIN, 100, FADEOUT, 100); return false;">Private Client Services<\/a><\/li>\
   <\/ul>\
\
    <!--h4>Visual Search<\/h4>\
    <h2 style="margin-top:0;font-size:110%;"><a href="javascript:void(0);"><img width="200" src="'+sRoot+'img\/vi-map.jpg" alt="Vancouver Island, British Columbia Real Estate" \/><\/a><\/h2 -->\
    <h4>Listings by Community<\/h4>\
    <ul class="list_buttons">\
        <li><a href="'+sRoot+'nanoosebay.html">Nanoose Bay<\/a><\/li>\
        <li><a href="'+sRoot+'fairwinds.html">Fairwinds<\/a><\/li>\
        <li><a href="'+sRoot+'parksville.html">Parksville<\/a><\/li>\
        <li><a href="'+sRoot+'french-creek.html">French Creek<\/a><\/li>\
        <li><a href="'+sRoot+'qualicum.html">Qualicum Beach<\/a><\/li>\
        <li><a href="'+sRoot+'errington.html">Errington<\/a><\/li>\
        <li><a href="'+sRoot+'coombs.html">Coombs<\/a><\/li>\
        <li><a href="'+sRoot+'bowser.html">Bowser\/Deep Bay<\/a><\/li>\
    <\/ul>\
  \
    <h4>Listings by Type<\/h4>\
    <ul class="list_buttons">\
     <li><a href="'+sRoot+'newlistings.html">Newest Listings<\/a><\/li>\
     <li><a href="'+sRoot+'singlefamilyhomes.html">Single Family Homes<\/a><\/li>\
     <li><a href="'+sRoot+'condos.html">Condos<\/a><\/li>\
     <li><a href="'+sRoot+'land_buildinglots.html">Land\/Building Lots<\/a><\/li>\
     <li><a href="'+sRoot+'waterfront.html">Waterfront<\/a><\/li>\
     <li><a href="'+sRoot+'oceanview.html">Ocean View<\/a><\/li>\
    <\/ul>\
  \
    <h4>Search the Area<\/h4>\
    <div id="searchformcontainer">\
        <form method="get" action="'+sRoot+'search.html">\
          <input type="hidden" name="search" value="1" \/>\
          <input type="hidden" name="perpage" value="10" \/>\
          <input type="hidden" name="marknew"  value="14" \/>\
          <input type="hidden" name="euro_numbers" value="0" \/>\
          <div class="ss_sitesearch">Search for real estate:<\/div>\
          <div class="ss_searchbox">\
            <input name="lfield10_keyword" id="input" value="" \/>\
          <\/div>\
          <div class="ss_dropdown">\
            <select name="lfield13_keyword" size="1" id="input1"  class="g5">\
             <option value="">Any<\/option>\
             <option value="Condo/Strata">Condo\/Strata<\/option>\
             <option value="Farm/Ranch">Farm\/Ranch<\/option>\
             <option value="Fourplex">Fourplex<\/option>\
             <option value="Full Duplex">Full Duplex<\/option>\
             <option value="Half Duplex">Half Duplex<\/option>\
             <option value="Lots/Acreage">Lots\/Acreage<\/option>\
             <option value="Manufactured/Mobile">Manufactured\/Mobile<\/option>\
              <option value="Single Family">Single Family<\/option>\
              <option value="Triplex">Triplex<\/option>\
            <\/select>\
            <input name="image" type="image" src="'+sRoot+'img\/search_icon.gif" align="top" \/>\
          <\/div>\
          <div class="ss_advsearch">\
            <a href="'+sRoot+'exec\/search.cgi">Advanced Search<\/a>\
          <\/div>\
        <\/form>\
    <div class="ppx_clear"><\/div>\
    <\/div>\
\
    <h4>Tom&rsquo;s Picks<\/h4>\
       <!-- iframe marginheight="0" marginwidth="0" name="TWsPicks" id="TWsPicks" height="561" src="'+sRoot+'picks.html" frameborder="0" width="200" scrolling="no"><\/iframe -->\
       <iframe title="Toms Picks" marginheight="0" marginwidth="0" name="TWsPicks" id="TWsPicks" height="1122" src="'+sRoot+'handpicks.html" frameborder="0" width="200" scrolling="no"><\/iframe>\
  \
  \
    <h4>Community Information<\/h4>\
    <ul class="list_buttons">\
      <li><a href="'+sRoot+'index.html#aboutoceanside">Oceanside<\/a><\/li>\
      <li><a href="'+sRoot+'fairwinds.html#aboutfairwinds">Fairwinds<\/a><\/li>\
      <li><a href="'+sRoot+'nanoosebay.html#aboutnanoosebay">Nanoose Bay<\/a><\/li>\
      <li><a href="'+sRoot+'parksville.html#aboutparksville">Parksville<\/a><\/li>\
      <li><a href="'+sRoot+'french-creek.html#aboutfrenchcreek">French Creek<\/a><\/li>\
      <li><a href="'+sRoot+'qualicum.html#aboutqualicum">Qualicum Beach<\/a><\/li>\
      <li><a href="'+sRoot+'errington.html#abouterrington">Errington<\/a><\/li>\
      <li><a href="'+sRoot+'coombs.html#aboutcoombs">Coombs<\/a><\/li>\
      <li><a href="'+sRoot+'bowser.html#aboutbowser">Bowser\/Deep Bay<\/a><\/li>\
    <\/ul>\
  \
    <h4>Community Events<\/h4>\
    <ul class="list_buttons">\
      <li><a href="http://www.oceansidewebtv.com/">Oceanside WebTV<\/a><\/li>\
    <\/ul>\
  \
  ');fnWritePCSCont(sRoot);}
function fnWriteRightCol(sRoot){document.write('\
  \
  <img alt="Tom Whitfield" width="120" height="107" src="'+sRoot+'photo\/tom2.jpg" \/>\
  <a style="font-size:76%" href="'+sRoot+'contact.html#abouttom">About Tom Whitfield<\/a>\
  \
  <br \/>\
  <div id="slider2" class="sliderwrapper">\
  </div>\
\
  <div id="paginate-slider2" class="pagination">\
  <a href="#" class="prev" style="margin-left: 10px"><</a> <a href="#" class="next">></a>\
  </div>\
\
'+unescape("%3Cscript%3E")+'\
\
  featuredcontentslider.init({\
   id: "slider2",\
   contentsource: ["ajax", "'+sRoot+'testimonials.inc"],\
   toc: "markup",\
   nextprev: ["Previous", "Next"],\
   revealtype: "click",\
   enablefade: [true, 0.2],\
   autorotate: [true, 10000],\
   onChange: function(previndex, curindex){\
   }\
  })\
\
'+unescape("%3C\/script%3E")+'\
\
  <h4>Green Homes<\/h4>\
    <div style="background:white;width:118px;text-align:center;"><a href="'+sRoot+'green-homes.html"><img src="'+sRoot+'img\/green-homes-icon.gif" alt="Green Homes Icon" /><\/a><\/div>\
   <ul class="list_buttons">\
    <li><a href="'+sRoot+'green-homes.html">Green Homes<\/a><\/li>\
   <\/ul>\
  \
  <h4>The Local Market<\/h4>\
   <ul class="list_buttons">\
    <li><a href="'+sRoot+'market-update.html">Market Update<\/a><\/li>\
    <li><a href="'+sRoot+'market_stats.html">Market Statistics<\/a><\/li>\
    <li><a href="'+sRoot+'local_real_estate_news.html">Market News<\/a><\/li>\
   <\/ul>\
  \
  <h4>Weather<\/h4>\
   <!-- iframe marginheight="0" marginwidth="0" name="wxButtonFrame" id="wxButtonFrame" height="110" src="http:\/\/btn.weather.ca\/weatherbuttons\/template3.php?placeCode=CABC0213&amp;category0=Cities&amp;placeCode1=CABC0242&amp;category1=Cities&amp;placeCode2=CABC0509&amp;category2=Golf&amp;placeCode3=CABC0195&amp;category3=Cities&amp;containerWidth=120&amp;btnNo=6349&amp;backgroundColor=blue&amp;multipleCity=1&amp;citySearch=1&amp;celsiusF=C" align="top" frameborder="0" width="120" scrolling="no"><\/iframe -->\
   <ul class="list_buttons">\
      <li><a href="http:\/\/www.visitparksvillequalicumbeach.com\/cms.asp?wpID=56">Weather Cam<\/a>\
   <\/ul>\
  \
  <h4>Tools<\/h4>\
   <ul class="list_buttons">\
    <li><a href="'+sRoot+'mortgage_calculator.php" target="_mcalc">Mortgage Calculator<\/a><\/li>\
      <li><a href="http:\/\/www.invis.ca\/rates\/">Interest Rates<\/a>\
      <li><a href="http:\/\/www.mortgage2u.ca\/">Mortgages<\/a>\
      <li><a href="http:\/\/privateclient.customhouse.com\/" title="International Payments Made Easy">International Payments<\/a>\
   <\/ul>\
  \
  <h4>Resources<\/h4>\
   <ul class="list_buttons">\
    <li><a href="'+sRoot+'marketing_your_home.html">Marketing Your Home<\/a><\/li>\
    <li><a href="'+sRoot+'10_points_when_selling.html">10 Points When Selling<\/a><\/li>\
    <li><a href="'+sRoot+'10_open_house_tips.html">10 Tips For Open House or Showings<\/a><\/li>\
    <li><a href="'+sRoot+'moving_plan.html">Moving Plan<\/a><\/li>\
   <\/ul>\
  \
  <h4>Video<\/h4>\
   <ul class="list_buttons">\
    <li><a href="http:\/\/www.youtube.com\/watch?v=VoQp1DW5SRE">Parksville &amp; Qualicum Beach<\/a><\/li>\
    <li><a href="http:\/\/www.youtube.com\/watch?v=Te1ZVfQ-SXs">Vancouver Island Real Estate Activity<\/a><\/li>\
   <\/ul>\
  \
  ');}
function fnWriteQCont(sRoot){document.write('\
    <div id="quickcontact" style="display:none;">\
\
   <form method="post" action="'+sRoot+'email.cgi" class="quickcontact" onsubmit="return fnVForm_contact(this)">\
      <input type="hidden" name="YourEnquiry" value="Quick Property Contact Form" \/>\
      <input id="QCProperty" type="hidden" name="Property" value="MLS $lfield4$ - $lfield1$ in $lfield5$" \/>\
\
      <h3 id="QCh3" class="quickcont">MLS $lfield4$ - <em>$lfield1$<\/em> in $lfield5$<\/h3>\
\
      <p class="propid">Get more information with this convenient <em class="re">Quick Property Enquiry<\/em> form.<\/p>\
\
      <table class="compact" cellspacing="0" cellpadding="0">\
        <tr><td class="fldname"><label for="ToTom">To:<\/label><\/td><td class="flddata"><input type="text" id="ToTom" name="ToTom" size="45" readonly="readonly" value="Tom Whitfield"  \/><\/td><\/tr>\
       <tr><td class="fldname"><label for="Name">Your Name:<\/label><\/td><td class="flddata"><input type="text" id="Name" name="Name" size="45" \/><\/td><\/tr>\
       <tr><td class="fldname"><label for="EmailAddress">Your Email:<\/label><\/td><td class="flddata"><input type="text" id="EmailAddress" name="EmailAddress" size="45" \/><\/td><\/tr>\
        <tr><td class="fldname">I would like:<\/td>\
        <td>\
          <label for="moreinfo"> \
         <input type="checkbox" id="moreinfo" name="moreinfo" value="Additional property photos & information by email" \/>\
          Additional property photos &amp; information by email<\/label><br \/>\
\
          <label for="locationmap">\
         <input type="checkbox" id="locationmap" name="locationmap" value="A location map for this property by email" \/>\
          A location map for this property by email<\/label><br \/>\
\
          <label for="showing">\
         <input type="checkbox" id="showing" name="showing" value="To schedule a showing of this property"  \/>\
          To schedule a showing of this property<\/label><br \/>\
\
          <label for="alert">\
         <input type="checkbox" id="alert" name="alert" value="To be alerted if this property sells or its price changes"  \/>\
          To be alerted if this property sells or its price changes<\/label><br \/>\
\
          <label for="QCmarketstats">\
         <input type="checkbox" id="QCmarketstats" name="marketstats" value="$lfield5$ real estate market stats by email"  \/>\
          <span id="QCmarketstats2">$lfield5$ real estate market stats by email<\/span><\/label><br \/>\
          \
          <label for="QCcityinfo">\
         <input type="checkbox" id="QCcityinfo" name="cityinfo" value="General information about $lfield5$ by email"  \/>\
          <span id="QCcityinfo2">General information about $lfield5$ by email<\/span><\/label><br \/>\
\
          <label for="other">\
         <input type="checkbox" id="other" name="other" value="Other -- see my comments below"  \/>\
          Other -- see my comments below<\/label><br \/>\
        <\/td>\
        <\/tr>\
       <tr><td class="fldname" style="padding-top:3px;"><label for="Enquiry">Enquiry:<\/label><\/td><td class="flddata" style="padding-top:3px;"><textarea rows="6" id="Enquiry" name="Enquiry" cols="43"><\/textarea><\/td><\/tr>\
\
      <\/table>\
      <div class="contactformbtncontainer">\
       <input class="contactformbtn deffont" type="submit" value=" Send Enquiry to Tom " \/>\
      <\/div>\
    <\/form>\
\
    <div class="ppx_clear"><\/div>\
    <\/div> <!-- \/div quickcontact -->\
\
');}
function fnUpdateQCFields(lfield4,lfield1,lfield5){tt_HideInit();tt_Hide();theIProp=document.getElementById("QCProperty");theIProp.value="MLS "+lfield4+" - "+lfield1+" in "+lfield5;theH3=document.getElementById("QCh3");theH3.innerHTML="MLS "+lfield4+" - <em>"+lfield1+"<\/em> in "+lfield5;theIMS=document.getElementById("QCmarketstats");theIMS.value=lfield5+" real estate market stats by email";theIMS2=document.getElementById("QCmarketstats2");theIMS2.innerHTML=lfield5+" real estate market stats by email";theICI=document.getElementById("QCcityinfo");theICI.value="General information about "+lfield5+" by email";theICI2=document.getElementById("QCcityinfo2");theICI2.innerHTML="General information about "+lfield5+" by email";}