<!-- Begin

function init()
{

}

function setBtnBar(btnIndex)
{

	updateLink ('LBHome', false);
	updateLink ('LBAboutUs', false);	
	updateLink ('LBSurplus', false);
	updateLink ('LBLineCard', false);
	updateLink ('LBContactUs', false);
	updateLink ('LBLocation', false);
	updateLink ('LBPicTour', false);

	if ( btnIndex == 1)
	{
		updateLink ( 'LBHome' , true);
		setClassName ( 'PnHome', 'HomeStart' );	
		setClassName ( 'PnAboutUs', 'HomeEnd' );	
		setClassName ( 'PnSurplus', 'OtherStart' );
		setClassName ( 'PnLineCard', 'OtherStart' );
		setClassName ( 'PnContactUs', 'OtherStart' );
		setClassName ( 'PnLocation', 'OtherStart' );
		setClassName ( 'PnPicTour', 'OtherStart' );
		setClassName ( 'PnBtnEnd', 'OtherEnd');
	}
	else if ( btnIndex == 2)
	{
		updateLink ( 'LBAboutUs' , true);
		setClassName ( 'PnHome', 'otherStartAtBegining' );	
		setClassName ( 'PnAboutUs', 'homeStartInMiddle' );	
		setClassName ( 'PnSurplus', 'HomeEnd' );
		setClassName ( 'PnLineCard', 'OtherStart' );
		setClassName ( 'PnContactUs', 'OtherStart' );
		setClassName ( 'PnLocation', 'OtherStart' );
		setClassName ( 'PnPicTour', 'OtherStart' );
		setClassName ( 'PnBtnEnd', 'OtherEnd');
	}
	else if ( btnIndex == 3)
	{
		updateLink ( 'LBSurplus' , true);
		setClassName ( 'PnHome', 'otherStartAtBegining' );	
		setClassName ( 'PnAboutUs', 'OtherStart');	
		setClassName ( 'PnSurplus',  'homeStartInMiddle' );
		setClassName ( 'PnLineCard', 'HomeEnd' );
		setClassName ( 'PnContactUs', 'OtherStart' );
		setClassName ( 'PnLocation', 'OtherStart' );
		setClassName ( 'PnPicTour', 'OtherStart' );
		setClassName ( 'PnBtnEnd', 'OtherEnd');
	}
	else if ( btnIndex == 4)
	{
		updateLink ( 'LBLineCard' , true);
		setClassName ( 'PnHome', 'otherStartAtBegining' );	
		setClassName ( 'PnAboutUs', 'OtherStart');	
		setClassName ( 'PnSurplus',  'OtherStart' );
		setClassName ( 'PnLineCard', 'HomeStartInMiddle' );
		setClassName ( 'PnContactUs', 'HomeEnd' );
		setClassName ( 'PnLocation', 'OtherStart' );
		setClassName ( 'PnPicTour', 'OtherStart' );
		setClassName ( 'PnBtnEnd', 'OtherEnd');
	}
	else if ( btnIndex == 5)
	{
		updateLink ( 'LBContactUs' , true);
		setClassName ( 'PnHome', 'otherStartAtBegining' );	
		setClassName ( 'PnAboutUs', 'OtherStart');	
		setClassName ( 'PnSurplus',  'OtherStart' );
		setClassName ( 'PnLineCard', 'OtherStart' );
		setClassName ( 'PnContactUs', 'HomeStartInMiddle' );
		setClassName ( 'PnLocation', 'HomeEnd' );
		setClassName ( 'PnPicTour', 'OtherStart' );
		setClassName ( 'PnBtnEnd', 'OtherEnd');
	}
	else if ( btnIndex == 6)
	{
		updateLink ( 'LBLocation' , true);
		setClassName ( 'PnHome', 'otherStartAtBegining' );	
		setClassName ( 'PnAboutUs', 'OtherStart');	
		setClassName ( 'PnSurplus',  'OtherStart' );
		setClassName ( 'PnLineCard', 'OtherStart' );
		setClassName ( 'PnContactUs', 'OtherStart' );
		setClassName ( 'PnLocation', 'HomeStartInMiddle' );
		setClassName ( 'PnPicTour', 'HomeEnd' );
		setClassName ( 'PnBtnEnd', 'OtherEnd');
	}
	else if ( btnIndex == 7)
	{
		updateLink ( 'LBPicTour' , true);
		setClassName ( 'PnHome', 'otherStartAtBegining' );	
		setClassName ( 'PnAboutUs', 'OtherStart');	
		setClassName ( 'PnSurplus',  'OtherStart' );
		setClassName ( 'PnLineCard', 'OtherStart' );
		setClassName ( 'PnContactUs', 'OtherStart' );
		setClassName ( 'PnLocation', 'OtherStart' );
		setClassName ( 'PnPicTour', 'HomeStartInMiddle' );
		setClassName ( 'PnBtnEnd', 'HomeEndAtEnd');
	}
}


function updateLink (linkId, bFlag)
{
	if (document.all) {
   		document.all[linkId].disabled = bFlag;
	}
	else {
		document.getElementById(linkId ).disabled = bFlag;
	}
	
}
function setClassName ( panel, classNameStr )
{
	if (document.all) {
   		document.all[panel].className = classNameStr;
	}
	else {
		document.getElementById(panel ).className = classNameStr;
	}

}

function maskEMailAddress(user, domain, suffix){
	document.write('<a href="' + 'mailto:' + user + '@' + domain + '.' + suffix + '">' + user + '@' + domain + '.' + suffix + '</a>');
}


function popUp(h_size, v_size, str){
	
	var mywindow 
	mywindow = window.open(str, 'image', 'toolbar=no, directories=no, location=no, status=yes, menubar=no, resizable=yes, scrollbars=yes, width=' + h_size + ', height=' +  v_size)
	mywindow.resizeTo(v_size, h_size)
	mywindow.focus();
}



function mouse_in(){
	document.body.style.cursor="pointer"
}
function mouse_out(){
	document.body.style.cursor="default"
}



//  End -->
