/**
 * modelnumber assistant functions
 **/
function loadModelnumberImage(imageLink,bigImage) {
	// newImageSrc = imageLink.childNodes[0].src.replace(/.jpg/,"_big.jpg");    --> the replace is not used anymore!
	newImageSrc = imageLink.childNodes[0].src;
	$("#"+bigImage).attr("src",newImageSrc);
}
function showModelnumberContent(nr,link) {
	$("#modellnummerassistent .leftnavigation a").removeClass("aktiv");
	$(link).addClass("aktiv");
	$("#modellnummerassistent .content").hide();
	$("#modellnummerassistent #content"+nr).show();
}

var doShowTypeplateBubble = false;
function showTypeplateBubble(div,color) {
	doShowTypeplateBubble = true;
	window.setTimeout(function(){
		showShowTypeplateBubble(div,color)
	},500);
}
function showShowTypeplateBubble(div,color) {
	$(".typenschildbubble").show();
}
function hideTypeplateBubble() {
	doShowTypeplateBubble = false;
	window.setTimeout("hideHideTypeplateBubble()",500);
}
function hideHideTypeplateBubble() {
	if (!doShowTypeplateBubble) {
		$(".typenschildbubble").hide();
	}
}

