function MM_openBrWindow(theURL,winName,features) 
{ //v2.0
          window.open(theURL,winName,features);
}  
//note that the parameters string is made up in here, 
function showPicture(sName, w, h, full_w, full_h, sHalfFullOrNull)
{
    var LeftPos = 50
    var TopPos = 50
    var objWin;
    var myHeight = h + 50;
    var myWidth = w + 10;
    
    
    var settings='width='+myWidth+',height='+myHeight+',top='+TopPos+',left='+LeftPos+',scrollbars=no,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';
    //alert(settings);
    sParameters = 'hh=' + h + '&hw=' + w + '&fh=' + full_h + '&fw=' + full_w + '&half=' + sHalfFullOrNull;
    //name will not have the extension in there, put it in on the next page ie showpic will add _h to it
    
    sFullString = 'showPic.asp?name=' + sName + '&' + sParameters;
    //alert (sParameters); 
    //alert(sFullString);
    //sParameters will have something like this hh=X hw=Y fh=XX fw=YY half=true\false\null
    objWin = window.open('showpic.asp?name='+sName+'&'+sParameters ,sName,settings);
    //objWin = window.open(sFullString,sName,settings);
    objWin.focus();

}
function showDefinition(sSection)
{
    var LeftPos = 50
    var TopPos = 50
    var objWin;
    var myHeight = 250;
    var myWidth = 400;

    var settings='width='+myWidth+',height='+myHeight+',top='+TopPos+',left='+LeftPos+',scrollbars=yes,location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=yes';

    sFullString = 'popUpText.asp?section=' + sSection
    //alert (sParameters); 
    //alert(sFullString);
    objWin = window.open(sFullString ,sSection,settings);
    //objWin = window.open(sFullString,sName,settings);
    objWin.focus();

}

function scrollnews()
{
	window.news.style.top = step;
	step-=2;
	if((parseFloat(window.news.style.posTop))<=diff)
	{
		step=parseFloat(window.container.style.posTop)+parseFloat(window.container.style.posHeight);
	}
}
//var retval=setInterval("scrollnews();",scrollspeed);

function wait()
{
	clearInterval(retval);
}

function continu()
{
	retval = setInterval("scrollnews();",scrollspeed);
}



