function shareBookmark() {
	var sURL = "";
	var sDescription = "";
	var sTagsWithSpaces = "";
	var sTagsWithCommas = ""
	var sTitle = "";
	
	this.url = function(sNewURL) {
		if(sNewURL) {
			sURL = escape(sNewURL);
		}
		return sURL;
	}

	this.description = function(sNewDescription) {
		if(sNewDescription) {
			sDescription = escape(sNewDescription);
		} 
		return sDescription;
	}
	
	this.title = function(sNewTitle) {
		if(sNewTitle) {
			sTitle = escape(sNewTitle);
		} 
		return sTitle;
	}
	
	this.tags = function(sNewTags) {
		if(sNewTags) {
			if(sNewTags.indexOf(",") > -1) {
				sTagsWithCommas = escape(sNewTags);
				sTagsWithSpaces = sNewTags.replace(/,/g," ");
				sTagsWithSpaces = escape(sTagsWithSpaces);
			} else {
				sTagsWithSpaces = escape(sNewTags);
				sTagsWithCommas = sNewTags.replace(/\s/g,",");
				sTagsWithCommas = escape(sTagsWithCommas);
			
			}
		} 
		return sTagsWithCommas;
	}
	
	var aSites = new Array();

	this.sites = function() {
		var aReturnSites = new Array();
		setSites();
		for(var i=0;i<aSites.length;i++) {
			aReturnSites[aReturnSites.length]=aSites[i];
		}
		
		return aReturnSites;
	}
		
	function setSites() {
		aSites = new Array();
		var sSite = "";
		
		sSite ="digg.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://digg.com/submit?phase=2&url="+sURL+"&bodytext="+sDescription+"&tags="+sTagsWithSpaces+"&title="+sTitle;
		
		sSite ="del.icio.us";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://del.icio.us/post?v=2&url="+sURL+"&notes="+sDescription+"&tags"+sTagsWithSpaces+"&title="+sTitle;
		
		sSite ="reddit.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://reddit.com/submit?url="+sURL+"&title="+sTitle;
		
		sSite ="stumbleupon.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://www.stumbleupon.com/submit?url="+sURL+"&newcomment="+sDescription+"&title="+sTitle;

		sSite ="furl.net";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://www.furl.net/storeIt.jsp?u="+sURL+"&keywords="+sTagsWithCommas+"&t="+sTitle;
		
		sSite ="yahoo.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://myweb2.search.yahoo.com/myresults/bookmarklet?t="+sTitle+"&d="+sDescription+"&tag="+sTagsWithCommas+"&u="+sURL;
		
		sSite ="blogmarks.net";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://blogmarks.net/my/new.php?mini=1&simple=1&url="+sURL+"&content="+sDescription+"&public-tags="+sTagsWithCommas+"&title="+sTitle;
		
		sSite ="diigo.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://www.diigo.com/post?url="+sURL+"&title="+sTitle+"&tag="+sTagsWithCommas+"&comments="+sDescription;
		
		sSite ="technorati.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://technorati.com/faves?add="+sURL+"&tag="+sTagsWithSpaces;
		
		sSite ="newsvine.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://www.newsvine.com/_wine/save?popoff=1&u="+sURL+"&tags="+sTagsWithCommas+"&blurb="+sTitle;
		
		sSite ="blinkbits.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://www.blinkbits.com/bookmarklets/save.php?v=1&title="+sTitle+"&source_url="+sURL+"&source_image_url=&rss_feed_url=&rss_feed_url=&rss2member=&body="+sDescription;
		
		sSite ="ma.gnolia.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://ma.gnolia.com/bookmarklet/add?url="+sURL+"&title="+sTitle+"&description="+sDescription+"&tags="+sTagsWithCommas;
		
		sSite ="spurl.net";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://www.spurl.net/spurl.php?v=3&tags="+sTagsWithCommas+"&title="+sTitle+"&url="+sURL;
		
		sSite ="myspace.com";
		aSites[aSites.length] = sSite;
		// c = embed/object
		aSites[sSite] = "http://www.myspace.com/Modules/PostTo/Pages/?t="+sTitle+"&c=&u="+sURL;

		sSite ="facebook.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://www.facebook.com/sharer.php?u="+sURL+"&t="+sTitle;

		
		sSite ="orkut.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://www.orkut.com/FavoriteVideos.aspx?u="+sURL;
	
		sSite ="fark.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://cgi.fark.com/cgi/fark/farkit.pl?u="+sURL+"&h="+sTitle;
	
		sSite ="mixx.com";
		aSites[aSites.length] = sSite;
		// partner = partner code
		aSites[sSite] = "http://www.mixx.com/submit/video?partner=&page_url="+sURL;

		sSite ="spaces.live.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://spaces.live.com/BlogIt.aspx?Title="+sTitle+"&SourceURL="+sURL+"&description="+sDescription;

		sSite ="slashdot.org";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "	http://slashdot.org/slashdot-it.pl?op=basic&url="+sURL;
		
		sSite ="macblips.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://macblips.com/post/url/?url="+sURL+"&title="+sTitle;

		sSite ="blogmarks.net";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://blogmarks.net/my/new.php?mini=1&url="+sURL+"&title="+sTitle;

		sSite ="myjeeves.ask.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://myjeeves.ask.com/mysearch/BookmarkIt?v=1.2&t=webpages&url="+sURL+"&title="+sTitle;
		
		sSite ="favorites.my.aol.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://favorites.my.aol.com/ffclient/AddBookmark?url="+sURL+"&title="+sTitle+"&favelet=true";
		
		sSite ="linkedin.com";
		aSites[aSites.length] = sSite;
		aSites[sSite] = "http://www.linkedin.com/shareArticle?mini=true&url="+sURL+"&title="+sTitle;


		aSites=aSites.sort()
		return aSites;
	}
	this.href = function (sSite) {
		setSites();
		return aSites[sSite];
	}
	return this;
}


