/*Javascript Error Stopper

*/

function stoperror(){

return true

}

window.onerror=stoperror

// NS4-6,IE4-6

// Fade effect only in IE; degrades gracefully



// Set slideShowSpeed (milliseconds)

var slideShowSpeed = 4500



// Duration of crossfade (seconds)

var crossFadeDuration = 3



// Specify the image files

var Pic = new Array() // don't touch this

// to add more images, just continue

// the pattern, adding to the array below



Pic[0] = 'mainhdr.jpg'

Pic[1] = 'mainhdrb.jpg'



var t

var j = 0

var p = Pic.length



var preLoad = new Array()

for (i = 0; i < p; i++){

   preLoad[i] = new Image()

   preLoad[i].src = Pic[i]

}



function runSlideShow(){

   if (document.all){

      document.images.SlideShow.style.filter="blendTrans(duration=2)"

      document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"

      document.images.SlideShow.filters.blendTrans.Apply()      

   }

   document.images.SlideShow.src = preLoad[j].src

   if (document.all){

      document.images.SlideShow.filters.blendTrans.Play()

   }

   j = j + 1

   if (j > (p-1)) j=0

   t = setTimeout('runSlideShow()', slideShowSpeed)

}

<!-- Begin

if ((navigator.appName.indexOf('Microsoft')+1)) {

document.write('<style type="text/css"> .opacity1 {filter:alpha(opacity=65)} .opacity2 {filter:alpha(opacity=100)} </style>'); }

if ((navigator.appName.indexOf('Netscape')+1)) {

document.write('<style type="text/css"> .opacity1 {-moz-opacity:0.5} .opacity2 {-moz-opacity:1} </style>'); }

else {

document.write(''); }

//  End -->

</script>

<STYLE TYPE="text/css">

BODY 

{ 

scrollbar-base-color: #A180A3; 

scrollbar-arrow-color: #ffffff;

scrollbar-DarkShadow-Color: #A052A0; 

}

</STYLE>

function addbookmark()

{

bookmarkurl="http://www.stemdecor.com"

bookmarktitle="StemDecor - Wineglass Charms & Wedding Favors"

if (document.all)

window.external.AddFavorite(bookmarkurl,bookmarktitle)

}

//  End -->
image1 = new Image();

image1.src="/favicon.ico";

if (parent.frames.length > 0) {

    parent.location.href = self.document.location

}

