var url="http://www.kristanna.org"; // URL
var title="Kristanna Loken"; // Titre

function getCookie(NameOfCookie) {
if (document.cookie.length > 0) {              
begin = document.cookie.indexOf(NameOfCookie+"=");       
if (begin != -1) {           
begin += NameOfCookie.length+1;       
end = document.cookie.indexOf(";", begin);
if (end == -1) end = document.cookie.length;
return unescape(document.cookie.substring(begin, end)); }}
return null; }
function setCookie(NameOfCookie, value, expiredays) {
var ExpireDate = new Date ();
ExpireDate.setTime(ExpireDate.getTime() + (expiredays * 24 * 3600 * 1000));
document.cookie = NameOfCookie + "=" + escape(value) + 
((expiredays == null) ? "" : "; expires=" + ExpireDate.toGMTString()); }
function delCookie (NameOfCookie) {
if (getCookie(NameOfCookie)) {
document.cookie = NameOfCookie + "=" + 
"; expires=Thu, 01-Jan-70 00:00:01 GMT"; }}
function bookmark() {
visited=getCookie('visited');
if (visited==null) {
setCookie('visited','yes',365)
window.external.AddFavorite(url,title); }}
if (document.all) {
document.write('<A HREF="javascript:window.ext');
document.write('ernal.AddFavorite(url,title);" ');
document.write('onMouseOver=" window.status=');
document.write("'Add bookmark !'; return true ");
document.write('"onMouseOut=" window.status=');
document.write("' '; return true ");
document.write('"></a>'); }
else {
document.write("<p align=center><font color=#000080 size=2>Add "+title+"in yours Favorites (CTRL-D)</font></p>"); }
