function popwin(){
        var newWindow = window.open("","articlewindow","location,menubar,scrollbars,resizable,height=500,width=680")
        }





function GetLevels() 
        {
        var i = navigator.userAgent.indexOf("/");       
        if ( i>-1)
                {               
                level = parseFloat(navigator.userAgent.substring(i+1,navigator.userAgent.length))       
                }
        }        

var getlhit = 0;

function popup(anchor,x,y) 
	{	
	if (getlhit == false)
		{		
		GetLevels();		
		getlhit =true;	
		}	
	if (level < 3)
		{		
		return true;	
		}	
		
		popup = window.open("", "popup","width="+x+",height="+y+",toolbar=no,location=no,directories=no,directories=no,menubar=no,scrollbars=no,resizable=yes,status=no");	
		anchor.target = "popup";	
		popup.location = anchor;	
	if (level >= 3)
		{		
		popup.focus();
		}
	return false;
	}



