// JavaScript Document

	function enter (idd,idl)
	{
	 	oitem = document.getElementById(idd);
		oitem.style.backgroundColor = '#0690b8';
		if (idl != '')
			olink = document.getElementById(idl);
		if (idd.length==2)
			oitem.style.fontWeight='bolder';
		oitem.style.color='#ffffff';
		if (idl != '') olink.style.color='#ffffff';
	}
	
	function out (idd,idl)
	{
	 	oitem = document.getElementById(idd);
		if (idl != '')
			olink = document.getElementById(idl);
		oitem.style.backgroundColor = '';
		if (idd.length==2)
		{
			oitem.style.color='#000000';
			oitem.style.fontWeight='lighter';
		}
		else
		{
			oitem.style.color='#FF4C00';
			if (idl != '') olink.style.color='#FF4C00';
		}
	}
	
	function toggle_menu(id1)
	{
		 if(document.all)
	     {
			 var olistitem = document.all.item(id1);
			 var omain_menu = document.all.item('main_menu');
			 
			 if (olistitem.style.color == omain_menu.style.color) 
			 {
			 	if (id1=="fproperty")
				{
					olistitem.style.color = "#e6ed2c";
					return;
				}
				olistitem.style.color = "#af0500";
			 	olistitem.style.fontSize = "larger";
			 }
			 else
			 {
				 olistitem.style.color = omain_menu.style.color;
			 	 olistitem.style.fontSize = omain_menu.style.fontSize;
			 }
		 }
		 if (!document.all && document.getElementById)
	     {
			 var olistitem = document.getElementById(id1);
			 var omain_menu = document.getElementById('main_menu');
			 if (olistitem.style.color == omain_menu.style.color) 
			 {
			 	if (id1=="fproperty")
				{
					olistitem.style.color = "#e6ed2c";
					return;
				}
				olistitem.style.color = "#af0500";
			 	olistitem.style.fontSize = "larger";
			 }
			 else
			 {
				 olistitem.style.color = omain_menu.style.color;
			 	 olistitem.style.fontSize = omain_menu.style.fontSize;
			 }
		 }
	}
	
	function swap_tabs(id1, img1)
	{
		 if(document.all)
	   		 var otab = document.all.item(id1);
		 else if (!document.all && document.getElementById)
	     	var otab = document.getElementById(id1);
		otab.style.backgroundImage = 'url(img1)';
	}