// DOES MAGIC STUFF
// Should ALWAYS and ONLY be included in Knowledgebase pages.
/*
Event.observe(document, 'dom:loaded', function() {
	
    if(parent.adjustIFrameSize) {

        parent.adjustIFrameSize(window);

    }
    else if(top.location == self.location) {

        var redirector = window.location.pathname + window.location.search;		
		var parts = window.location.pathname.split('/');
		var locale;
				
		if(parts.length < 5){
			locale = "en-us";
		}else{
    		locale = parts[1];
		}
		window.location = "/" + locale + "/faq/#" + redirector;
		
    }

    // Unconditionally jump to top of page on load:

    var top_anchor = document.createElement('a');
    top_anchor.setAttribute('name', 'top_of_page');
    var bodies = document.getElementsByTagName('body');
    bodies[0].insertBefore(top_anchor, bodies[0].firstChild);

    location.hash = "#top_of_page";
	
	parent.showLanSelector();

}); // dom:loaded

*/
