function bookmarkMe()//Bookmarks the page, only works in IE, firefox gets an explanation telling them how to bookmark the page.
{    
    if ((navigator.appName == 'Microsoft Internet Explorer') && (parseInt(navigator.appVersion) >= 4)) 
    {
    window.external.AddFavorite(window.location.href,document.title);
    } 
    else  
    {
    alert('Press CTRL-D (FireFox) or CTRL-T (Opera) to bookmark'); 
    } 
}
function makeHomePage()//function that sets there homepage, to this current page. (only works in IE, FF gets an error saying problem)
{   
    if(navigator.appName == 'Netscape')
    {
        alert('Your Browser does not support this Function');
    }
    else
    {
       document.body.style.behavior='url(#default#homepage)';
       document.body.setHomePage(window.location.href);
       
    }
}
function bookMarkLink()
{


         document.write("<a href='javascript:bookmarkMe()'>BookMark Page</a>");

 
}
function confirmation() {
    var answer = confirm("Are you Positive you want to Delete This Message ?")
    return answer;
}
function openFunPuzzle($level)
  {
  	mine=window.open ("fungame.php?level="+$level+"","popup","status=1,width=450,height=470");
  }
  
 function getElementHeight(Elem)
  {
	if (ns4) {
		var elem = getObjNN4(document, Elem);
		return elem.clip.height;
	} else {
		if(document.getElementById) {
			var elem = document.getElementById(Elem);
		} else if (document.all){
			var elem = document.all[Elem];
		}
		if (op5) { 
			xPos = elem.style.pixelHeight;
		} else {
			xPos = elem.offsetHeight;
		}
		return xPos;
	} 
}