// JavaScript Document

if(top != self){
	top.location.href = self.location.href;
}

function GetDocument() {
    var argv = GetDocument.arguments;
    var argc = argv.length;

    if (argc == 1) {
		//location.href="/top100nederland/document.asp?documentId=" + argv[0];
		location.href="/algemeen/";
	} else {
		// location.href="/top100nederland/document.asp?documentId=" + argv[0] + "&" + argv[1] + "=" + argv[2];
		location.href="/algemeen/";
	}
}
	
function getObj(name)
{
  if (document.getElementById)
  {
  	this.obj = document.getElementById(name);
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {
	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

function OneOptionChecked() {
	var i;		
	for (i = 0; i < document.frmPoll.radPoll.length; i++)
		if (document.frmPoll.radPoll[i].checked) return true;		
	alert("You must select what you want to vote for\nbefore you can submit your vote!");
	return false;
}