<!--
var win = null;
function PopupWindow(url,name,w,h,scroll){
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=no'
	win = window.open(url,name,settings)
}

function jumpto(vehicle, currentPage, currentVehicle )
{
	if(vehicle!='stay')
	{
		document.location.href = currentPage.replace(currentVehicle,vehicle);
	}
}

function setImage(gallery, imgURL, imgCaption)
{
	document.getElementById(gallery+'SelectedImage').src = imgURL;
	document.getElementById(gallery+'SelectedImage').setAttribute("title", imgCaption)
	document.getElementById(gallery+'SelectedCaption').innerHTML = imgCaption;
}

var lastgallery = 1;
function setImageBlock(gallery, galleryno)
{
	
	document.getElementById(gallery+'Div'+lastgallery).style.display = 'none';
	lastgallery = galleryno;
	
	document.getElementById(gallery+'Div'+galleryno).style.display = 'block';
}

function WriteFlashContent(hasFlash,width,height,Furl,quality,wmode,alt,Iurl){
if(hasFlash){document.write("<object type=\"application/x-shockwave-flash\" data=\""+Furl+"\" height=\""+height+"\" width=\""+width+"\"><param name=\"movie\" value=\""+Furl+"\"><param name=\"quality\" value=\""+quality+"\"><param name=\"wmode\" value=\""+wmode+"\"></object>");}
else if(Iurl) {document.write("<img src=\""+Iurl+"\"  alt=\"" + alt + "\"/>");}
else {document.write("<div id=\"noflash\"><h2>Browser Plugin Not Found</h2><p>The required version of Macromedia Flash Player was not detected.</p><ul><li><a href=\"http://www.macromedia.com/go/getflashplayer\" title=\"Get Flash Player\">Download Macromedia Flash Player</a></li><li>Contact the Ford Help Desk for more details</li></ul><p><a class=\"getflash\" href=\"http://www.macromedia.com/go/getflashplayer\" title=\"Get Flash Player\"><img src=\"/FAP/global/img/get_flash_player.gif\" height=\"31\" width=\"88\" alt=\"Download Flash Player\"/></a></p></div>");}}


function toggle(element, group){
	if(element.checked) { document.getElementById(group).style.display="block";	}
	else { document.getElementById(group).style.display="none";	}
}

//-->
