//Function to set url for DDF one pump guarantee.
function setDDFURL(ddfId) {
	document.getElementById(ddfId).href = "javascript:openDDFPop('/en_US/ddf_guarantee.do');";
	document.getElementById(ddfId).target = "";
}

//Function to reset url for DDF one pump guarantee.
function resetDDFURL(ddfId) {
	document.getElementById(ddfId).href = "/en_US/ddf_guarantee.do";
	document.getElementById(ddfId).target = "_blank";
}

//Function to set url for Send to a friend.
function setSTFURL(stfId) {
	document.getElementById(stfId).href = "javascript:openPop('/en_US/sendtofriend.do');";
	document.getElementById(stfId).target = "";
}

//Function to reset url for Send to a friend.
function resetSTFURL(stfId) {
	document.getElementById(stfId).href = "/en_US/sendtofriend.do";
	document.getElementById(stfId).target = "_blank";
}

//Function to set/reset url of link to popup.
function setPopupURL(linkId, linkTarget, targetValue) {
	document.getElementById(linkId).href = linkTarget;
	document.getElementById(linkId).target = targetValue;
}