  
   function bg_a(prop)
   {
      prop.bgColor="#000000";
      prop.style.color="#FFFFFF";
      prop.style.cursor='hand';
      prop.style.border="1 solid #FFDF28";
   }
   function switchLink(URL){
     window.location.href = URL;
   }
   function bg_b(prop)
   {
      prop.bgColor="#999999";
      prop.style.color="#000000";
      prop.style.border="1 solid #FFDF28";   
   }  
   function bg_c(prop)
   {
      prop.bgColor="#C0C0C0";
      prop.style.color="black";
      prop.style.cursor='hand';
   }  
   function bg_c(prop)
   {
      prop.bgColor="#FFFFFF";
      prop.style.color="#C0C0C0";
   }
   
//Gradual-Highlight image script- By Dynamic Drive
//For full source code and more DHTML scripts, visit http://www.dynamicdrive.com
//This credit MUST stay intact for use

function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.100
else if (which2.filters)
which2.filters.alpha.opacity=50
}

function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.100
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

//No rc
if (window.Event)
  document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
	event.cancelBubble = true
	event.returnValue = false;
	return false;
}
function norightclick(e)
{
	if (window.Event)
	{
		if (e.which == 2 || e.which == 3)
			return false;
	}
	else
		if (event.button == 2 || event.button == 3)
		{
			event.cancelBubble = true
			event.returnValue = false;
			return false;
		}
}
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;
// BM
 var urlAddress = "http://www.nguoimau.com";
 var pageName = "NguoiMau.Com - Models and Modeling Portal";

 function addToFavorites()
 {
  if (window.external)
  {
   window.external.AddFavorite(urlAddress,pageName)
  }
  else
  { 
   alert("Sorry! Your browser doesn't support this function.");
  }
 }
