function quickSearchSpecial(imagename) {
    document.write('<form action=\"http://www.petfinder.com/search/search.cgi\" method=\"get\" name=\"quicksearch\" target="_blank" style=\"background: #7456a4; width: 150px; height: 290px; margin: 0px; padding: 0px; border: none;  background: url(http://www.petfinder.com/images/lessadoptable/special-widget.jpg) no-repeat; line-height: 13px; text-align: left\">');
	document.write('<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />');
	document.write('<label for=\"qs-animal\" style=\"margin: 0px 0px 0px 10px; color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 16px; border: none;\">Animal</label>');
    document.write('<input name=\"specialNeeds\" id=\"options\" type=\"hidden\" value=\"specialNeeds\">');
	document.write('<select name=\"animal\" id=\"qs-animal\" style=\"width: 130px; padding: 0px; background: #ffffff; margin: 0px 0px 5px 10px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 12px; border: none\">');
    document.write('<option value=\"\">All</option>');
    document.write('<option value=\"BarnYard\">Barn Yard</option>');
    document.write('<option value=\"Bird\">Bird</option>');
    document.write('<option value=\"Cat\">Cat</option>');
    document.write('<option value=\"Dog\">Dog</option>');
    document.write('<option value=\"Horse\">Horse</option>');
    document.write('<option value=\"Pig\">Pig</option>');
    document.write('<option value=\"Rabbit\">Rabbit</option>');
    document.write('<option value=\"Reptile\">Reptile</option>');
    document.write('<option value=\"Small&Furry\">Small & Furry</option>');
    document.write('</select>');
    document.write('<label for=\"qs-breed\" style=\"margin: 0px 0px 0px 10px; color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 16px; border: none;\">Breed</label>');
    document.write('<input type=\"text\" name=\"pet.Breed\" id=\"qs-breed\" title=\"Specify Pet Breed, if applicable\" style=\"width: 130px;  background: #ffffff; padding: 0px; margin: 0px 0px 5px 10px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 14px; border: none\"/>');
    document.write('<label for=\"qs-location\" style=\"margin: 0px 0px 0px 10px; color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 16px; border: none;\">Zip Code</label>');
    document.write('<input title=\"Specify a location to search\"');
    document.write('id=\"qs-location\" name=\"location\" style=\"width: 130px; padding: 0px; background: #ffffff;  margin: 0px 0px 5px 10px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 14px; border: none\"/>');
    document.write('<input type=\"submit\" value=\"Search\" class=\"submit\" style=\"width:  50px; padding: 0px; margin: -2px 0px 5px 90px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; border: 1px solid #000000; background-color: #ed1c24; line-height: 13px; text-align: center; height: 17px;\"/>');
    document.write('</form>');
}

function quickSearchSenior(imagename) {
	document.write('<form action=\"http://www.petfinder.com/search/search.cgi\" method=\"get\" name=\"quicksearch\" target="_blank" style=\"background: #7456a4; width: 150px; height: 290px; margin: 0px; padding: 0px; border: none;  background: url(http://www.petfinder.com/images/lessadoptable/senior-widget1.jpg) no-repeat; line-height: 13px; text-align: left\">');
	document.write('<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />');
	document.write('<label for=\"qs-animal\" style=\"margin: 0px 0px 0px 10px; color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 16px; border: none;\">Animal</label>');
    document.write('<input name=\"age\" id=\"options\" type=\"hidden\" value=\"senior\">');
	document.write('<select name=\"animal\" id=\"qs-animal\" style=\"width: 130px; padding: 0px;  background: #ffffff; margin: 0px 0px 5px 10px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 12px; border: none\">');
    document.write('<option value=\"\">All</option>');
    document.write('<option value=\"BarnYard\">Barn Yard</option>');
    document.write('<option value=\"Bird\">Bird</option>');
    document.write('<option value=\"Cat\">Cat</option>');
    document.write('<option value=\"Dog\">Dog</option>');
    document.write('<option value=\"Horse\">Horse</option>');
    document.write('<option value=\"Pig\">Pig</option>');
    document.write('<option value=\"Rabbit\">Rabbit</option>');
    document.write('<option value=\"Reptile\">Reptile</option>');
    document.write('<option value=\"Small&Furry\">Small & Furry</option>');
    document.write('</select>');
    document.write('<label for=\"qs-breed\" style=\"margin: 0px 0px 0px 10px; color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 16px; border: none;\">Breed</label>');
    document.write('<input type=\"text\" name=\"pet.Breed\" id=\"qs-breed\" title=\"Specify Pet Breed, if applicable\" style=\"width: 130px;  background: #ffffff;  padding: 0px; margin: 0px 0px 5px 10px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 14px; border: none\"/>');
    document.write('<label for=\"qs-location\" style=\"margin: 0px 0px 0px 10px; color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 16px; border: none;\">Zip Code</label>');
    document.write('<input title=\"Specify a location to search\"');
    document.write('id=\"qs-location\" name=\"location\" style=\"width: 130px; background: #ffffff;  padding: 0px; margin: 0px 0px 5px 10px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 13px; text-align: left; height: 14px; border: none\"/>');
    document.write('<input type=\"submit\" value=\"Search\" class=\"submit\" style=\"width:  50px; padding: 0px; margin: -2px 0px 5px 90px; font-family: Arial, Helvetica, sans-serif; font-size: 11px; border: 1px solid #000000; background-color: #ed1c24; line-height: 13px; text-align: center; height: 17px;\"/>');
    document.write('</form>');
}

