function printPage()
{
	if (window.print)
  	window.print()
  else
		alert("Your browser probably does't support Javascript");
}
var windowNote;
function showPic(title, pic, colorBack, wid, hei, idee)
{
	var idee = idee|| "default";
	windowNote = window.open('','Note'+ idee,'top=5, left=5, toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=' + wid + ',height='+ hei);
	image = '<a href="javascript:window.close()"><img src="'+ pic +'" width="'+ wid +'" height="'+ hei +'" border="0" alt="X"></a>';
	text = "<html><head><META HTTP-EQUIV=\"imagetoolbar\" CONTENT=\"no\"><title>"+ title + "</title></head><body bgcolor=\"#" + colorBack +"\" leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\">" + image + "</body></html>";
	windowNote.document.write(text);
	windowNote.focus();
	windowNote.document.close();
	return false;
}
var type = "IE";
BrowserSniffer();
function BrowserSniffer()
{
	if (navigator.userAgent.indexOf("Opera")!=-1 && document.getElementById) type="OP";	//Opera
	else if (document.all) type="IE";							//Internet Explorer e.g. IE4 upwards
	else if (document.layers) type="NN";							//Netscape Communicator 4
	else if (!document.all && document.getElementById) type="MO";				//Mozila e.g. Netscape 6 upwards
	else type = "IE";									//I assume it will not get here
}
function hide_div(div_name)
{
	if (type=="IE") eval("document.all."+div_name+".style.display='none'");
	if (type=="NN") eval("document."+div_name+".display='none'");
	if (type=="MO" || type=="OP") eval("document.getElementById(div_name).style.display='none'");
}
function showhide_div(div_name)
{
	if (type=="IE")
	{
		if(eval("document.all."+div_name+".style.display")!='none')
		{
			eval("document.all."+div_name+".style.display='none'");
		}
		else
		{
			eval("document.all."+div_name+".style.display='block'");
		}
	}
	if (type=="NN")
	{
		if(eval("document."+div_name+".display")!='none')
		{
			eval("document."+div_name+".display='none'");
		}
		else
		{
			eval("document."+div_name+".display='block'");
		}
	}
	if (type=="MO" || type=="OP")
	{
		if(eval("document.getElementById(div_name).style.display")!='none')
		{
			eval("document.getElementById(div_name).style.display='none'");
		}
		else
		{
			eval("document.getElementById(div_name).style.display='block'");
		}
	}
}
function submit_form()
{
	document.getElementById('vorm').submit();
}
function reset_form()
{
	document.getElementById('vorm').reset();
}
function change_basket()
{
	var selObj = document.getElementById('basket_color_id');
	var selIndex = selObj.selectedIndex;
	document.getElementById('colorpic').src=colorpics[selObj.options[selIndex].value];
	document.getElementById('price').value=colorprice[selObj.options[selIndex].value];

	if (document.layers)
    document['colorpic'].background.src = colorpics[selObj.options[selIndex].value] == 'none' ? null : colorpics[selObj.options[selIndex].value];
	else if (document.all)
    document.all['colorpic'].style.backgroundImage = colorpics[selObj.options[selIndex].value] == 'none' ? 'none' 
: 'url(' + colorpics[selObj.options[selIndex].value] + ')';
	else if (document.getElementById)
    document.getElementById('colorpic').style.backgroundImage = colorpics[selObj.options[selIndex].value] == 
'none' ? 'none' : 'url(' + colorpics[selObj.options[selIndex].value] + ')';
}

function concise(){}
concise.g=function(i){
	if(document.getElementById(i)){
		return document.getElementById(i);
	}else{
		return false
	}
}
