<!--
           
           function gup(name){
                   name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
                   var regexS = "[\\?&]"+name+"=([^&#]*)";
                   var regex = new RegExp( regexS );
                   var results = regex.exec( window.location.href );
                   if( results == null )
                      return "";
                      else
                      return results[1];
            }
           
           var fonster1;

              function underline(obj){
              obj.style.textDecoration="underline";
               }

               function plainText(obj){
               obj.style.textDecoration="none";
               }
               
               function rowBGcolor(obj, bgcol, fcol){
                    	if (obj != null && obj.style != null)
				        obj.style.backgroundColor=bgcol;
                        obj.style.color=fcol;
		          }

              function tournamentTree(id){

                 	if(fonster1 != null){
	                fonster1.close ();
    	            }
                   var newUrl = "http://www.sbgf.se/turneringar/tradC.aspx?tId=" + id;
                   fonster1 = window.open(newUrl,"Resultat","width=700,height=500,left=10,top=80,menubar=no,location=no,toolbar=no,scrollbars=yes,resizable=yes");
                   }
                   
                   function playerPoints(id, namn, evt){

                  var redirUrl = "grottan.php?target=1&id=" + id + "&namn="+ namn;
                  location.href = redirUrl;
                   }

        function closePUg(){
    	if(fonster1 != null){
	    fonster1.close ();
        }
    	}
     

             -->