function pfPitBullWidget1() {
  document.write('<form style="background: url(http://www.petfinder.com/images/fpm/pit-1-new.gif) no-repeat; width: 300px; height: 100px; ');
  document.write('padding: 0px; margin: 0px;" action="http://www.petfinder.com/search/search.cgi">');
  document.write('<div style="padding: 75px 0px 0px 10px;">');
  document.write('<input type="hidden" name="pet.Animal" value="Dog" />');
  document.write('<input type="hidden" name="pet.Breed" value="Pit Bull" />');
  document.write('<input type="image" value="Go" src="http://www.petfinder.com/images/fpm/go-new.gif" alt="Go" title="Go" ');
  document.write('style="background-color: transparent; color: white; border: 0px; padding: 0px; margin: 0px 4px 0px 0px; width: 24px; height: 24px;');
  document.write('font-weight: bold; font-size: 11px; font-family: Arial, Verdana, sans-serif; display: block; float: right; ');
  document.write('position: relative; top: -1px;" />');
  document.write('<select name="pet.Sex" style="width: 87px; font-size: 11px;font-family: Arial, Verdana, sans-serif; height: 20px; ');
  document.write('background: #ffffff"><option value="">Gender</option><option value="F">Female</option><option value="M">Male</option></select>');
  document.write('<select name="pet.Age" style="width: 74px; font-size: 11px; height: 20px;font-family: Arial, Verdana, sans-serif; ');
  document.write('background: #ffffff"><option value="">Age</option><option value="baby">Baby</option><option value="young">Young</option>');
  document.write('<option value="adult">Adult</option><option value="senior">Senior</option></select>');
  document.write('<input name="location" id="pf-pitbull1-location" value="Zip Code" style="width: 82px; font-size: 11px; ');
  document.write('font-family: Arial, Verdana, sans-serif; font-family: Arial, Verdana, sans-serif; background: #ffffff;" ');
  document.write('onclick="document.getElementById(\'pf-pitbull1-location\').value=\'\'" />');
  document.write('</div></form>');
}

function pfPitBullWidget2() {
  document.write('<form style="background: url(http://www.petfinder.com/images/fpm/pit-2.gif) no-repeat; width: 300px; height: 100px; ');
  document.write('padding: 0px; margin: 0px;" action="http://www.petfinder.com/search/search.cgi">');
  document.write('<input type="hidden" name="pet.Animal" value="Dog" />');
  document.write('<input type="hidden" name="pet.Breed" value="Pit Bull" />');
  document.write('<div style="padding: 31px 0px 0px 210px; width: 90px;">');
  document.write('<select name="pet.Sex" style="width: 87px; font-size: 11px;font-family: Arial, Verdana, sans-serif; height: 20px; ');
  document.write('margin: 0px 0px 2px 0px;"><option value="">Gender</option><option value="F">Female</option><option value="M">Male</option></select>');
  document.write('<select name="pet.Age" style="width: 87px; font-size: 11px; height: 20px; margin: 0px 0px 2px 0px; ');
  document.write('font-family: Arial, Verdana,sans-serif;background: #ffffff"><option value="">Age</option><option value="baby">Baby</option>');
  document.write('<option value="young">Young</option><option value="adult">Adult</option><option value="senior">Senior</option></select>');
  document.write('<table cellpadding="0" cellspacing="0" border="0"><tr><td>');
  document.write('<input name="location" id="pf-pitbull2-location" value="Zip Code" ');
  document.write('style="width: 60px; font-size: 11px; font-family: Arial, Verdana, sans-serif; height: 20px; margin: 0px; ');
  document.write('font-family: Arial, Verdana, sans-serif;background: #ffffff; position: relative; top:-1px;" ');
  document.write('onclick="document.getElementById(\'pf-pitbull2-location\').value=\'\'" />');
  document.write('</td><td>');
  document.write('<input type="image" value="Go" src="http://www.petfinder.com/images/fpm/go2.gif" alt="Go" title="Go" ');
  document.write('class="pf-go-button" style="border: 0px; padding: 0px; margin: 0px 3px;" />');
  document.write('</td></tr></table></div></form>');
}

