function checkCat()
{
    if ( document.formContact.cat.value == "" )
	{
	    alert( "Please select a category." );
	    return false;
	}
	return true;
}

function tab(tabNo)
{
	var section1  = document.getElementById("section1");
	var section2  = document.getElementById("section2");
	var section3  = document.getElementById("section3");	
	var section4  = document.getElementById("section4");		
	
	var tab1  = document.getElementById("tab1");
	var tab2  = document.getElementById("tab2");	
	var tab3  = document.getElementById("tab3");
	var tab4  = document.getElementById("tab4");	
	
	if (tabNo=="tab1")
	{
		section1.style.display="block";
		if ( section2 != null ) section2.style.display="none";		
		if ( section3 != null ) section3.style.display="none";
		if ( section4 != null ) section4.style.display="none";		
	}
	
	if (tabNo=="tab2")
	{
		section1.style.display="none";
		if ( section2 != null ) section2.style.display="block";		
		if ( section3 != null ) section3.style.display="none";
		if ( section4 != null ) section4.style.display="none";
	}	
	
	if (tabNo=="tab3")
	{
		section1.style.display="none";
		if ( section2 != null ) section2.style.display="none";		
		if ( section3 != null ) section3.style.display="block";		
		if ( section4 != null ) section4.style.display="none";			
	}
	
	if (tabNo=="tab4")
	{
		section1.style.display="none";
		if ( section2 != null ) section2.style.display="none";	
		if ( section3 != null ) section3.style.display="none";
		if ( section4 != null ) section4.style.display="block";				
		InitVSlider1();
	}
	
}
function addBookmark(title,url)
{
	if (window.sidebar)
	{
		window.sidebar.addPanel(title, url,"");
	}
	else if( document.all )
	{
		window.external.AddFavorite( url, title);
	}
	else if( window.opera && window.print )
	{
		return true;
	}
}
