<!--

function addToFavorite()
{
	window.external.AddFavorite('http://www.autoplanning.nl/','Algemene Leasemaatschappij Autoplanning');
}

function doCall()
{
	
	var sName = document.frmCall.name.value;
	var sPhone = document.frmCall.tel.value;
	
	if ((sName == '') || (sPhone == ''))
	{
		alert("U dient een naam en een telefoonnummer in te vullen. Probeer het opnieuw.");
		
	}
	else
	{
		var win = window.open('responseCall.asp?n=' + sName + '&p=' + sPhone,'_blank','height=400,width=400,status=no,toolbar=no,menubar=no,location=no');			
	}
}

function openApplication()
{
	var win = window.open('http://mail.autoplanning.nl:8080/Stap2.asp','_new','fullscreen=yes, scrollbars=yes');	
}

function hoverMenu(oImage, nState)
{
	if (nState == 1) { oImage.src = "../images/img_active_mitem.gif" }
	if (nState == 0) { oImage.src = "../images/px_t.gif" }
}

function hoverMenuHome(oImage, nState)
{
	if (nState == 1) { oImage.src = "images/img_active_mitem.gif" }
	if (nState == 0) { oImage.src = "images/px_t.gif" }
}

// Flashobject activeX workaround
function makeFlashObj(sID, sPath, sWidth, sHeight, sBG)
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="' + sID + '" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="' + sWidth + '" height="' + sHeight + '">');
	document.write('<param name="movie" value="' + sPath + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="bgcolor" value="' + sBG + '">');
	document.write('<embed bgcolor="' + sBG + '" src="' + sPath + '" quality="high" id="' + sID + '" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + sWidth + '" height="' + sHeight + '"></embed>');
	document.write('</object>');
}

//-->