function pfPitBullWidget3() {
  document.write('<form style="background: url(http://www.petfinder.com/images/fpm/pit-3.gif) no-repeat; width: 300px; height: 100px; ');
  document.write('padding: 0px; margin: 0px;" action="http://www.petfinder.com/search/search.cgi">');
  document.write('<input type="hidden" name="pet.Animal" value="Dog" />');
  document.write('<input type="hidden" name="pet.Breed" value="Pit Bull" />');
  document.write('<div style="padding: 31px 0px 0px 210px; width: 90px;">');
  document.write('<select name="pet.Sex" style="width: 87px; font-size: 11px;font-family: Arial, Verdana, sans-serif; height: 20px; ');
  document.write('margin: 0px 0px 2px 0px;"><option value="">Gender</option><option value="F">Female</option><option value="M">Male</option></select>');
  document.write('<select name="pet.Age" style="width: 87px; font-size: 11px; height: 20px; margin: 0px 0px 2px 0px; ');
  document.write('font-family: Arial, Verdana,sans-serif;background: #ffffff"><option value="">Age</option><option value="baby">Baby</option>');
  document.write('<option value="young">Young</option><option value="adult">Adult</option><option value="senior">Senior</option></select>');
  document.write('<table cellpadding="0" cellspacing="0" border="0"><tr><td>');
  document.write('<input name="location" id="pf-pitbull3-location" value="Zip Code" ');
  document.write('style="width: 60px; font-size: 11px; font-family: Arial, Verdana, sans-serif; height: 20px; margin: 0px; ');
  document.write('font-family: Arial, Verdana, sans-serif;background: #ffffff; position: relative; top:-1px;" ');
  document.write('onclick="document.getElementById(\'pf-pitbull3-location\').value=\'\'" />');
  document.write('</td><td>');
  document.write('<input type="image" value="Go" src="http://www.petfinder.com/images/fpm/go-green.gif" alt="Go" title="Go" ');
  document.write('class="pf-go-button" style="border: 0px; padding: 0px; margin: 0px 3px;" />');
  document.write('</td></tr></table></div></form>');
}

function pfPitBullWidget4() {
  document.write('<form style="background: url(http://www.petfinder.com/images/fpm/pit-4.gif) no-repeat; width: 300px; height: 100px; ');
  document.write('padding: 0px; margin: 0px;" action="http://www.petfinder.com/search/search.cgi">');
  document.write('<input type="hidden" name="pet.Animal" value="Dog" />');
  document.write('<input type="hidden" name="pet.Breed" value="Pit Bull" />');
  document.write('<div style="padding: 31px 0px 0px 210px; width: 90px;">');
  document.write('<select name="pet.Sex" style="width: 87px; font-size: 11px;font-family: Arial, Verdana, sans-serif; height: 20px; ');
  document.write('margin: 0px 0px 2px 0px;"><option value="">Gender</option><option value="F">Female</option><option value="M">Male</option></select>');
  document.write('<select name="pet.Age" style="width: 87px; font-size: 11px; height: 20px; margin: 0px 0px 2px 0px; ');
  document.write('font-family: Arial, Verdana,sans-serif;background: #ffffff"><option value="">Age</option><option value="baby">Baby</option>');
  document.write('<option value="young">Young</option><option value="adult">Adult</option><option value="senior">Senior</option></select>');
  document.write('<table cellpadding="0" cellspacing="0" border="0"><tr><td>');
  document.write('<input name="location" id="pf-pitbull4-location" value="Zip Code" ');
  document.write('style="width: 60px; font-size: 11px; font-family: Arial, Verdana, sans-serif; height: 20px; margin: 0px; ');
  document.write('font-family: Arial, Verdana, sans-serif;background: #ffffff; position: relative; top:-1px;" ');
  document.write('onclick="document.getElementById(\'pf-pitbull4-location\').value=\'\'" />');
  document.write('</td><td>');
  document.write('<input type="image" value="Go" src="http://www.petfinder.com/images/fpm/go2.gif" alt="Go" title="Go" ');
  document.write('class="pf-go-button" style="border: 0px; padding: 0px; margin: 0px 3px;" />');
  document.write('</td></tr></table></div></form>');
}
