function disable()
{
	return false;
}
$(document).ready( function() {
	//alert();
	//$('#alles').css('height', document.body.offsetHeight+'px');
	//$('#alles').css('height', ($('.mlisteName').length()*$('.mlisteName:first')[0].offsetHeight) + $('#printsm')[0].offsetHeight) +'px');
	
	$('a').click(disable); 								/* disable all links in print view... */
	$('#printfunctions a').unbind('click', disable); 	/* ... except printing functions */
});

function ToggleProductDescription(pThis)
{
	ToggleStuff(pThis, 'ProductDescription');
}
function ToggleProductImage(pThis)
{
	ToggleStuff(pThis, 'ProductImage');
}
function ToggleStuff(pThis, pStuff)
{
	var elms = null;
	switch(pStuff)
	{
		case 'ProductDescription':
			elms = $(pThis).parent().find('p, ul, li');
			break;
		case 'ProductImage':
			//break;
		default:
			elms = $(pThis).parent().parent().find('img.bildlinks');
	}
	
	if (pThis.src.match(/minus_/)) 
	{
		pThis.src = pThis.src.replace(/minus_/, 'plus_');
		elms.hide();
	}
	else 
	{
		pThis.src = pThis.src.replace(/plus_/, 'minus_');
		elms.show();
	} 
}

