// mei 2005
// forum.js
// Plaatsen van een link naar het forum in div forum

document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.write("<tr>");
document.write("<td>");
document.write("<a target=\"_blank\" class=\"forumlink\" href=\"\doc\\SRV Artikel eindvoorstel.pdf\"> Uw mening<\a>");


document.write("<br>Laatste nieuws");

//News Bar script- By Premshree Pillai (premshree@hotmail.com)
//http://www.qiksearch.com/javascripts.htm
//Enhancements by Dynamic Drive
//Visit http://www.dynamicdrive.com for this script

 var msgs = new Array(
	 "Nieuwe versie LPG-tool",
	 "Vervoer gevaarlijke stoffen",
	 "Populatiebestanden groepsrisico",
	 "Nieuwe Revi 2007 en groepsrisico",
	 "LPG-tool",
     "Stand van zaken Handreiking ",
	 "Stappenplan LPG tankstations",
	 "Groepsrisico bij het Basisnet",
	 "Nieuwe voorbeelden" ,					  
	 "Verblijftijdencorrectie",
	 "Veiligheidsafstanden buisleidingen",
	 "Limiteren doorzet LPG-tankstation"
	 
	 ); // No comma after last ticker msg

 var msg_url = new Array(
	 "nieuws.html#lpgtool2007",
	 "nieuws.html#vervoergevaarlijkestoffen",
	 "nieuws.html#populatiebestanden",
	 "nieuws.html#nieuwerevi2007",
	 "nieuws.html#LPGtool",
     "nieuws.html#handreiking",
     "nieuws.html#LPGtankstations",
	 "nieuws.html#basisnet",
     "nieuws.html#Voorbeelden",
     "nieuws.html#verblijftijdencorrectie",
     "nieuws.html#veiligheidsafstandenbuisleidingen",
     "nieuws.html#limiterendoorzet"
	 ); // No comma after last ticker url

var barwidth='165px' //Enter main bar width in px or %
var setdelay=5000 //Enter delay between msgs, in mili-seconds
var mouseover_color='rgb(232,232,216)' //Specify highlight color
var mouseover_forcolor='rgb(162,140,88)' //Specify highlight color
var mouseover_color='white' //Specify highlight color
var mouseover_forcolor='rgb(162,140,88)' //Specify highlight color
var mouseout_color='rgb(162,140,88)' //Specify default color
var mouseout_forcolor='white' //Specify default color
/////////////////////////////////////////////////////////////////////

var count=0;
var ns6=document.getElementById&&!document.all
var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1

if (ie4||ns6){
document.write('<form name="news_bar"><input type="button" value="3" onclick="moveit(0)" class="scrollerstyle" style="width:22px; height:22px; border-right-width:0px;" name="prev" title="Vorig nieuwsitem"><input type="button" name="news_bar_but" onclick="goURL();" style="color:white;	font-size:9px;background:rgb(162,140,88); width:'+barwidth+'; height:22px; border-width:0; border-color:#000000; cursor:hand" onmouseover="this.style.background=mouseover_color;this.style.color=mouseover_forcolor" onmouseout="this.style.background=mouseout_color;this.style.color=mouseout_forcolor"><input type="button" value="4" onclick="moveit(1)" class="scrollerstyle" style="width:22px; height:22px; border-left-width:0px;" name="next" title="Volgend nieuwsitem"></form>');
}
else{
document.write('<form name="news_bar"><input type="button" value="Previous" onclick="moveit(0)">')
if (navigator.userAgent.indexOf("Opera")!=-1)
document.write('<input type="button" name="news_bar_but" onclick="goURL();" style="width:'+barwidth+'" border="0">')
else
document.write('<input type="button" name="news_bar_but" onclick="goURL();" width="'+barwidth+'" border="0">')
document.write('<input type="button" value="Next" onclick="moveit(1)"></form>')
}

function init_news_bar(){
  document.news_bar.news_bar_but.value=msgs[count];
}
//moveit function by Dynamicdrive.com
function moveit(how){
if (how==1){ //cycle foward
if (count<msgs.length-1)
count++
else
count=0
}
else{ //cycle backward
if (count==0)
count=msgs.length-1
else
count--
}
document.news_bar.news_bar_but.value=msgs[count];
}

setInterval("moveit(1)",setdelay)

function goURL(){
 location.href=msg_url[count];
}

init_news_bar();




document.write("<p style='font-size:9px'><i>Website ontwikkeld door <br><a class='owlink' href='http://www.oranjewoud.nl' target='_blank' onfocus='if(this.blur)this.blur()'>Advies- en Ingenieursbureau Oranjewoud</a></i></p>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");


