//if ( window.q_elems ) q_elems[ "header" ] = { id : "artema_header" , urls : [ "/clients/basketannu/qlub_header_" + q_lang + ".html" ] , target : "topheader" } ;

function qlub_clientmenuload_done( iframeid ) {
	if ( eval( "window." + iframeid + "_finishloaddone" ) ) return ;
	ge( "web_leftcollinks_target" ).innerHTML = "<table id=\"qlub_menubartable\" width=\"100%\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" style=\"min-width: 500px; position: absolute ; left:0px ;\"><tbody><tr id=\"web_leftcollinks\" onmouseover=\"qlub_mainmenumouseover( event )\" onmouseout=\"qlub_mainmenumouseout( event )\">" + framedocument( getelement( iframeid ) ).getElementById( "web_leftcollinks" ).innerHTML + "</tr></tbody></table>" ;
	eval ( iframeid + "_finishloaddone = true ;" ) ;
}

function directory_initweb() {
	q_include( { id : "qlub_clientmenuload" , urls : [ "webleftcol.html" ] , dynh : "qlub_clientmenuload_done" } ) ;
}

function qlub_cleanHeaderNodes() {
	var artema = ge( 'artema_header' ) ;
	rm( artema ) ; 
	var headertable = ge( 'web_headertable_elem' ) ;
	if ( headertable ) {
		var table = create_elem( "TABLE" , { cellSpacing : "0", cellPadding : "0", border: "0" , className: "qlub_pagecolor", width: "100%", minWidth: "500px", innerHTML: "<tbody><tr><td width=\"1\" align=\"left\" valign=\"middle\"><div class=\"beforeservicename clubcolor3\">L'annuaire du basket<span class=\"clubcolor1\" style=\"padding: 0 5px\">»</span></div></td><td align=\"left\" valign=\"middle\"><div id=\"currservicename\"></div></td><td align=\"right\" valign=\"middle\" width=\"1%\" ><div id=\"qlub_login_div\"></div></td></tr></tbody>" , style : { position : "absolute" , left : "0px" } } ) ;
		var newheadertable = headertable.parentNode.insertBefore( table , headertable ) ;
		headertable.parentNode.removeChild( headertable ) ;
		newheadertable.setAttribute( "id" , "web_headertable_elem" ) ;
	}
}

function qlub_resizeleftcol( x ) {
	x = parseInt( x, 10 ) ;
	qlub_ieleftcolleft = x ;
	if ( ge( "q_leftcol" ) ) ge( "q_leftcol" ).style.width = x + "px" ;
	ge( "qlub_header" ).style.marginLeft = ( x - 6 ) + "px" ;
	if ( ge( "q_borderleft" ) ) ge( "q_borderleft" ).style.left = x - 10 + "px" ;
	ge( "q_author_stuff" ).style.marginLeft = x + "px" ;
	if ( ge( "bodydiv" ) ) ge( "bodydiv" ).style.left = ( x - 6 ) + "px" ;
//	ge( "q_page_bckg" ).style.left = qlubpagewidth + x + "px" ;
	qdr_leftcolwidth = -2 + x ;
	document.body.style.backgroundPosition = ( x - 1006 ) + "px 0px" ;
}
