<!--

    IE4 = (document.all) ? 1 : 0;
    NS4 = (document.layers) ? 1 : 0;
    ver4 = (IE4 || NS4) ? 1 : 0;

    if (ver4) {
        secondIm = "<img src = 'img/tool1.gif' usemap = '#toolmap' width = 571 height = 99 border = 0>";
        arPopups = new Array()
    }
    else { secondIm = "" }

    function setBeginEnd(which,from,to) {
        arPopups[which] = new Array();
        arPopups[which][0] = from;
        arPopups[which][1] = to;
    }

    if (ver4) {
        setBeginEnd(1,0,104);
        setBeginEnd(2,105,214);
        setBeginEnd(3,215,379);
        setBeginEnd(4,380,489);
        setBeginEnd(5,490,571);
    }

    clTop = 0;
    clBot = 99;

    function mapOver(which,on) {
        if (!ver4) { return }
        if (IE4) { whichEl = document.all.elMenuOver.style }
            else { whichEl = document.elMenu.document.elMenuOver };

        if (!on) { whichEl.visibility = "hidden"; return }

        clLeft = arPopups[which][0];
        clRight = arPopups[which][1];

	if (NS4) {
            whichEl.clip.left = clLeft;
            whichEl.clip.right = clRight;
	}
	else {
            whichEl.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")";
	}

        whichEl.visibility = "visible"
    }


/*
SCROLLING TEXT
*/

var scrollCounter = 0;
var scrollText    = "";
var scrollDelay   = 70;

var i = 0;
while (i ++ < 140)
    scrollText = "Safe-T-Pet - making quality personalized pet products since 1987.              " +
    "                     " + scrollText;

function ScrollIt()
{
    window.status = scrollText.substring(scrollCounter++, scrollText.length);
    if (scrollCounter == scrollText.length)
        scrollCounter = 0;
    setTimeout("ScrollIt()", scrollDelay);
}

ScrollIt();


