if(document.layers)
{
	pre = 'document.';
	post = '';
}

if(document.getElementById)
{
	pre = 'document.getElementById("';
	post = '").style';
}
		
if(document.all)
{
	pre = 'document.all.';
	post = '.style';
}
		
function show(lyr)
{
	eval(pre + lyr + post).visibility = 'visible';
	currentLayer = lyr;
}
		
function hide(lyr)
{
	eval(pre + lyr + post).visibility = 'hidden';
}

function big(lyr) 
{  		
	oTransContainer.filters[0].Apply();
    lyr.style.visibility="visible"; 
    oTransContainer.filters[0].Play();
}
function small(lyr) 
{
 	oTransContainer.filters[0].Apply();
    lyr.style.visibility="hidden"; 
    oTransContainer.filters[0].Play();
}		

function changeURL(winName, newURL) 
{  
	win = window.open(newURL, "_blank", "height=260,innerHeight=260,width=340,innerWidth=340,titlebar=0,left=182,screenX=182,top=251,screenY=251");
}

function PopupPic(sPicURL)
{
     window.open( "popup.html?"+sPicURL, "",  "resizable=1,HEIGHT=200,WIDTH=200");
}
