function GetDetails(id)	{
	location.href= './?mode=pvdetails&action=vergelijk&item='+id;
	}

function GetMenu(url)	{
	location.href= url;
	}
function OpenBlankUrl(url) {
OpenWin = this.open(url, "CtrlWindow", "toolbar=yes,menubar=yes,location=yes,scrollbars=yes,resizable=yes");
	}
function GetAanbieding(url)	{
	window.open(+url);
	}

function upperCase(veld) 
{
	veld.value = veld.value.toUpperCase();
}

function autoTab(object, event, length, next_field) 
{
	if (event == "d") 
	{
		field_length = object.value.length;
	}
	else if (event == "u") 
	{
		if (object.value.length != field_length) 
		{
			field_length = object.value.length;
			if (field_length == length) 
			{
				next_field.focus();
			}
		}
	}
}

if (document.images)
{
  pic1= new Image(250,208); 
  pic1.src="images/LeftBarVak.gif"; 

  pic2= new Image(205,16); 
  pic2.src="images/Menu_Back_A.gif"; 

  pic3= new Image(205,16); 
  pic3.src="images/Menu_Back_B.gif"; 

  pic4= new Image(130,60); 
  pic4.src="images/logo_head.gif"; 

  pic5= new Image(600,500); 
  pic5.src="images/Content_Back.gif"; 

  pic6= new Image(50,19); 
  pic6.src="images/logo_footer.gif"; 

  pic7= new Image(100,19); 
  pic7.src="images/logo_netmanufacture.gif"; 

  pic8= new Image(28,19); 
  pic8.src="images/logo_rss.gif"; 
}

function StatusBar(bericht) {
 	window.status = bericht;
	if (bericht == '') {window.status = 'Gereed'}
          
	return true;
	}
function OpenBox(idname) {
type = 'block';	
obInfoBox = document.getElementById(idname);
obInfoBox.style.display = type;
}
function CloseBox(idname) {
type = 'block';	
obInfoBox = document.getElementById(idname);
obInfoBox.style.display = 'none';
}