// test browser compatibility
var browserOK
//NS4 			= (document.layers) ? true : false;
//IE4 			= (document.all) ? true : false;
//browserOK 		= (NS4 || IE4) ? true : false;
// check if the browser is Navigator 3 or higher:
agent = navigator.userAgent;
browserVer = 2;
if (agent.substring(0,7) == "Mozilla")
{
    if (parseInt(agent.substring(8,9)) >= 3) {browserOK = true;}
	else{ browserOK = false;}
	}
// other variables
curr 			= "";
last 			= "";
number_of_items = 0;


function mouseOver ( item )
{
	if ( browserOK )
	{
		curr = item;
		if ( curr != last )
		{
			if ( item_make [curr].spot != 0 )
			{
				document ["flip" + item_make [curr].spot].src = item_make [curr].flip.src;
			}
			curr= "";
			last= ""; 
		}
	}
}



function mouseOut ( item )
{
	if ( browserOK )
	{
		curr = item;
		if ( curr != "" )
		{
			document ["flip" + item_make [curr].spot].src = item_make[curr].flip.src;
		}
		curr = "";
		last = "";
	}
}

function LittlePopup( hw )
{
	winLittle = window.open( hw, 'winLittle', 'left = 200,top = 120, toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=320,height=300' );

	winLittle.focus();
}

function BigPopup( hw )
{
	winBig = window.open( hw, 'winBig', 'toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width=600,height=450' );

	winBig.focus();
}

function MidPopup( hw )
{
	winMid = window.open( hw, 'winMid', 'left = 200,top = 120, toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,copyhistory=no,width=400,height=400' );

	winMid.focus();
}