{{\
{{:: ECHO(== début : macro.txt==)}}\
{{:: SET_VAR(baseUrl,http://www.vidalonline.com/medecin/)}}\

{{:: POST_DATA(j_username={{LOGIN}}&j_password={{PASSWORD}},{{:: VAR(baseUrl)}}j_spring_security_check)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/requireplugins-jquery-1.4.2.js,User-Agent|Mozilla/5.0 \(X11; ; Linux x86_64; rv:1.8.1.6\) Gecko/20070802 Firefox)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-jquery-1.4.2.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/popup.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-popup.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/utils.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-utils.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/urls-alias.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-urls-alias.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/component/search/searchBox.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-component-search-searchBox.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/component/search/loadingManager.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-component-search-loadingManager.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/component/search/resultsZone.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-component-search-resultsZone.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/component/search/standardGrids.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-component-search-standardGrids.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/s_code.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-s_code.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/component/history/history.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-component-history-history.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/component/styler.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-galaadGrids.js)}}\

{{:: LOAD_URL_IN_VAR( jsPage, {{:: VAR(baseUrl)}}scripts/component/stats/st.js)}}\
{{:: PUT_VAR( jsPage,,/home/ro/Vidal-component-stats-st.js)}}\

{{:: _LOAD_URL_IN_VAR( htmlPage, {{:: VAR(baseUrl)}}search.html?q={{:: LEFT({{ITEM_NAME}},5)}},User-Agent|Mozilla/5.0 \(X11; ; Linux x86_64; rv:1.8.1.6\) Gecko/20070802 Firefox)}}\
{{:: LOAD_URL_IN_VAR( htmlPage,http://www.vidalonline.com/medecin/showProduct.html?productId=6550,User-Agent|Mozilla/5.0 \(X11; ; Linux x86_64; rv:1.8.1.6\) Gecko/20070802 Firefox)}}\
{{:: ECHO(.   Rechercher : {{:: LEFT({{ITEM_NAME}},5)}} )}}\
{{:: PUT_VAR( htmlPage,,/home/ro/Vidal-search.html)}}\
{{:: DISPLAY_PAGE( VAR = htmlPage, Ressources/web/Vidal Mono For CIP/)}}\
{{:: _EXE_JAVA_FUNC(var srchBx = new SearchBox.Instance\("searchDiv", "Rechercher"\);srchBx.shouldLaunchQuery();,300000)}}\
{{:: GET_DISPLAY_PAGE(VAR = htmlPage)}}\
{{:: PUT_VAR( htmlPage,,/home/ro/Vidal-searchResult.html)}}\

{{:: _LOAD_URL_IN_VAR( htmlPage, {{:: VAR(baseUrl)}}monographie_complete.php?cip={{ITEM_NAME}})}}\
{{:: _PUT_PAGE_IN_BASE(VAR = htmlPage,{{CIP7}},Resip Mono AQ For CIP,{{:: VAR(baseUrl)}}monographie_complete.php?cip={{CIP7}})}}\
{{:: _DISPLAY_PAGE( VAR = htmlPage, Ressources/web/Resip Mono AQ For CIP/)}}\
{{:: ECHO(== fin : macro.txt==)}}\
}}