function startList() {
	if (document.all&&document.getElementById) {
		dropmenuRoot = document.getElementById("nav");
			for (i=0; i<dropmenuRoot.childNodes.length; i++) {
				node = dropmenuRoot.childNodes[i];
				if (node.nodeName=="LI") {
					
					node.onmouseover=function() {
					this.className+=" over";
				}
				node.onmouseout=function() {
					this.className=this.className.replace(" over", "");
				}
			}
		}
	}
}

function dropMenu(id) {
	var root = document.getElementById(id);
	for (var i=0;i<root.childNodes.length;i++ )	{
		node = root.childNodes[i];
		if (node.nodeName=="LI") {
			node.onmouseover = function (){this.className = "hover";	}
		}
		node.onmouseout = function (){this.className = this.className.replace("hover", "");}
	}

}



function siteweb() {

	siteweb="<a href=\"javascript:location.href=\'http:\/\/del.icio.us\/post?&amp;url=\'+encodeURIComponent(location.href)+\'&amp;title=\'+encodeURIComponent(document.title)\"><img alt=Del.icio.us src=\"/templets/PDO2008/images/upfile/social_delicious.png\" width=16 height=16><\/a>";

	siteweb = siteweb+"&nbsp;<a href=\"javascript:location.href=\'http:\/\/digg.com\/submit?phase=2&url=\'+encodeURIComponent(location.href)+\'&title=\'+encodeURIComponent(document.title)\"><img alt=digg src=\"/templets/PDO2008/images/upfile/social_digg.png\" width=16 height=16><\/a>";

	siteweb = siteweb+"&nbsp;<a href=\"javascript:location.href=\'http:\/\/www.google.com\/bookmarks\/mark?op=add&amp;bkmk=\'+encodeURIComponent(location.href)+\'&amp;title=\'+encodeURIComponent(document.title)\"><img alt=Google src=\"/templets/PDO2008/images/upfile/social_google.png\" width=16 height=16><\/a>";

	siteweb = siteweb+"&nbsp;<a href=\"javascript:location.href=\'http:\/\/myweb2.search.yahoo.com\/myresults\/bookmarklet?u=\'+encodeURIComponent(location.href)+\'&amp;t=\'+encodeURIComponent(document.title)\"><img alt=Yahoo src=\"/templets/PDO2008/images/upfile/social_yahoo.png\" width=16 height=16><\/a>";

	siteweb = siteweb+"&nbsp;<a href=\"javascript:location.href=\'http:\/\/facebook.com/sharer.php?u=\'+encodeURIComponent(location.href)+\'&amp;title=\'+encodeURIComponent(document.title)\"><img alt=Facebook src=\"/templets/PDO2008/images/upfile/social_facebook.png\" width=16 height=16><\/a>";
	document.getElementById("siteweb").innerHTML=siteweb;
}

