//pic init
var dot = new Image();
var non = new Image();
dot.src = "img/quad.gif";
non.src = "img/quad_x.gif";



function loadOneFrame(URL1,F1){
   	parent.frames[F1].location.href=URL1;
}

function loadTwoFrames(URL1, F1, URL2, F2){
    	parent.frames[F1].location.href=URL1;
    	parent.frames[F2].location.href=URL2;		
}

function showRoute(){
if (document.route.selectRoute.options[document.route.selectRoute.selectedIndex].value != "route_introtxt.html") {
	url = document.route.selectRoute.options[document.route.selectRoute.selectedIndex].value;
	loadOneFrame(url,1);    
 }else{
	loadOneFrame("route_introtxt.html",1); 
 }
}

function setPoint(bildName){
	   for (i=1;i<18;i++)
	   {
	   		img = "non"+i;
			window.document[img].src = non.src;
	   }
	   window.document[bildName].src = dot.src;
}

function delPoints(){
		for (i=1;i<18;i++)
	   {
	   		img = "non"+i;
			window.document[img].src = non.src;
	   }
}


function setPoint2(bildName){
	   for (i=1;i<15;i++)
	   {
	   		img = "non"+i;
			window.document[img].src = non.src;
	   }
	   window.document[bildName].src = dot.src;
}

function delPoints2(){
		for (i=1;i<15;i++)
	   {
	   		img = "non"+i;
			window.document[img].src = non.src;
	   }
}






















