
// define some colors for setting and testing. We need to do it this way, because IE
// and Firefox use different schemes (hex vs RGB) when testing and comparing colors.
if (!(window.trackviaz)) {
	window.trackviaz = document.createElement('div');

	window.trackviaz.style.backgroundColor = '#ffffff'; var cUncheckedMouseOut  = window.trackviaz.style.backgroundColor;
	window.trackviaz.style.backgroundColor = '#dddddd'; var cUncheckedMouseOver = window.trackviaz.style.backgroundColor;
	window.trackviaz.style.backgroundColor = '#9999ff'; var cCheckedMouseOut    = window.trackviaz.style.backgroundColor;
	window.trackviaz.style.backgroundColor = '#bbbbff'; var cCheckedMouseOver   = window.trackviaz.style.backgroundColor;
}

var server = 'http://www.trackvia.com';

if (!(window.trackvia_content)) {
	window.trackvia_content = new Object();
}

window.trackvia_content['30230'] = '<h1 class="reptitle">Success Stories</h1> <p><table class="datagrid"> <tr align="baseline">    <th onclick="loadPage(30230,\'19qpws2kVU\',1,\'varchar026\',\'A\');" class="datagrid" title="sort ascending">Dog Name</th>    <th onclick="loadPage(30230,\'19qpws2kVU\',1,\'varchar036\',\'A\');" class="datagrid" title="sort ascending">Picture #1</th>    <th onclick="loadPage(30230,\'19qpws2kVU\',1,\'text001\',\'A\');" class="datagrid" title="sort ascending">Web Success Story</th> </tr> <tr class="unshaded_row"  valign="baseline" id="report30230ticket75690203" name="report30230ticket75690203">    <td class="datagrid" id="grid_varchar026_75690203">Dexter</td>    <td class="datagrid" id="grid_varchar036_75690203"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=75690203&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="IMG_1251.JPG" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=75690203&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_75690203">Puppy Dexter (was Finn) has a new big sister in Cleo, the Golden Retriever, and a loving quiet family who were looking for a mellow Sheltie boy with a sweet temperament - which exactly describes Dexter!  Adopted 8/21/10.</td> </tr> <tr class="shaded_row"  valign="baseline" id="report30230ticket63291425" name="report30230ticket63291425">    <td class="datagrid" id="grid_varchar026_63291425">Tessa</td>    <td class="datagrid" id="grid_varchar036_63291425"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=63291425&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="Tessa_lying_down.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=63291425&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_63291425">Tessa was such a great fit with her foster family and MNSR alum Murphee, they knew she has found her best and last home with them!  They have helped her learn to trust, to be less frightened, and have built her confidence with obedience and agility classes, and Tessa will be able to continue that progress with the family she loves.  Adopted 8/20/10.</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report30230ticket77327924" name="report30230ticket77327924">    <td class="datagrid" id="grid_varchar026_77327924">Nala</td>    <td class="datagrid" id="grid_varchar036_77327924"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=77327924&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="Nala_with_ball.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=77327924&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_77327924">Puppy Nala makes her forever home with Cleo, the cat, and an adopter with lots of experience with rescue animals.  Cleo wants Nala to understand the pecking order, but they are sure to be best of buds.  Nala&rsquo;s future includes training classes, as she is already demonstrating that she is a very bright little pup!  Adopted 8/17/10.</td> </tr> <tr class="shaded_row"  valign="baseline" id="report30230ticket74966913" name="report30230ticket74966913">    <td class="datagrid" id="grid_varchar026_74966913">Chase</td>    <td class="datagrid" id="grid_varchar036_74966913"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=74966913&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="Chase.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=74966913&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_74966913">Darling Chase has found his forever home with a mom who will be as devoted to him as he will be, given time and patience, to her.  As an &quot;only child&quot;, he&rsquo;ll quickly bond and learn to trust again.  If ever a Sheltie could take over where Jasper, his Sheltie predecessor, left off, it&rsquo;s sure to be this &rsquo;lil guy!  Adopted 08/15/2010</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report30230ticket69969586" name="report30230ticket69969586">    <td class="datagrid" id="grid_varchar026_69969586">CeCe</td>    <td class="datagrid" id="grid_varchar036_69969586"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=69969586&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="CeCe_sitting.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=69969586&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_69969586">This very lucky girl landed with a foster family who trained her in agility!  CeCe, being a very smart Sheltie girl, quickly picked up on all the new skills she was being taught, and in the process, she and her foster mom developed a wonderful bond.  We look forward to seeing the two of them excel in future agility trials!  Adopted 8/13/10.</td> </tr> <tr class="shaded_row"  valign="baseline" id="report30230ticket76118115" name="report30230ticket76118115">    <td class="datagrid" id="grid_varchar026_76118115">Suki</td>    <td class="datagrid" id="grid_varchar036_76118115"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=76118115&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="Suki1.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=76118115&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_76118115">Suki&rsquo;s sweet personality and gentle approach made her the perfect match for her new family who are first time sheltie parents.  She&rsquo;s getting along great with her kitty sister and a couple of parrot friends.  She is enjoying her long walks, lounging on the patio at Starbucks, and getting lots of love and cuddling in her forever home.  And just like Suki - she&rsquo;s returning that love right back!  Adopted 8/12/10.</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report30230ticket75609274" name="report30230ticket75609274">    <td class="datagrid" id="grid_varchar026_75609274">Tanzy</td>    <td class="datagrid" id="grid_varchar036_75609274"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=75609274&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="Tanzy11.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=75609274&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_75609274">Tanzy joins a family of canine girls, including  MNSR Sheltie Joey, Collie mix Molly and Sheltie Mandy.  Tanzy&rsquo;s new mom will help this smart Sheltie girl realize her full potential, and she is already quickly learning many new things.  We can&rsquo;t wait what the future holds for her...maybe agility, rally, or therapy work?  Adopted 8/5/10.</td> </tr> <tr class="shaded_row"  valign="baseline" id="report30230ticket77225757" name="report30230ticket77225757">    <td class="datagrid" id="grid_varchar026_77225757">Arthur</td>    <td class="datagrid" id="grid_varchar036_77225757"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=77225757&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="0131" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=77225757&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_77225757">Puppy Arthur has found his forever home with his new buddy, Sheltie Walter, and a great family with three human children who are sure to keep this little guy busy and give him plenty of love.  They will help to raise him into a wonderful adult Sheltie, and Walter will be a great role-model!  Adopted 7/29/10.</td> </tr> <tr class="unshaded_row"  valign="baseline" id="report30230ticket77327916" name="report30230ticket77327916">    <td class="datagrid" id="grid_varchar026_77327916">Maisy</td>    <td class="datagrid" id="grid_varchar036_77327916"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=77327916&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="maisy!.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=77327916&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_77327916">Puppy Maisy now makes her home with a family of first time Sheltie owners, and Guinea Pig Zoe.  Maisy is sure to thrive in their care and the family&rsquo;s children/teens will help to care for her and train her so she can grow up to be a super-smart Sheltie!  Adopted 7/28/10.</td> </tr> <tr class="shaded_row"  valign="baseline" id="report30230ticket72940307" name="report30230ticket72940307">    <td class="datagrid" id="grid_varchar026_72940307">Baru</td>    <td class="datagrid" id="grid_varchar036_72940307"><a href="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=72940307&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351"><img border="0"  title="Baru_sitting.jpg" src="http://www.trackvia.com/app/getdoc?source=ticket&ticketid=72940307&col=036&vcode=19qpws2kVU&reportid=30230&datasetid=8723&accountid=2351&imgsize=tckt"></a> </td>    <td class="datagrid" id="grid_text001_72940307">Baru joins rescue Sheltie, Charlie, and they soon will have a fenced yard in which to play all their Sheltie games!  Baru&rsquo;s new mom has plenty of love to share with both boys, along with yummy homecooked meals.  And Baru&rsquo;s extended family includes MNSR Sheltie, Dave!  Adopted 7/8/10.</td> </tr> <table> <tr><td colspan="3"><span class="greyital">Showing dogs 1 - 10 of 348.&nbsp;&nbsp;&nbsp;See more:&nbsp;&nbsp;&nbsp;<a class="pagination" href="javascript:loadPage(30230,\'19qpws2kVU\',11,\'\',\'\');"><u>11-20</u></a>&nbsp;&nbsp;&nbsp;<a class="pagination" href="javascript:loadPage(30230,\'19qpws2kVU\',21,\'\',\'\');"><u>21-30</u></a>&nbsp;&nbsp;&nbsp;<a class="pagination" href="javascript:loadPage(30230,\'19qpws2kVU\',31,\'\',\'\');"><u>31-40</u></a>&nbsp;&nbsp;&nbsp;...&nbsp;&nbsp;&nbsp;<a class="pagination" href="javascript:loadPage(30230,\'19qpws2kVU\',341,\'\',\'\');"><u>341-348</u></a></span></td></tr> </table></p> ';
window.trackvia_content['30230-js'] = '';

