// 123&#13sdfs&#32 
function printSpecialeffect(){
	n_ftColor		='white';
    n_bgColor          = 'transparent'; // set [='transparent'] for transparent
    n_position         = 'relative';
    n_top              = 0;
    n_left             = 0;
    n_width            = 300;
    n_height           = 20;
    n_timeOut          = 3;
    n_pauseOnMouseOver = true;
    n_speed            = 20;
    n_leadingSign      = ''; //'_';
    // the content - ['href', 'text', 'target']
    var url = new Array();
    var txt = new Array();
    var visual = "";
    for ( var i=0; i<o.theannounces.length; i++ ) {
		arr = o.theannounces[i].split("`");
		url[i] = "javascript:showannounce("+arr[0]+");";
		txt[i] = arr[1];
		
		visual+="[url["+i+"],txt["+i+"]],";
	}
	if ( visual.length>10 )
		 visual = visual.substring(0,visual.length-1);

   n_content = eval("["+visual+"];");
    
	n_nS4    = document.layers ? 1 : 0;
	n_iE     = document.all && !window.innerWidth && navigator.userAgent.indexOf( "MSIE" ) != -1 ? 1 : 0;
	n_nSkN   = document.getElementById && (navigator.userAgent.indexOf( "Opera" ) == -1 || document.body.innerHTML ) && !n_iE ? 1 : 0;
	n_t     = 0;
	n_cur    = 0;
	n_l      = n_content[0][1].length;
	n_timeOut *= 1000;
	n_p      = n_pauseOnMouseOver ? " onMouseOver=clearTimeout(n_TIM) OnMouseOut=n_TIM=setTimeout('n_new()',"+ n_timeOut +")>":">";
}

function n_new()
{
    if( !( n_iE || n_nSkN || n+S4 ) )
        return;
    
    var O, mes;
    O   = n_iE ? document.all['divobject'] : n_nS4 ? document.layers['divobject'] : document.getElementById('divobject');
    mes = n_content[n_t][0] != "" && n_cur==n_l ? ("<a style='color:"+n_ftColor+";border-bottom:1px solid "+n_ftColor+";' href='"+n_content[n_t][0]+"'"+n_p+n_content[n_t][1].substring(0,n_cur)+n_leadingSign+"</a>") : ("<span>"+n_content[n_t][1].substring(0,n_cur)+n_leadingSign+"</span>");
    
    if( n_nS4 )
        with( O.document )
        {
            open();
            write( mes );
            close();
        }
    else
        O.innerHTML = mes;
        
    if( n_cur++ == n_l )
    {
        n_cur = 0;
        n_TIM = setTimeout( "n_new()", n_timeOut );
        n_t++;
        if( n_t == n_content.length )
            n_t = 0;
        n_l = n_content[n_t][1].length;
    }
    else
    {
        setTimeout( "n_new()", n_speed );
    }
}

function printSpeciale( caption ){
    this.printSpecialeffect(); //position:'+n_position+';top:'+n_top+'px;left:'+n_left+'px;width:'+n_width+'px;height:'+n_height+'px;
    document.write('<div id=\"divobject\" style="padding-top:2px;clip:rect(0,'+n_width+','+n_height+',0);background-color:'+n_bgColor+';layer-background-color:'+n_bgColor+';">'+caption+'</div>');
    if( !n_nS4 )
        setTimeout( "n_new()", 2000 );
    else
        window.addOnload( n_new );

    if( n_nS4 )
        onresize = function(){
            location.reload()
        }
}
	
function showannounce(id) {
window.open("/shopping-navigation/template/announce/"+o.agent+"/"+id+".html",null,"width=550,height=365,status=yes,toolbar=no,menubar=no,location=no,scrollbars=yes");}		
			
			
			
			
//---------------------------------------------------------------------------------------------------------
// <body onload="runSlideShow()"><img height=265 src="../images/woman/belle1.jpg" width=200 name=SlideShow>
//
/*
var slideShowSpeed = 3000; 
var crossFadeDuration = 3; // Duration of crossfade (seconds)
var Pic = new Array();     // Specify the image files. 
// the pattern, adding to the array below
for( var i=0; i < 42; i++ )
{
    Pic[i] = "../../images/woman/belle"+i+".jpg";
}
// do not edit anything below this line
var t;
var j = 0;
var p = Pic.length;
var preLoad = new Array();
for( var i=0; i<p; i++ )
{
    preLoad[i] = new Image();
    preLoad[i].src = Pic[i];
}

function runSlideShow()
{
    if( document.all )
    {
        document.images.SlideShow1.style.filter = "blendTrans(duration=2)";
        document.images.SlideShow1.style.filter = "blendTrans(duration=crossFadeDuration)";
        document.images.SlideShow1.filters.blendTrans.Apply();
        
        document.images.SlideShow2.style.filter = "blendTrans(duration=2)";
        document.images.SlideShow2.style.filter = "blendTrans(duration=crossFadeDuration)";
        document.images.SlideShow2.filters.blendTrans.Apply();
    }
    
    document.images.SlideShow1.src = preLoad[j].src;
    document.images.SlideShow2.src = preLoad[j].src;
   // document.getElementById( "h" ).href = preLoad[j].src;
   // document.images.SlideShow1.title = "Welcome to the Association of Personal Injury Lawyers";

    if( document.all)
    {
        document.images.SlideShow1.filters.blendTrans.Play();
        document.images.SlideShow2.filters.blendTrans.Play();
    }
    
    j++; // j = j + 1;
    if( j>(p-1))
        j = 0;
    t = setTimeout('runSlideShow()', slideShowSpeed);
}

*/
