
/* USE WORDWRAP AND MAXIMIZE THE WINDOW TO SEE THIS FILE
========================================
 V-NewsTicker v1.2
 License : Freeware (Enjoy it!)
 (c)2003 VASIL DINKOV- PLOVDIV, BULGARIA
========================================
 For IE4+, NS4+ & Opera5+
========================================
 Get the NewsTicker script at:
 http://www.smartmenus.org/other.php
 and don't wait to get the Great SmartMenus script at:
 http://www.smartmenus.org
 LEAVE THESE NOTES PLEASE - delete the comments if you want */

v_font_2='verdana,arial,sans-serif';
v_fontSize_2='10pt';
v_fontSizeNS4_2='10pt';
v_fontWeight_2='normal';
v_textDecoration_2='none';
v_textDecorationHover_2='underline';
v_paddingTop_2=2;
v_paddingLeft_2=2;
v_timeout_2=2500;
v_slideSpeed_2=30;
v_slideDirection_2=0;
v_strHead_2='';
v_strFoot_2='';
v_fontColor_2='#000099';
v_pauseOnMouseOver_2=true;
v_fontColorHover_2='#ff0000';
v_bgColor_2='#FFFFFF';
v_width_2=380;
v_height_2=60;

v_content_2=[		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38697','<B>Subscribe to Water Technology Print or Digital magazine today!</B><br>7/29/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38696','<B>Security worker found dead at water treatment plant</B><br>7/29/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38695','<B>EPA to oversee Kalamazoo River oil spill response</B><br>7/29/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38694','<B>UN resolution declares access to clean water as fundamental right</B><br>7/29/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38693','<B>Pentair reports double digit revenue gains</B><br>7/29/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38692','<B>iMPACT 3 Global to distribute Aquentium ozone equipment</B><br>7/29/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38691','<B>Smart Yard™ program saves more than 1.9 million gallons of water</B><br>7/29/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38690','<B>Massive storm causes 2.1 billion-gallon sewer overflow</B><br>7/29/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38689','<B>Household chemicals blamed for duck die-off</B><br>7/29/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38678','<B>Massive oil spill besieges major Michigan waterway</B><br>7/28/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38677','<B>Report answers questions about effects of disinfectants on PE pipe</B><br>7/28/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38676','<B>California American Water appoints new engineering director</B><br>7/28/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38675','<B>WRF to host workshop on California’s water-energy nexus</B><br>7/28/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38674','<B>Pa. farmers urged to comply with water quality regulations</B><br>7/28/2010<br>','_blank'],		
			['http://news.ntpinc.com/syndicatepro.asp?Task=Click&SiteID=2&SiteGroupID=11&ArticleID=38673','<B>Pure Technologies acquires PPIC</B><br>7/28/2010<br>','_blank']];

v_nS4_2=document.layers?1:0;
v_iE_2=document.all&&!window.innerWidth&&navigator.userAgent.indexOf("MSIE")!=-1?1:0;
v_oP_2=navigator.userAgent.indexOf("Opera")!=-1?1:0;
v_kN_2=navigator.userAgent.indexOf("Konqueror")!=-1?1:0;
v_mZ_2=navigator.userAgent.indexOf("Mozilla")!=-1?1:0;
v_count_2=v_content_2.length;
v_s1_2=1;
v_cur_2=1;
v_d_2=v_slideDirection_2?-1:1;
v_TIM_2=0;
v_fontSize2_2=v_nS4_2&&navigator.platform.toLowerCase().indexOf("win")!=-1?v_fontSizeNS4_2:v_fontSize_2;
v_canPause_2=0;

function v_getOS_2(a){
	return v_iE_2?document.all[a].style:v_nS4_2?document.layers['v_container_2'].document.layers[a]:document.getElementById(a).style;
}


function v_start_2(){
	var o=v_getOS_2('v_'+v_cur_2+'_2');
	if(!o)return;
	if(v_iE_2||v_oP_2){
		if(o.pixelTop==v_paddingTop_2){
			v_canPause_2=1;
			if(v_count_2>1)v_TIM_2=setTimeout("v_canPause_2=0;v_slide_2()",v_timeout_2);
			return;
		}
		o.pixelTop-=v_d_2;
		if(v_oP_2&&o.visibility.toLowerCase()!='visible')o.visibility='visible';
		setTimeout("v_start_2()",v_slideSpeed_2);
		return;
	}
	if(parseInt(o.top)==v_paddingTop_2){
		v_canPause_2=1;
		if(v_count_2>1)v_TIM_2=setTimeout("v_canPause_2=0;v_slide_2()",v_timeout_2);
		return;
	}
	o.top=parseInt(o.top)-v_d_2;
	setTimeout("v_start_2()",v_slideSpeed_2);
}

