// JavaScript Document

function showhide(id)
{
	if (document.getElementById)
	{
		obj = document.getElementById(id);
		if (obj.style.display == "none")
		{
			obj.style.display = "";
		} 
		else 
		{
			obj.style.display = "none";
		}
	}
	
} 

function hidebtn(id)
{
if (document.getElementById)
	{
		obj = document.getElementById(id);
		if (obj.style.display == "block")
		{
			obj.style.display = "none";
		} 
		else 
		{
			obj.style.display = "block";
		}
	}
}

function contact_payment(id)
{
if (document.getElementById)
	{
		objCP = document.getElementById(id);
		if (objCP.className == "contact_payment")
		{
			objCP.className = 'contact_payment_close';
		} 
		else 
		{
			objCP.className = 'contact_payment';
		}
	}
}

function changeNav_bullet(id)
{
if (document.getElementById)
	{
		objCNB = document.getElementById(id);
		if (objCNB.className == "nav_bullet_open")
		{
			objCNB.className = 'nav_bullet_b';
		} 
		else 
		{
			objCNB.className = 'nav_bullet_open';
		}
	}
} 
//Menu Script
$(document).ready(function () {	
	
	$('#nav li').hover(
		function () {
			//show its submenu
			$('ul', this).slideDown(100);

		}, 
		function () {
			//hide its submenu
			$('ul', this).slideUp(100);			
		}
	);
	
});
