
var getlhit = false; 
function GetLevels() { 
        var i = navigator.userAgent.indexOf("/");       
        if ( i>-1){ 
                level = parseFloat(navigator.userAgent.substring(i+1,navigator.userAgent.length)) 
        } 
} 

function popwin(anchor,x,y) {       
        if (getlhit == false) {               
                GetLevels();             
                getlhit =true;   
        }       
        if (level < 3) {               
                return true;     
        }       
                
        popwin1 = window.open("", "popwindow1","width="+x+",height="+y+",toolbar=no,directories=no,menubar=no,scrollbars=no,resizable=no,status=no"); 
anchor.target = "popwindow1";   
popwin1.location = anchor;       
        if (level >= 3){               
                popwin1.focus(); 
        } 
        return false; 
}         