function v_slide_2(){
	var o=v_getOS_2('v_'+v_cur_2+'_2');
	var o2=v_getOS_2('v_'+(v_cur_2<v_count_2?v_cur_2+1:1)+'_2');
	if(!o||!o2)return;
	if(v_iE_2||v_oP_2){
		if(o.pixelTop==v_paddingTop_2*2-v_height_2*v_d_2){
			if(v_oP_2)o.visibility='hidden';
			o.pixelTop=v_height_2*v_d_2;
			v_cur_2=v_cur_2<v_count_2?v_cur_2+1:1;
			v_canpause_2=1;
			v_tim_2=setTimeout("v_canPause_2=0;v_slide_2()",v_timeout_2);
			return;
		}
		o.pixelTop-=v_d_2;
		if(v_oP_2&&o2.visibility.toLowerCase()!='visible')o2.visibility='visible';
		o2.pixelTop-=v_d_2;
		setTimeout("v_slide_2()",v_slideSpeed_2);
		return;
	}
	if(parseInt(o.top)==v_paddingTop_2*2-v_height_2*v_d_2){
		o.top=v_height_2*v_d_2;
		v_cur_2=v_cur_2<v_count_2?v_cur_2+1:1;
		v_canpause_2=1;
		v_tim_2=setTimeout("v_canPause_2=0;v_slide_2()",v_timeout_2);
		return;
	}
	o.top=parseInt(o.top)-v_d_2;
	o2.top=parseInt(o2.top)-v_d_2;
	setTimeout("v_slide_2()",v_slideSpeed_2);
}

v_temp_2='<div '+(v_nS4_2?"name":"id")+'=v_container_2 style="position:relative;width:'+v_width_2+'px;height:'+v_height_2+'px;background-color:'+v_bgColor_2+';layer-background-color:'+v_bgColor_2+';clip:rect(0,'+v_width_2+','+v_height_2+',0);overflow:hidden">';
for(v_i_2=0;v_i_2<v_count_2;v_i_2++) {
	v_temp_2+='<div '+(v_nS4_2?"name":"id")+'="v_'+(v_i_2+1)+'_2" style="position:absolute;top:'+(v_height_2*v_d_2)+'px;left:'+v_paddingLeft_2+'px;width:'+(v_width_2-v_paddingLeft_2*2)+'px;height:'+(v_height_2-v_paddingTop_2*2)+'px;clip:rect(0,'+(v_width_2-v_paddingLeft_2*2)+','+(v_height_2-v_paddingTop_2*2)+',0);overflow:hidden'+(v_oP_2||v_kN_2?";visibility:hidden":"")+'">';
	v_temp_2+='<a href="'+v_content_2[v_i_2][0]+'" target="'+v_content_2[v_i_2][2]+'" class=vnewsticker_2'+(v_pauseOnMouseOver_2?" onmouseover=\'if(v_canPause_2&&v_count_2>1)clearTimeout(v_TIM_2)\' onmouseout=\'if(v_canPause_2&&v_count_2>1)v_TIM_2=setTimeout(\"v_canpause_2=0;v_slide_2()\","+v_timeout_2+")\'":"")+'>'+v_content_2[v_i_2][1]+'</a>';
	v_temp_2+='</div>';
}
v_temp_2+='</div>';

function NSInit_2() {
	setTimeout("v_start_2()",3000);
}



document.write('<style>.vnewsticker_2{font-family:'+v_font_2+';font-size:'+v_fontSize2_2+';color:'+v_fontColor_2+';text-decoration:'+v_textDecoration_2+';font-weight:'+v_fontWeight_2+'}.vnewsticker_2:hover{font-family:'+v_font_2+';font-size:'+v_fontSize2_2+';font-weight:'+v_fontWeight_2+';color:'+v_fontColorHover_2+';text-decoration:'+v_textDecorationHover_2+'}</style>');

document.write(v_strHead_2);
document.write(v_temp_2);
document.write(v_strFoot_2);
if(!v_kN_2&&!v_nS4_2)setTimeout("v_start_2()",1000);
if (v_nS4_2) {
	onresize=function(){location.reload()}
	setTimeout("NSInit_2()", 1000);
}

