// JavaScript Document

function evb_big($url){
	if($url == ''){$url = window.location.href;}
	evburl = 'http://72.14.182.56/evb/' + escape(encodeURIComponent($url));
	document.write("<iframe src='" + evburl + "' height='75' width='75' frameborder='0' scrolling='no'></iframe>"); 
}

function evb_small($url){
	if($url == ''){
		document.write("<a href = \"http://tipd.com/submit.php?url=" + escape(window.location.href).replace(/\+/g,"%2b") + "\"><img src = \"http://tipd.com/favicon.gif\"></a>");
	} else {
		document.write("<a href = \"http://tipd.com/submit.php?url=" + escape($url).replace(/\+/g,"%2b") + "\"><img src = \"http://tipd.com/favicon.gif\"></a>");
	} 
}

function evb_text($url){
	if($url == ''){
		document.write("<a href = \"http://tipd.com/submit.php?url=" + escape(window.location.href).replace(/\+/g,"%2b") + "\">Add to Tip'd</a>");
	} else {
		document.write("<a href = \"http://tipd.com/submit.php?url=" + escape($url).replace(/\+/g,"%2b") + "\">Add to Tip'd</a>");
	} 
}