	function bookMark(strName){
		if (strName=="del.icio.us"){
			var url = encodeURIComponent(location.href);
			var title = encodeURIComponent(document.title);
			var description = "some description";
			var notes = "FantasticBargains.net";
			var tags = "myTags here";
			window.open('http://del.icio.us/post?v=4;url='+url+';title='+title+';description='+description+';notes='+notes+';tags='+tags);
		}
		if (strName=="digg.com"){
			var url = encodeURIComponent(location.href);
			var title = encodeURIComponent(document.title);
			var description = "some description";
			var topic = "topic";
			window.open('http://digg.com/submit?phase=2&url='+url+'&title='+title+'&bodytext='+description+'&topic='+topic);
		}
	}


	function shObj(obj, displayAs, force){
		var error = false;
		var temp_obj = getObject(obj);
		if (!temp_obj){ alert("( "+obj+" ) not found or not an object\n"); return false; }else{
			var currentStyle = temp_obj.style.display;
		}

		if (force && !displayAs){ alert("No display status defined \nForce display can not be applied to ( "+obj+" )"); return false; }

		if (!displayAs){
			var currentStyle = temp_obj.style.display;
			//if (currentStyle==('' || 'none') || !currentStyle){
			if (currentStyle=='none'){
				displayAs = "block";
			}else{
				displayAs = "none";
			}
		}

		if (displayAs && !force){
			var currentStyle = temp_obj.style.display;
			if (currentStyle==displayAs && displayAs!='none'){
				displayAs = "none";
			}
		}
		//alert(obj+" > " + currentStyle + " < " + displayAs);
		temp_obj.style.display = displayAs;
		
		var res = (displayAs == "none") ? false : true;
		return res;
	}


// General Functions
	function getObject(obj){
		var error = false;
		if (typeof(obj)!="object"){
			obj = document.getElementById(obj);
		}
		if (typeof(obj)!="object"){
			error = "Invalid target object ( " + obj + " )";
		}
		if (error){
			alert(error);
			return false;
		}else{
			return obj;
		}
	}

function hideStatus(obj){
	var b=getObject(obj);
	//if(!b) b=document.getElementById("r");
	if (b)
	{
		var a = b ? b.getElementsByTagName("a"):0;
		for(i=0; i<a.length; i++){
			//if(a[i].title != '') {
				//a[i].onclick=trackit;
				a[i].onmouseover=function (){ window.status=this.title.toLowerCase(); return true; };
				a[i].onmouseout=function (){ window.status=''; return true; }
			//}
		}
	}
}
