/* Kontaktformular */
if(document.layers) {
height00 = 730;
}
else {
height00 = 700;
}
function openContact2007(url) {
	satellit =eval('window.open(url,"Form","location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,width=500,height='+height00+'")');
	satellit.window.focus();
}
function openVehicleContact2007(url) {
	satellit =eval('window.open(url,"ProduktForm","location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,width=500,height='+height00+'")');
	satellit.window.focus();
}

function openBranches2007(url) {
	satellit =eval('window.open(url,"BranchesForm","location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no,width=888,height=750")');
	satellit.window.focus();
}

/* Solutionguide */
//Radformel Grafik auf mouseover einblenden
function radformel(url, formel, tabId)
{
//	document.getElementById("radformel").innerHTML = '<div class="radformel_head"><strong>'+formel+'</strong></div><div class="radformel_img"><img src="'+url+'" alt="" border="0" /></div>';

	document.getElementById("radformel_help_" + tabId).style.display = "none";
	document.getElementById("radformel_" + tabId).style.display = "block";

	document.getElementById("radformel_img_" + tabId).src = url;
	document.getElementById("radformel_text_" + tabId).innerHTML = formel;
}

//Radformel Grafik auf mouseout ausblenden
function radformelHelp(tabId)
{
	return;

	document.getElementById("radformel_help_" + tabId).style.display = "block";
	document.getElementById("radformel_" + tabId).style.display = "none";
}

//Radformel Grafik auf mouseout ausblenden
function radformelHelpOLD(txt,touch,show,klick,pick )
{
	var img_radformel_help = /*VIPURL*/ "/mn-prod-neu/man2/global/datapool/images/radformel_help.gif";
	var radformelHTML = '<div class="radformel_titel"><strong>'+txt+'</strong></div><div><img src="' + img_radformel_help + '" alt="" width="223" height="84" border="0" /></div><div class="radformel_txt"><table border="0" cellpadding="0" cellspacing="0"><tr><td class="radformel_legende_r"><strong>'+touch+'</strong></td><td class="radformel_legende">'+show+'</td></tr><tr><td class="radformel_legende_r"><strong>'+klick+'</strong></td><td class="radformel_legende">'+pick+'</td></tr></table></div>';
	document.getElementById("radformel").innerHTML = radformelHTML;
}

//remove label text in input fields
function clearInitValue(el, initString)
{
	// clear text input value when input field is gaining focus for the first time
	if (el && initString && el.value == initString)
		el.value = "";
}
