function setupChat(){
	setTimeout("_setupChat()", 1);
}

function _setupChat(){
	var divTarget = $("#header_contact ul");
	if (divTarget.length) {
		divTarget = divTarget[0];
	}else{
		return;
	}
	
	var divChat = $("#chat");
	if (divChat.length){
		return
	}else{
		divChat = document.createElement("li");
		divChat.id = "chat";
		divTarget.appendChild(divChat);
		
		if (document.getElementById("scN1SI") == null){
			var divTag = document.createElement("span");
			divTag.id = "scN1SI";
			divTag.style.display = "inline";
			divChat.appendChild(divTag);
			
			var seN1SI=document.createElement("script");
			seN1SI.type="text/javascript";
			seN1SI.src = (location.protocol.indexOf("https")==0?"https":"http")+"://image.providesupport.com/js/susanacohen/safe-standard.js?ps_h=N1SI&ps_t="+new Date().getTime();
			divTag.appendChild(seN1SI);
		}
	}
}

function setupFavicon() { 
		var link = document.createElement('link'); 
		link.type = 'image/x-icon'; 
		link.rel = 'shortcut icon'; 
		link.href = 'http://www.allcashoffer.com/static/uploads/allcashoffer/favicon.ico'; 
		document.getElementsByTagName('head')[0].appendChild(link); 
}; 

window.onload = function() { /* setupChat(); */ setupFavicon(); }	


