flag=0;
function showtab(no) 
{//document.getElementById('content2_3').style.display='none';
document.getElementById('content0').style.display='none';
	for(i=1;i<=7;i++)
		{	
			document.getElementById('content' + i).style.display='none';
			document.getElementById('content' + i).className='text_area_de';
			document.getElementById('img' + i).src='images/menu' + i + '.gif';
		}
	/*if(no==3 && flag==0)
	{
				
		//alert("Enter if first flag=0");
			document.getElementById('img' + no).src='images/menu3_y.gif';
			document.getElementById('content' + no).style.display='block';
			document.getElementById('content' + no).className='text_area_menu';
			//alert(document.getElementById('img3').src);
			flag=1;
	}
	else
	if(no==3 && flag==1)
	{
			//alert("Enter if first flag=1");
			document.getElementById('img' + no).src='images/menu3_y1.gif';
			document.getElementById('content2_' + no).style.display='block';
			document.getElementById('content2_' + no).className='text_area_menu';
			flag=0;
	}
	else
	{
		
		//alert("last");
		if(no==3)
		{
			//alert("Enter if last flag=1");
			
				flag=1;
		}*/
		
			document.getElementById('content' + no).style.display='block';
			document.getElementById('content' + no).className='text_area_menu';
			document.getElementById('img' + no).src='images/menu' + no + '_y.gif';
			if(no==8)
			{
				showscroll();
			}
			else
			{
				showscroll1();
			}
	//}
		
	//	alert(document.getElementById('content8').style.display);
		//alert(document.getElementById('content0').style.display);
		
}
function showwine()
{
	if(document.URL.toString().indexOf('=') != "-1")
	{
       	var Par= document.URL.toString().substr(document.URL.toString().indexOf('=') + 1);
		//alert(document.URL.toString().indexOf('='));
		if(Par=="true")
		{
			showtab(8);
		}
		else
		{	
			//alert("Error");
		}
	}
//Normal...
}
function showscroll()
{
scrolldiv_setColor('#BFA770');	// Setting border color of the scrolling content
setSliderBgColor('#5A4518');	// Setting color of the slider div
setContentBgColor('#5A471C');	// Setting color of the scrolling content
setScrollButtonSpeed(1);	// Setting speed of scrolling when someone clicks on the arrow or the slider
setScrollTimer(5);	// speed of 1 and timer of 5 is the same as speed of 2 and timer on 10 - what's the difference? 1 and 5 will make the scroll move a little smoother.
scrolldiv_setWidth(888);	// Setting total width of scrolling div
scrolldiv_setHeight(360);	// Setting total height of scrolling div
scrolldiv_initScroll();	
//alert('scrollfull');
}
function showscroll1()
{
	//alert('showscroll1')
scrolldiv_setColor_half('#BFA770');	// Setting border color of the scrolling content
setSliderBgColor_half('#5A4518');	// Setting color of the slider div
setContentBgColor_half('#5A471C');	// Setting color of the scrolling content
setScrollButtonSpeed_half(1);	// Setting speed of scrolling when someone clicks on the arrow or the slider
setScrollTimer_half(5);	// speed of 1 and timer of 5 is the same as speed of 2 and timer on 10 - what's the difference? 1 and 5 will make the scroll move a little smoother.
scrolldiv_setWidth_half(430);	// Setting total width of scrolling div
scrolldiv_setHeight_half(360);	// Setting total height of scrolling div
scrolldiv_initScroll_half();	
//alert('scrollhalf111111111');
}
/*function showscroll()
{
scrolldiv_setColor('#D6CBBD');	// Setting border color of the scrolling content
setSliderBgColor('#5A4518');	// Setting color of the slider div
setContentBgColor('#5A471C');	// Setting color of the scrolling content
setScrollButtonSpeed(1);	// Setting speed of scrolling when someone clicks on the arrow or the slider
setScrollTimer(5);	// speed of 1 and timer of 5 is the same as speed of 2 and timer on 10 - what's the difference? 1 and 5 will make the scroll move a little smoother.
scrolldiv_setWidth(430);	// Setting total width of scrolling div
scrolldiv_setHeight(360);	// Setting total height of scrolling div
scrolldiv_initScroll();	
}*/