// this sets the tvNNNN div with whatever is in the content var, which can be refreshed
// via the loadPage routine, which does an on-demand javascript call which changes the value.

function redraw(reportid_string) {
        window.document.getElementById('tv'+reportid_string).style.backgroundColor = '#FFFFFF';
        window.document.getElementById('tv'+reportid_string).className = 'reportwrapper';
        window.document.getElementById('tv'+reportid_string).innerHTML = window.trackvia_content[reportid_string];
	eval(window.trackvia_content[reportid_string+'-js']);
}

function initialize() {
	var head = document.getElementsByTagName("head")[0];
	
	var styles = document.createElement('link');
	styles.href = server+'/app/static/stylesheets/public.css';
	styles.rel = "stylesheet";
	styles.type = "text/css";
	head.appendChild(styles);
	
	redraw('30230');
}

function loadPage(reportid,testcode,num,sort1,dir1) {
    var res = '/app/pubrep?v='+testcode+'&a=update&r='+reportid+'&startnum='+num+'&postsort1='+sort1+'&dir1='+dir1+'&accountid=2351';
	loadScript(res);
}

function loadCal(reportid,testcode,mon,year) {
    var res = '/app/pubrep?v='+testcode+'&a=update&r='+reportid+'&cal_month='+mon+'&cal_year='+year+'&accountid=2351';
	loadScript(res);
}

function loadScript(loc) {
	var head = document.getElementsByTagName("head")[0];
    var script = document.createElement('script');
    script.type = 'text/javascript';
    script.src = server + loc;
    head.appendChild(script);
}

initialize()
