gn_iframe = 'https://globalnav.vzw.com/blank.html';	//needed to fix IE6 issue


function nav_gen(oldUrl, newUrl) {
    if (typeof (pageWidth) == 'undefined') {		//pageWidth was not defined
        alert('You must define the pageWidth variable!');
        return false;
    }
    var navSize = (pageWidth == 1024) ? '1024' : '760';
    if (window.XMLHttpRequest) {
        navReq = new XMLHttpRequest();
        if (navReq.overrideMimeType) {
            navReq.overrideMimeType('text/html');
        }
    } else if (window.ActiveXObject) {
        navReq = new ActiveXObject('Microsoft.XMLHTTP');
    }
    navReq.open('GET', '/rlp_globalnav/parser.aspx?navSize=' + navSize, false);
    navReq.send(null);
    if (navReq.status == 200) {
        document.getElementById('navigation').innerHTML = navReq.responseText;
        gn_init();
    }
}
window.onload = nav_gen;