/*
Blending Image Slide Show Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

function reapply(){
setTimeout("slideit()",2000)
return true
}
window.onerror=reapply


var image1=new Image()
image1.src="http://www.safe-t-pet.com/photo/img/Front/dog61.jpg"
var image2=new Image()
image2.src="http://www.safe-t-pet.com/photo/img/Front/cat1.jpg"
var image3=new Image()
image3.src="http://www.safe-t-pet.com/photo/img/Front/dog41.jpg"
var image4=new Image()
image4.src="http://www.safe-t-pet.com/photo/img/Front/cat7.jpg"
var image5=new Image()
image5.src="http://www.safe-t-pet.com/photo/img/Front/dog33.jpg"
var image6=new Image()
image6.src="http://www.safe-t-pet.com/photo/img/Front/dog39.jpg"
var image7=new Image()
image7.src="http://www.safe-t-pet.com/photo/img/Front/cat6.jpg"
var image8=new Image()
image8.src="http://www.safe-t-pet.com/photo/img/Front/dog19.jpg"
var image9=new Image()
image9.src="http://www.safe-t-pet.com/photo/img/Front/cat10.jpg"
var image10=new Image()
image11.src="http://www.safe-t-pet.com/photo/img/Front/dog12.jpg"


    IE4 = (document.all) ? 1 : 0;
    NS4 = (document.layers) ? 1 : 0;
    ver4 = (IE4 || NS4) ? 1 : 0;
	NS6 = false;
	if (navigator.appName == "Netscape") {
		if (navigator.appVersion.indexOf("5.0 ") != -1) {
			NS6 = true } }

    if (ver4) {
        topsecondIm = "<img src = 'img/stptop2.gif' usemap = '#toptoolmap' width = 760 height = 17 border = 0>";
        secondIm = "<img src = 'img/stptool1.gif' usemap = '#toolmap' width = 760 height = 23 border = 0>";
        arTopPopups = new Array();
        arPopups = new Array();
    }
    else {
		topsecondIm = "";
        secondIm = "" ;
    }

    function setTopBeginEnd(which,from,to) {
        arTopPopups[which] = new Array();
        arTopPopups[which][0] = from;
        arTopPopups[which][1] = to;
    }

    function setBeginEnd(which,from,to) {
        arPopups[which] = new Array();
        arPopups[which][0] = from;
        arPopups[which][1] = to;
    }

    if (ver4) {
        setBeginEnd(1,3,30);
        setBeginEnd(2,31,134);
        setBeginEnd(3,134,257);
        setBeginEnd(4,257,379);
        setBeginEnd(5,379,502);
        setBeginEnd(6,502,625);
        setBeginEnd(7,625,729);
        setBeginEnd(8,729,757);
        setTopBeginEnd(1,1,58);
        setTopBeginEnd(2,58,127);
        setTopBeginEnd(3,127,198);
        setTopBeginEnd(4,198,287);
        setTopBeginEnd(5,287,383);
        setTopBeginEnd(6,383,471);
        setTopBeginEnd(7,471,528);
        setTopBeginEnd(8,528,586);
        setTopBeginEnd(9,586,760);
    }

    function topmapOver(which,on) {
        if (!ver4) { return }
        if (IE4) { whichElTop = document.all.elTopMenuOver.style }
            else { whichElTop = document.elTopMenu.document.elTopMenuOver }

        if (!on) { whichElTop.visibility = "hidden"; return }

	    clTop = 0;
	    clBot = 17;
        clLeft = arTopPopups[which][0];
        clRight = arTopPopups[which][1];

	if (NS4) {
            whichElTop.clip.left = clLeft;
            whichElTop.clip.right = clRight;
	}
	else {  whichElTop.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")" }

        whichElTop.visibility = "visible";
    }

    function mapOver(which,on) {
        if (!ver4) { return }
        if (IE4) { whichEl = document.all.elMenuOver.style }
            else { whichEl = document.elMenu.document.elMenuOver }

        if (!on) { whichEl.visibility = "hidden"; return }

	    clTop = 0;
	    clBot = 23;
        clLeft = arPopups[which][0];
        clRight = arPopups[which][1];

	if (NS4) {
            whichEl.clip.left = clLeft;
            whichEl.clip.right = clRight;
	}
	else {  whichEl.clip = "rect(" + clTop + " " + clRight + " " + clBot + " " + clLeft + ")" }

        whichEl.visibility = "visible";
    }

	function myopen(filename,windowname,properties) {
	    mywindow = window.open(filename,windowname,properties) }

	function randomtxt() {

		var Rdm1Cnt = (Math.round((Math.random()*6)))
		var Rdm2Cnt
	    	do { Rdm2Cnt = (Math.round((Math.random()*6))) }
		   while (Rdm2Cnt == Rdm1Cnt) 

		imgTxt = new Array();

		imgTxt[0] = "img/fronttowels.jpg"
		imgTxt[1] = "img/frontmouse.jpg"
		imgTxt[2] = "img/frontclock.jpg"
		imgTxt[3] = "img/frontframe.jpg"
		imgTxt[4] = "img/frontcoasters.jpg"
		imgTxt[5] = "img/frontmid.jpg"
		imgTxt[6] = "img/frontfrr.jpg"

		lnkTxt = new Array();

		lnkTxt[0] = "towels.html"
		lnkTxt[1] = "mousepads.html"
		lnkTxt[2] = "clock.html"
		lnkTxt[3] = "frames.html"
		lnkTxt[4] = "coasters.html"
		lnkTxt[5] = "midtags.html"
		lnkTxt[6] = "http://www.frrinc.com/"

		tx1Txt = new Array();

		tx1Txt[0] = "Pet DRY Towels"
		tx1Txt[1] = "Photo Mouse Pads"
		tx1Txt[2] = "Pet Photo Clock"
		tx1Txt[3] = "Wooden Photo Frames"
		tx1Txt[4] = "Pet Photo Coasters"
		tx1Txt[5] = "Military ID Tags"
		tx1Txt[6] = "Flint River Ranch Food"

		tx2Txt = new Array();

		tx2Txt[0] = "Made out of a revolutionary material that quickly absorbs excess water from pets\' hair"
		tx2Txt[1] = "A great way to remember your loved ones, even while you are busy on the computer"
		tx2Txt[2] = "Take your pet to work with you! Our stylish clocks can feature any pet photo"
		tx2Txt[3] = "These beautiful wood frames can be laser engraved with your favorite friend\'s name"
		tx2Txt[4] = "These extra durable, cork-backed coasters make great conversation pieces"
		tx2Txt[5] = "These key chain/neck-worn military-style ID tags can feature any type of photo"
		tx2Txt[6] = "We are convinced Flint River Ranch is the best pet food on the market!"


		document.getElementById("img1").src = imgTxt[Rdm1Cnt]
		document.getElementById("lnk1").href = lnkTxt[Rdm1Cnt]
		document.getElementById("lnk2").href = lnkTxt[Rdm1Cnt]
		document.getElementById("txt1").innerHTML = tx1Txt[Rdm1Cnt]
		document.getElementById("txt2").innerHTML = tx2Txt[Rdm1Cnt]
		
		document.getElementById("img3").src = imgTxt[Rdm2Cnt]
		document.getElementById("lnk3").href = lnkTxt[Rdm2Cnt]
		document.getElementById("lnk4").href = lnkTxt[Rdm2Cnt]
		document.getElementById("txt3").innerHTML = tx1Txt[Rdm2Cnt]
		document.getElementById("txt4").innerHTML = tx2Txt[Rdm2Cnt]
	
}
//-->

